unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: Sacha Chua <sacha@free.net.ph>, Ryan Yeske <rcyeske@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: remember-region should be autoloaded
Date: Sun, 23 Dec 2007 19:04:36 +0100	[thread overview]
Message-ID: <476EA334.3080203@gmail.com> (raw)
In-Reply-To: <87tzm9xptb.fsf@jurta.org>

Juri Linkov wrote:
>> However there is a small bug in remember in the way it handles the
>> region. Beside that it would be nice if it used the region when it is
>> visible. Something like this in the beginning of remember:
>>
>> (defun remember (&optional initial)
>>   "Remember an arbitrary piece of data.
>> With a prefix or a visible region, uses the region as INITIAL."
>>   (interactive
>>    (list (when (or current-prefix-arg
>>                    (and mark-active
>>                         transient-mark-mode))
>>            (buffer-substring-noproperties
>>             (region-beginning) (region-end)))))
> 
> This is nice, but what was the conclusion about adding a special function
> to check the active region with just one function call?

I do not remember the name of that function.

  reply	other threads:[~2007-12-23 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19 10:40 remember-region should be autoloaded Ryan Yeske
2007-12-19 11:15 ` Lennart Borgman (gmail)
2007-12-19 12:47   ` Leo
2008-01-08  1:34     ` Michael Olson
2007-12-23 17:51   ` Juri Linkov
2007-12-23 18:04     ` Lennart Borgman (gmail) [this message]
2007-12-24 13:31     ` 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

  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=476EA334.3080203@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=rcyeske@gmail.com \
    --cc=sacha@free.net.ph \
    /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).