From unknown Mon Aug 11 21:12:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12624 <12624@debbugs.gnu.org> To: bug#12624 <12624@debbugs.gnu.org> Subject: Status: 24.1.50; docstring of set-buffer Reply-To: bug#12624 <12624@debbugs.gnu.org> Date: Tue, 12 Aug 2025 04:12:37 +0000 retitle 12624 24.1.50; docstring of set-buffer reassign 12624 emacs submitter 12624 Roland Winkler severity 12624 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 15:41:27 2012 Received: (at submit) by debbugs.gnu.org; 11 Oct 2012 19:41:27 +0000 Received: from localhost ([127.0.0.1]:39900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMOdK-0002or-Qf for submit@debbugs.gnu.org; Thu, 11 Oct 2012 15:41:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42631) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMOdH-0002od-R4 for submit@debbugs.gnu.org; Thu, 11 Oct 2012 15:41:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMOcO-0008M2-Jt for submit@debbugs.gnu.org; Thu, 11 Oct 2012 15:40:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMOcO-0008Ly-Gg for submit@debbugs.gnu.org; Thu, 11 Oct 2012 15:40:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMOcK-0002eB-GW for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2012 15:40:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMOcJ-0008In-BU for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2012 15:40:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMOcJ-0008Ih-7s for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2012 15:40:23 -0400 Received: from lukas.physics.niu.edu ([131.156.85.221]:53684) by fencepost.gnu.org with esmtpa (Exim 4.71) (envelope-from ) id 1TMOcI-0002tG-NU for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2012 15:40:22 -0400 From: Roland Winkler To: bug-gnu-emacs@gnu.org Subject: 24.1.50; docstring of set-buffer Date: Thu, 11 Oct 2012 14:40:11 -0500 Message-ID: <87wqywhk6c.fsf@lukas.physics.niu.edu> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) 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@yandex.ru-20120719085653-jqi71da9zh0vjtit Windowing system distributor `The X.Org Foundation', version 11.0.10400090 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 21:49:44 2012 Received: (at 12624-done) by debbugs.gnu.org; 12 Oct 2012 01:49:44 +0000 Received: from localhost ([127.0.0.1]:40103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMUNk-0004Ua-8y for submit@debbugs.gnu.org; Thu, 11 Oct 2012 21:49:44 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58746 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMUNh-0004US-62 for 12624-done@debbugs.gnu.org; Thu, 11 Oct 2012 21:49:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TMUMu-0008BS-M9; Thu, 11 Oct 2012 21:48:52 -0400 From: Glenn Morris To: 12624-done@debbugs.gnu.org Subject: Re: bug#12624: 24.1.50; docstring of set-buffer References: <87wqywhk6c.fsf@lukas.physics.niu.edu> X-Spook: 2600 Magazine Qaddafi Compsec FTS2000 digicash ANDVT X-Ran: QCw]Sd5~9H$;vnMKF;rg%wOz+vH*r-~?FcQ`vnO0/h:tkMZ0E;>MS\)]sm;;epTAspVI[. X-Hue: red X-Attribution: GM Date: Thu, 11 Oct 2012 21:48:52 -0400 In-Reply-To: <87wqywhk6c.fsf@lukas.physics.niu.edu> (Roland Winkler's message of "Thu, 11 Oct 2012 14:40:11 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 12624-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Version: 24.3 Thanks, I changed it to say `with-current-buffer' instead. From unknown Mon Aug 11 21:12:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator