all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T.V Raman" <raman@google.com>
To: spacibba@aol.com
Cc: drew.adams@oracle.com, theophilusx@gmail.com, rms@gnu.org,
	mardani29@yahoo.es, emacs-devel@gnu.org,
	nicola.manca85@gmail.com, dgutov@yandex.ru, raman@google.com
Subject: Re: Custom Et Al: Build-Up The Underlying Platform was Re: A new user perspective about "Changes for emacs 28"
Date: Wed, 9 Sep 2020 09:41:19 -0700	[thread overview]
Message-ID: <24409.1455.180452.50280@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <20200909163631.6f5nq6eiildqv3rv@Ergus>

If loading multiple files is an optimization concern, that can be
dealt with in a manner similar to  package-quickstart --- 

Ergus writes:
 > On Wed, Sep 09, 2020 at 08:53:14AM -0700, Drew Adams wrote:
 > >> From: Tim Cross ...
 > >
 > >Lots of interesting suggestions and observations.
 > >
 > >In particular, this one:
 > >
 > >  rather than the 'custom section' or custom file
 > >  would be to have custom write individual files
 > >  into a ~/.emacs.d/custom directory?
 > >
 > >(I'd prefer that the dir location be the value of
 > >a user option, with ~/.emacs.d/custom as default value.  But I think the idea is a good one.)
 > >___
 > >
 > >
 > >One thing I wouldn't mind having is some kind of timestamp on each `custom-set-variables' and `custom-set-faces' entry.  Or something equivalent.  Or optional sorting by recency of modification.  Or maybe such info in a separate log file.
 > >
 > >Just a spur-of-the-moment thought, not carefully considered.  It comes from seeing an entry and wondering when the hell I added it (or why). ;-)
 > 
 > In general having more and more files to read on startup is bad for
 > startup time and organization (not all of us have ssd).
 > 
 > Improving the current custom but sorting, grouping or anything is in my
 > opinion a better approach.
 > 
 > I would also prefer that the custom file will be separated by default to
 > prevent emacs changing the user's init file so it can be tracked with
 > git without needing:
 > 
 > ```
 > (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
 > 
 > (unless (file-exists-p custom-file)
 >    (write-region "" nil custom-file))
 > 
 > (load custom-file)
 > ```

-- 
♉Id: kg:/m/0285kf1  🦮♉

--
♉Id: kg:/m/0285kf1  🦮♉



  reply	other threads:[~2020-09-09 16:41 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 16:45 A new user perspective about "Changes for emacs 28" Nicola Manca
2020-09-07 18:08 ` Ergus
     [not found]   ` <86d02x2yg0.fsf@gmail.com>
2020-09-07 19:59     ` about fido-mode Ergus
2020-09-07 20:44       ` andrés ramírez
2020-09-07 21:09         ` Ergus
2020-09-07 21:18           ` andrés ramírez
     [not found]     ` <87mu21wd3f.fsf@gmail.com>
     [not found]       ` <20200907214104.kapyivsh5y62wcl5@Ergus>
     [not found]         ` <865z8p2qay.fsf@gmail.com>
2020-09-08  8:08           ` Ergus
2020-09-08  9:06             ` andrés ramírez
2020-09-08  9:26               ` Ergus
2020-09-08 16:14                 ` andrés ramírez
2020-09-08 16:25                   ` Ergus
2020-09-09  2:44                     ` andrés ramírez
2020-09-07 20:05   ` A new user perspective about "Changes for emacs 28" Dmitry Gutov
2020-09-07 20:34     ` Drew Adams
2020-09-07 20:46       ` Dmitry Gutov
2020-09-07 21:11         ` Drew Adams
2020-09-07 21:15           ` Dmitry Gutov
2020-09-07 21:39             ` Drew Adams
2020-09-07 21:50               ` Dmitry Gutov
2020-09-08  2:54             ` Richard Stallman
2020-09-08 11:10               ` Dmitry Gutov
2020-09-08  6:18         ` Alfred M. Szmidt
2020-09-08 11:07           ` Dmitry Gutov
2020-09-08 14:20           ` Eli Zaretskii
2020-09-08 14:54             ` Alfred M. Szmidt
2020-09-08 15:14               ` Amin Bandali
2020-09-08 15:53                 ` Alfred M. Szmidt
2020-09-08 16:18                   ` Thibaut Verron
2020-09-08 16:28                     ` Ergus
2020-09-08 15:27               ` Óscar Fuentes
2020-09-08 15:36                 ` Eli Zaretskii
2020-09-08 15:27               ` Eli Zaretskii
2020-09-08 16:13                 ` Thibaut Verron
2020-09-08 16:23                   ` Eli Zaretskii
2020-09-08 18:00                     ` Thibaut Verron
2020-09-09  3:44               ` Richard Stallman
2020-09-09 19:01                 ` Alfred M. Szmidt
2020-09-09 19:07                   ` Eli Zaretskii
2020-09-09 21:43                     ` Dmitry Gutov
2020-09-08 15:02             ` Dmitry Gutov
2020-09-08 15:28               ` Eli Zaretskii
2020-09-08 21:31                 ` Dmitry Gutov
2020-09-10  7:23                   ` Jack Kamm
2020-09-10 14:52                     ` Howard Melman
2020-09-10 15:01                       ` Jack Kamm
2020-09-10 16:43                         ` Vasilij Schneidermann
2020-09-09  5:03                 ` Arthur Miller
2020-09-09  8:35                   ` Ergus
2020-09-09  8:41                     ` tomas
2020-09-09 10:00                       ` Ergus
2020-09-09 10:36                         ` tomas
2020-09-09 13:49                           ` Arthur Miller
2020-09-09 14:36                           ` Eli Zaretskii
2020-09-09 15:54                             ` tomas
2020-09-10  2:38                           ` Richard Stallman
2020-09-10 12:10                             ` Robert Pluim
2020-09-11  4:16                               ` Richard Stallman
2020-09-09 18:39                         ` Juri Linkov
2020-09-10 12:28                           ` Ricardo Wurmus
2020-09-09 13:17                     ` Arthur Miller
2020-09-10  2:40                     ` Richard Stallman
2020-09-11 10:29                   ` Dmitry Gutov
2020-09-11 11:29                     ` Arthur Miller
2020-09-11 11:40                       ` Ergus
2020-09-11 14:53                         ` Jack Kamm
2020-09-11 15:03                           ` Ergus
2020-09-11 15:16                             ` Eli Zaretskii
2020-09-11 20:51                               ` Dmitry Gutov
2020-09-12 13:02                             ` Arthur Miller
2020-09-12 13:09                               ` Dmitry Gutov
2020-09-13 22:13                                 ` chad
2020-09-13 22:44                                   ` Dmitry Gutov
2020-09-15  4:34                                   ` Richard Stallman
2020-09-15  6:54                                     ` Alfred M. Szmidt
2020-09-11 12:27                       ` Dmitry Gutov
2020-09-11 15:08                         ` Arthur Miller
2020-09-11 20:35                           ` Dmitry Gutov
2020-09-11 13:51                       ` Stefan Monnier
2020-09-11 14:32                         ` Stefan Monnier
2020-09-11 14:59                           ` Jack Kamm
2020-09-12 12:55                           ` Arthur Miller
2020-09-11 13:15                     ` Alfred M. Szmidt
2020-09-11 14:37                       ` Dmitry Gutov
2020-09-08 16:37     ` Custom Et Al: Build-Up The Underlying Platform was " T.V Raman
2020-09-08 20:40       ` Daniel Martín
2020-09-09  3:51         ` Richard Stallman
2020-09-09  8:48           ` Tim Cross
2020-09-09 15:53             ` Drew Adams
2020-09-09 16:36               ` Ergus
2020-09-09 16:41                 ` T.V Raman [this message]
2020-09-09 17:05                   ` Ergus
2020-09-09 14:32           ` T.V Raman
2020-09-09 18:44             ` Juri Linkov
2020-09-11  4:11             ` Richard Stallman
2020-09-07 18:16 ` Ergus

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=24409.1455.180452.50280@retriever.mtv.corp.google.com \
    --to=raman@google.com \
    --cc=dgutov@yandex.ru \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=mardani29@yahoo.es \
    --cc=nicola.manca85@gmail.com \
    --cc=rms@gnu.org \
    --cc=spacibba@aol.com \
    --cc=theophilusx@gmail.com \
    /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.