emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: say where attempt to write backup file was


From: Kevin Rodgers
Subject: Re: say where attempt to write backup file was
Date: Fri, 29 Dec 2006 09:49:29 -0700
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Dan Jacobson wrote:
Whatever says "Cannot write backup file; backing up in %backup%~"
should also say just where it was attempting to write the backup file,
--but at the end of the message, so as not to go off the screen
perhaps. Or at least in *Messages*.

No, there are several possibilities of where this writing might be
attempted, so no excuses :-)

If the echo area automatically accomodates long messages, couldn't the
absolute file name for both the original backup and the fallback be
displayed?  I.e. instead of this:

                     (setq backupname (expand-file-name
                                       (convert-standard-filename
                                        "~/%backup%~")))
                     (message "Cannot write backup file; backing up in %s"
                              (file-name-nondirectory backupname))

do this:

                     (message "Cannot write backup file %s; backing up in %s"
                              backupname
                              (setq backupname (expand-file-name
                                                (convert-standard-filename
                                                 "~/%backup%~"))))


--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]