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

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.



  reply	other threads:[~2015-06-09 19:48 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 [this message]
2015-06-09 20:05           ` Thomas S. Dye
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=86h9qgu0hn.fsf@members.fsf.org \
    --to=youngfrog@members.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsd@tsdye.com \
    /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).