Steven, I did not know this page, thanks for the link.

But to make it really clear: move-past-close-and-reindent is exactly
what counterclockwise's is doing in "Strict" edition mode (not totally
true concerning the reindentation, currently in ccw it is only
reorganizing closing brackets by removing extra spaces, not
reindenting lines).

The problem was that in the "Default" mode, it is inactive, but I've
left the "insert-parentheses" function active. So people are annoyed
in the "Default" mode because they tend to type the closing ")" "]" or
"}" and then it appears twice in code.

Funny enough, the "Default" mode was created because people complained
about the "move-past-close-and-reindent" (they found it unnatural, and
they were fighting with it when they wanted to really add a damn extra
closing bracket at caret position).

2010/7/7 Steven E. Harris <s...@panix.com>:
> Laurent PETIT <laurent.pe...@gmail.com> writes:
>
>>> I think it's a good feature, *if* typing the closing bracket/paren just
>>> resulted in "cursoring over" the one that'd already been inserted.
>>
>> ?
>
> See the Emacs function `move-past-close-and-reindent'. It works as the
> obvious counterpart to the function `insert-paretheses'.¹
>
>
> Footnotes:
> ¹ http://www.cliki.net/Editing%20Lisp%20Code%20with%20Emacs
>
> --
> Steven E. Harris
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to