unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: 19029@debbugs.gnu.org
Subject: bug#19029: Cut down on useless "really edit the buffer?" prompts
Date: Sat, 25 Mar 2017 18:06:21 -0400	[thread overview]
Message-ID: <87inmx57vm.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAG7BpaquzXfbjautAmWdVws1iE-_k_SB71nKAurZye_2LaiX+w@mail.gmail.com> (Paul Pogonyshev's message of "Wed, 12 Nov 2014 15:38:23 +0100")

tags 19029 fixed
close 19029 26.1
quit

Paul Pogonyshev <pogonyshev@gmail.com> writes:

> Request: if Emacs detects timestamp change, let it read the file and compare it with the buffer; if they are byte-to-byte identical, just ignore the timestamp.
>
> To reproduce: open any existing file, say 'x.txt'. Now type:
>
> M-! touch x.txt
>
> and try to edit the buffer.
>
> Paul

This is implemented in master [1: 5a4bffb661].

etc/NEWS:

    ** No more prompt about changed file when the file's content is unchanged.
    Instead of only checking the modification time, Emacs now also checks
    the file's actual content before prompting the user.

1: 2016-09-02 11:44:13 -0400 5a4bffb6617a274ca19bc7f5c1b1ceb6345651ab
  Check actual contents before promting about changed file





      reply	other threads:[~2017-03-25 22:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 14:38 bug#19029: Cut down on useless "really edit the buffer?" prompts Paul Pogonyshev
2017-03-25 22:06 ` npostavs [this message]

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=87inmx57vm.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=19029@debbugs.gnu.org \
    --cc=pogonyshev@gmail.com \
    /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).