Subject: bug#12624: closed (Re: bug#12624: 24.1.50; docstring of set-buffer)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 12 Oct 2012 01:50:05 +0000

Your bug report

#12624: 24.1.50; docstring of set-buffer

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12624: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12624
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12624: 24.1.50; docstring of set-buffer
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Thu, 11 Oct 2012 21:48:52 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.3

Thanks, I changed it to say `with-current-buffer' instead.

Subject: 24.1.50; docstring of set-buffer
From: Roland Winkler <[email-masked]>
To: [email-masked]
Date: Thu, 11 Oct 2012 14:40:11 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

There have been various discussions that often set-buffer should not be
combined with save-excursion, but better with save-current-buffer or
with-current-buffer. By chance I looked at the docstring of set-buffer,
which (still) says

  See also `save-excursion' when you want to make a buffer current
  temporarily.

Shouldn't this be changed to something like

  See also `save-current-buffer' and `with-current-buffer'...

In GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9)
 of 2012-07-19 on lukas
Bzr revision: 109157 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10400090