* bug#44582: 26.3; doc strings of functions `isearch--state-*' are too long
@ 2020-11-11 18:39 Drew Adams
2020-11-12 7:27 ` Juri Linkov
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2020-11-11 18:39 UTC (permalink / raw
To: 44582
For example: `C-h f isearch--state-case-fold-search':
isearch--state-case-fold-search is a compiled Lisp function in
'isearch.el'.
(isearch--state-case-fold-search CL-X)
This function has a compiler macro 'isearch--state-case-fold-search--cmacro'.
Access slot "case-fold-search" of `(isearch--state (:constructor nil) (:copier nil) (:constructor isearch--get-state (&aux (string isearch-string) (message isearch-message) (point (point)) (success isearch-success) (forward isearch-forward) (other-end isearch-other-end) (word isearch-regexp-function) (error isearch-error) (wrapped isearch-wrapped) (barrier isearch-barrier) (case-fold-search isearch-case-fold-search) (pop-fun (if isearch-push-state-function (funcall isearch-push-state-function))))))' struct CL-X.
This function does not change global state, including the match data.
That "Access slot" line is 517 chars long!
Lest you say that no one should ever consult the doc of an "internal"
function (with which I strongly disagree, anyway), consider a command
that shows you, as completion candidates, doc strings of all function
names matching your input.
`apropos-function' itself compensates, by filling the value. But we
have a convention about doc-string line lengths, and 517 chars is, well
far beyond the limit.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#44582: 26.3; doc strings of functions `isearch--state-*' are too long
2020-11-11 18:39 bug#44582: 26.3; doc strings of functions `isearch--state-*' are too long Drew Adams
@ 2020-11-12 7:27 ` Juri Linkov
0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2020-11-12 7:27 UTC (permalink / raw
To: Drew Adams; +Cc: 44582
tags 44582 fixed
close 44582 27.1
quit
> For example: `C-h f isearch--state-case-fold-search':
>
> That "Access slot" line is 517 chars long!
>
> In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
This has been fixed for a long time in the released version 27.1,
but you are still reporting bugs for the old version.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-12 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11 18:39 bug#44582: 26.3; doc strings of functions `isearch--state-*' are too long Drew Adams
2020-11-12 7:27 ` Juri Linkov
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.