unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza
Date: Sun, 20 Sep 2009 18:32:15 +0100	[thread overview]
Message-ID: <xbai4oqxr080.fsf@cam.ac.uk> (raw)
In-Reply-To: 87pr9l4n3o.fsf@jondo.cante.net

On 2009-09-20 17:06 +0100, Jari Aalto wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>>     (defcustom ido-everywhere nil
>>>       "Use ido everywhere for reading file names and directories.
>>>     Setting this variable directly does not work.  Use `customize' or
>>>     call the function `ido-everywhere'."
>>
>> I'm not sure ido-everywhere is meant to work when ido-mode is OFF.
>> So, I think ido-everywhere is only meaningfully called after calling
>> ido-mode, in which case autoloading doesn't make much sense.
>
> This is where I use it:
>
>   (autoload 'ido-everywhere "ido")
>   (ido-everywhere 1)
>   (ido-mode 1)

Why not

 (ido-mode 1)
 (ido-everywhere 1)

??

Then you don't need that autoload.

> Jari

-- 
Leo's Emacs uptime: 1 hour, 13 minutes, 44 seconds







  reply	other threads:[~2009-09-20 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 20:18 bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza Jari Aalto
2009-09-20 14:46 ` Stefan Monnier
2009-09-20 16:06   ` Jari Aalto
2009-09-20 17:32     ` Leo [this message]
2009-09-20 18:20     ` Stefan Monnier
2009-09-20 18:53       ` Jari Aalto
2009-09-20 18:58       ` Leo
2011-07-13 13:52       ` Lars Magne Ingebrigtsen

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=xbai4oqxr080.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=4491@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@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 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).