From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.bugs Subject: bug#11774: [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost Date: Tue, 3 Jul 2012 17:18:50 -0700 Message-ID: References: <20120703095729.GA6651@c3po> <4FF30D50.8010009@os.inf.tu-dresden.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1341361170 10455 80.91.229.3 (4 Jul 2012 00:19:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2012 00:19:30 +0000 (UTC) Cc: Bastien , Martin Pohlack , Toby Cubitt , 11774@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 02:19:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SmDJX-0005CA-CJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2012 02:19:27 +0200 Original-Received: from localhost ([::1]:52526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmDJV-00017H-TM for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2012 20:19:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmDJT-00011G-Hi for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2012 20:19:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmDJR-0005B4-Ni for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2012 20:19:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmDJO-0005AG-AE; Tue, 03 Jul 2012 20:19:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SmDNx-0001V9-HP; Tue, 03 Jul 2012 20:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Samuel Wales Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Wed, 04 Jul 2012 00:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11774 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 11774-submit@debbugs.gnu.org id=B11774.13413614215746 (code B ref 11774); Wed, 04 Jul 2012 00:24:01 +0000 Original-Received: (at 11774) by debbugs.gnu.org; 4 Jul 2012 00:23:41 +0000 Original-Received: from localhost ([127.0.0.1]:46453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmDNc-0001Ud-HX for submit@debbugs.gnu.org; Tue, 03 Jul 2012 20:23:40 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:47345) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmDNX-0001US-LO for 11774@debbugs.gnu.org; Tue, 03 Jul 2012 20:23:39 -0400 Original-Received: by obbwc20 with SMTP id wc20so10707829obb.3 for <11774@debbugs.gnu.org>; Tue, 03 Jul 2012 17:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kPYamGCFE2t1+vcxASZw0ytojF3wn60oaVwux31rzHo=; b=QfeH5Z8XISv9gRSBQT6wpgcA7/5zs9M5yuAyIqVkDfpshnHOmAIDz1lpxcwKC88m6h onIYMeehBDn26gbyKlOSGqHw22jy6UTRwHJ20yfxpAWrYg6MQx+WSh0s3MtvsVHxXsVJ PaWVTRvbPwgroeQwE936aTof4KA1UdlkHDmyHdhkmWYempgKdqoTfduz4e3z3twHdjco MlWgV5/j39beE7UuVKJMazg+ufr97WSEuKshbTAWI19VOrb9EiAbBW1SejFJnBbEJv2f TgIxB5bEDceyzuYJ6uWiblnunta5bdgNm8O20P/ya/UB0gx8AZ8ItGXI9KV9edMskP2s yPkA== Original-Received: by 10.60.9.134 with SMTP id z6mr20496211oea.46.1341361130958; Tue, 03 Jul 2012 17:18:50 -0700 (PDT) Original-Received: by 10.76.83.6 with HTTP; Tue, 3 Jul 2012 17:18:50 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61555 Archived-At: On 7/3/12, Stefan Monnier wrote: >> self-insert-command. Even just turning that magic 20 number into a >> variable would help. > > Providing it as a variable would be very easy, indeed. Hi Stefan, To clarify, that is actually the only thing that I need as a user for self-insert-command. It would make an enormous difference in my use of Emacs. Huge. So I don't need undo-boundary to work in any particular way -- IF I have the ability to cluster self-insert-command by 1 instead of that hardcoded 20 throughout Emacs (including Org of course). My need for undo-boundary to work the way it did before is only so that I could call undo-boundary after every invocation of self-insert-command. Therefore, IF we have that variable, then undo-boundary considerations should be simply to DTRT for undo-tree, org-self-insert-command, and other code, in such a way that subtle bugs are prevented. Maybe the user should be able to set undo boundaries and have them work after self-insert-command? Dunno, I'm not familiar with internals enough to opine. Hope that clarifies. I will follow the discussion as long as I'm CC'ed as I am now. Thanks. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com