all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* comment-dwim and indentation
@ 2007-09-14 22:06 Dan Nicolaescu
  2007-09-14 22:26 ` Leo
  2007-09-15  1:23 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2007-09-14 22:06 UTC (permalink / raw)
  To: emacs-devel


comment-dwim is great, it has one wrinkle though: it places the
comments in column 0. So if one comments out a region in a C function
and then reindents the function, all the comments will be indented. 

Wouldn't it be better if comment-dwim would try to put comments at the
right indentation level so that reindenting would become an nop? 
(I don't know how feasible this would be, but asking doesn't hurt :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-15  7:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14 22:06 comment-dwim and indentation Dan Nicolaescu
2007-09-14 22:26 ` Leo
2007-09-15  1:23 ` Stefan Monnier
2007-09-15  7:33   ` Leo

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.