From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: imputerate Newsgroups: gmane.emacs.help Subject: Re: installed 22.1-0ubuntu4~feisty1, should i remove /etc/emacs21/site-start.d Date: Sat, 1 Sep 2007 16:03:06 -0700 (PDT) Message-ID: <12444835.post@talk.nabble.com> References: <1188524026.665001.286000@l22g2000prc.googlegroups.com> <87r6lkm3qv.fsf@gnuvola.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188687806 22271 80.91.229.12 (1 Sep 2007 23:03:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 23:03:26 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 01:03:25 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRbzw-0001Z4-H5 for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Sep 2007 01:03:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRbzv-0002Gk-OW for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 19:03:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRbzh-0002GP-FB for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 19:03:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRbzg-0002G7-2D for Help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 19:03:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRbzf-0002G4-Qp for Help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 19:03:07 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IRbzf-0005IL-6R for Help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 19:03:07 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IRbze-0000QK-3o for Help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 16:03:06 -0700 In-Reply-To: <87r6lkm3qv.fsf@gnuvola.org> X-Nabble-From: imputerate@puteracy.com X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47071 Archived-At: Thien-Thi Nguyen-6 wrote: > > () imputerate > () Thu, 30 Aug 2007 18:24:57 -0700 (PDT) > > can i rely on emacs22 to: > > go to /etc/emacs22 and find 00debian-vars.elc, > > instead of: > > going to /etc/emacs21 and running 20gnus-init.el? > > if your system has strace installed, you can write the script: > > #!/bin/sh > exec strace -f -e open "$@" 2>&1 | grep -v o.such.file > > into (remove leading space from both lines) /tmp/st and then: > > $ chmod +x /tmp/st > $ /tmp/st emacs -batch -kill > > doing this will show all files that "emacs -batch -kill" opens. > > -------------------------------------------------------- > > Thi, i couldn't chmod a file in /tmp [i.e. not ~/tmp] as user ['$'], so i > set things up as root; > and then: > root@hodgson-desktop:~# /tmp/st emacs -batch -kill > /tmp/st.o > > ALSO, i didn't know if i should have substituted something like: > > /etc/emacs22/00debian-vars.elc > > for: > > "o.such.file" > > man strace was plenty informative, but didn't help me there; > > --------------------------------- > > all the operations looked the same, with two kinds of ARGUMENTS: > > open("/etc/passwd", O_RDONLY) = 3 > open("/usr/share/emacs/22.1/site-lisp/subdirs.el", O_RDONLY|O_LARGEFILE) = > 3 > > for some files, there were three tries: > > open("/usr/share/emacs/22.1/site-lisp/subdirs.el", O_RDONLY|O_LARGEFILE) = > 3 > open("/usr/share/emacs/22.1/site-lisp/subdirs.el", O_RDONLY|O_LARGEFILE) = > 3 > open("/usr/share/emacs/22.1/site-lisp/subdirs.el", O_RDONLY|O_LARGEFILE) = > 3 > > this time, did the source code load, after all?: > > open("/etc/emacs/site-start.d/50dictionaries-common.el", > O_RDONLY|O_LARGEFILE) \ > = 3 > open("/etc/emacs/site-start.d/50dictionaries-common.el", > O_RDONLY|O_LARGEFILE) \ > = 3 > Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... > open("/etc/emacs/site-start.d/50dictionaries-common.el", > O_RDONLY|O_LARGEFILE) \ > = 3 > > this was the only time the errorno was '4': > > open("/var/cache/dictionaries-common/emacsen-ispell-default.el", > O_RDONLY|O_LAR\ > GEFILE) = 4 > open("/var/cache/dictionaries-common/emacsen-ispell-default.el", > O_RDONLY|O_LAR\ > GEFILE) = 4 > Loading /var/cache/dictionaries-common/emacsen-ispell-default.el > (source)... > open("/var/cache/dictionaries-common/emacsen-ispell-default.el", > O_RDONLY|O_LAR\ > GEFILE) = 4 > > > > a search for '21' turned up nothing, which is good [i.e. emacs21 is out of > the picture]; > > yikes; actually, my computer is freaking out; so i'll sign off and reboot; > peter > > change the command to use the correct emacs or do other stuff > as desired. in this way, you can see what is really going on. > > thi > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > > -- View this message in context: http://www.nabble.com/installed-22.1-0ubuntu4%7Efeisty1%2C-should-i-remove--etc-emacs21-site-start.d-tf4358610.html#a12444835 Sent from the Emacs - Help mailing list archive at Nabble.com.