unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49701: 28.0.50; Emacs no longer detects file modifications
@ 2021-07-23  2:46 Dima Kogan
  2021-07-23  9:50 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Dima Kogan @ 2021-07-23  2:46 UTC (permalink / raw)
  To: 49701

Hi.

I'm running an emacs built from git today. The previous behavior of
detecting modified files doesn't work anymore. Recipe:

1. echo 123 > /tmp/whatever

2. emacs -Q /tmp/whatever
   (emacs now is looking at /tmp/whatever)

3. outside of emacs: echo 456 >> /tmp/whatever
   (i.e. we modified the file)

4. Back inside emacs, press any insertion key. Like 'a'

A this point, the non-bleeding-edge emacs would say see the
modification, and would ask the user if they want to revert or not. The
new emacs from git just inserts 'a' as if no outside modification
happened. I don't see anything in the NEWS that obviously changed this.

Thanks!





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#49701: 28.0.50; Emacs no longer detects file modifications
  2021-07-23  2:46 bug#49701: 28.0.50; Emacs no longer detects file modifications Dima Kogan
@ 2021-07-23  9:50 ` Lars Ingebrigtsen
  2021-07-23 18:30   ` Dima Kogan
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-23  9:50 UTC (permalink / raw)
  To: Dima Kogan; +Cc: 49701

Dima Kogan <dima@secretsauce.net> writes:

> I'm running an emacs built from git today. The previous behavior of
> detecting modified files doesn't work anymore. Recipe:
>
> 1. echo 123 > /tmp/whatever
>
> 2. emacs -Q /tmp/whatever
>    (emacs now is looking at /tmp/whatever)
>
> 3. outside of emacs: echo 456 >> /tmp/whatever
>    (i.e. we modified the file)
>
> 4. Back inside emacs, press any insertion key. Like 'a'
>
> A this point, the non-bleeding-edge emacs would say see the
> modification, and would ask the user if they want to revert or not. The
> new emacs from git just inserts 'a' as if no outside modification
> happened. I don't see anything in the NEWS that obviously changed this.

Oops.  There was a thinko in 2ad34bcea4e which basically disabled the
test in most circumstances.  Should be fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#49701: 28.0.50; Emacs no longer detects file modifications
  2021-07-23  9:50 ` Lars Ingebrigtsen
@ 2021-07-23 18:30   ` Dima Kogan
  0 siblings, 0 replies; 3+ messages in thread
From: Dima Kogan @ 2021-07-23 18:30 UTC (permalink / raw)
  To: 49701

Awesome. Thanks for taking care of it.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-23 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  2:46 bug#49701: 28.0.50; Emacs no longer detects file modifications Dima Kogan
2021-07-23  9:50 ` Lars Ingebrigtsen
2021-07-23 18:30   ` Dima Kogan

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