From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tsd@tsdye.com (Thomas S. Dye) Newsgroups: gmane.emacs.help Subject: Re: Emacs 24.5 and external-abook Date: Tue, 09 Jun 2015 10:05:28 -1000 Message-ID: References: <87k2vvxu1j.fsf@yahoo.fr> <867frcvlbv.fsf@members.fsf.org> <86h9qgu0hn.fsf@members.fsf.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433880377 27382 80.91.229.3 (9 Jun 2015 20:06:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2015 20:06:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nicolas Richard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 22:06:06 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z2Pmf-0007iZ-KO for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 22:06:05 +0200 Original-Received: from localhost ([::1]:36762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Pme-0005lf-RD for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 16:06:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2PmQ-0005lW-8w for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 16:05:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2PmM-00081T-CN for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 16:05:50 -0400 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:49866) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Z2PmM-00080C-5y for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 16:05:46 -0400 Original-Received: (qmail 21032 invoked by uid 0); 9 Jun 2015 20:05:42 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy1.mail.unifiedlayer.com with SMTP; 9 Jun 2015 20:05:42 -0000 Original-Received: from box472.bluehost.com ([74.220.219.72]) by cmgw3 with id eRyg1q00j1aK6lW01Ryj7k; Tue, 09 Jun 2015 19:58:50 -0600 X-Authority-Analysis: v=2.1 cv=d9Vml3TE c=1 sm=1 tr=0 a=gGnFYiqMEzpiCoLqAtcLRw==:117 a=gGnFYiqMEzpiCoLqAtcLRw==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=vuRWWKdDAAAA:8 a=3XNfdKDVc2EA:10 a=xVRFku4npZAA:10 a=XAFQembCKUMA:10 a=inoG4m36AAAA:8 a=9XSem5CcYOUA-ccyACwA:9 a=Rn1w2Aj4J60A:10 a=2vPiiz7Yj48A:10 Original-Received: from [72.253.173.33] (port=50800 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Z2Pm8-000097-HJ; Tue, 09 Jun 2015 14:05:32 -0600 In-Reply-To: <86h9qgu0hn.fsf@members.fsf.org> (Nicolas Richard's message of "Tue, 09 Jun 2015 21:48:20 +0200") X-Identified-User: {2627:box472.bluehost.com:tsdyetwo:tsdye2.com} {sentby:smtp auth 72.253.173.33 authed with tsd+tsdye2.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.25.95 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104880 Archived-At: Nicolas Richard 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