unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 37819@debbugs.gnu.org
Subject: bug#37819: [PATCH] Make 'load-dangerous-libraries' obsolete
Date: Sat, 19 Oct 2019 13:55:35 +0200	[thread overview]
Message-ID: <CADwFkmkh8bCdkKZdo6TX3vKD+zp0S3SjLu2XXfGy-D1uZrZ5mA@mail.gmail.com> (raw)
In-Reply-To: <87y2xhgmmz.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> I suspect that 'load-dangerous-libraries' is largely irrelevant
> >> nowadays.  Is this correct?  If yes, here is a patch which would
> >> ignore it and declare it obsolete.
> >
> > What is the purpose of declaring this obsolete?  I'd argue we should
> > keep this "forever", since it can never do any harm, and sometimes
> > might do an important job.
>
> The patch just makes Emacs refuse to load .elc files compiled by XEmacs
> permanently, so it looks like the right thing to me.

That is my understanding too.  The use-case of loading XEmacs byte
code is, I think, not very relevant.

Is it used for anything else?  If yes, I think we should change the
documentation to discuss that instead.  If no, I believe making it
obsolete makes sense.

> But perhaps for Emacs 28.

I have nothing against that.  (We'd also have to announce this in
NEWS; I didn't do that yet.)

Best regards,
Stefan Kangas





  reply	other threads:[~2019-10-19 11:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19  0:09 bug#37819: [PATCH] Make 'load-dangerous-libraries' obsolete Stefan Kangas
2019-10-19  6:30 ` Eli Zaretskii
2019-10-19  8:33   ` Lars Ingebrigtsen
2019-10-19 11:55     ` Stefan Kangas [this message]
     [not found]       ` <87o8v21twh.fsf@marxist.se>
2020-01-22 13:22         ` Lars Ingebrigtsen
2020-01-23 17:12           ` Stefan Kangas
2020-02-19 13:12             ` Lars Ingebrigtsen
2020-03-01  0:20               ` 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

  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=CADwFkmkh8bCdkKZdo6TX3vKD+zp0S3SjLu2XXfGy-D1uZrZ5mA@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=37819@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).