unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman" <lennart.borgman@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Autoloaded defcustoms
Date: Mon, 05 Jan 2009 17:15:06 -0500	[thread overview]
Message-ID: <jwvsknxl7tu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a50901051021i17b4a528y6b685d0b2ab73444@mail.gmail.com> (Lennart Borgman's message of "Mon, 5 Jan 2009 19:21:45 +0100")

> If you add an autoload cookie to a defcustom
>   ;;;###autoload
>   (defcustom ourcomments-ido-ctrl-tab nil

> and use get-file-autoloads on this then you get a load def

>   (defvar ourcomments-ido-ctrl-tab nil "\
>   bla bla doc")

>   (custom-autoload 'ourcomments-ido-ctrl-tab "ourcomments-util" nil)

> This does not take care of :set etc in the defcustom AFAICS. Shouldn't
> it do that?

It should and AFAIK it does.  But your notion of "take care of" might be
different from mine.  So please be more specific.

> (Is this the reason that minor modes defined in libraries
> external to Emacs are not turned on properly?)

I don't know what you're referring to.


        Stefan




  reply	other threads:[~2009-01-05 22:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 18:21 Autoloaded defcustoms Lennart Borgman
2009-01-05 22:15 ` Stefan Monnier [this message]
2009-01-05 22:22   ` Lennart Borgman
2009-01-06  0:57     ` Juri Linkov
2009-01-06  2:16       ` Lennart Borgman
2009-01-06  3:20     ` Stefan Monnier
2009-01-06 12:27       ` Lennart Borgman
2009-01-06 14:54         ` Stefan Monnier
2009-01-06 15:00           ` Lennart Borgman
2009-01-06 15:07             ` Juri Linkov
2009-01-06 15:17               ` Lennart Borgman
2009-01-06 18:18                 ` Chetan Pandya
2009-01-06 18:21                   ` Lennart Borgman
2009-01-06 18:20                 ` 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

  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=jwvsknxl7tu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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).