From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76298 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Using &user-date; format spec errors (was: User date in summary buffer) Date: Thu, 03 Feb 2011 17:26:40 +0100 Message-ID: <87y65xrsn3.fsf_-_@member.fsf.org> References: <87mxmdy4o5.fsf@dod.no> <43vd11qqqp.fsf@news.eternal-september.org> <87wrlhe0sc.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296762464 23013 80.91.229.12 (3 Feb 2011 19:47:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 19:47:44 +0000 (UTC) Cc: ding@gnus.org To: Richard Riley Original-X-From: ding-owner+M24651@lists.math.uh.edu Thu Feb 03 20:47:39 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl59W-0004mR-90 for ding-account@gmane.org; Thu, 03 Feb 2011 20:47:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pl59U-0005lp-97; Thu, 03 Feb 2011 13:47:36 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pl216-0004O9-8s for ding@lists.math.uh.edu; Thu, 03 Feb 2011 10:26:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pl214-0000Nm-Q2 for ding@lists.math.uh.edu; Thu, 03 Feb 2011 10:26:44 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pl213-0003fR-Uw for ding@gnus.org; Thu, 03 Feb 2011 17:26:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 9492D7809DFD; Thu, 3 Feb 2011 17:26:41 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15936-07; Thu, 3 Feb 2011 17:26:40 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 933577809DF9; Thu, 3 Feb 2011 17:26:40 +0100 (CET) In-Reply-To: (Julien Danjou's message of "Thu, 03 Feb 2011 15:15:59 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76298 Archived-At: Julien Danjou writes: > On Thu, Feb 03 2011, Richard Riley wrote: > >> Possibly others dont. Hence Julien's suggestion about a more user >> friendly default. > > I've just changed the default format for user-date. I did not made any > use of it nor any change to `gnus-summary-line-format'. > > So it's only visible to people using it. Now I wanted to give it a try, but when I use the %&user-date; spec in my summary buffer line format, I get this error when trying to enter summary: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (void-function gnus-user-date) (gnus-user-date (aref gnus-tmp-header 3)) (insert "<" (gnus-user-date (aref gnus-tmp-header 3)) ">") (progn (insert "<" (gnus-user-date (aref gnus-tmp-header 3)) ">") (point)) (gnus-add-text-properties (point) (progn (insert "<" (gnus-user-date (are= f gnus-tmp-header 3)) ">") (point)) (quote (gnus-face t face shadow))) (let (gnus-position) (insert gnus-tmp-unread gnus-tmp-replied) (gnus-add-= text-properties (point) (progn (insert "=E2=94=83") (point)) (quote (gnus-f= ace t face default))) (insert (format "%2s" (gnus-user-format-function-s gn= us-tmp-header))) (gnus-add-text-properties (point) (progn (insert "=E2=94= =83") (point)) (quote (gnus-face t face default))) (gnus-put-text-property = (point) (progn (insert (format "%-23s" (let* ((val ...) (need ...)) (if (> = need 0) (concat nil val ...) val)))) (point)) gnus-mouse-face-prop gnus-mou= se-face) (gnus-add-text-properties (point) (progn (insert "=E2=94=83 ") (se= tq gnus-position (point)) (insert gnus-tmp-thread-tree-header-string) (poin= t)) (quote (gnus-face t face default))) (insert " " gnus-tmp-subject-or-nil= " ") (gnus-add-text-properties (point) (progn (insert "<" (gnus-user-date = (aref gnus-tmp-header 3)) ">") (point)) (quote (gnus-face t face shadow))) = (insert "\n") (if gnus-position (gnus-put-text-property gnus-position (1+ g= nus-position) (quote gnus-position) t))) eval((let (gnus-position) (insert gnus-tmp-unread gnus-tmp-replied) (gnus= -add-text-properties (point) (progn (insert "=E2=94=83") (point)) (quote (g= nus-face t face default))) (insert (format "%2s" (gnus-user-format-function= -s gnus-tmp-header))) (gnus-add-text-properties (point) (progn (insert "=E2= =94=83") (point)) (quote (gnus-face t face default))) (gnus-put-text-proper= ty (point) (progn (insert (format "%-23s" (let* ((val ...) (need ...)) (if = (> need 0) (concat nil val ...) val)))) (point)) gnus-mouse-face-prop gnus-= mouse-face) (gnus-add-text-properties (point) (progn (insert "=E2=94=83 ") = (setq gnus-position (point)) (insert gnus-tmp-thread-tree-header-string) (p= oint)) (quote (gnus-face t face default))) (insert " " gnus-tmp-subject-or-= nil " ") (gnus-add-text-properties (point) (progn (insert "<" (gnus-user-da= te (aref gnus-tmp-header 3)) ">") (point)) (quote (gnus-face t face shadow)= )) (insert "\n") (if gnus-position (gnus-put-text-property gnus-position (1= + gnus-position) (quote gnus-position) t)))) gnus-summary-prepare-threads((([332 #("[fb4] Fwd: Bekanntgabe Wahlergebni= s Fachbereichsr=C3=A4te" 6 52 (charset iso-8859-15)) "Dekanat FB4 " "Thu, 03 Feb 2011 17:17:11 +0100" "<4D4AD507.6070703@uni-kob= lenz.de>" nil 268092 11 nil ((To . "fb4@list.uni-koblenz.de"))]))) gnus-summary-prepare() gnus-summary-read-group-1("nnimap+Uni:ml/fb4" nil t nil nil nil) gnus-summary-read-group("nnimap+Uni:ml/fb4" nil t nil nil nil nil) gnus-group-read-group(nil t) gnus-group-select-group(nil) gnus-topic-select-group(nil) call-interactively(gnus-topic-select-group nil nil) --8<---------------cut here---------------end--------------->8--- I grepped the gnus sources, and there's no such function `gnus-user-date'. Bye, Tassilo --=20 Sent from my Emacs