From: Noam Postavsky <npostavs@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: Bastien <bzg@gnu.org>, Martin Pohlack <mp26@os.inf.tu-dresden.de>,
Toby Cubitt <tsc25@cantab.net>,
monnier@iro.umontreal.ca, 18938@debbugs.gnu.org
Subject: bug#18938: Emacs 24.3: newline-and-indent has two undo boundaries
Date: Thu, 31 May 2018 19:55:34 -0400 [thread overview]
Message-ID: <87in73bcsp.fsf@gmail.com> (raw)
In-Reply-To: <CAJcAo8vCT-bbjS0riGL_yfg2xTeN0XHXE=0JK-0+NKS5tXtuPg@mail.gmail.com> (Samuel Wales's message of "Mon, 3 Nov 2014 12:25:30 -0700")
tags 18938 fixed
close 18938 24.4
quit
Samuel Wales <samologist@gmail.com> writes:
> Reporting as suggested by Stefan.
>
> In order to bunch up undos by 1 instead of the hardcoded 20, I do this:
>
> (add-hook 'post-self-insert-hook #'undo-boundary 'append)
>
> This or advice used to work, then around Emacs 24.1 it stopped
> working. Stefan patched it in 24.3. It now works in most cases. The
> history is in this Debian bug:
>
> Re: [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost
>
> I use undo-tree 0.6.6. The bug also occurs with it turned off.
>
> When I press RET when it is bound to newline-and-indent, the newline
> and the indentation are undone separately. I expected the RET to be
> undone.
Seems to be fixed in 24.4
next prev parent reply other threads:[~2018-05-31 23:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 19:25 bug#18938: Emacs 24.3: newline-and-indent has two undo boundaries Samuel Wales
[not found] ` <handler.18938.B.141504274132691.ack@debbugs.gnu.org>
2014-11-20 23:01 ` bug#18938: Acknowledgement (Emacs 24.3: newline-and-indent has two undo boundaries) Samuel Wales
2018-05-31 23:55 ` Noam Postavsky [this message]
2018-06-01 0:20 ` bug#18938: Emacs 24.3: newline-and-indent has two undo boundaries Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87in73bcsp.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=18938@debbugs.gnu.org \
--cc=bzg@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=mp26@os.inf.tu-dresden.de \
--cc=samologist@gmail.com \
--cc=tsc25@cantab.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.