[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 24.5 and external-abook
From: |
Nicolas Richard |
Subject: |
Re: Emacs 24.5 and external-abook |
Date: |
Tue, 09 Jun 2015 21:48:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
tsd@tsdye.com (Thomas S. Dye) writes:
> M-x shell
> ,------------------------------------------------
> | Reading ~/.bashrc
> | bash-3.2$ contacts -lSf '%we\"%n\"' 'Krickette'
> | error: no one found
> `------------------------------------------------
>
> Outside emacs
> ,---------------------------------------------------
> | Last login: Mon Jun 8 16:04:33 on ttys000
> | Reading ~/.bash_profile
> | Reading ~/.bashrc
> | manifi:~ dk$ contacts -lSf '%we\"%n\"' 'Krickette'
> | WORK\"NAME\"
> | kmu@tsdye.com\"Krickette Murabayashi\"
> `---------------------------------------------------
>
> In summary, no contacts from any of the paths through emacs.
There's an obvious difference (thanks to whoever decided to explicitly
state which config files are read by bash, here !), can it explain the
difference in behaviour ? i.e. if you source ~/.bash_profile from M-x
shell before querying, does it get the desired result ?
--
Nico.