From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87381 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: Re: registry and the gnus-summary-line-format Date: Tue, 21 Feb 2017 18:18:38 +0000 Message-ID: <871surh0g1.fsf@mat.ucm.es> References: <87wpcl3lee.fsf@mat.ucm.es> <87fuj96589.fsf@ericabrahamsen.net> <87y3wzhhwi.fsf@mat.ucm.es> <878toztso2.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487701181 20656 195.159.176.226 (21 Feb 2017 18:19:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 18:19:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35602@lists.math.uh.edu Tue Feb 21 19:19:36 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgF2F-0004y6-O3 for ding-account@gmane.org; Tue, 21 Feb 2017 19:19:35 +0100 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 4e89b3e5-f862-11e6-b719-b499baa2b07a; Tue, 21 Feb 2017 18:19:39 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1cgF1f-0006Lk-Vb; Tue, 21 Feb 2017 12:19:00 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cgF1e-0006L6-7x for ding@lists.math.uh.edu; Tue, 21 Feb 2017 12:18:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cgF1d-0003iQ-5Z for ding@lists.math.uh.edu; Tue, 21 Feb 2017 12:18:58 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cgF1b-00055r-8o for ding@gnus.org; Tue, 21 Feb 2017 19:18:55 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cgF1K-0000k2-EK for ding@gnus.org; Tue, 21 Feb 2017 19:18:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 44 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:8dz8Guh5OKQ9e//Jr4b77crmvyk= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87381 Archived-At: > Uwe Brauer writes: > [...] > The error is in: > #+BEGIN_SRC elisp > (defun gnus-registry-article-marks-to-chars (headers) > "Show the marks for an article by the :char property." > (let* ((id (mail-header-message-id headers)) > (marks (when id (gnus-registry-get-id-key id 'mark)))) > (mapconcat (lambda (mark) > (plist-get > (cdr-safe > (assoc mark gnus-registry-marks)) > :char)) > marks ""))) > #+END_SRC > It's trying to mapconcat a bare character (116 or ?t), but mapconcat > requires a string or a list of characters. > I don't see how this ever would have worked, to be honest. Git blame > says the code's been like this since 2011, but supposedly mapconcat > started barfing on integer arguments in Emacs 21.1, in 2001. Anyhow, > wrapping the `plist-get' in a `char-to-string' (or just `list') will fix > it. Excellent I will try this out right now. Thanks I will then try out the registry with gnorb but this is a different issue. Uwe > I can open a bug report in a bit, if no one leaps in and fixes it. > Eric