unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Stop a macro from terminating on beep
@ 2009-04-01 22:51 kazza765
  0 siblings, 0 replies; 3+ messages in thread
From: kazza765 @ 2009-04-01 22:51 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi

So, basically I'm trying to do what the title suggests. I have a macro that
searches through a file, finds an instance of the text I'm looking for, and
deletes the next three lines. I then have another macro that runs
\C-u10000000\C-[xname-of-macro \C-x\C-s\C-x\C-c , so I want it to exit after
tha macro is finished. This works fine in macros that don't cause a beep,
and I can run them using emacs -f name-of-macro, but the system beep that
occurs when this macro can't find any more matching patterns causes the
macro to abort, and doesn't execute the save and quit commands. Is there any
way around this? Or is there any better way to execute a search macro an
unknown number of times and still have emacs exit afterwards?

Thankyou,
John
-- 
View this message in context: http://www.nabble.com/Stop-a-macro-from-terminating-on-beep-tp22834993p22834993.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





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

end of thread, other threads:[~2009-04-02  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4426.1238645012.31690.help-gnu-emacs@gnu.org>
2009-04-02  6:43 ` Stop a macro from terminating on beep Evans Winner
2009-04-02  9:28 ` harven
2009-04-01 22:51 kazza765

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).