[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs won't open files at startup from command line
From: |
Dan Nicolaescu |
Subject: |
Re: emacs won't open files at startup from command line |
Date: |
Wed, 4 Nov 2009 07:05:02 -0800 (PST) |
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.