unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* (undo) generates error message
@ 2004-03-01 11:32 Thomas Persson
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Persson @ 2004-03-01 11:32 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

When I use (undo) inside a function it performs what it's expected to
but also generates the following error message in the minibuffer:

    File mode specification error: (error "No further undo information")

The following code however does not generate an error:

    (undo-start)
    (undo-more 1)

Why is this?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFAQx9ERzdGzUwjc/ERAr3VAKCe8pTQhWvSsqhBSRgd8LyGlKGCOQCfcNSI
/jZ/Ue8JfuXz1Dpu8XA06ZI=
=XxZV
-----END PGP SIGNATURE-----

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

* Re: (undo) generates error message
       [not found] <mailman.843.1078146635.340.help-gnu-emacs@gnu.org>
@ 2004-03-01 19:59 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-03-01 19:59 UTC (permalink / raw)


Thomas Persson wrote:
 > When I use (undo) inside a function it performs what it's expected to
 > but also generates the following error message in the minibuffer:
 >
 >     File mode specification error: (error "No further undo information")
 >
 > The following code however does not generate an error:
 >
 >     (undo-start)
 >     (undo-more 1)
 >
 > Why is this?

That error is only signalled from normal-mode, which I wouldn't think
would ever be called via undo.  Try setting debug-on-error or
debug-on-signal to see what the function stack looks like.

-- 
Kevin Rodgers

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

end of thread, other threads:[~2004-03-01 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 11:32 (undo) generates error message Thomas Persson
     [not found] <mailman.843.1078146635.340.help-gnu-emacs@gnu.org>
2004-03-01 19:59 ` Kevin Rodgers

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