all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to indent on LOCK(); macro???
@ 2005-08-30 20:51 Roy Smith
  2005-08-30 21:21 ` Denis Bueno
  2005-08-31  8:10 ` Alan Mackenzie
  0 siblings, 2 replies; 8+ messages in thread
From: Roy Smith @ 2005-08-30 20:51 UTC (permalink / raw)


I'm working on a project which uses a LOCK/END_LOCK macro pair for
mutex locking in C++ source files.  A typical section of code would
look like:

    LOCK (myDataLock)
        myData = foo;
    END_LOCK

How can I convince the indenting engine to treat the LOCK and END_LOCK
lines as beginning and ending blocks?

I'm running GNU Emacs 21.3.1.

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

end of thread, other threads:[~2005-09-01 16:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 20:51 How to indent on LOCK(); macro??? Roy Smith
2005-08-30 21:21 ` Denis Bueno
2005-08-30 21:27   ` Roy Smith
2005-08-31  8:10 ` Alan Mackenzie
2005-08-31 12:31   ` Roy Smith
2005-08-31 15:20     ` Alan Mackenzie
2005-08-31 23:50       ` Roy Smith
2005-09-01 16:28         ` Alan Mackenzie

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.