unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12791@debbugs.gnu.org, Leo <sdl.web@gmail.com>
Subject: bug#12791: 24.2; An option to load user init file with -batch
Date: Sat, 03 Nov 2012 15:01:59 -0400	[thread overview]
Message-ID: <8hmwyyjys8.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83390q66s5.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Nov 2012 17:32:58 +0200")

Eli Zaretskii wrote:

>> > What's wrong with "-l ~/.emacs"? The difference in the loading
>> > order is a non-issue in batch mode anyway.
>> 
>> not portable.
>
> Sorry, I don't understand.  Please elaborate: when does it not work
> and why?

One possibility: maybe the init file is actually ~/.emacs.el, or
~/.emacs.d/init.el, etc. So the caller would have to do (a small amount
of) actual work to locate it, rather than just letting Emacs handle it
transparently as normal.

(It sure would waste less time if reports were less vague, particularly
when asking for new features to be implemented.)





  reply	other threads:[~2012-11-03 19:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03  7:54 bug#12791: 24.2; An option to load user init file with -batch Leo
2012-11-03 10:02 ` Eli Zaretskii
2012-11-03 14:41   ` Leo
2012-11-03 15:32     ` Eli Zaretskii
2012-11-03 19:01       ` Glenn Morris [this message]
2021-12-04  4:49     ` Lars Ingebrigtsen
2012-11-04 17:17 ` Juanma Barranquero

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8hmwyyjys8.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12791@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=sdl.web@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 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).