[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22338: 25.0.50; deactivate-mark regression
From: |
Leo Liu |
Subject: |
bug#22338: 25.0.50; deactivate-mark regression |
Date: |
Mon, 01 Feb 2016 19:02:08 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (OS X 10.11.3) |
On 2016-01-21 18:08 +0200, Eli Zaretskii wrote:
> Would you mind showing a more detailed recipe, including the file you
> used and the exact procedure to change the file behind Emacs's back?
> Also, how do you check that the mark is still active after the revert?
> I feel there are some fine details that are different between our
> attempts to reproduce the issue, because I cannot reproduce it no
> matter what I do. There's some factor here that I don't get. I hope
> it's not some stupid oversight on my part.
I am now using GNU Emacs 25.0.90 built on 2016-01-31 and the problem
seems getting better. My current observation is this (revert-buffer nil
t t) only keeps the active mark if the file has not changed at all but
deactivates it otherwise. I modified the file by appending a line to it
using shell command.
> Well, if we are talking about users, why would a user invoke
> revert-buffer in such a strange way? And if the region is active, but
> not highlighted, doesn't "C-x C-x" show it highlighted?
Obviously not directly. It can be part of a hook. For example I am using
a package to refactor erlang which writes to disk and send emacs the
list of files that may have changed.
HTH,
Leo
- bug#22338: 25.0.50; deactivate-mark regression,
Leo Liu <=