[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scratch buffer annoyance
From: |
Stefan Monnier |
Subject: |
Re: Scratch buffer annoyance |
Date: |
Thu, 02 Aug 2007 11:09:16 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> 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.
Great idea. This way we can even extend this to allow opening several
files/buffers at startup: we just have to concatenate the corresponding file
names and buffer names (separated by spaces, for example) and place the
corresponding `buffer' or `file' property on each part.
And it's all trivial for the beginner since it still just a string: none of
that sexp madness.
Stefan
- Re: Scratch buffer annoyance, (continued)
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/15
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/16
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/17
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/19
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/19
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/13
- Re: Scratch buffer annoyance,
Stefan Monnier <=
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/02