all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 52969@debbugs.gnu.org, Stefan Kangas <stefan@marxist.se>
Subject: bug#52969: Shortdoc "string" group leads to backtrace
Date: Mon, 03 Jan 2022 16:05:12 -0500	[thread overview]
Message-ID: <jwv8rvwv8m9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ee5o4ktl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 03 Jan 2022 21:37:42 +0100")

Lars Ingebrigtsen [2022-01-03 21:37:42] wrote:
> Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
>> 1- Forget about autoloads's docstrings altogether (i.e. always load the
>>    autoload's target when we need the docstring).
>> 2- Revert part of 59732a83c8 so that we still keep the docstrings of
>>    `lisp/loaddefs.el` in etc/DOC.
>> 3- Byte-compile `lisp/loaddefs.el`.
>> I pushed a patch which does n°2.
> Are there any disadvantages to doing n°3?
> I liked the simplifications in 59732a83c8.

I haven't tried yet.  I installed n°2 because it's the "safe choice".
We can still choose n°3 and/or n°1 which both have a wider impact.
I liked the simplifications in 59732a83c8 as well, and we do keep some
of them.

As for disadvantages to n°3, I remember trying it out some months ago but
I can't remember why nor can I remember why I haven't kept this change
in my local hacks.  Sorry.

IOW, someone will have to try it.
Of course, there are the obvious disadvantages of spending time to
compile `loaddefs.el` and the added space used by `loaddefs.elc`, tho
a lot of it would be recovered by the space saved in etc/DOC.


        Stefan






  reply	other threads:[~2022-01-03 21:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-02 23:09 bug#52969: Shortdoc "string" group leads to backtrace Stefan Kangas
2022-01-03  7:34 ` Stefan Kangas
2022-01-03 20:33   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-03 20:37     ` Lars Ingebrigtsen
2022-01-03 21:05       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-01-03 21:19         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-05 15:53         ` Lars Ingebrigtsen
2022-01-05 15:55           ` Lars Ingebrigtsen
2022-01-03 18:56 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8rvwv8m9.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52969@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.