From: "João Távora" <joaotavora@gmail.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
emacs-devel@gnu.org, Sam Steingold <sds@gnu.org>
Subject: Re: Unsafe local variable in eglot.el
Date: Thu, 09 Mar 2023 13:12:23 +0000 [thread overview]
Message-ID: <87356ejcg8.fsf@gmail.com> (raw)
In-Reply-To: <877cvqyupi.fsf@gnu.org> (Tassilo Horn's message of "Thu, 09 Mar 2023 13:10:15 +0100")
Tassilo Horn <tsdh@gnu.org> writes:
> Not sure what to do here. Maybe adding an autoload-cookie to
> eglot--debbugs-or-github-bug-uri does the trick? Of course, then you
> cannot find eglot.el without loading it at the same time...
See my 01b65d442a commit to Emacs 29. It's autoloading a "progn" block
in eglot.el. So visiting the file with bug-reference-mode does trigger
a call to the helper function, which now exists. But that call by
itself won't cause eglot.el to to be loaded. It's not very elegant, but
it does solve the program effectively, I think (and the links work, of
course).
João
next prev parent reply other threads:[~2023-03-09 13:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 8:00 Unsafe local variable in eglot.el Eli Zaretskii
2023-03-09 9:31 ` João Távora
2023-03-09 11:24 ` João Távora
2023-03-09 12:19 ` Eli Zaretskii
2023-03-09 13:07 ` João Távora
2023-03-09 15:54 ` Eli Zaretskii
2023-03-09 11:56 ` Eli Zaretskii
2023-03-09 12:10 ` Tassilo Horn
2023-03-09 13:12 ` João Távora [this message]
2023-03-10 7:44 ` Tassilo Horn
2023-03-09 12:19 ` João Távora
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=87356ejcg8.fsf@gmail.com \
--to=joaotavora@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=sds@gnu.org \
--cc=tsdh@gnu.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 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.