From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: emacs won't open files at startup from command line Date: Wed, 4 Nov 2009 07:05:02 -0800 (PST) Message-ID: <200911041505.nA4F52GW003300@godzilla.ics.uci.edu> References: <87vdhzp63c.fsf@galatea.local> <200911041453.nA4ErmoA003223@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257347319 30793 80.91.229.12 (4 Nov 2009 15:08:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2009 15:08:39 +0000 (UTC) Cc: emacs help , "J. David Boyd" , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 04 16:08:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N5hTJ-0001vY-T2 for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2009 16:08:30 +0100 Original-Received: from localhost ([127.0.0.1]:39544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5hTJ-0001Vh-Cf for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2009 10:08:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5hTC-0001UU-6W for emacs-devel@gnu.org; Wed, 04 Nov 2009 10:08:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5hT7-0001SM-GT for emacs-devel@gnu.org; Wed, 04 Nov 2009 10:08:21 -0500 Original-Received: from [199.232.76.173] (port=52936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5hT7-0001SJ-D5; Wed, 04 Nov 2009 10:08:17 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:36817) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5hT6-0005jX-Pg; Wed, 04 Nov 2009 10:08:17 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nA4F524r017582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Nov 2009 07:05:02 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nA4F52GW003300; Wed, 4 Nov 2009 07:05:02 -0800 (PST) In-Reply-To: (Lennart Borgman's message of "Wed, 4 Nov 2009 15:57:38 +0100") Original-Lines: 67 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nA4F524r017582 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116627 gmane.emacs.help:69473 Archived-At: Lennart Borgman writes: > On Wed, Nov 4, 2009 at 3:53 PM, Dan Nicolaescu wrote: > > Lennart Borgman writes: > > > > =C2=A0> On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd wrote: > > =C2=A0> > david@adboyd.com (J. David Boyd) writes: > > =C2=A0> > > > =C2=A0> >> pjb@informatimago.com (Pascal J. Bourguignon) writes: > > =C2=A0> >> > > =C2=A0> >>> Tyler Smith writes: > > =C2=A0> >>> > > =C2=A0> >>>> david@adboyd.com (J. David Boyd) writes: > > =C2=A0> >>>> > > =C2=A0> >>>>> I could use some help troubleshooting this. > > =C2=A0> >>>>> > > =C2=A0> >>>>> When I start up emacs, it doesn't load the files I name= on the command > > =C2=A0> >>>>> line, unless I do an 'emacs -q' to not load any init fi= les. > > =C2=A0> >>>>> > > =C2=A0> >>>>> Obviously, it must be something in my .emacs file, but = I don't see > > =C2=A0> >>>>> anything that I've changed in the recent past. > > =C2=A0> >>>>> > > =C2=A0> >>>>> Where should I start to debug this? =C2=A0I don't get a= ny errors when it > > =C2=A0> >>>>> runs, it just refuses to load anything from the command= line. > > =C2=A0> >>>> > > =C2=A0> >>>> At the risk of stating the obvious, have you tried comme= nting out all of > > =C2=A0> >>>> your .emacs, then progressively uncommenting it to isola= te the lines > > =C2=A0> >>>> that are causing the problem? comment-region (aka M-;) m= akes this > > =C2=A0> >>>> pretty quick to do. > > =C2=A0> >>> > > =C2=A0> >>> Also, the OP could try: > > =C2=A0> >>> > > =C2=A0> >>> =C2=A0 =C2=A0 emacs --debug-init file.txt > > =C2=A0> >>> > > =C2=A0> >>> If the file is not open it might be because there's a bug= in ~/.emacs > > =C2=A0> >> > > =C2=A0> >> > > =C2=A0> >> That I have tried. =C2=A0No errors at all... =C2=A0I was h= oping that there would > > =C2=A0> >> be one, but everything loads just fine, no errors, just do= esn't load the > > =C2=A0> >> file(s) named on the command line. > > =C2=A0> >> > > =C2=A0> >> Thanks for the idea, though. > > =C2=A0> > > > =C2=A0> > Found it! =C2=A0I've been calling table.el for years, but s= omehow it must be > > =C2=A0> > incompatible with emacs 23.1.1. =C2=A0Took that out, works = great. =C2=A0Never used > > =C2=A0> > the functionality in it anyway... > > =C2=A0> > > > =C2=A0> > Dave > > =C2=A0> > > =C2=A0> > > =C2=A0> The file table.el is included in Emacs now. > > =C2=A0> > > =C2=A0> This is not the first time I have seen quite interesting side= effects > > =C2=A0> from using old versions of a file that has later been include= d in > > =C2=A0> Emacs. I think that some test should be made after startup for > > =C2=A0> potential such loadings. (This could be run conditionally aft= er all > > =C2=A0> init files.) > > > > See `bad-packages-alist' > > >=20 > Ah, thanks, forgot about it. >=20 > Should not table.el be in this list too then? > And nxml too? If they cause problems, they should.