all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* repexp to collapse multiple blank lines into one
@ 2005-10-09 12:27 B. T. Raven
  2005-10-09 12:59 ` Friedrich Laher
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: B. T. Raven @ 2005-10-09 12:27 UTC (permalink / raw)


Is there a way to use M-C-% to flush extra blank lines from a buffer.
Something like:
Query replace regexp:  ^$+ [which of course doesn't work, presumably
because $ has to be last]
with:      C-j

I know about C-x C-o but that's interactive rather than batch mode.

Thanks,

Ed

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

end of thread, other threads:[~2005-10-12  1:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 12:27 repexp to collapse multiple blank lines into one B. T. Raven
2005-10-09 12:59 ` Friedrich Laher
2005-10-09 13:01 ` Peter Dyballa
2005-10-09 13:44 ` Neon Absentius
     [not found] ` <mailman.10556.1128865819.20277.help-gnu-emacs@gnu.org>
2005-10-09 18:36   ` regexp " B. T. Raven
2005-10-10 16:35     ` Kevin Rodgers
2005-10-10 17:28       ` Neon Absentius
2005-10-10 18:33         ` Kevin Rodgers
2005-10-10 19:06           ` Neon Absentius
     [not found]           ` <mailman.10719.1128971211.20277.help-gnu-emacs@gnu.org>
2005-10-11 22:21             ` Tim X
2005-10-12  1:14               ` Neon Absentius
2005-10-10 18:02       ` Peter Dyballa
2005-10-10 20:59 ` repexp " David Hansen
2005-10-11  2:09   ` Neon Absentius

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.