From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Issue in Supercite, or in mu4e? Date: Sat, 14 Feb 2015 17:13:49 +1100 Message-ID: <87h9upnhpe.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1423894462 11948 80.91.229.3 (14 Feb 2015 06:14:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2015 06:14:22 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 07:14:13 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YMVzY-0005kt-RG for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 07:14:12 +0100 Original-Received: from localhost ([::1]:58898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMVzX-0006gw-Tr for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 01:14:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMVzN-0006gm-AN for help-gnu-emacs@gnu.org; Sat, 14 Feb 2015 01:14:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMVzJ-0003ba-9P for help-gnu-emacs@gnu.org; Sat, 14 Feb 2015 01:14:01 -0500 Original-Received: from mail-pd0-f174.google.com ([209.85.192.174]:37354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMVzJ-0003bW-3k for help-gnu-emacs@gnu.org; Sat, 14 Feb 2015 01:13:57 -0500 Original-Received: by pdbfl12 with SMTP id fl12so23791494pdb.4 for ; Fri, 13 Feb 2015 22:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=vOGb7RLy49/ZakLDB12zUBqkRDEv93skeZhKk8HZgsU=; b=ujIcaCIVyX5ut+SZQtCEKhFm12KXTBsqXOz2fdvJR5pAEdeWg+lpogl1eME4TzGscl 9j7cPXHVBLld0+gzFu3y/5yDdfEZHG/Anqqyu7/st9fIb6cxMO7d05nsNsqyb0AY83SF kYD6rr+j9N5rAlD4kKzbGGVo6j58zqH2JRuTHrim94XXxS5ijqx63i+dUWUzyeQI0REj KMAplkE42ntgFKDFl34IW8QuK4dapIuKX7JIIlSvtVRKJGs7t1bB3NFpaOgJgOtck9Qg MwRJgDR8RrtVUSUVdkAritMasMldn9whFBh3PrPTE6YRh0Fu2JMFX1i1Bq4XCYcSLqpp +fZw== X-Received: by 10.68.135.226 with SMTP id pv2mr21659368pbb.48.1423894436462; Fri, 13 Feb 2015 22:13:56 -0800 (PST) Original-Received: from localhost (ppp118-209-226-212.lns20.mel8.internode.on.net. [118.209.226.212]) by mx.google.com with ESMTPSA id cy6sm17210pdb.15.2015.02.13.22.13.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Feb 2015 22:13:55 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.174 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102710 Archived-At: Hi all, i've been setting up Supercite to use with mu4e, and found that the "initials" attribution preference wasn't working; it would only provide the author's first initial. Digging into `supercite.el`, i found that the issue stems from `sc-attribs-extract-namestring`: (sc-attribs-extract-namestring "Joan Smith") ; "Joan" (sc-attribs-extract-namestring "Joan Smith <>") ; "Joan Smith" When `sc-attribs-extract-namestring` is passed a string which doesn't contain '<' and '>' to delimit an email address, it only extracts the first name, which then results in only one initial being extracted. i can probably find some way of working around this, but what i'm wondering is: should this be considered an issue with Supercite (or how i've set it up), or an issue with mu4e (or how i've set it up)? Alexis.