[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Longlines and insert
From: |
Paul Pogonyshev |
Subject: |
Re: Longlines and insert |
Date: |
Fri, 18 Nov 2005 17:28:41 +0200 |
User-agent: |
KMail/1.7.2 |
Kevin Rodgers wrote:
> Paul Pogonyshev wrote:
> >Kevin Rodgers wrote:
> >>Wouldn't the easiest thing be to add a call to
> >>(set-hard-newline-properties (point-min) (point)) after
> >>mail-header-separator and its trailing newline have been inserted?
> >
> > Maybe, but that defeats the intention of providing a generic solution.
>
> How is the set-hard-newline-properties function any less generic than
> the hard-newline variable? (Remember, the variable proposed by Kim is
> not a boolean that controls the behavior of the insert function; it is a
> string that has to be explicitly passed to the insert function.)
Uh, sorry, I don't know how I was reading your message, but I managed to
seriously misread it.
Yes, `set-hard-newline-properties' looks fine as well, especially if it
is documented. But I think we should add that `hard-newline' constant
too. Sometimes you need to pass strings to various functions and don't
have a (clean) way to work directly with the buffer. In such cases the
constant is useful.
Paul
- Re: Longlines and insert, (continued)
- Re: Longlines and insert, Richard M. Stallman, 2005/11/16
- Re: Longlines and insert, Kevin Rodgers, 2005/11/15
- Re: Longlines and insert, Stefan Monnier, 2005/11/15
- Re: Longlines and insert, Chong Yidong, 2005/11/15
- 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 <=
- 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, 2005/11/15