emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string-strip


From: Andreas Schwab
Subject: Re: string-strip
Date: Mon, 19 Jun 2006 22:23:13 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Stuart D. Herring" <address@hidden> writes:

>> 1. Allow newlines in STR.
>> 2. Treat newlines as white space.
>
> Shouldn't it really be up to the syntax table?  Or is this supposed to be
> so much in Lisp land that the buffer shouldn't matter?

The current syntax table is associated with the current buffer, but the
string is not, so it would be confusing make the operation depend on the
current buffer.  It would be ok if the function would operate on some
buffer contents.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]