all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Cc: emacs-erc@gnu.org
Subject: Re: Set the default-directory dynamically according to the buffer-file-name.
Date: Thu, 30 Sep 2021 09:39:11 +0200	[thread overview]
Message-ID: <87r1d6ms0w.fsf@zoho.eu> (raw)
In-Reply-To: CAGP6POLhVYb9-Cww1GGZ-e9k75Yc_50xHzohbKexrm6TSNCUTw@mail.gmail.com

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.

Examples:

  https://dataswamp.org/~incal/emacs-init/erc/
  https://dataswamp.org/~incal/emacs-init/audio.el
  https://dataswamp.org/~incal/emacs-init/math.el

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

Configuration example:
  https://dataswamp.org/~incal/emacs-init/erc/erc-incal.el

Extensions are all other files in that directory,
https://dataswamp.org/~incal/emacs-init/erc/ , namely

  erc-connect.el
  erc-iterate.el
  erc-kill.el
  erc-misc.el
  erc-scroll.el
  erc-spell.el

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
https://dataswamp.org/~incal




  reply	other threads:[~2021-09-30  7:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 14:31 Set the default-directory dynamically according to the buffer-file-name Hongyi Zhao
2021-09-29 14:50 ` Hongyi Zhao
2021-09-29 15:31 ` Tassilo Horn
2021-09-30  1:08   ` Hongyi Zhao
2021-09-30  3:37     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30  7:00       ` Hongyi Zhao
2021-09-30  7:39         ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-09-30  8:54           ` Hongyi Zhao
2021-09-30  9:58             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-29 15:47 ` [External] : " Drew Adams
2021-10-01  4:41   ` Hongyi Zhao
2021-10-01  7:09     ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1d6ms0w.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=emacs-erc@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.