unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Nicolas Richard <youngfrog@members.fsf.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 24.5 and external-abook
Date: Tue, 09 Jun 2015 10:05:28 -1000	[thread overview]
Message-ID: <m2vbewsl4n.fsf@tsdye.com> (raw)
In-Reply-To: <86h9qgu0hn.fsf@members.fsf.org> (Nicolas Richard's message of "Tue, 09 Jun 2015 21:48:20 +0200")

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



  reply	other threads:[~2015-06-09 20:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 23:16 Emacs 24.5 and external-abook Thomas S. Dye
2015-05-26 15:00 ` Nicolas Richard
2015-06-08 21:43   ` Thomas S. Dye
2015-06-09 17:32     ` Nicolas Richard
2015-06-09 19:44       ` Thomas S. Dye
2015-06-09 19:48         ` Nicolas Richard
2015-06-09 20:05           ` Thomas S. Dye [this message]
2015-06-10  5:20             ` Nicolas Richard

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=m2vbewsl4n.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=youngfrog@members.fsf.org \
    /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.
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).