From unknown Fri Aug 15 02:05:07 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#1746 <1746@debbugs.gnu.org> To: bug#1746 <1746@debbugs.gnu.org> Subject: Status: Buffer swapping interface Reply-To: bug#1746 <1746@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:05:07 +0000 retitle 1746 Buffer swapping interface reassign 1746 emacs submitter 1746 Chong Yidong severity 1746 wishlist tag 1746 wontfix thanks From cyd@stupidchicken.com Tue Dec 30 18:20:55 2008 Received: (at quiet) by emacsbugs.donarmstrong.com; 31 Dec 2008 02:20:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBV2KrAc029119 for ; Tue, 30 Dec 2008 18:20:54 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id CFF3D57E1CB; Tue, 30 Dec 2008 21:20:53 -0500 (EST) From: Chong Yidong To: quiet@debbugs.gnu.org Subject: Buffer swapping interface Date: Tue, 30 Dec 2008 21:20:53 -0500 Message-ID: <878wpxaxve.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii RMS has proposed changing the internals of the buffer saving interface to make them aware of swapped buffers, by introducing a new variable buffer-swapped-with that client code can set; basic-save-buffer then checks this variable before saving, and temporarily swaps the buffer if necessary. See the following CVS diff: http://cvs.savannah.gnu.org/viewvc/emacs/lisp/files.el?root=emacs&r1=1.1029&r2=1.1030 Stefan has objections to this patch on the grounds that it makes the buffer saving internals more complicated, instead of relying on existing hooks as tar-mode does. In any case, the patch was reverted pending the 23.1 release. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 21:49:57 2016 Received: (at 1746) by debbugs.gnu.org; 5 Aug 2016 01:49:57 +0000 Received: from localhost ([127.0.0.1]:56000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVUGr-0005Jq-Ds for submit@debbugs.gnu.org; Thu, 04 Aug 2016 21:49:57 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:35858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVUGp-0005JY-Cc; Thu, 04 Aug 2016 21:49:55 -0400 Received: by mail-io0-f173.google.com with SMTP id b62so287568384iod.3; Thu, 04 Aug 2016 18:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=IDx0+s8TsI6vDC/5gm4aR+Ah/MP+fml793Koz4Wjay4=; b=vF/fNNvqH3Z08i/G0McTnEt6vN/wZrdljUOELKjNxVIPLIYK4l1zWyNsD4PxWzE2vt WZsSPvE9MGGVwz7rWpv/le0uru5/hfFFMi5jhTrQZH4Qbth/JuH57cC7JkBKituya8Gq VNOGD//293br8NUkDb7/rMQdQHmos6hJYKdum7hF9YSURDg+iQ8ev6l+4EVMGoRvg6aF RDhfMyiRGzvDsxcE8UdshPMrJwmWNKCH6GUpYD/0HX6FaFF0wlufoBcMctYvfeHCfJPi YRx+7nKpfvDSRoQezNcwkcl+OtoQu37oDR7zfVbEH2yx6Zmv59W7wDgRMJRxGJydJ+V2 48lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=IDx0+s8TsI6vDC/5gm4aR+Ah/MP+fml793Koz4Wjay4=; b=PlkTR8szOiqCRCdxKsc/NKy7uBDfKVt0KGkPXxvM5wbSGOT78P8qoSDndb60BNVHFy RnKDnKuoCKZ23uZyaMjGDDvDXhcikUzaxQGIzkhUEFbZWqn1aDnrwUzUg2NO7hbTCEVs VFt6wPdZRR8WRltPs6pZuKZ9l82TKHr6VWkva6+vnpLQ3ztQwFKy8MSXa2PX9aso1yZN JK6+ATDMCzVahNug7YBEvefwQGfoWdV5oyrcz7uJ5P/hFS6jYwBnnP4zmU93sCULBxdF pnZXlf6Z8BWnyCdg2MfjlSoOG2aInv8cme9J8twI1R5rA/3NajmjnpTKBXmz6/fjN6lX QO/w== X-Gm-Message-State: AEkooutnOf6yMRT8JCW+c/gmmfj1ZDmdO/QAadHk5OhjXP+mk3RJ/T8LN6he1zettQkrWQ== X-Received: by 10.107.128.25 with SMTP id b25mr84852415iod.110.1470361789566; Thu, 04 Aug 2016 18:49:49 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id x13sm3698938ite.1.2016.08.04.18.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 18:49:49 -0700 (PDT) From: npostavs@users.sourceforge.net To: 1746@debbugs.gnu.org Subject: Re: bug#1746: Buffer swapping interface References: <878wpxaxve.fsf@cyd.mit.edu> Date: Thu, 04 Aug 2016 21:49:57 -0400 In-Reply-To: <878wpxaxve.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 30 Dec 2008 21:20:53 -0500") Message-ID: <87popo7zne.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 1746 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 1746 wontfix quit Chong Yidong writes: > RMS has proposed changing the internals of the buffer saving interface > to make them aware of swapped buffers, by introducing a new variable > buffer-swapped-with that client code can set; basic-save-buffer then > checks this variable before saving, and temporarily swaps the buffer if > necessary. See the following CVS diff: > > http://cvs.savannah.gnu.org/viewvc/emacs/lisp/files.el?root=emacs&r1=1.1029&r2=1.1030 > > Stefan has objections to this patch on the grounds that it makes the > buffer saving internals more complicated, instead of relying on existing > hooks as tar-mode does. In any case, the patch was reverted pending the > 23.1 release. I guess it's safe to say this patch won't be applied by now... From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 13:27:27 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 18:27:27 +0000 Received: from localhost ([127.0.0.1]:59541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEgwA-0000mQ-Uu for submit@debbugs.gnu.org; Wed, 07 Dec 2016 13:27:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEgw9-0000mE-Ci for control@debbugs.gnu.org; Wed, 07 Dec 2016 13:27:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEgw1-0002BI-UB for control@debbugs.gnu.org; Wed, 07 Dec 2016 13:27:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEgw1-0002Az-QS for control@debbugs.gnu.org; Wed, 07 Dec 2016 13:27:17 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEgvy-0004O8-AR for control@debbugs.gnu.org; Wed, 07 Dec 2016 13:27:14 -0500 Subject: control message for bug 1746 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 13:27:14 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) close 1746 From unknown Fri Aug 15 02:05:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:11 +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