* comment-dwim inserts `;;;' in lisp mode @ 2007-12-14 21:57 Reiner Steib 2007-12-16 5:49 ` Miles Bader ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Reiner Steib @ 2007-12-14 21:57 UTC (permalink / raw) To: emacs-devel Hi, in GNU Emacs 23.0.50.7 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-12-08, `comment-dwim' inserts three semi-colons whereas in GNU Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.11.6) it insert only two semi-colons. To reproduce: emacs -Q, type "foo", RET, C-SPC, C-SPC, <up>, M-; Result in Emacs CVS: --8<--------------- ;;; foo --8<--------------- Expected result (and result in Emacs 22.1 and Emacs 22 branch): --8<--------------- ;; foo --8<--------------- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: comment-dwim inserts `;;;' in lisp mode 2007-12-14 21:57 comment-dwim inserts `;;;' in lisp mode Reiner Steib @ 2007-12-16 5:49 ` Miles Bader 2007-12-16 10:47 ` William Xu 2007-12-16 19:35 ` Richard Stallman 2007-12-17 9:27 ` Tassilo Horn 2 siblings, 1 reply; 5+ messages in thread From: Miles Bader @ 2007-12-16 5:49 UTC (permalink / raw) To: emacs-devel Reiner Steib <reinersteib+gmane@imap.cc> writes: > 2007-12-08, `comment-dwim' inserts three semi-colons whereas in GNU > Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.11.6) it insert only > two semi-colons. So? -miles -- 80% of success is just showing up. --Woody Allen ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: comment-dwim inserts `;;;' in lisp mode 2007-12-16 5:49 ` Miles Bader @ 2007-12-16 10:47 ` William Xu 0 siblings, 0 replies; 5+ messages in thread From: William Xu @ 2007-12-16 10:47 UTC (permalink / raw) To: emacs-devel Miles Bader <miles@gnu.org> writes: > So? I think he is asking why this change, which I'm also curious to know. Usually I would use `;;;' for separating blocks of lisp codes, I have also seen many people use it for a similar aim. -- William http://williamxu.net9.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: comment-dwim inserts `;;;' in lisp mode 2007-12-14 21:57 comment-dwim inserts `;;;' in lisp mode Reiner Steib 2007-12-16 5:49 ` Miles Bader @ 2007-12-16 19:35 ` Richard Stallman 2007-12-17 9:27 ` Tassilo Horn 2 siblings, 0 replies; 5+ messages in thread From: Richard Stallman @ 2007-12-16 19:35 UTC (permalink / raw) To: Reiner Steib; +Cc: emacs-devel That is an intentional change. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: comment-dwim inserts `;;;' in lisp mode 2007-12-14 21:57 comment-dwim inserts `;;;' in lisp mode Reiner Steib 2007-12-16 5:49 ` Miles Bader 2007-12-16 19:35 ` Richard Stallman @ 2007-12-17 9:27 ` Tassilo Horn 2 siblings, 0 replies; 5+ messages in thread From: Tassilo Horn @ 2007-12-17 9:27 UTC (permalink / raw) To: emacs-devel Reiner Steib <reinersteib+gmane@imap.cc> writes: Hi Reiner, > Result in Emacs CVS: > > --8<--------------- > ;;; foo > --8<--------------- > > Expected result (and result in Emacs 22.1 and Emacs 22 branch): > > --8<--------------- > ;; foo > --8<--------------- That is because in 23 comment-style defaults to indent-or-triple wheras it defaults to indent in 22. One problem with the new default is that commented functions (or top-level sexps [starting in col 0]) are still outline-headings. See <E1J3egs-00056D-LQ@fencepost.gnu.org> (and the messages above) for more infos. Bye, Tassilo ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-17 9:27 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-12-14 21:57 comment-dwim inserts `;;;' in lisp mode Reiner Steib 2007-12-16 5:49 ` Miles Bader 2007-12-16 10:47 ` William Xu 2007-12-16 19:35 ` Richard Stallman 2007-12-17 9:27 ` Tassilo Horn
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.