all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* VIM can recognize #if 0 #endif as comment pair, how to do that in Emacs?
@ 2007-08-17 19:02 Leo.Hou
  2007-08-17 20:20 ` J. David Boyd
       [not found] ` <mailman.4927.1187382051.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Leo.Hou @ 2007-08-17 19:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi Experts,


I saw a friend using VIM and it recognizes #if 0 -- #endif as comment
pair and use the comment color for the code in between!

This is so cool because I had a big headache using emacs+etags jumping
into others' code, spent 5 minutes and then realized that emacs
brought me to some codes between a #if0 -- #endif pair. :'-(

Can anyone make Emacs to recognize this common convention and
highlight all the pieces between them as comment?



Thanks!

Leo

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

end of thread, other threads:[~2007-08-20 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 19:02 VIM can recognize #if 0 #endif as comment pair, how to do that in Emacs? Leo.Hou
2007-08-17 20:20 ` J. David Boyd
     [not found] ` <mailman.4927.1187382051.32220.help-gnu-emacs@gnu.org>
2007-08-17 23:20   ` Leo.Hou
2007-08-20 14:33     ` J. David Boyd

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.