From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: tsd@tsdye.com (Thomas S. Dye)
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 24.5 and external-abook
Date: Tue, 26 May 2015 17:00:56 +0200 [thread overview]
Message-ID: <87k2vvxu1j.fsf@yahoo.fr> (raw)
In-Reply-To: <m2mw0wp5ip.fsf@tsdye.com> (Thomas S. Dye's message of "Fri, 22 May 2015 13:16:30 -1000")
tsd@tsdye.com (Thomas S. Dye) writes:
> Aloha all,
>
> I recently upgraded to Emacs 24.5 and this apparently broke
> external-abook for me.
>
> If I look for my employee, Krickette, then (format
> external-abook-command query) returns this:
>
> #("contacts -lSf '%we \"%n\"' 'Krickette'" 26 35 (face message-header-to
> fontified t))
>
> Then, (shell-command-to-string) returns:
>
> "error: no one found
> "
>
> However, if I execute the string part of the sequence on the command line:
>
> contacts -lSf '%we\"%n\"' 'Krickette'
I don't have or use external-abook, but I notice that what you executed
above isn't the same as the return value you gave before, which was (I
remove one level of quoting) :
contacts -lSf '%we "%n"' 'Krickette'
The differences are :
- the space after %we, and
- the escaped vs unescaped double-quote marks.
Could this be relevant to your problem ?
--
Nicolas Richard
next prev parent reply other threads:[~2015-05-26 15:00 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 [this message]
2015-06-08 21:43 ` Thomas S. Dye
2015-06-09 17:32 ` Nicolas Richard
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=87k2vvxu1j.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--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).