Package: abook
Version: 0.5.6-1
Severity: normal

Hello,

please reassign if you think that this is a mutt bug actually.

abook optionally installs a setup file for mutt that sets:
    query_command="abook --mutt-query '%s'"

It seems that mutt automagically quotes the %s argument and hence the
single quotes here are harmful.  You can observe this using strace.
The effect of using the above setting is that if you enter
    Foo B
in a query (assuming you have an entry for your friend Foo Bar), then
mutt will respond with:
    abook: unrecognized arguments on command line
The reason is that mutt will call in fact:
    abook --mutt-query ''Foo B''

If you remove the single quotes in the query_command setting, then mutt
will complete the query to Foo Bar <...> as expected.

Best regards,
Georg

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages abook depends on:
ii  debconf [debconf-2.0]        1.5.6       Debian configuration management sy
ii  libc6                        2.3.6.ds1-6 GNU C Library: Shared libraries
ii  libncursesw5                 5.5-5       Shared libraries for terminal hand
ii  libreadline5                 5.1-9       GNU readline and history libraries

abook recommends no packages.

-- debconf information excluded

-- 
One of the things we have to learn how to do is to ignore details.  The
key in understanding complicated things is to know what not to look at,
and what not to compute, and what not to think.
                                                      Gerald Jay Sussman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to