[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More test reports please
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: More test reports please |
Date: |
Mon, 20 Aug 2012 12:50:43 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sun, 19 Aug 2012 22:36:12 +0800, Chong Yidong <address@hidden> said:
> Óscar Fuentes <address@hidden> writes:
>> Confirmed. This is Kubuntu 12.04 64 bits (a real machine, no
>> VMWare):
>>
>> tar xzf emacs-24.2-rc1.tar.gz cd emacs-24.2 ./configure
>> --prefix=/home/oscar/em-24.2 make -j4 make install cd ~/em-24.2/bin
>> emacs -Q M-x eshell
>>
>> Welcome to the Emacs shell
>>
>> ~/em-24.2/bin $ cd usage: cd: (DIR)
> I still can't reproduce the problem. I'm also on Ubuntu 12.04.
This seems to be dependent on the given prefix name. $HOME/em-24.2
shows the problem, but $HOME/ema-24.2 does not.
The relevant part would be the regular expression below:
(defun eshell-find-alias-function (name)
"Check whether a function called `eshell/NAME' exists."
(let* ((sym (intern-soft (concat "eshell/" name)))
(file (symbol-file sym 'defun)))
;; If the function exists, but is defined in an eshell module
;; that's not currently enabled, don't report it as found
(if (and file
(string-match "\\(em\\|esh\\)-\\(.*\\)\\(\\.el\\)?\\'" file))
(let ((module-sym
(intern (file-name-sans-extension
(file-name-nondirectory
(concat "eshell-" (match-string 2 file)))))))
(if (and (functionp sym)
(or (null module-sym)
(eshell-using-module module-sym)
(memq module-sym (eshell-subgroups 'eshell))))
sym))
;; Otherwise, if it's bound, return it.
(if (functionp sym)
sym))))
Maybe we can use \\([^/\n]*\\) (or include more separators for DOS or
Windows?) instead of \\(.*\\) .
YAMAMOTO Mitsuharu
address@hidden
- Re: More test reports please, (continued)
- Re: More test reports please, Chong Yidong, 2012/08/19
- Re: More test reports please, Óscar Fuentes, 2012/08/19
- Re: More test reports please, Óscar Fuentes, 2012/08/19
- Re: More test reports please, Chong Yidong, 2012/08/19
- Re: More test reports please, Óscar Fuentes, 2012/08/19
- Re: More test reports please, Paul Eggert, 2012/08/19
- Re: More test reports please, Paul Eggert, 2012/08/19
- Re: More test reports please, Óscar Fuentes, 2012/08/19
- Re: More test reports please, Alp Aker, 2012/08/19
- Re: More test reports please,
YAMAMOTO Mitsuharu <=
- Re: More test reports please, Rajanikanth Jammalamadaka, 2012/08/20
Re: More test reports please, Bastien, 2012/08/19
Re: More test reports please, Achim Gratz, 2012/08/20