[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Modular Configuration: the preferable way.
From: |
Arthur Miller |
Subject: |
Re: Emacs Modular Configuration: the preferable way. |
Date: |
Mon, 21 Jun 2021 20:38:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> Arthur Miller wrote:
>
>> Isn't it better to use path formatting function instead of
>> string formatting to ensure platform indepent paths
>
> If the path is a string and the filename is a string joining
> them with "string formatting" is pretty natural I think?
In some functions it matters if you end filename with a slash or
not when you work with directories. Path formatting functions take care
of that for example. Personally I think it is less error prone, than
using string functions.
> Or what do you think one should do to put together for example
> the complete path ~/.emacs.d/emacs-init/erc/erc-iterate.el ?
I pasted you an example from my init file.
> That path (and the entire) file isn't platform independent to
> begin with and has never been used outside the Unix world BTW,
> but why not add that for fun if there is a way that is
> better...
It is up to you how you write your init file, but they say never say
never ...
- Re: Emacs Modular Configuration: the preferable way., (continued)
- Re: Emacs Modular Configuration: the preferable way., Arthur Miller, 2021/06/21
- Re: Emacs Modular Configuration: the preferable way.,
Arthur Miller <=
- Re: Emacs Modular Configuration: the preferable way., Emanuel Berg, 2021/06/21
- Re: Emacs Modular Configuration: the preferable way., Jean Louis, 2021/06/21
- Re: Emacs Modular Configuration: the preferable way., Arthur Miller, 2021/06/22
- Re: Emacs Modular Configuration: the preferable way., Emanuel Berg, 2021/06/26
Re: Emacs Modular Configuration: the preferable way., Eli Zaretskii, 2021/06/21
- Re: Emacs Modular Configuration: the preferable way., Philip Kaludercic, 2021/06/21
- Re: Emacs Modular Configuration: the preferable way., Eli Zaretskii, 2021/06/21
- RE: [External] : Re: Emacs Modular Configuration: the preferable way., Drew Adams, 2021/06/21
- Re: [External] : Re: Emacs Modular Configuration: the preferable way., Emanuel Berg, 2021/06/21
- Re: [External] : Re: Emacs Modular Configuration: the preferable way., Eli Zaretskii, 2021/06/21