[Top][All Lists]

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

Re: [Emacs-diffs] scratch/highlight-n-windows 6da5ca1 2/2: Set `mark-act

From: Stefan Monnier
Subject: Re: [Emacs-diffs] scratch/highlight-n-windows 6da5ca1 2/2: Set `mark-active' to selected window
Date: Wed, 01 Apr 2015 14:27:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Should I apply this change or wait until I figure out how to make the
> mark window-local?

While trying it out I noticed that it introduces behavior which some
users will find unexpected: while the highlighting only happens in the
window where the mark was set, mark-active is non-nil in all windows
displaying that buffer, so the commands will behave according to
"the mark is active" while the user may think "it's not highlighted, so
the mark is not active".

IOW, it's a cute hack, but I don't think it's right.  Sorry.


reply via email to

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