[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 24.5 and external-abook
From: |
Nicolas Richard |
Subject: |
Re: Emacs 24.5 and external-abook |
Date: |
Tue, 09 Jun 2015 19:32:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
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.