all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Artur Malabarba <bruce.connor.am@gmail.com>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: defcustom problem with packages (user error?)
Date: Thu, 13 Nov 2014 21:03:09 +0800	[thread overview]
Message-ID: <CADtN0W+odJ2Dwj83Gn4CTU1j6BBovdsvb5Ynt47phjTxzaWxJg@mail.gmail.com> (raw)
In-Reply-To: <jwva93w8ooa.fsf-monnier+emacs@gnu.org>

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

On 12 November 2014 22:45, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> > I'm not sure if that's the cause of your problem, but you don't need to
> > autoload all those defcustom s.
> > Just autoload the entry functions.
>
> Oh, indeed, autoloading variables is generally a bad idea.  And it could
> explain the behavior.  I haven't seen such problem until now, but it's
> probably because such autoloads are rare.  So maybe we should document
> it more prominently.
>

Thank you. I made this change and indeed now it works better.

That said, if it's not a good idea to autoload customisable variables, then
what is the purpose of `custom-autoload'? This is what gets inserted into
gnu-apl-mode-autoloads.el.

Regards,
Elias

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

  reply	other threads:[~2014-11-13 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12  5:22 defcustom problem with packages (user error?) Elias Mårtenson
2014-11-12 13:20 ` Artur Malabarba
2014-11-12 14:45   ` Stefan Monnier
2014-11-13 13:03     ` Elias Mårtenson [this message]
2014-11-13 17:40       ` 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

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

  git send-email \
    --in-reply-to=CADtN0W+odJ2Dwj83Gn4CTU1j6BBovdsvb5Ynt47phjTxzaWxJg@mail.gmail.com \
    --to=lokedhs@gmail.com \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.