unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] scratch/highlight-n-windows 6da5ca1 2/2: Set `mark-active' to selected window
Date: Wed, 01 Apr 2015 20:38:02 +0200	[thread overview]
Message-ID: <87d23nbsol.fsf@gmail.com> (raw)
In-Reply-To: <jwv4mozg0ys.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Wed, 01 Apr 2015 14:27:49 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

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

Of course, that was the point of the current change: just to get rid of
the visual distraction.
It's not going to get intuitive until the mark becomes window-local.

But I would take not-annoying over non-intuitive any day though:)

Oleh



  reply	other threads:[~2015-04-01 18:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150331130427.20388.74881@vcs.savannah.gnu.org>
     [not found] ` <E1YcvqH-0005KD-2v@vcs.savannah.gnu.org>
2015-04-01  2:53   ` [Emacs-diffs] scratch/highlight-n-windows 6da5ca1 2/2: Set `mark-active' to selected window Stefan Monnier
2015-04-01  7:03     ` Oleh Krehel
2015-04-01 14:04       ` Stefan Monnier
2015-04-01 16:20         ` Oleh Krehel
2015-04-01 18:27           ` Stefan Monnier
2015-04-01 18:38             ` Oleh Krehel [this message]
2015-04-01 15:17       ` Drew Adams
2015-04-01 15:46         ` Oleh Krehel
2015-04-01 17:11           ` martin rudalics

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=87d23nbsol.fsf@gmail.com \
    --to=ohwoeowho@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).