From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Engster <deng@randomsample.de>
Cc: 10049@debbugs.gnu.org
Subject: bug#10049: 24.0.91; Setting generated-autoload-file as local variable not working correctly
Date: Mon, 21 Nov 2011 09:30:17 -0500 [thread overview]
Message-ID: <jwvfwhhy2hf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878vna8vri.fsf@engster.org> (David Engster's message of "Sun, 20 Nov 2011 20:00:01 +0100")
>>>> I think it is fixed now.
>>> ...and confirmed (again!) ;-)
>> Could you check if the (additional) patch below works as well?
> Yes, it works as well.
Thanks, installed.
> I have related question, though: I also tried to work around this thing
> by setting `enable-local-variables' to nil:
> emacs --batch -l autoload -f toggle-debug-on-error
> --eval '(setq generated-autoload-file "/home/whatever/test/foo.el")'
> --eval '(setq enable-local-variables nil)'
> -f batch-update-autoloads /home/whatever/test
> However, this does not seem to work; the file-local variable is still
> the one to which the autoloads are written to. Is this to be expected?
Yes: autoload.el let-binds enable-local-variables to :safe.
Maybe it should keep it at nil if the default is nil? If you think it
would be better, please make a new bug-report for it.
Stefan
prev parent reply other threads:[~2011-11-21 14:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-14 22:12 bug#10049: 24.0.91; Setting generated-autoload-file as local variable not working correctly David Engster
2011-11-17 7:39 ` Glenn Morris
2011-11-17 8:36 ` David Engster
2011-11-17 9:40 ` David Engster
2011-11-17 17:27 ` Glenn Morris
2011-11-17 21:34 ` Glenn Morris
2011-11-18 20:58 ` David Engster
2011-11-20 2:18 ` Stefan Monnier
2011-11-20 19:00 ` David Engster
2011-11-21 14:30 ` Stefan Monnier [this message]
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=jwvfwhhy2hf.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=10049@debbugs.gnu.org \
--cc=deng@randomsample.de \
/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.