[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 24.5 and external-abook
From: |
Thomas S. Dye |
Subject: |
Re: Emacs 24.5 and external-abook |
Date: |
Tue, 09 Jun 2015 10:05:28 -1000 |
Nicolas Richard <youngfrog@members.fsf.org> writes:
> 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 ?
No, it gets the same result.
,------------------------------------------------
| Reading ~/.bashrc
| bash-3.2$ source ~/.bash_profile
| Reading ~/.bash_profile
| Reading ~/.bashrc
| bash-3.2$ contacts -lSf '%we\"%n\"' 'Krickette'
| error: no one found
`------------------------------------------------
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com