all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Radon Rosborough <radon.neon@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Fix `early-init-file' value when file is missing
Date: Mon, 11 Feb 2019 18:05:32 +0200	[thread overview]
Message-ID: <83pnryl38z.fsf@gnu.org> (raw)
In-Reply-To: <CADB4rJF28fBkzMLJUfx0tNOzF_ezt4MJjUhYcE-5vHO2eWuuvQ@mail.gmail.com> (message from Radon Rosborough on Sun, 10 Feb 2019 15:04:59 -0800)

> From: Radon Rosborough <radon.neon@gmail.com>
> Date: Sun, 10 Feb 2019 15:04:59 -0800
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> > you've modified the API of load-user-init-file
> 
> But we have never released a version of Emacs that includes this
> function -- and it's an internal function. There are only two callers
> of this function that exist, and they are both touched by this patch.

True, but that's not what bothered me.  What bothered me was that
changes in the interface and the implementation of the function might
adversely affect the other caller of this function in startup.el, and
verifying that no use case will become broken because of that is not a
trivial task.  For a significant improvement ion functionality, such
risks might be justified, but here we are talking about a minor
cleanup, so I'd prefer a safer change.

> > Or do that inside the function, but only if it processes early-init
> > file specifically?
> 
> I really thought that this was exactly what my patch did. There are
> exactly two places where this internal function is called, and
> checking whether the optional argument is provided is the way to tell
> whether the early init-file is being processed.

Such a test is too indirect, and will cease to DTRT if we ever need to
pass a second function in the case of early-init or not pass it in the
other case.  I hope we can make a more direct test.



  parent reply	other threads:[~2019-02-11 16:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16  5:54 [PATCH] Fix `early-init-file' value when file is missing Radon Rosborough
2019-01-23  3:47 ` Radon Rosborough
2019-01-29 17:24   ` Radon Rosborough
2019-01-29 17:46     ` Eli Zaretskii
2019-02-01  9:11     ` Eli Zaretskii
2019-02-01 23:10       ` Radon Rosborough
2019-02-08  7:32         ` Eli Zaretskii
2019-02-08 17:34           ` Radon Rosborough
2019-02-08 21:52             ` Eli Zaretskii
2019-02-10 23:04               ` Radon Rosborough
2019-02-10 23:14                 ` Stefan Monnier
2019-02-11 16:05                 ` Eli Zaretskii [this message]
2019-02-12  5:38                   ` Radon Rosborough
2019-02-12 16:14                     ` Eli Zaretskii
2019-02-13  2:36                       ` Radon Rosborough
2019-02-13 17:56                         ` Eli Zaretskii
2019-02-16  0:47                           ` Radon Rosborough
2019-02-16  7:17                             ` Eli Zaretskii
2019-02-16 20:26                               ` Radon Rosborough

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=83pnryl38z.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=radon.neon@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.