From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza Date: Sun, 20 Sep 2009 18:32:15 +0100 Organization: University of Cambridge Message-ID: References: <87fxaiit7c.fsf@jondo.cante.net> <87pr9l4n3o.fsf@jondo.cante.net> Reply-To: Leo , 4491@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253468843 27111 80.91.229.12 (20 Sep 2009 17:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 17:47:23 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 20 19:47:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpQVI-0001fv-9s for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 19:47:16 +0200 Original-Received: from localhost ([127.0.0.1]:58888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpQVH-0004gB-DM for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 13:47:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpQVC-0004g6-I0 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpQV7-0004fs-S2 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:47:09 -0400 Original-Received: from [199.232.76.173] (port=58557 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpQV7-0004fp-LA for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:47:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49205) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpQV7-0000in-2U for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:47:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8KHl2Vh013940; Sun, 20 Sep 2009 10:47:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8KHe4CC012881; Sun, 20 Sep 2009 10:40:04 -0700 Resent-Date: Sun, 20 Sep 2009 10:40:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Leo Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 20 Sep 2009 17:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4491 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125346797112062 (code B ref -1); Sun, 20 Sep 2009 17:40:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Sep 2009 17:32:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8KHWmcx012059 for ; Sun, 20 Sep 2009 10:32:50 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpQHH-0007vz-J5 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:32:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpQHB-0007uK-TL for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:32:46 -0400 Original-Received: from [199.232.76.173] (port=56058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpQHB-0007u6-QI for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:32:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:47351) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpQHB-0007AQ-DS for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:32:41 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MpQH7-0005Qp-6m for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 19:32:37 +0200 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 19:32:37 +0200 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 19:32:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:vOR5Gx/KoyLCQ/IHh6okPF69nLo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 20 Sep 2009 13:47:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31307 Archived-At: On 2009-09-20 17:06 +0100, Jari Aalto wrote: > Stefan Monnier 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