> 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
Stefan Monnier writes:
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.
>> Maybe the user should be able to set undo boundaries and
>> have them work after self-insert-command? Dunno, I'
>>> 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.
> Maybe the user should be able to set undo boundaries and
> have them work after self-insert-command? Dunno, I'm
> not familiar with internal
On Tue, Jul 03, 2012 at 05:18:50PM -0700, Samuel Wales wrote:
> 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.
>
> Therefore, IF we have that variable
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 wou
> 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 clus
On 7/3/12, Stefan Monnier wrote:
> Indeed, self-insert-command used to be treated specially by the
> read-eval-loop and the merging was performed there. Now this command is
> handled like any other, and self-insert-command does the merging itself.
> In most cases the result is the same, but the b