all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35764: Proposal: gnus-summary-describe-article
@ 2019-05-16 16:41 積丹尼 Dan Jacobson
  2019-06-22 11:56 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-05-16 16:41 UTC (permalink / raw)
  To: 35764

Just like M-x describe-char gives tons of details about a character, a
future gnus-summary-describe-article function could
show all the items in the C-h v gnus-summary-line-format docstring,
one per line, whithout the user needing to change his
gnus-summary-line-format just to see what they all are for one article.
Output would have % escapes helpfully mentioned.

So it would list:

%N          Article number, left padded with spaces (string)
%S          Subject (string)
%s          Subject if it is at the root of a thread, and "" otherwise (string)
%n          Name of the poster (string)
%a          Extracted name of the poster (string)
...

Like this:

Article number %N: 1234
       Subject %S: Larry wants a waffle
        Poster %n: Bill Prfowitz
...

And mention this new function on
(info "(gnus) Back End Interface")

And maybe with a prefix argument just have it analyze the user's current
gnus-summary-line-format, in the order that the %'s appear in it.





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

* bug#35764: Proposal: gnus-summary-describe-article
  2019-05-16 16:41 bug#35764: Proposal: gnus-summary-describe-article 積丹尼 Dan Jacobson
@ 2019-06-22 11:56 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-06-22 11:56 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 35764

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

> Just like M-x describe-char gives tons of details about a character, a
> future gnus-summary-describe-article function could
> show all the items in the C-h v gnus-summary-line-format docstring,
> one per line, whithout the user needing to change his
> gnus-summary-line-format just to see what they all are for one article.
> Output would have % escapes helpfully mentioned.
>
> So it would list:
>
> %N          Article number, left padded with spaces (string)
> %S          Subject (string)
> %s          Subject if it is at the root of a thread, and "" otherwise (string)
> %n          Name of the poster (string)
> %a          Extracted name of the poster (string)
> ...
>
> Like this:
>
> Article number %N: 1234
>        Subject %S: Larry wants a waffle
>         Poster %n: Bill Prfowitz

Sorry, I don't really see the use case here -- all the data is available
in the Article buffer, and the users already know how to use that.

-- 
(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:[~2019-06-22 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-16 16:41 bug#35764: Proposal: gnus-summary-describe-article 積丹尼 Dan Jacobson
2019-06-22 11:56 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.