[Top][All Lists]

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

bug#19029: Cut down on useless "really edit the buffer?" prompts

From: npostavs
Subject: bug#19029: Cut down on useless "really edit the buffer?" prompts
Date: Sat, 25 Mar 2017 18:06:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

tags 19029 fixed
close 19029 26.1

Paul Pogonyshev <address@hidden> 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].


    ** 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 via email to

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