all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* narrow with mode?
@ 2009-05-23 13:38 David Abrahams
  2009-06-02  2:05 ` Lennart Borgman
  2009-06-02  8:13 ` Teemu Likonen
  0 siblings, 2 replies; 4+ messages in thread
From: David Abrahams @ 2009-05-23 13:38 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: John Wiegley


Hi All,

I often find myself wanting to work on a region of a buffer in a
different mode from the current one.  For example, I'd like to use
markdown-mode on the body of a weblogger.el blog entry, and then I'd
further like to use c++-mode (or whatever) on code snippets within that
entry.  So I'd like to first narrow the body of the entry into markdown
mode, then narrow again to c++-mode, then pop back out to markdown mode
on the whole body, and finally out to weblogger-entry-mode on the whole
buffer.  

This seems like it must be an incredibly common need, but I've never
seen anything designed to support it.  Closest thing I've seen is
http://www.blackie.dk/emacs/narrow-stack.el, but it only handles part of
the problem.  Anyone got a hint for me?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com





^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.7673.1243085948.31690.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2009-06-02  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 13:38 narrow with mode? David Abrahams
2009-06-02  2:05 ` Lennart Borgman
2009-06-02  8:13 ` Teemu Likonen
     [not found] <mailman.7673.1243085948.31690.help-gnu-emacs@gnu.org>
2009-05-25 11:59 ` Michael Heerdegen

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.