GNU bug report logs - #37099
26.2 Comment-dwim

Previous Next

Package: emacs;

Reported by: Charles Jackson <charles.b.jackson <at> protonmail.com>

Date: Tue, 20 Aug 2019 15:41:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 26.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Charles Jackson <charles.b.jackson <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.2 Comment-dwim
Date: Tue, 20 Aug 2019 15:39:58 +0000
[Message part 1 (text/plain, inline)]
I would like the comment-dwim function to be able to differentiate end-of-line comments from whole-line comments.
For example in java mode it would make sense for // to be the end-of-line comment, but if point is on an empty line then comment-dwim would insert /* */ with point inside the /* */ like so: /* | */ where | is the point location.
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.