From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: disabling undo boundaries Date: Sat, 08 Aug 2015 07:39:29 +0200 Message-ID: <87si7uibji.fsf@fencepost.gnu.org> References: <87fv746rd5.fsf@newcastle.ac.uk> <87siaxk4dl.fsf@newcastle.ac.uk> <87iobsr6m2.fsf@newcastle.ac.uk> <87oalgaicm.fsf@newcastle.ac.uk> <87y4kkkzlo.fsf@newcastle.ac.uk> <87mw0zk7yp.fsf@newcastle.ac.uk> <87617mgp1b.fsf@newcastle.ac.uk> <871ti9ammc.fsf@newcastle.ac.uk> <878ucaqm3g.fsf@newcastle.ac.uk> <87y4hrm911.fsf@newcastle.ac.uk> <87wpx79pz6.fsf@newcastle.ac.uk> <874mkbjj2u.fsf@fencepost.gnu.org> <87egjehkk7.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439017396 29133 80.91.229.3 (8 Aug 2015 07:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2015 07:03:16 +0000 (UTC) Cc: Stefan Monnier , Emacs-Devel devel To: phillip.lord@newcastle.ac.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 08 09:03:16 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNy9z-00045R-If for ged-emacs-devel@m.gmane.org; Sat, 08 Aug 2015 09:03:15 +0200 Original-Received: from localhost ([::1]:52092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNy9y-0002c2-QA for ged-emacs-devel@m.gmane.org; Sat, 08 Aug 2015 03:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNy9w-0002bT-2r for emacs-devel@gnu.org; Sat, 08 Aug 2015 03:03:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNy9v-0003gK-07 for emacs-devel@gnu.org; Sat, 08 Aug 2015 03:03:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNy9u-0003fw-Ti; Sat, 08 Aug 2015 03:03:10 -0400 Original-Received: from localhost ([127.0.0.1]:55985 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZNy9q-00026S-74; Sat, 08 Aug 2015 03:03:10 -0400 Original-Received: by lola (Postfix, from userid 1000) id 47491E0BA8; Sat, 8 Aug 2015 07:39:29 +0200 (CEST) In-Reply-To: <87egjehkk7.fsf@newcastle.ac.uk> (Phillip Lord's message of "Fri, 07 Aug 2015 22:10:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188594 Archived-At: phillip.lord@newcastle.ac.uk (Phillip Lord) writes: > David Kastrup writes: >> >> The problem _I_ see is that it is in general not just "a command" which >> may touch another buffer, but also compilation buffers, timer events, >> font lock and a number of other background activities not immediately >> caused by key presses. > > > I don't think this is an issue, because Emacs is single-threaded. So, > all of these events happen *between* commands which, in general, means > that an undo-boundary has gone onto the current-buffer anyway. Not for self-insert-command. Not for stuff like shell-command-on-region that has to wait for material to arrive. -- David Kastrup