all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: Stefan Monnier <monnier+gnu/emacs@rum.cs.yale.edu>,
	Karl Chen <quarl@hkn.eecs.berkeley.edu>,
	Richard Stallman <rms@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: [cvs] bug when using pc-selection-mode/transient-mark-mode
Date: Mon, 23 Sep 2002 14:31:21 -0400	[thread overview]
Message-ID: <200209231831.g8NIVLq30154@rum.cs.yale.edu> (raw)
In-Reply-To: 20020923011842.GA29226@gnu.org

> Is this too expensive a thing to take place in switch-to-buffer?

You must mean `set-buffer' ?

> > So maybe we should not make it buffer-local but instead make it hold
> > a list of buffers whose mark should be deactivated.
> > Currently we only use t or nil where t means "current-buffer".
> 
> Doesn't that require all the places where deactivate-mark is set to be
> changed (in a non-trivial way)?

Yes, except that we can still accept t as a special value meaning
`current-buffer', such that code that's not updated will not break
Emacs (it will just make it behave as it does now, which isn't
perfect but isn't terrible either).

> Sounds very annoying for programmers... [and a maintainance headache]

But since it can be made backward-compatible it's not such a big deal.
And (as you noticed) deactivate-mark is rarely set explicitly anyway.


	Stefan

  parent reply	other threads:[~2002-09-23 18:31 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16  5:55 [cvs] bug when using pc-selection-mode/transient-mark-mode Karl Chen
2002-09-16 19:27 ` Richard Stallman
2002-09-18  0:07   ` Karl Chen
2002-09-18 17:26     ` Richard Stallman
2002-09-19  7:11       ` Karl Chen
2002-09-19  8:00       ` Karl Chen
2002-09-19  8:48       ` Karl Chen
2002-09-20  3:45         ` Richard Stallman
2002-09-21  2:38           ` Karl Chen
2002-09-21 19:39             ` Richard Stallman
2002-09-22 22:48             ` Stefan Monnier
2002-09-23  1:05               ` Karl Chen
2002-09-23  1:18               ` Miles Bader
2002-09-23  1:25                 ` Miles Bader
2002-09-23 18:31                 ` Stefan Monnier [this message]
2002-09-23 20:34                 ` Kim F. Storm
2002-09-24  3:24                 ` Richard Stallman
2002-09-23 16:00               ` Richard Stallman
2002-09-23 20:38                 ` Kim F. Storm
2002-09-19 19:52       ` Karl Chen
2002-09-20 18:42         ` Richard Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200209231831.g8NIVLq30154@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    --cc=quarl@hkn.eecs.berkeley.edu \
    --cc=rms@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.