From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Editing change groups Date: Sat, 10 Nov 2018 08:15:08 -0500 Message-ID: References: <87sh0an0wf.fsf@web.de> <87h8gpv8he.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541855634 11785 195.159.176.226 (10 Nov 2018 13:13:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2018 13:13:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 14:13:50 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLT5C-0002vs-7c for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 14:13:50 +0100 Original-Received: from localhost ([::1]:38383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLT7I-0004Lb-Fp for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 08:16:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLT6i-0004LB-St for help-gnu-emacs@gnu.org; Sat, 10 Nov 2018 08:15:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLT6Y-0007p9-Tn for help-gnu-emacs@gnu.org; Sat, 10 Nov 2018 08:15:21 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:36691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLT6W-0007dj-US for help-gnu-emacs@gnu.org; Sat, 10 Nov 2018 08:15:14 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wAADF8sh006457; Sat, 10 Nov 2018 08:15:09 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 653EC6A55F; Sat, 10 Nov 2018 08:15:08 -0500 (EST) In-Reply-To: <87h8gpv8he.fsf@web.de> (Michael Heerdegen's message of "Sat, 10 Nov 2018 05:53:33 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6415=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6415> : inlines <6959> : streams <1803862> : uri <2747327> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118632 Archived-At: >> > (let ((g (prepare-change-group))) >> > (insert "a\n") >> > (activate-change-group g) >> >> You (*really*) shouldn't modify the buffer between >> prepare-change-group and activate-change-group. > > Oh, it really means really, I see. The world won't collapse, but the behavior will be different depending on whether undo is enabled in the buffer and the semantics is unclear. > But the effect on the experiment is negligible, the behavior is still > not what I expect if I change that. I'm not sure which experiment this refers to. Stefan