GNU bug report logs - #12624
24.1.50; docstring of set-buffer

Previous Next

Package: emacs;

Reported by: Roland Winkler <winkler <at> gnu.org>

Date: Thu, 11 Oct 2012 19:42:02 UTC

Severity: minor

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#12624: closed (24.1.50; docstring of set-buffer)
Date: Fri, 12 Oct 2012 01:50:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 11 Oct 2012 21:48:52 -0400
with message-id <otehl4lat7.fsf <at> fencepost.gnu.org>
and subject line Re: bug#12624: 24.1.50; docstring of set-buffer
has caused the debbugs.gnu.org bug report #12624,
regarding 24.1.50; docstring of set-buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
12624: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12624
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Roland Winkler <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; docstring of set-buffer
Date: Thu, 11 Oct 2012 14:40:11 -0500
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 dmantipov <at> yandex.ru-20120719085653-jqi71da9zh0vjtit
Windowing system distributor `The X.Org Foundation', version 11.0.10400090


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 12624-done <at> debbugs.gnu.org
Subject: Re: bug#12624: 24.1.50; docstring of set-buffer
Date: Thu, 11 Oct 2012 21:48:52 -0400
Version: 24.3

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



This bug report was last modified 12 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.