[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bad C-j behavior in Emacs-Lisp mode
From: |
Drew Adams |
Subject: |
bad C-j behavior in Emacs-Lisp mode |
Date: |
Sun, 30 Mar 2008 09:05:40 -0700 |
emacs -Q
In Emacs-Lisp mode, put cursor after (bar m) and hit C-j.
(if (string= foo "a")
(bar m) ; Comment
The cursor is put after the semicolon. It should be put before it,
ready for you to type the second "then" clause of the `if'.
This is what happens (with the cursor at |):
(if (string= foo "a")
(bar m)
;| Comment
This behavior would be better:
(if (string= foo "a")
(bar m)
| ; Comment
It doesn't make sense for the cursor to move from outside to
inside the comment.
In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bad C-j behavior in Emacs-Lisp mode,
Drew Adams <=