all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r110286: Sync Org 7.9.2 from the commit tagged "release_7.9.2" in Org's Git repo.
Date: Wed, 03 Oct 2012 17:46:25 +0200	[thread overview]
Message-ID: <874nmbimni.fsf@Rainer.invalid> (raw)
In-Reply-To: qszk44u2dt.fsf@fencepost.gnu.org

Glenn Morris writes:
> I wouldn't bother. A warning sometimes just means "this code use can be
> problematic, maybe you want to check it", not "this code use is
> definitely wrong, you should change it".

Well, I couldn't help bothering… :-)

The let-binding that triggers the message is actually established in
autoloads.el in generate-file-autoloads, which then goes on to call
autoload-generate-file-autoloads, which actually expects a buffer local
variable.  Apparently the let-binding "wins" in that situation and the
buffer-local variable is ignored, which is probably why the warning is
printed (even though the two values are the same)?

I can fix this by calling autoload-generate-file-autoloads directly,
setting the default value for generated-autoload-file instead of doing a
let-bind.  This works without printing any warnings, but fails when any
of the files tries to set a buffer-local variable with a different value
for generated-autoload-file: the file is produced, but does not collect
any autoload definitions.  It actually blows up in that case unless I
provide a let-bind for autoload-modified-buffers (like in
update-directory-autoloads, where I gleaned this from and which also
let-binds generated-autoload-file and thus produces the same warning).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




  reply	other threads:[~2012-10-03 15:46 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1TILGf-0007Kr-Mg@vcs.savannah.gnu.org>
2012-10-01  0:26 ` /srv/bzr/emacs/trunk r110286: Sync Org 7.9.2 from the commit tagged "release_7.9.2" in Org's Git repo Glenn Morris
2012-10-01  6:19   ` Bastien
2012-10-01  7:03     ` Glenn Morris
2012-10-01 13:22       ` Bastien
2012-10-01 16:47     ` Achim Gratz
2012-10-01 17:39       ` Glenn Morris
2012-10-01 17:59         ` Achim Gratz
2012-10-01 18:04           ` Glenn Morris
2012-10-02 12:58             ` Bastien
2012-10-02 17:05               ` Achim Gratz
2012-10-02 17:17                 ` Bastien
2012-10-02 17:34                   ` Achim Gratz
2012-10-02 17:43                     ` Glenn Morris
2012-10-02 17:51                       ` Achim Gratz
2012-10-02 17:58                         ` Glenn Morris
2012-10-02 18:16                           ` Achim Gratz
2012-10-02 18:58                             ` Glenn Morris
2012-10-03 15:46                               ` Achim Gratz [this message]
2012-10-03 17:35                                 ` Stefan Monnier
2012-10-03 17:54                                   ` Achim Gratz
2012-10-03 18:30                                     ` Stefan Monnier
2012-10-01 18:02     ` Achim Gratz
2012-10-02 12:56       ` Bastien
2012-10-02 17:03         ` Achim Gratz
2012-10-02 17:17           ` Bastien
2012-10-02 17:25             ` Achim Gratz
2012-10-02 17:44               ` Bastien
2012-10-02 18:12                 ` Achim Gratz
2012-10-03  7:08                   ` Bastien
2012-10-03  7:48                     ` Achim Gratz
2012-10-03 10:24                       ` Bastien
2012-10-01 18:07   ` Jambunathan K
2012-10-02 13:03     ` Bastien

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=874nmbimni.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-devel@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.