From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: `save-exursion' makes a comeback! Date: Tue, 15 Mar 2011 17:11:33 +0100 Organization: Organization?!? Message-ID: <878vwgnz2i.fsf@fencepost.gnu.org> References: <87d3lso1a6.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300208101 3904 80.91.229.12 (15 Mar 2011 16:55:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2011 16:55:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 15 17:54:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzXWF-0006lJ-4I for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2011 17:54:51 +0100 Original-Received: from localhost ([127.0.0.1]:43599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzXUJ-0004jw-Lm for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2011 12:52:51 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:13z3KjMqzIcXzgzUUywAUvhx8mM= Original-Lines: 28 Original-NNTP-Posting-Date: 15 Mar 2011 17:11:33 CET Original-NNTP-Posting-Host: f0966c44.newsspool2.arcor-online.net Original-X-Trace: DXC=[_<^cGa7djGO31iM>C]6LLF Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: usenet.stanford.edu gnu.emacs.help:185990 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80132 Archived-At: "Drew Adams" 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