[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19085: 25.0.50; eww: text fields and undo
From: |
Lars Ingebrigtsen |
Subject: |
bug#19085: 25.0.50; eww: text fields and undo |
Date: |
Tue, 02 Feb 2016 16:30:39 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Ah, I see it now. The bug is actually when doing `M-t' after the last
> word in the field. Which should just signal an error instead of doing
> anything. I wonder why it's not doing that -- the "Seach" button should
> be read-only...
It's rather fascinating. If you insert this into a buffer and then
`M-t' between the words (with debugging switched on):
(insert "foo " (propertize "bar\nzot" 'read-only t))
You'll get a buffer with
bar foobar
zot
while showing the backtrace. But continuing restores what was there,
because it's called in `atomic-change-group' form.
However, when doing the restoration, the `after-change-functions'
function isn't run, so eww doesn't restore the length. Is that a bug in
`atomic-change-group'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/01
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/01
- bug#19085: 25.0.50; eww: text fields and undo, Mark Oteiza, 2016/02/01
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo, Mark Oteiza, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo,
Lars Ingebrigtsen <=
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/02
- bug#19085: 25.0.50; eww: text fields and undo, Lars Ingebrigtsen, 2016/02/03