Ticket #3093 (new defect)

Opened 6 weeks ago

Last modified 5 weeks ago

query_command forgets full name

Reported by: StefanWehr Owned by: mutt-dev
Priority: major Milestone:
Component: mutt Version: 1.5.18
Keywords: Cc:

Description

I'm using mutt's external query command. I recently switched from version 1.5.13 (where everything related to the external query command worked fine) to version 1.5.18. With this version, mailing to an address obtained through the external query command does not longer include the full name of that person.

For example, suppose the external query command prints (the 8 spaces in the 2nd line are in fact a tab)

114 entries in /home/wehr/PIM/data/addressbook ... 1 matching:
john@example.com        John Doe

Then, in version 1.5.13, the mail address used is "John Doe <john@…>". But with 1.5.18, the address is simply "john@…".

This bug should be fixed.

Attachments

mutt-log (142 bytes) - added by StefanWehr 5 weeks ago.
Output of sab (see http://www.informatik.uni-freiburg.de/~wehr/software/)

Change History

Changed 6 weeks ago by brendan

I don't see this behaviour, using lbdb.

Changed 6 weeks ago by agriffis

I don't see this either, using my own mutt_ldap_search command.

Changed 6 weeks ago by pdmef

There're only 3 changes to query.c between 1.5.13 and 1.5.18 all regarding presentation of the results. Parsing stays the same and is simply strtok with \n\t. It works for me, too.

Changed 5 weeks ago by agriffis

Stefan, could you please make an attachment to this bug of some sample output from your query program (use a redirection at the commandline so there's no cut-n-paste issues). Thanks

Changed 5 weeks ago by StefanWehr

Changed 5 weeks ago by StefanWehr

I re-checked to problem on another machine, but the problem does not appear on this machine. Maybe the problem lies in same broken library? On both machines, I compiled mutt by myself. Both machines are running Linux. The one where the bug appears uses some form of Debian Etch (I'm not the admin of this machine, so I don't know what local changes our admin has made), the other machine runs Ubuntu Hardy.

One more thing I discovered: The address and full names are formated correctly in the query menu. Only if I use an entry from the query menu, mutt strips away the name.

Note: See TracTickets for help on using tickets.