all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: `save-exursion' makes a comeback!
Date: Tue, 15 Mar 2011 17:11:33 +0100	[thread overview]
Message-ID: <878vwgnz2i.fsf@fencepost.gnu.org> (raw)
In-Reply-To: mailman.4.1300204937.1264.help-gnu-emacs@gnu.org

"Drew Adams" <drew.adams@oracle.com> writes:

>> > Forget about `save-excursion' "saving" or "restoring" or
>> > "hiding" or "protecting" anything.  Forget about it "defeating"
>> > or being "defeated".  Forget all of that right now.
>> >
>> > The real name of `save-excursion' is `come-back-here'.
>> > Just remember that and Bob's your uncle.
>> 
>> M-: (with-temp-buffer (let ((b (current-buffer))) (save-excursion
>>     (set-buffer "*scratch*") (kill-buffer b))) (current-buffer)) RET
>
> Yes, David.  I explicitly mentioned that case before (though that was
> no doubt lost in the bit torrent).

Don't start a new thread if you want to refer to hypothetical material
from a different thread.  If you just want to change the topic,
something like

f C-c C-f s

is your friend and retains the thread references if you are using Gnus.
If you happen to prefer mail readers from Microsoft, you should be able
to find the respective functionality in their documentation, and if not,
manually changing the subject line appropriate should still be possible.

-- 
David Kastrup


  parent reply	other threads:[~2011-03-15 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1300201687.14512.help-gnu-emacs@gnu.org>
2011-03-15 15:23 ` `save-exursion' makes a comeback! David Kastrup
2011-03-15 16:02   ` Drew Adams
     [not found]   ` <mailman.4.1300204937.1264.help-gnu-emacs@gnu.org>
2011-03-15 16:11     ` David Kastrup [this message]
2011-03-16 12:48 ` Uday S Reddy
2011-03-15 15:07 Drew Adams

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=878vwgnz2i.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=help-gnu-emacs@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.