[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: require-hard-newlines to use newline
From: |
Richard Stallman |
Subject: |
Re: require-hard-newlines to use newline |
Date: |
Thu, 10 Mar 2005 20:46:38 -0500 |
2. Defining two new abnormal hooks, maybe named yank-encode-functions and
kill-encode-functions, to be called by kill-region etc (or possibly the
lower-level functions like kill-new and kill-append.)
This would be better than using advice.
On further consideration, there seems to be some overlap between the above
suggestion and the yank-handler text property (new to Emacs 22).
The idea of the yank-handler text property is that certain kill
strings are encoded specially, and need to be decoded when they are
yanked. Maybe longlines could use this instead of a new hook for
yanking.
However, it would still need a hook for killing. However,
not just for killing. This hook should be used in various places,
including Fdelete_and_extract_region.
Or maybe you could just use after-change-functions.
Would that work?
- Re: require-hard-newlines to use newline, (continued)
- Re: require-hard-newlines to use newline, Luc Teirlinck, 2005/03/07
- Re: require-hard-newlines to use newline, Luc Teirlinck, 2005/03/08
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/08
- Re: require-hard-newlines to use newline, Stefan Monnier, 2005/03/08
- Re: require-hard-newlines to use newline, Luc Teirlinck, 2005/03/08
- Re: require-hard-newlines to use newline, Stefan Monnier, 2005/03/08
- Re: require-hard-newlines to use newline, Luc Teirlinck, 2005/03/08
- Re: require-hard-newlines to use newline, Richard Stallman, 2005/03/08
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/08
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/09
- Re: require-hard-newlines to use newline,
Richard Stallman <=
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11
- Re: require-hard-newlines to use newline, Kim F. Storm, 2005/03/11
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11
- Re: require-hard-newlines to use newline, Stefan Monnier, 2005/03/11
- Re: require-hard-newlines to use newline, Kim F. Storm, 2005/03/11
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11
- Re: require-hard-newlines to use newline, Stefan Monnier, 2005/03/11
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11
- Re: require-hard-newlines to use newline, Stefan Monnier, 2005/03/11
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11