help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs Modular Configuration: the preferable way.


From: Eli Zaretskii
Subject: Re: Emacs Modular Configuration: the preferable way.
Date: Mon, 21 Jun 2021 15:55:13 +0300

> From: Philip Kaludercic <philipk@posteo.net>
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 21 Jun 2021 12:45:49 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Date: Mon, 21 Jun 2021 04:56:04 +0200
> >> From:  Emanuel Berg via Users list for the GNU Emacs text editor 
> >> <help-gnu-emacs@gnu.org>
> >> 
> >> (let*((emacs-dir "~/.emacs.d")
> >>       (lisp-dir  (format "%s/lisp"       emacs-dir))
> >>       (init-dir  (format "%s/emacs-init" emacs-dir))
> >>       (erc-dir   (format "%s/erc"        init-dir))
> >>       (gnus-dir  (format "%s/gnus"       init-dir))
> >>       (ide-dir   (format "%s/ide"        init-dir))
> >>       (w3m-dir   (format "%s/w3m"        init-dir))
> >
> > Why are you using 'format' where expand-file-name should be used?
> 
> Does it really make a difference in a personal configuration, especially
> when you don't use Windows or other non /-delimiting systems?

(a) It's definitely slower; (b) it teaches you bad habits, which you
are likely to apply even in non-personal cases; (c) this here is a
public place where you affect others, not just your personal code on a
known flavor of systems.



reply via email to

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