From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11774: [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost Date: Mon, 03 Nov 2014 09:35:12 -0500 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 X-Trace: ger.gmane.org 1415025408 17824 80.91.229.3 (3 Nov 2014 14:36:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 14:36:48 +0000 (UTC) Cc: Bastien , 11774-done@debbugs.gnu.org, Martin Pohlack , Toby Cubitt To: Samuel Wales Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 15:36:40 2014 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 1XlIkK-00011h-6U for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 15:36:40 +0100 Original-Received: from localhost ([::1]:35210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlIkI-0000G0-Js for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 09:36:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlIk5-0008Rx-Ji for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 09:36:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlIjy-0000gP-3N for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 09:36:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlIjj-0000cZ-3d; Mon, 03 Nov 2014 09:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XlIji-0000Uo-JR; Mon, 03 Nov 2014 09:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Mon, 03 Nov 2014 14:36:02 +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-done@debbugs.gnu.org id=D11774.14150253241849 (code D ref 11774); Mon, 03 Nov 2014 14:36:02 +0000 Original-Received: (at 11774-done) by debbugs.gnu.org; 3 Nov 2014 14:35:24 +0000 Original-Received: from localhost ([127.0.0.1]:46950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlIj4-0000Tk-VS for submit@debbugs.gnu.org; Mon, 03 Nov 2014 09:35:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:46914) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlIj0-0000T5-VE for 11774-done@debbugs.gnu.org; Mon, 03 Nov 2014 09:35:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0IAOatTlRFpY87/2dsb2JhbABcgw6DYtJRBAICgRwXAQF8hAMBAQMBViMFCwsOJhIUGA0kiEsJy3IBAQEBBgEBAQEekQgHhEsFi2STLoNJjTSCEYFvhBYfgnoBAQE X-IPAS-Result: Aq0IAOatTlRFpY87/2dsb2JhbABcgw6DYtJRBAICgRwXAQF8hAMBAQMBViMFCwsOJhIUGA0kiEsJy3IBAQEBBgEBAQEekQgHhEsFi2STLoNJjTSCEYFvhBYfgnoBAQE X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95842831" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Nov 2014 09:35:12 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C21458597; Mon, 3 Nov 2014 09:35:12 -0500 (EST) In-Reply-To: (Samuel Wales's message of "Mon, 3 Nov 2014 00:06:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:95425 > There is one possible bug. I have undo-boundary on self-insert-hook. > If I do newline-and-indent, for some reason both the newline and the > indent get undo boundaries. My expectation is that typing RET should > only have one undo boundary. > I don't know if that is user expectation error, but seems worth mentioning. Maybe the issue is simply that you need to be careful to put your undo-boundary "late" on the post-self-insert-hook (i.e. to use the `append' argument of add-hook). If not, then please post a new bug-report about it, so we can see on which side it should be solved. Stefan