From: JD Smith <jdsmith@as.arizona.edu>
Cc: emacs-devel@gnu.org
Subject: Re: transient-mark-mode in 22.0
Date: Wed, 08 Jun 2005 14:17:55 -0700 [thread overview]
Message-ID: <1118265475.26257.16.camel@turtle.as.arizona.edu> (raw)
In-Reply-To: <E1DfzGc-0006zB-Jp@fencepost.gnu.org>
On Wed, 2005-06-08 at 08:02 -0400, Richard Stallman wrote:
> I noticed that setting the transient-mark-mode variable no longer does
> anything
>
> As far as I can see, it still does what it always did.
> Did you actually observe that it fails to work?
Only in so far as I expected transient-mark-mode to allow mouse-drag-
region to return upon mouse-up, which it used to do under 21.x. So in
that sense, it fails to work. It may well be that all other features of
transient-mark-mode do work when the variable is set.
In Emacs 21.X, when bound to a mouse-down event, this:
(defun do-drag (event)
(interactive "e")
(let ((transient-mark-mode t)) ; transient mark
(message "DRAG STARTED")
(mouse-drag-region event)
(message "DRAG FINISHED")))
and this:
(defun do-drag (event)
(interactive "e")
(let ((transient-mark-mode nil)) ; no transient-mark
(message "DRAG STARTED")
(mouse-drag-region event)
(message "DRAG FINISHED")))
produce different behavior w.r.t. mouse-up. In 22.0, they produce the
same behavior. Unfortunately, it's not the behavior I need.
JD
next prev parent reply other threads:[~2005-06-08 21:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-06 17:24 transient-mark-mode in 22.0 JD Smith
2005-06-08 12:02 ` Richard Stallman
2005-06-08 21:17 ` JD Smith [this message]
2005-06-09 14:41 ` Richard Stallman
2005-06-09 17:54 ` JD Smith
2005-06-10 22:37 ` Richard Stallman
2005-06-10 22:49 ` JD Smith
2005-06-11 23:16 ` Richard Stallman
2005-06-12 16:29 ` Stefan Monnier
2005-06-12 16:09 ` Stefan Monnier
2005-06-13 15:02 ` Richard Stallman
2005-06-09 21:39 ` Stefan Monnier
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=1118265475.26257.16.camel@turtle.as.arizona.edu \
--to=jdsmith@as.arizona.edu \
--cc=emacs-devel@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 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).