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 06:53:48 -0800 (PST) Message-ID: <200911041453.nA4ErmoA003223@godzilla.ics.uci.edu> References: <87vdhzp63c.fsf@galatea.local> 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 1257346657 28261 80.91.229.12 (4 Nov 2009 14:57:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2009 14:57:37 +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 15:57:29 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 1N5hIf-00053R-5w for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2009 15:57:29 +0100 Original-Received: from localhost ([127.0.0.1]:41414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5hIe-0003Jq-PU for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2009 09:57:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5hIX-0003J4-NU for emacs-devel@gnu.org; Wed, 04 Nov 2009 09:57:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5hIT-0003IA-NC for emacs-devel@gnu.org; Wed, 04 Nov 2009 09:57:21 -0500 Original-Received: from [199.232.76.173] (port=41343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5hIT-0003I7-75; Wed, 04 Nov 2009 09:57:17 -0500 Original-Received: from paul-mcgann-v0.ics.uci.edu ([128.195.1.147]:48481) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5hIS-0003XJ-LS; Wed, 04 Nov 2009 09:57:16 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nA4Ernq3001866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Nov 2009 06:53:49 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nA4ErmoA003223; Wed, 4 Nov 2009 06:53:48 -0800 (PST) In-Reply-To: (Lennart Borgman's message of "Fri, 30 Oct 2009 21:35:36 +0100") Original-Lines: 56 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nA4Ernq3001866 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:116625 gmane.emacs.help:69470 Archived-At: Lennart Borgman writes: > On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd wrote: > > david@adboyd.com (J. David Boyd) writes: > > > >> pjb@informatimago.com (Pascal J. Bourguignon) writes: > >> > >>> Tyler Smith 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 co= mmand > >>>>> 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? =C2=A0I 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 lin= es > >>>> that are causing the problem? comment-region (aka M-;) makes this > >>>> pretty quick to do. > >>> > >>> Also, the OP could try: > >>> > >>> =C2=A0 =C2=A0 emacs --debug-init file.txt > >>> > >>> If the file is not open it might be because there's a bug in ~/.ema= cs > >> > >> > >> That I have tried. =C2=A0No errors at all... =C2=A0I 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! =C2=A0I've been calling table.el for years, but somehow it = must be > > incompatible with emacs 23.1.1. =C2=A0Took that out, works great. =C2= =A0Never used > > the functionality in it anyway... > > > > Dave >=20 >=20 > The file table.el is included in Emacs now. >=20 > 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'