Age | Commit message (Collapse) | Author |
|
Ignore-this: c058945ef1f3c5590c36a034121811e8
Insert whitespace if it may be necessary.
Thanks to Eitan Postavsky for the bug report.
darcs-hash:20110322074446-00fcc-e3303edd5c9055a9687d22f99379d23f8879eba7
|
|
Ignore-this: 1b8fe110a0983c730918eb16ed81911a
Suggested by Eitan Postavsky.
I'm not yet sure this is right (and I'm not yet sure of the similar
change to `paredit-count-sexps-forward' and thus `C-u M-('), but I'll
try it out.
darcs-hash:20110320194242-00fcc-635c1cdba60f9a6b395561a64349876b6e524d29
|
|
Ignore-this: 5116ca507a480c4bb4cfe95b9ab34820
This enables the use of the safer `paredit-handle-sexp-errors'
instead of `condition-case' for these purposes.
darcs-hash:20110320192038-00fcc-e4799c56417a15787ca03f8b06962718412bbe88
|
|
Ignore-this: 8ca077b074853d64639e83f4a81dcd73
darcs-hash:20110320190601-00fcc-54e85aa35638a194de67b28be83fcf65575d7adf
|
|
Ignore-this: 5d7b87a61c56931aa9df39a6c6c7df58
No more GNU Emacs 20.
darcs-hash:20110320185519-00fcc-251fd8bafde8103581af11f59f331ad940b29e81
|
|
Ignore-this: 8fa60f5bd8c398aa31f91b26c4affb12
Set to `paredit-override-check-parens-interactively' if you want to
be prompted whether to enable Paredit Mode rather than to have `M-x
paredit-mode RET' simply barf if there are unbalanced parentheses.
(Someone suggested this to me months ago, but I have forgotten who.)
Assume we have `check-parens'. No more GNU Emacs 20.
darcs-hash:20110320185342-00fcc-30abf28738cf76cca1d16f02b2f26f3f46525c44
|
|
Ignore-this: 76e5c8178ddc5dede762dc101e526095
Use the atrocious idiom (while (setq tmp ...) ...)...
darcs-hash:20110320184537-00fcc-ad46fdaac5b45670aa781cd61c105e1ee6ade7f5
|
|
Ignore-this: 710e264ca330414cfb55c295d0ed5f46
Fixes `C-u M-(' at the top level when there is whitespace at the end
of the buffer: the closing delimiter should go at the end of the last
S-expression, not at the end of the buffer after the whitespace.
Thanks to Eitan Postavsky for the report.
darcs-hash:20110320183854-00fcc-7162d40b9111aed39ca72a913393af8bb2425025
|
|
Ignore-this: 9c3342808317128eefc0b83bf63cfb15
Also use `lisp-fill-paragraph' rather than `fill-paragraph'.
Thanks to Eitan Postavsky for the suggestion.
darcs-hash:20110320183704-00fcc-d64d8a2d2e06db8a206a0fadb3b9dbe0f8c10abf
|
|
Ignore-this: 4bf62fadcc0f90e2c582311eff1355d8
Check for the beginning/end of buffer to avoid infinite loops there.
Order points right to fix (|"foo" ()) ==C-M-d==> ("foo" (|)).
Thanks to Eitan Postavsky for the report.
darcs-hash:20110320183422-00fcc-8fe38d45bdd4e4e94925d56f537fd079111514f6
|
|
Ignore-this: 316cb4a43f14464fbcc655c61926f177
Thanks to Eitan Postavsky for the suggestion.
darcs-hash:20110320174113-00fcc-bc6d366e415e031be7bb6faa7353caabcd3d9c57
|
|
Ignore-this: 13c949425c6b6df35b26e53d9e1819e6
Comment referenced no longer extant text in the file, and credits are
moving to another file.
darcs-hash:20110320173549-00fcc-4c0751e61f57f437bb8b0b9f6c8d861f20757023
|
|
Ignore-this: d3bd6a4462a90bf7182e089a0f54bfb9
Omit comment above. I rewrote this function since the suggestion,
Marco suggested a lot more than just that, and credits are moving to
a separate file.
darcs-hash:20110320173328-00fcc-dab332a1d49f961105b3477e669cd45af6791627
|
|
Ignore-this: 87926a2083bf8b1444aa83d80c5346fb
Add analogous comment to `paredit-backward'.
Thanks, Eitan Postavsky.
darcs-hash:20110320171805-00fcc-e0817b0a6f305681267cc804a680e64d9eff1b96
|
|
Ignore-this: a59b556bdad0266cec90303f6864738e
darcs-hash:20110320171404-00fcc-87038309e85fdc70dbbb48714769decf4317e3bb
|
|
Ignore-this: 54e02f06666af8065ce36929d9bd548
darcs-hash:20110224160102-00fcc-2c3801f2c1d75c61e875e7583b35f6a2034afa7f
|
|
Ignore-this: cd6f3d71cd36d3cbc1140397f572fe25
darcs-hash:20110224160024-00fcc-2ac38ea602b64fa971ac4b0c9f5e6bc196e07a7f
|
|
Ignore-this: 7f4dd3a188aa490eb67700efe81d7d5a
darcs-hash:20110224155528-00fcc-b7cb9bc3e120879db2c9290226903003447fadbe
|
|
Ignore-this: 562a203b85842ebc368ea80f2aa65612
Using `forward-line' in `paredit-recentre-on-sexp' is simpler anyway.
darcs-hash:20101206011608-00fcc-1775f5b8c7a4eb4ab2792e5746aca95a2759dc60
|
|
Ignore-this: d406778b8c6c314badf584b4cbcde099
This appears to have been a GNU Emacs 22ism, which I don't use
anyway.
darcs-hash:20101205174822-00fcc-532684fb73397075e9d93ed7f35bebfe6b15c3f5
|
|
Ignore-this: 5326ec1a70a5ef42729e107418bd2879
The point may be followed by a closing delimiter with no intervening
S-expressions. This case was already handled when the point is
outside a comment; I neglected it when the point is inside a comment.
darcs-hash:20101205173031-00fcc-46d7e591ca9dc2c1a0340c3b0c00312e1646d672
|
|
Ignore-this: c572cc4ee3c067325171c774fdc38dca
darcs-hash:20101009180546-00fcc-efb096fbb4a15080f605903ab1fe99f7b1abbaf6
|
|
Ignore-this: dd766afb7fe23a8af7d48a2d0c9a1d4
darcs-hash:20101009180225-00fcc-e65cece86b7c666653bfe9f386dc2f12bf25725d
|
|
Ignore-this: ef08009b23ee11fdcbdaf0bd364af57
darcs-hash:20101009180143-00fcc-34a37b8c46e54c4227569020ad757abd12d714f8
|
|
Ignore-this: e5cd5cbea4e5866aec9e657902fd9663
darcs-hash:20100920205549-00fcc-0855cb26399bc060cb863c14bc794166505b9982
|
|
Ignore-this: f5607d677b62ab6ba13a1c527a574690
darcs-hash:20100918233204-00fcc-c94437a17b4a7933bcc5c34cbab97836a381729d
|
|
Ignore-this: 9e77f0436cdce47e15d1dba998902b77
These are an unfinished experiment. When the experiment is finished,
if it is successful, then, in Paredit Mode, `C-w' will be bound to
`paredit-kill-region', `M-w' perhaps to `paredit-kill-ring-save', and
`C-y' to `paredit-yank' (not yet implemented).
darcs-hash:20100918231829-00fcc-c0a34e7f81243fa6c1ee535cb86c692a0f589ed3
|
|
Ignore-this: ce362505e717451523aa5fd361a8730f
These are like `{backward-,}{up,down}-list', but also enter and exit
strings when appropriate. The keys formerly bound to those commands
(C-M-u, C-M-d, C-M-p, C-M-n) are now bound to their new paredit
analogues.
darcs-hash:20100918185616-00fcc-13b875689b8915083c41a6d05c9cf04506799aae
|
|
Ignore-this: 231e8737beaee81622c52d580adad339
darcs-hash:20100918181620-00fcc-5774d34b56be2f3af88b6a75506da39927197baf
|
|
Ignore-this: 37a88267c3b50f218838c5d456658094
darcs-hash:20100918181554-00fcc-ca49bd133d1f52e92c5b742c58cc643f659a6aba
|
|
Ignore-this: 83cd857a1c3155fc0f9c30e8dc680d9a
Before (| is point, not character literal):
#\| ;foo
=C-k=>
#\|
Note the dangling backslash: deleting it also deletes the line break.
After:
#\| ;foo
=C-k=>
#|
darcs-hash:20100918151900-00fcc-d375fe5ced8edfb3fce71e189acd9166800ec0d5
|
|
Ignore-this: 2675f8bbbfd6cd029b434f233344b4a2
Now it relies on Emacs's S-expression parser to find where the string
ends, rather than parsing and handling character escapes itself. It
does a little more work this way, because it moves forward over the
whole string even if the line ends long before the string ends, but
this definition is simpler and more robust for correctness.
darcs-hash:20100918151218-00fcc-5362e4359bb7ce34076f875c6d8b3eb444f0f360
|
|
Ignore-this: 16b21bd8bad54f6eeee9996665524b8a
Previously `paredit-kill-line-in-string' expected the string to end
with `"'; now it expects the string to end with any character whose
syntax is a string delimiter.
darcs-hash:20100918150630-00fcc-99d491db437f3395415c2456354e0c34273c2b0b
|
|
Ignore-this: 2ebf74083c75ef978f8f4e15070002e3
darcs-hash:20100917204244-00fcc-b698a185d46aaf792f065e98e0b1509eaee4f0a3
|
|
Ignore-this: 914cf744a9baefd2fe545a4dcedcb6e6
darcs-hash:20100917202803-00fcc-ccf81a80dc2bcb44576e674bea314d5c6cfcf3de
|
|
Ignore-this: 6213d7fb22c1c4598b6956b161be2cac
darcs-hash:20100917202224-00fcc-610a9beb07c348babc652e7dee8519f01b06a6a3
|
|
Ignore-this: 45e159465eb88cd994e493dfccc9e495
darcs-hash:20100917193938-00fcc-8567c43f6d3941b49d5f4d848b292fe35af19d19
|
|
Ignore-this: d35d59104fe2ecdbac980e90d206850
darcs-hash:20100917193839-00fcc-b5e38dbf0713069fccf298ad6125785805a4520d
|
|
Ignore-this: 48fa16729dac3b8da693f85aaea5ccf0
darcs-hash:20100917193400-00fcc-c4c7e044c3906369cc383e3b63fdc6412c332067
|
|
darcs-hash:20090711210516-00fcc-5c1dad50949ad90aa9a3be0e48a4ffb4d54a388f
|
|
darcs-hash:20090711134828-00fcc-63df8cebaa7c8a165fda345100b1bb852a5eed00
|
|
This fixes an error after applying M-; to `(foo |)'.
darcs-hash:20090708194039-00fcc-0f608f8e09edabce65c5b45d5d8c86ef24bb8dcd
|
|
darcs-hash:20090703195255-00fcc-bb484473cebaf86ecaa49aa910432b5143141421
|
|
darcs-hash:20090703195221-00fcc-733a86154d8ff7d50b99cb63a05b8520a26da265
|
|
Doing this before `beginning-of-defun' keeps us from moving to the
previous definition if we are already at the beginning of one.
darcs-hash:20090309222045-00fcc-0f1ff306dd34e0ee4fa5ebafbfc85b12a19314a7
|
|
darcs-hash:20090225063131-00fcc-28d66a1504d6b697f6ba40c44326aeb8d9546eea
|
|
darcs-hash:20090225062207-00fcc-d4951e8d277aceaac49113a9d36185e99dc22e2e
|
|
Saves to the kill ring the text of the region that `paredit-kill'
would kill. Suggested by Norman Werner <norman@norman-werner.de>.
darcs-hash:20090223065027-00fcc-7cea5cd78e291f0e86450edc70665e0e26e36a40
|
|
darcs-hash:20090105133355-00fcc-b6838fcc0a0a8f3a8345866a67b717b8f4b8ac5b
|
|
darcs-hash:20090105133224-00fcc-c396399451e85cd5aec2cabac523bf3a7b3e0c38
|