emacs-devel
[Top][All Lists]
Advanced

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

Re: suggestion: reverting/notifying of files that no longer exist


From: Karl Chen
Subject: Re: suggestion: reverting/notifying of files that no longer exist
Date: Wed, 14 Jul 2004 10:30:25 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Looks good (haven't tested it).  Thanks for working on this!

>>>>> "Juri" == Juri Linkov <address@hidden> writes:
    Juri> + (message "%s %s on disk; really edit the buffer? (y,
    Juri>       n, r or C-h) "
    Juri> + (file-name-nondirectory fn)
    Juri> + (if (file-exists-p buffer-file-name)
    Juri> + "changed" "renamed or deleted"))

BTW, I don't know if Emacs coding standards say much regarding
internationalization, but in general it's better to write out
   (message "%s changed on disk...")
and
   (message "%s renamed or deleted on disk...")
for translation. 
(http://www.gnu.org/software/gettext/manual/html_node/gettext_15.html)

-- 
Karl 2004-07-14 10:24




reply via email to

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