[Top][All Lists]

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

Re: Set the default-directory dynamically according to the buffer-file-n

From: Emanuel Berg
Subject: Re: Set the default-directory dynamically according to the buffer-file-name.
Date: Thu, 30 Sep 2021 09:39:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

>> But I got an idea recently that I told you about already,
>> but I can tell you again, only I only implemented it to
>> a very small degree so far (if I'll ever complete the
>> intention), anyway it is a good idea, and simple as well,
>> namely, keep all configuration (within a field) in _one_
>> file, and all extensions (within the same field) in other,
>> separate files -
> The most difficult thing, IMHO, is the classification
> criteria for the different fields.

Here "field" refers either to an Elisp program, e.g. Gnus,
Emacs-w3m and ERC, or a activity or other e.g. "audio" or
"math". That's just something I wrote, maybe it should be
called something else.


> Which ones are configuration and Which ones are extensions
> in your terminology?

Configuration example:

Extensions are all other files in that directory, , namely


I'm sure some of that is, in your words, "unnecessary".

Sometimes it is good to have even tho it is unnecessary
because the version already there isn't exactly to your
liking. Sometimes it isn't but can be configured, that's
preferable if so. Sometimes you are just doing what someone
else has already added to Emacs and you don't know that.
Then you should just drop it when you find out and re-wire to
the official version ...

underground experts united

reply via email to

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