all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: 902@emacsbugs.donarmstrong.com
Subject: bug#902: select-active-regions only half-working
Date: Wed, 10 Sep 2008 12:37:45 -0400	[thread overview]
Message-ID: <jwviqt4ezal.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <48C6CC6F.5090100@harpegolden.net> (David De La Harpe Golden's message of "Tue, 09 Sep 2008 20:20:15 +0100")

> +	   (save-excursion
> +	     (set-buffer value)

Aka "(with-current-buffer value".
Again, since this code is present at several places, move it into its
own function.  Basically this function could turn the buffer value into
a "cons of markers" value, so you can use it everywhere and reuse the
code that handles a cons of markers.

Also the select-active-regions docstring shouldn't recommend to turn on
transient-mark-mode since it's already ON by default.


        Stefan






  reply	other threads:[~2008-09-10 16:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <878wiqivfr.fsf@stupidchicken.com>
2008-09-06  5:53 ` bug#902: select-active-regions only half-working David De La Harpe Golden
     [not found]   ` <handler.902.B.122068042025981.ack@emacsbugs.donarmstrong.com>
2008-09-06 19:35     ` bug#902: Acknowledgement (select-active-regions only half-working) David De La Harpe Golden
2008-09-06 19:50   ` bug#902: select-active-regions only half-working Stefan Monnier
2008-09-06 20:22     ` David De La Harpe Golden
2008-09-07  3:53       ` Stefan Monnier
2008-09-07 20:27         ` David De La Harpe Golden
2008-09-07 21:20           ` Stefan Monnier
2008-09-09  0:42             ` David De La Harpe Golden
2008-09-09 14:50               ` Stefan Monnier
2008-09-09 19:20                 ` David De La Harpe Golden
2008-09-10 16:37                   ` Stefan Monnier [this message]
2008-09-10 21:45                     ` David De La Harpe Golden
2008-09-11  2:01                       ` Stefan Monnier
2008-09-11  2:40                         ` David De La Harpe Golden
2009-01-25 23:44                         ` David De La Harpe Golden
2009-07-15  1:40   ` bug#902: marked as done (select-active-regions only half-working) Emacs bug Tracking System

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=jwviqt4ezal.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=902@emacsbugs.donarmstrong.com \
    --cc=david@harpegolden.net \
    /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.