unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44705: 27.1; better syntax for gnus-article-date-headers
@ 2020-11-17  6:11 積丹尼 Dan Jacobson
  2020-11-24  8:36 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-11-17  6:11 UTC (permalink / raw)
  To: 44705

Let's see if the output of

(set-variable 'gnus-article-date-headers '(combined-local-lapsed original))

    Date: Sat, 14 Nov 2020 10:06:47 +0800 (3 days, 2 hours, 57 minutes ago)
    Date: Fri, 13 Nov 2020 20:06:47 -0600

could be put onto one line:

    Date: Sat, 14 Nov 2020 10:06:47 +0800 (3 days, 2 hours, 57 minutes ago) (Fri, 13 Nov 2020 20:06:47 -0600)

It could, if the much better syntax

(local " (" elapsed ")" " (" original ")")

were allowed!

OK, to avoid breaking changes, just name it
gnus-article-date-headers-granular etc.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#44705: 27.1; better syntax for gnus-article-date-headers
  2020-11-17  6:11 bug#44705: 27.1; better syntax for gnus-article-date-headers 積丹尼 Dan Jacobson
@ 2020-11-24  8:36 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-24  8:36 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 44705

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Let's see if the output of
>
> (set-variable 'gnus-article-date-headers '(combined-local-lapsed original))
>
>     Date: Sat, 14 Nov 2020 10:06:47 +0800 (3 days, 2 hours, 57 minutes ago)
>     Date: Fri, 13 Nov 2020 20:06:47 -0600
>
> could be put onto one line:
>
>     Date: Sat, 14 Nov 2020 10:06:47 +0800 (3 days, 2 hours, 57 minutes
> ago) (Fri, 13 Nov 2020 20:06:47 -0600)
>
> It could, if the much better syntax
>
> (local " (" elapsed ")" " (" original ")")
>
> were allowed!

Sorry; I don't think this would be generally useful.  If you want such a
date display, you can easily write a function display the date header
any way you want.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-24  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17  6:11 bug#44705: 27.1; better syntax for gnus-article-date-headers 積丹尼 Dan Jacobson
2020-11-24  8:36 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).