[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Longlines and insert
From: |
Chong Yidong |
Subject: |
Re: Longlines and insert |
Date: |
Tue, 15 Nov 2005 22:02:24 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> One possibility is to define a new variable `insert-filters', to store
> a list of filter functions to run on strings before they are inserted
> (analogous to `buffer-substring-filters').
Let me be a little more specific: this would be a variable
`insert-string-filters', normally bound to nil. insert_string (in
insdel.c) checks the value of insert-string-filters passed to it. If
non-nil, it makes use of it as follows:
Like `buffer-substring-filters', `insert-string-filters' would contain
a list of function, each of which accepts a single argument, a string,
and returns a string. The string argument is passed to the first
function in the list, and the return value of each function is passed
to the next. The last return value is the one actually inserted.
- Re: Longlines and insert, (continued)
- Re: Longlines and insert, Stefan Monnier, 2005/11/15
- Re: Longlines and insert, Richard M. Stallman, 2005/11/16
- Re: Longlines and insert, Chong Yidong, 2005/11/16
- Re: Longlines and insert, Kevin Rodgers, 2005/11/17
- Re: Longlines and insert, Paul Pogonyshev, 2005/11/17
- Re: Longlines and insert, Kevin Rodgers, 2005/11/17
- Re: Longlines and insert, Paul Pogonyshev, 2005/11/18
- Re: Longlines and insert, Richard M. Stallman, 2005/11/18
- Re: Longlines and insert, Ryan Yeske, 2005/11/15
- Re: Longlines and insert, Chong Yidong, 2005/11/15
Re: Longlines and insert,
Chong Yidong <=