* how to change levels of chunks in outline mode?
@ 2002-12-21 17:36 Robert P. J. Day
0 siblings, 0 replies; 2+ messages in thread
From: Robert P. J. Day @ 2002-12-21 17:36 UTC (permalink / raw)
is there an easy way to shift an entire chunk of a file
that i'm looking at in outline mode either up or down a level
of depth?
that is, if i have a number of consecutive chapters that
are at level one, and i decide that they really should be
all sections in a more all-encompassing chapter, can i shift
all level 1 headings to level 2, the internal level 2s to level
3, and so on?
rday
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to change levels of chunks in outline mode?
[not found] <mailman.501.1040493588.19936.help-gnu-emacs@gnu.org>
@ 2003-01-06 20:32 ` Alan Wehmann
0 siblings, 0 replies; 2+ messages in thread
From: Alan Wehmann @ 2003-01-06 20:32 UTC (permalink / raw)
Since the outline level is determined by the length of the match to
the regular expression that looks for outline headers, I should think
you could interactively change the headers so that the length of the
match changes--in the chunk where you want to make changes. For
example, by using "query-replace-regexp". You could use narrowing to
control where you make such changes.
"Robert P. J. Day" <rpjday@mindspring.com> writes:
> is there an easy way to shift an entire chunk of a file
> that i'm looking at in outline mode either up or down a level
> of depth?
>
> that is, if i have a number of consecutive chapters that
> are at level one, and i decide that they really should be
> all sections in a more all-encompassing chapter, can i shift
> all level 1 headings to level 2, the internal level 2s to level
> 3, and so on?
>
> rday
>
>
>
--
Alan Wehmann
wehmann@fnal.gov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-06 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-21 17:36 how to change levels of chunks in outline mode? Robert P. J. Day
[not found] <mailman.501.1040493588.19936.help-gnu-emacs@gnu.org>
2003-01-06 20:32 ` Alan Wehmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).