help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installed 22.1-0ubuntu4~feisty1, should i remove /etc/emacs21/site-s


From: imputerate
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)



Thien-Thi Nguyen-6 wrote:
> 
> () imputerate <imputerate@puteracy.com>
> () 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]