Re: function doc string display

Björn Lindqvist <[email protected]> Wed, 5 Aug 2026 04:28:32 +0200
Newsgroups gmane.emacs.devel
Message-ID <CALG+76cDnDr+PR3xZH5NkHu65XKrbKNfhEubvuJDvdFAiyN2UQ@mail.gmail.com>
Den ons 18 mars 2026 kl 00:51 skrev Richard Stallman <[email protected]>:
> Anyway, the change I proposed would make it look like this:
>
> next-line: Move cursor vertically down ARG lines.
>
>     Preloaded command in =E2=80=98simple.el=E2=80=99.
>
>     Key invocation: C-n
>
> ...REST OF DOC STRING...

Much better! And while you are at it, can you also move the
mostly useless function metadata to the end? For example:

line-beginning-position is a primitive-function in =E2=80=98C source code=
=E2=80=99.

The sentence is not grammatically correct and it is almost never
relevant where a function is defined or what "categories" it belongs
to. Or:

cl-print-object is an autoloaded byte-code-function in =E2=80=98cl-print.el=
=E2=80=99.
ad-name-p is a native-comp-function in =E2=80=98advice.el=E2=80=99.

Mostly uninteresting information. Something like

Definition: cl-print.el
Categories: autoloaded, byte-code-function

at the bottom would work better imho.


--=20
mvh/best regards Bj=C3=B6rn Lindqvist