unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Save unmodified buffer when file has been deleted
Date: Fri, 11 Feb 2011 10:48:37 +0100	[thread overview]
Message-ID: <87mxm2zytm.fsf@gnu.org> (raw)
In-Reply-To: <83vd0qrkbj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Feb 2011 11:29:04 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Bastien <bastien.guerry@wikimedia.fr>
>> Date: Fri, 11 Feb 2011 10:19:08 +0100
>> 
>> +    (if (or (buffer-modified-p)
>> +	    ;; handle the case when no modification has been made but
>> +	    ;; the file has been delete
>                         ^^^^^^^^^^^^^^^
> "has been deleted".  Actually, I would say "the file disappeared since
> visited" or some such.

Yes, right.

Is that okay to commit this?  Would be my first commit from bzr, I'm
quite nervous about it :)

-- 
 Bastien



  reply	other threads:[~2011-02-11  9:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11  9:19 [PATCH] Save unmodified buffer when file has been deleted Bastien
2011-02-11  9:29 ` Eli Zaretskii
2011-02-11  9:48   ` Bastien [this message]
2011-02-11 15:13     ` Eli Zaretskii
2011-02-11 17:56       ` Bastien
2011-02-11 18:50         ` Eli Zaretskii
2011-02-11 19:01           ` Bastien
2011-02-11 19:29             ` Eli Zaretskii
2011-02-11 14:38 ` Stefan Monnier
2011-02-11 14:55   ` Lennart Borgman
2011-02-11 23:02     ` Stefan Monnier
2011-02-11 17:37   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxm2zytm.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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