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 19:32:52 +0200	[thread overview]
Message-ID: <867frcvlbv.fsf@members.fsf.org> (raw)
In-Reply-To: m28ubtq3jq.fsf@tsdye.com

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.



  reply	other threads:[~2015-06-09 17:32 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 [this message]
2015-06-09 19:44       ` Thomas S. Dye
2015-06-09 19:48         ` Nicolas Richard
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=867frcvlbv.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).