all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: david@adboyd.com (J. David Boyd)
To: help-gnu-emacs@gnu.org
Subject: Re: emacs won't open files at startup from command line
Date: Fri, 30 Oct 2009 13:07:37 -0400	[thread overview]
Message-ID: <e8r8wes7que.fsf@FLM000025LVE9F.catmktg.com> (raw)
In-Reply-To: e8r7huekvi0.fsf@FLM000025LVE9F.catmktg.com

david@adboyd.com (J. David Boyd) writes:

> pjb@informatimago.com (Pascal J. Bourguignon) writes:
>
>> Tyler Smith <tyler.smith@eku.edu> writes:
>>
>>> david@adboyd.com (J. David Boyd) writes:
>>>
>>>> I could use some help troubleshooting this.  
>>>>
>>>> When I start up emacs, it doesn't load the files I name on the command
>>>> line, unless I do an 'emacs -q' to not load any init files.
>>>>
>>>> Obviously, it must be something in my .emacs file, but I don't see
>>>> anything that I've changed in the recent past.
>>>>
>>>> Where should I start to debug this?  I don't get any errors when it
>>>> runs, it just refuses to load anything from the command line.
>>>
>>> At the risk of stating the obvious, have you tried commenting out all of
>>> your .emacs, then progressively uncommenting it to isolate the lines
>>> that are causing the problem? comment-region (aka M-;) makes this
>>> pretty quick to do.
>>
>> Also, the OP could try:
>>
>>     emacs --debug-init file.txt
>>
>> If the file is not open it might be because there's a bug in ~/.emacs
>
>
> That I have tried.  No errors at all...  I was hoping that there would
> be one, but everything loads just fine, no errors, just doesn't load the
> file(s) named on the command line.
>
> Thanks for the idea, though.

Anyone have any idea which variable in emacs contains the command line?
I'd like to dump it at various points in my .emacs file, and see when it
is getting wiped clean, if that is what is happening...

Dave





  reply	other threads:[~2009-10-30 17:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 17:30 emacs won't open files at startup from command line J. David Boyd
2009-10-28 19:54 ` Tyler Smith
2009-10-29 16:35   ` J. David Boyd
2009-10-29 18:56     ` Tassilo Horn
2009-10-30 14:33       ` J. David Boyd
     [not found] ` <mailman.9647.1256759713.2239.help-gnu-emacs@gnu.org>
2009-10-28 21:21   ` Pascal J. Bourguignon
2009-10-29 16:36     ` J. David Boyd
2009-10-30 17:07       ` J. David Boyd [this message]
2009-10-30 17:21         ` Eli Zaretskii
2009-10-30 19:53       ` J. David Boyd
2009-10-30 20:35         ` Lennart Borgman
2009-11-04  6:06           ` Kevin Rodgers
2009-11-04  9:45             ` Lennart Borgman
2009-11-04 20:32             ` J. David Boyd
2009-11-04 14:53           ` Dan Nicolaescu
2009-11-04 14:57             ` Lennart Borgman
2009-11-04 15:05               ` Dan Nicolaescu

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=e8r8wes7que.fsf@FLM000025LVE9F.catmktg.com \
    --to=david@adboyd.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.