[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: require-hard-newlines to use newline
From: |
Stefan Monnier |
Subject: |
Re: require-hard-newlines to use newline |
Date: |
Fri, 11 Mar 2005 09:32:52 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> + (defvar before-kill-functions nil
> + "List of functions called on the region before killing.
> + This abnormal hook is run before `kill-region' and
> + `copy-region-as-kill', with the beginning and end positions of
> + the killed region as the arguments.")
I think it's usually important to keep the property that killing doesn't
modify the buffer's text (when used in copy-as-kill), so rather than having
before-kill-functions modify the buffer's text just before it's put in the
kill-ring, it would be more convenient to make it return the string,
i.e. use it as a replacement for buffer-substring.
Stefan
- Re: require-hard-newlines to use newline, (continued)
- 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, 2005/03/10
- 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 <=
- 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
- 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, Kim F. Storm, 2005/03/11
- Re: require-hard-newlines to use newline, Chong Yidong, 2005/03/11