unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q
       [not found] <v9bq4p7ild.fsf@marauder.physik.uni-ulm.de>
@ 2019-09-30  5:54 ` Lars Ingebrigtsen
  2019-09-30  7:23   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-30  5:54 UTC (permalink / raw)
  To: 108; +Cc: Reiner Steib

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> when XEmacs is started with `--vanilla' or `-q', it displays an item
> "Load init files" in the menu bar.  The name of the command in XEmacs
> is `load-user-init-file'.
>
> Maybe Emacs should do have something similar.  I'm not sure about
> where to add it. Maybe a menu entry in the Options menu and a tool bar
> button?

Hm...  I'm not quite sure what the use case here is.  I mean, if you say
"-q" or "-Q", it's because you want an Emacs without any
customisations.  So why would you then load ~/.emacs?

Hm...  OK...  I could see that it could help with debugging the init
file, for instance.  You'd (setq debug-on-error t) or whatever and then
hit the load button.  But...  if you're doing that, you're probably
better off just `M-x eval-buffer' in ~/.emacs.

So I'm not sure.  Anybody got an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q
  2019-09-30  5:54 ` bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q Lars Ingebrigtsen
@ 2019-09-30  7:23   ` Eli Zaretskii
  2019-09-30 13:20     ` Basil L. Contovounesios
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2019-09-30  7:23 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 108, Reiner.Steib

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 30 Sep 2019 07:54:14 +0200
> Cc: Reiner Steib <Reiner.Steib@gmx.de>
> 
> Reiner Steib <reinersteib+gmane@imap.cc> writes:
> 
> > when XEmacs is started with `--vanilla' or `-q', it displays an item
> > "Load init files" in the menu bar.  The name of the command in XEmacs
> > is `load-user-init-file'.
> >
> > Maybe Emacs should do have something similar.  I'm not sure about
> > where to add it. Maybe a menu entry in the Options menu and a tool bar
> > button?
> 
> Hm...  I'm not quite sure what the use case here is.  I mean, if you say
> "-q" or "-Q", it's because you want an Emacs without any
> customisations.  So why would you then load ~/.emacs?
> 
> Hm...  OK...  I could see that it could help with debugging the init
> file, for instance.  You'd (setq debug-on-error t) or whatever and then
> hit the load button.  But...  if you're doing that, you're probably
> better off just `M-x eval-buffer' in ~/.emacs.
> 
> So I'm not sure.  Anybody got an opinion?

I can only contribute a caveat: loading (via 'load') of init files
from within a running Emacs session will not 100% reproduce what
happens when those init files are loaded during startup, so if the
purpose is to allow debugging those files, loading them from Emacs
might not recreate the problems one wants to debug.

OTOH, I thought we already have some means of debugging the init
files, no?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q
  2019-09-30  7:23   ` Eli Zaretskii
@ 2019-09-30 13:20     ` Basil L. Contovounesios
  2019-09-30 13:50       ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Basil L. Contovounesios @ 2019-09-30 13:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 108, Lars Ingebrigtsen, Reiner.Steib

Eli Zaretskii <eliz@gnu.org> writes:

> OTOH, I thought we already have some means of debugging the init
> files, no?

Such as --debug-init?

-- 
Basil





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q
  2019-09-30 13:20     ` Basil L. Contovounesios
@ 2019-09-30 13:50       ` Eli Zaretskii
  2019-09-30 14:14         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2019-09-30 13:50 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: 108, larsi, Reiner.Steib

> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Cc: Lars Ingebrigtsen <larsi@gnus.org>,  108@debbugs.gnu.org,
>   Reiner.Steib@gmx.de
> Date: Mon, 30 Sep 2019 14:20:14 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > OTOH, I thought we already have some means of debugging the init
> > files, no?
> 
> Such as --debug-init?

Among others, yes.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q
  2019-09-30 13:50       ` Eli Zaretskii
@ 2019-09-30 14:14         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-30 14:14 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Basil L. Contovounesios, 108, Reiner.Steib

Eli Zaretskii <eliz@gnu.org> writes:

>> > OTOH, I thought we already have some means of debugging the init
>> > files, no?
>> 
>> Such as --debug-init?
>
> Among others, yes.

I think the general consensus here is that this doesn't sound like a
very useful feature, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-30 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <v9bq4p7ild.fsf@marauder.physik.uni-ulm.de>
2019-09-30  5:54 ` bug#108: 23.0.60; Feature request: Menu item "load init files" after -q/-Q Lars Ingebrigtsen
2019-09-30  7:23   ` Eli Zaretskii
2019-09-30 13:20     ` Basil L. Contovounesios
2019-09-30 13:50       ` Eli Zaretskii
2019-09-30 14:14         ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).