From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87385 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 21:49:25 +0000 Message-ID: <871surqknu.fsf@mat.ucm.es> References: <87wpcl3lee.fsf@mat.ucm.es> <87fuj96589.fsf@ericabrahamsen.net> <87y3wzhhwi.fsf@mat.ucm.es> <878toztso2.fsf@ericabrahamsen.net> <87wpcjflnr.fsf@mat.ucm.es> <87o9xvs8ce.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1487713846 8077 195.159.176.226 (21 Feb 2017 21:50:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 21:50:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35605@lists.math.uh.edu Tue Feb 21 22:50:42 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 1cgIKS-0001HN-TK for ding-account@gmane.org; Tue, 21 Feb 2017 22:50:37 +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 c358e496-f87f-11e6-b719-b499baa2b07a; Tue, 21 Feb 2017 21:50:30 +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 1cgIJd-0008IR-8b; Tue, 21 Feb 2017 15:49:45 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cgIJa-0008Hq-Ko for ding@lists.math.uh.edu; Tue, 21 Feb 2017 15:49:42 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cgIJZ-0001au-F3 for ding@lists.math.uh.edu; Tue, 21 Feb 2017 15:49:42 -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 1cgIJW-0007cj-7r for ding@gnus.org; Tue, 21 Feb 2017 22:49:38 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cgIJN-000464-9A for ding@gnus.org; Tue, 21 Feb 2017 22:49:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:yx5y/tJdtdWdrrVT7Rt6JxGS6lE= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87385 Archived-At: --=-=-= Content-Type: text/plain > Uwe Brauer writes: > The `list' was supposed to go outside the plist-get. Here's a version that > uses `char-to-string', which I think is more explicit: > (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) > (char-to-string > (plist-get > (cdr-safe > (assoc mark gnus-registry-marks)) > :char))) > marks ""))) It seems that my message was not sent (in case of a possible double posting, sorry) Great, thanks!! Very much! Now it works as expected. I suggest to push that change to master! Now I am getting curious and want to try gnorb with the registry but as I said is there is a bug of the sort --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=gnorb-bug.txt Content-Transfer-Encoding: 8bit Error updating the summary line [2 times] format: Symbol’s function definition is void: gnus-user-format-function-gInvalid face reference: font-lock-comment-warn-face Invalid face reference: font-lock-comment-warn-face [19 times] nnimap read 0k from imap.gmail.com format: Symbol’s function definition is void: gnus-user-format-function-gInvalid face reference: font-lock-comment-warn-face Invalid face reference: font-lock-comment-warn-face [3 times] Updating buffer list... Formats have changed, recompiling...done Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help --=-=-=--