From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: Emacs 24.5 and external-abook Date: Tue, 09 Jun 2015 21:48:20 +0200 Message-ID: <86h9qgu0hn.fsf@members.fsf.org> References: <87k2vvxu1j.fsf@yahoo.fr> <867frcvlbv.fsf@members.fsf.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433879335 10274 80.91.229.3 (9 Jun 2015 19:48:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2015 19:48:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: tsd@tsdye.com (Thomas S. Dye) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 21:48:46 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 1Z2PVr-0000zc-QE for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 21:48:43 +0200 Original-Received: from localhost ([::1]:36716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2PVm-0001Om-7r for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 15:48:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2PVb-0001OW-Dd for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 15:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2PVW-0007E6-Br for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 15:48:27 -0400 Original-Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:33703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2PVW-0007Ds-5b for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 15:48:22 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=gx4LFt9C7U8MVtlopYu6y61Gbp9nqOyhneTyg/i0HKM= c=1 sm=2 a=a4K5GIyuExAA:10 a=vuRWWKdDAAAA:8 a=YmFYr0-ah5OuRSVlVSwA:9 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AXMAAMQndV/7KQsltcgxCBM6xhBQEBAQEBAQUBgQQBmGQCgUo9EAEBAQEBAQGBCkEBAgKDXQEBBFYjEAgDIQ0BFw8BBCU3iDIB0U4BAQEHAgEfhhmFKoUGBxIBhBoBBIZ0hHSQXYNZhnuPQCSDejwxgQUHF4EkAQEB Original-Received: from 178.144-178-91.adsl-dyn.isp.belgacom.be (HELO Aurora) ([91.178.144.178]) by relay.skynet.be with ESMTP; 09 Jun 2015 21:48:21 +0200 In-Reply-To: (Thomas S. Dye's message of "Tue, 09 Jun 2015 09:44:55 -1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.238.20.130 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:104879 Archived-At: 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.