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 19:32:52 +0200 Message-ID: <867frcvlbv.fsf@members.fsf.org> References: <87k2vvxu1j.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433871214 3022 80.91.229.3 (9 Jun 2015 17:33:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2015 17:33:34 +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 19:33:23 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 1Z2NOp-00012J-DK for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 19:33:19 +0200 Original-Received: from localhost ([::1]:36390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2NOm-0003gc-9i for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 13:33:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2NOV-0003gE-RG for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 13:33:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2NOS-0004Mz-Fj for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 13:32:59 -0400 Original-Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:49092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2NOS-0004Mm-AY for help-gnu-emacs@gnu.org; Tue, 09 Jun 2015 13:32:56 -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=aPkdFnmyHs6IeliywNUA:9 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DlLwA2IndV/7KQsltcgxCBMqxmAQEBAQEBBQEFfwGYXAQCgUlNAQEBAQEBgQtBAQICg10BAQRWIxAIAyElDwEEJR4ZiDIB0T4BK4YZhSqFBoQ0AQS2WSSDejwxgkcBAQE 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 19:32:52 +0200 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:104877 Archived-At: tsd@tsdye.com (Thomas S. Dye) writes: > A mystery to me is the return from (shell-command-to-string), which is > called by (external-abook-search). I'm expecting the result of > (shell-command-to-string) to reflect output I get on the command line, > not "error: no one found". Reasonable expectation, indeed. Could you try (shell-command-to-string "contacts -lSf '%we\\\"%n\\\"' 'Krickette'") and (in emacs) M-! contacts -lSf '%we\"%n\"' 'Krickette' then, in a shell : contacts -lSf '%we\"%n\"' 'Krickette' (perhaps try the above both in a M-x shell and outside emacs). And see what they return ? Nico.