all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Function with a docstring with different level of detail
@ 2024-12-07 20:17 Heime via Users list for the GNU Emacs text editor
  2024-12-08 15:55 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 2+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-12-07 20:17 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


I would like to have a function with a docstring that can get be set up with different
levels of detail.  Thus the user can decide what type of information he wants to see
when using "C-h f".  Can something be done with elisp code?





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

* Re: Function with a docstring with different level of detail
  2024-12-07 20:17 Function with a docstring with different level of detail Heime via Users list for the GNU Emacs text editor
@ 2024-12-08 15:55 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2024-12-08 15:55 UTC (permalink / raw)
  To: help-gnu-emacs

> I would like to have a function with a docstring that can get be set
> up with different levels of detail.  Thus the user can decide what
> type of information he wants to see when using "C-h f".

We currently don't have anything explicitly for that purpose (I've
already thought about doing something similar, for example when showing
the doc of `pcase`, where there can be a long list of pcase patterns).

> Can something be done with elisp code?

Given enough effort: yes.


        Stefan




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

end of thread, other threads:[~2024-12-08 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 20:17 Function with a docstring with different level of detail Heime via Users list for the GNU Emacs text editor
2024-12-08 15:55 ` Stefan Monnier via Users list for the GNU Emacs text editor

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.