emacs-devel
[Top][All Lists]
Advanced

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

Re: Scratch buffer annoyance


From: David Kastrup
Subject: Re: Scratch buffer annoyance
Date: Wed, 01 Aug 2007 23:09:58 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Davis Herring" <address@hidden> writes:

>> But wearing the others out is not going to address the underlying
>> technical _facts_ of their objections.  It is not a matter of opinion
>> that a string does not carry "file", "buffer", "whatever" markers
>> associated with it.
>
> Why do you think we have text properties?  We can even propertize
> different parts of the string differently.  So we can have
> "namename" with (file t) on the first four characters and (buffer t)
> on the others to name both the file and the buffer into which it
> goes.  Stefan (who wants ".")  can mark that as (directory t
> absolute nil) which takes care of the where-emacs-is-run-or-not
> problem, and if the string is exactly "eval", then its property list
> is evalled and we can do whatever else is needed.

It is good to see a solution that is not confusing to beginners.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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