unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lynn Winebarger <owinebar@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Docstring hack
Date: Thu, 4 Aug 2022 00:12:18 -0400	[thread overview]
Message-ID: <CAM=F=bCqeoEmZ-nbusdXY1MtrOTBLeb9cWrWYJJtkgLd0jap-w@mail.gmail.com> (raw)
In-Reply-To: <87pmhlhdlu.fsf@yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

On Sun, Jul 31, 2022, 4:48 AM Po Lu <luangruo@yahoo.com> wrote:

> Eli Zaretskii <eliz@gnu.org> writes:
> Maybe this would work? (This question is also partly intended for Lynn)
>
> diff --git a/lisp/loadup.el b/lisp/loadup.el
> index 21a87dbd77..e81eccb58e 100644
> --- a/lisp/loadup.el
> +++ b/lisp/loadup.el
> @@ -387,7 +387,8 @@
>  ;; you may load them with a "site-load.el" file.
>  ;; But you must also cause them to be scanned when the DOC file
>  ;; is generated.
> -(let ((lp load-path))
> +(let ((lp load-path)
> +      (purify-flag nil))
>    (load "site-load" t)
>    ;; We reset load-path after dumping.
>    ;; For a permanent change in load-path, use configure's


When I tried switching the purify-flag on and off selectively in site-load
itself resulted in pdumper never completing.
It was easier to just add a variable dedicated solely to turning the hack
off that has no other dependencies.  Keep in mind I'm only worried about
28.x for this exercise.

Lynn

[-- Attachment #2: Type: text/html, Size: 1549 bytes --]

  parent reply	other threads:[~2022-08-04  4:12 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 12:14 Docstring hack Lynn Winebarger
2022-07-30 12:25 ` Po Lu
2022-07-30 12:50   ` Lynn Winebarger
2022-07-30 13:04     ` Lynn Winebarger
2022-07-30 13:32     ` Po Lu
2022-07-30 13:28 ` Eli Zaretskii
2022-07-30 13:36   ` Po Lu
2022-07-30 15:11     ` Eli Zaretskii
2022-07-30 15:38       ` Lynn Winebarger
2022-07-30 15:44         ` Eli Zaretskii
2022-07-30 16:32           ` Lynn Winebarger
2022-07-30 16:43             ` Eli Zaretskii
2022-07-31  2:17               ` Po Lu
2022-07-31  6:27                 ` Eli Zaretskii
2022-07-31  7:24                   ` Po Lu
2022-07-31  7:56                     ` Eli Zaretskii
2022-07-31  8:48                       ` Po Lu
2022-07-31  9:14                         ` Lars Ingebrigtsen
2022-07-31 22:31                           ` Stefan Monnier
2022-08-01 10:38                             ` Lars Ingebrigtsen
2022-08-04  4:12                         ` Lynn Winebarger [this message]
2022-07-31 12:53                       ` Lynn Winebarger
2022-07-31 13:05                         ` Eli Zaretskii
2022-07-31 20:29                           ` Lynn Winebarger
2022-08-01  1:05                             ` Po Lu
2022-08-01 11:07                             ` Eli Zaretskii
2022-07-31  8:03                   ` Stefan Monnier
2022-07-31 12:43                     ` Lynn Winebarger
2022-07-31 21:32                       ` Stefan Monnier
2022-08-02 16:55                         ` Lynn Winebarger
2022-07-31 11:57               ` Lynn Winebarger
2022-07-31  0:52       ` Po Lu
2022-07-31  7:52     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAM=F=bCqeoEmZ-nbusdXY1MtrOTBLeb9cWrWYJJtkgLd0jap-w@mail.gmail.com' \
    --to=owinebar@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).