unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Rajanikanth Jammalamadaka <rajanikanth@gmail.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>, "Chong Yidong" <cyd@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: More test reports please
Date: Mon, 20 Aug 2012 19:53:36 -0400	[thread overview]
Message-ID: <CABB-kxVZ9qxSmySU8TnVMNp8a3jEdh0OimfayKxi3CUVhz25aw@mail.gmail.com> (raw)
In-Reply-To: <wlfw7ip6gc.wl%mituharu@math.s.chiba-u.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]

On Aug 19, 2012 11:50 PM, "YAMAMOTO Mitsuharu" <
mituharu@math.s.chiba-u.ac.jp> wrote:
>
> >>>>> On Sun, 19 Aug 2012 22:36:12 +0800, Chong Yidong <cyd@gnu.org> said:
>
> > Óscar Fuentes <ofv@wanadoo.es> 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
>                                 mituharu@math.s.chiba-u.ac.jp
>

Thanks. It works when I change the prefix directory to start with ema-

Raj

[-- Attachment #2: Type: text/html, Size: 2846 bytes --]

  reply	other threads:[~2012-08-20 23:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18  3:05 More test reports please Chong Yidong
2012-08-18  8:02 ` Ulrich Mueller
2012-08-18  9:11 ` Thierry Volpiatto
2012-08-18 10:40   ` Dani Moncayo
2012-08-18 10:44   ` Thierry Volpiatto
2012-08-19  5:03 ` Chong Yidong
2012-08-19  6:43   ` Óscar Fuentes
2012-08-19  6:59     ` Óscar Fuentes
2012-08-19 14:36     ` Chong Yidong
2012-08-19 14:58       ` Óscar Fuentes
2012-08-19 15:08         ` Paul Eggert
2012-08-19 17:49         ` Paul Eggert
2012-08-19 18:14           ` Óscar Fuentes
2012-08-19 20:41             ` Alp Aker
2012-08-20  3:50       ` YAMAMOTO Mitsuharu
2012-08-20 23:53         ` Rajanikanth Jammalamadaka [this message]
2012-08-19  7:03 ` Bastien
2012-08-20 16:58 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABB-kxVZ9qxSmySU8TnVMNp8a3jEdh0OimfayKxi3CUVhz25aw@mail.gmail.com \
    --to=rajanikanth@gmail.com \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).