unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: emacs help <help-gnu-emacs@gnu.org>,
	"J. David Boyd" <david@adboyd.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: emacs won't open files at startup from command line
Date: Wed, 4 Nov 2009 07:05:02 -0800 (PST)	[thread overview]
Message-ID: <200911041505.nA4F52GW003300@godzilla.ics.uci.edu> (raw)
In-Reply-To: <e01d8a50911040657n183c4cb6k47a3971cf373a285@mail.gmail.com> (Lennart Borgman's message of "Wed, 4 Nov 2009 15:57:38 +0100")

Lennart Borgman <lennart.borgman@gmail.com> writes:

  > On Wed, Nov 4, 2009 at 3:53 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
  > > Lennart Borgman <lennart.borgman@gmail.com> writes:
  > >
  > >  > On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@adboyd.com> wrote:
  > >  > > 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.
  > >  > >
  > >  > > Found it!  I've been calling table.el for years, but somehow it must be
  > >  > > incompatible with emacs 23.1.1.  Took that out, works great.  Never used
  > >  > > the functionality in it anyway...
  > >  > >
  > >  > > Dave
  > >  >
  > >  >
  > >  > The file table.el is included in Emacs now.
  > >  >
  > >  > This is not the first time I have seen quite interesting side effects
  > >  > from using old versions of a file that has later been included in
  > >  > Emacs. I think that some test should be made after startup for
  > >  > potential such loadings. (This could be run conditionally after all
  > >  > init files.)
  > >
  > > See `bad-packages-alist'
  > >
  > 
  > Ah, thanks, forgot about it.
  > 
  > Should not table.el be in this list too then?
  > And nxml too?

If they cause problems, they should.




      reply	other threads:[~2009-11-04 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e8rmy3bfmsu.fsf@FLM000025LVE9F.catmktg.com>
     [not found] ` <mailman.9647.1256759713.2239.help-gnu-emacs@gnu.org>
     [not found]   ` <87vdhzp63c.fsf@galatea.local>
     [not found]     ` <e8r7huekvi0.fsf@FLM000025LVE9F.catmktg.com>
     [not found]       ` <e8rws2cu08u.fsf@FLM000025LVE9F.catmktg.com>
2009-10-30 20:35         ` emacs won't open files at startup from command line 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 [this message]

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=200911041505.nA4F52GW003300@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=david@adboyd.com \
    --cc=emacs-devel@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lennart.borgman@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).