From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Samuel Wales <samologist@gmail.com>
Cc: Bastien <bzg@gnu.org>, Martin Pohlack <mp26@os.inf.tu-dresden.de>,
Toby Cubitt <tsc25@cantab.net>,
11774@debbugs.gnu.org
Subject: bug#11774: [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost
Date: Tue, 03 Jul 2012 18:57:25 -0400 [thread overview]
Message-ID: <jwvfw984ftk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAJcAo8t4wj-8mje2=QEKY275QXyxwkotBCftZmOVQZAsMAt7Hg@mail.gmail.com> (Samuel Wales's message of "Tue, 3 Jul 2012 11:13:07 -0700")
> The first is that it hardcodes the clustering by 20.
I guess that's the problem which is not new.
> This was possible to work around before Emacs 24. You could advise
> self-insert-command or wrap it. This is why Org was able to control
> this with a variable to support clustering or not clustering.
IIUC Org's clustering was only introduced because self-insert-command's
clustering only worked when it was handled by the read-eval-loop, so it
was not done to "avoid" the clustering, but to make it work in more
cases. So it might be unneeded in Emacs-24.
> What is new in Emacs is that self-insert-command now destroys
> undo-boundary. If you wrap it, it destroys all of your effort on the
> next call to it.
I don't have it fresh in my memory but if you can post some sample code
showing what you're doing, and how self-insert-command's behavior makes
it difficult, maybe we can make it work better.
> 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.
Stefan
next prev parent reply other threads:[~2012-07-03 22:57 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-24 21:27 bug#11774: org-mode causes undo boundaries to be lost Toby Cubitt
2012-06-24 21:39 ` Bastien
2012-06-24 21:52 ` Toby Cubitt
2012-06-25 11:35 ` Toby Cubitt
2012-06-25 11:35 ` Toby Cubitt
2012-07-02 6:51 ` bug#11774: [O] " Martin Pohlack
2012-07-03 9:57 ` bug#11774: " Toby Cubitt
2012-07-03 9:57 ` bug#11774: [O] " Toby Cubitt
2012-07-03 15:18 ` bug#11774: " Martin Pohlack
2012-07-03 15:18 ` bug#11774: [O] " Martin Pohlack
2012-07-03 17:29 ` bug#11774: " Stefan Monnier
2012-07-03 18:13 ` bug#11774: [O] " Samuel Wales
2012-07-03 22:57 ` bug#11774: " Stefan Monnier
2012-07-03 22:57 ` Stefan Monnier [this message]
2012-07-04 0:18 ` Samuel Wales
2012-07-04 0:18 ` bug#11774: [O] " Samuel Wales
2012-07-04 0:24 ` bug#11774: bug#11774: " Samuel Wales
2012-07-04 0:24 ` bug#11774: [O] " Samuel Wales
2012-07-04 9:40 ` bug#11774: [O] " Toby Cubitt
2012-07-04 9:40 ` bug#11774: " Toby Cubitt
2012-07-18 13:21 ` bug#11774: [O] " Stefan Monnier
2012-07-18 13:21 ` bug#11774: " Stefan Monnier
2012-08-01 14:26 ` Bastien
2012-08-01 14:26 ` Bastien
[not found] ` <CAJcAo8ux9Dw5Nu6x0jm59mWFaLWFG6SSeMs9dju-Jgy5nWkUcA@mail.gmail.com>
2014-11-03 14:35 ` bug#11774: [O] " Stefan Monnier
2014-11-03 14:35 ` bug#11774: " Stefan Monnier
2012-07-03 18:13 ` Samuel Wales
2012-07-03 17:29 ` bug#11774: [O] " Stefan Monnier
2012-07-02 6:51 ` bug#11774: " Martin Pohlack
2012-07-03 18:33 ` bug#11774: [O] " Martin Pohlack
2012-07-03 18:33 ` bug#11774: " Martin Pohlack
2014-11-03 19:25 ` bug#11774: 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=jwvfw984ftk.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11774@debbugs.gnu.org \
--cc=bzg@gnu.org \
--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.