[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30204: 27.0.50; Changing major mode resets non-default invisibility
From: |
Lars Ingebrigtsen |
Subject: |
bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec |
Date: |
Sat, 09 Oct 2021 13:10:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Robert Pluim <rpluim@gmail.com> writes:
> I see you did that with 'after-change-functions'. Would a
> 'pre-yank-hook' be a useful addition to Emacs? I often yank output
> from badly behaved programs, and having a buffer-local hook to replace
> non-breaking-spaces and the like before insertion would be useful.
There's `filter-buffer-substring' to do it from the other side... But I
see now that I could just have set `yank-excluded-properties' to t in
this mode to get the same effect as the `after-change-functions'. I'll
adjust.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, (continued)
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Phil Sainty, 2021/10/11
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Tomas Nordin, 2021/10/13
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Richard Stallman, 2021/10/11
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Lars Ingebrigtsen, 2021/10/12
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Richard Stallman, 2021/10/12
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Robert Pluim, 2021/10/09
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec,
Lars Ingebrigtsen <=
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Robert Pluim, 2021/10/09
- bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec, Lars Ingebrigtsen, 2021/10/09