GNU bug report logs -
#101
bad C-j behavior in Emacs-Lisp mode
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 30 Mar 2008 22:15:06 UTC
Severity: normal
Tags: wontfix
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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'
This bug report was last modified 13 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.