all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter S Galbraith <psg@debian.org>
Subject: Re: Coding Convections - Enabling a feature by loading a file
Date: Wed, 04 Jun 2003 20:47:36 -0400	[thread overview]
Message-ID: <2600.1054774056@mixed.dyndns.org> (raw)
In-Reply-To: Message from Stefan Monnier <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>  <5lsmqph7g6.fsf@rum.cs.yale.edu>

Stefan Monnier <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote:

> >>>>> "Peter" == Peter S Galbraith <psg@debian.org> writes:
> > feature').  But what is the rationale behind the loading of a package
> > having no visisble effect?  If the only purpose of a package is to
> 
> A package might be loaded implicitly by something like `customize'
> just to get the list of groups/variables it offers.  You wouldn't
> want to turn a feature ON just because you're browsing some of the
> related variables (you might even be browsing something that you didn't
> know was related).

But this is only true if its defcustoms are copied to another file,
right?  How else could it get loaded?  Or do you mean if the user loads
it in order to see its customizations?
 
> >      (require 'bar-cursor)
> >      (bar-cursor-mode 1)
> > instead of only:
> >      (require 'bar-cursor)
> 
> It should be only
> 
>    (bar-cursor-mode 1)
> 
> because bar-cursor-mode should be autoloaded.

But this is only true if autoloads are generated.  Is it standard
practice to do that for files added to someones site directory or for a
user under $HOME?  I know I've never done that (I might start now that I
think of it).

I'm not talking about a file are is part of Emacs, but one distributed
separately.  How strongly should we adhere to that coding convention?

Thanks!
-- 
Peter S. Galbraith, Debian Developer          <psg@debian.org>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E

  parent reply	other threads:[~2003-06-05  0:47 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24 23:52 the real file-attributes function Kin Cho
2002-10-25  0:24 ` Barry Margolin
     [not found]   ` <nqn0p3m2g6.fsf@alcatel.de>
2002-10-25 23:30     ` Kin Cho
2002-10-25 14:23 ` Stefan Monnier <foo@acm.com>
     [not found]   ` <foo@acm.com>
     [not found]     ` <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
2002-10-25 15:17       ` Peter S Galbraith
2002-10-25 18:51       ` Activating Mousewheel Peter S Galbraith
2002-11-18 18:23       ` Any standard function to prompt for multiple comma-separated items? Peter S Galbraith
2003-06-05  0:47       ` Peter S Galbraith [this message]
     [not found] <mailman.7309.1054754086.21513.help-gnu-emacs@gnu.org>
2003-06-04 21:13 ` Coding Convections - Enabling a feature by loading a file Stefan Monnier
     [not found]   ` <mailman.7337.1054774167.21513.help-gnu-emacs@gnu.org>
2003-06-05  1:02     ` Stefan Monnier
2003-06-05 16:24 ` Lute Kamstra
  -- strict thread matches above, loose matches on Subject: below --
2003-06-04 18:51 Peter S Galbraith
2003-05-02  3:12 off-topic? James D
2003-05-02  5:44 ` off-topic? Lute Kamstra
2003-05-02 19:41   ` off-topic? James D
2003-05-02 20:39     ` off-topic? Roodwriter
2003-05-03  3:08       ` off-topic? Oliver Scholz
2003-05-02 22:00     ` off-topic? Lute Kamstra
2003-05-03 21:13       ` off-topic? Alexander Nikolov
2003-05-03 21:21       ` off-topic? Alexander Nikolov
     [not found]       ` <Lute.Kamstra@cwi.nl>
2003-05-03  3:27         ` off-topic? Peter S Galbraith
2003-06-08  0:58         ` Coding Convections - Enabling a feature by loading a file Peter S Galbraith
     [not found] <mailman.227.1039966739.19936.help-gnu-emacs@gnu.org>
2002-12-15 18:56 ` Customize a checklist Klaus Berndl
     [not found] <mailman.1037389349.31174.help-gnu-emacs@gnu.org>
2002-11-16 18:55 ` Any standard function to prompt for multiple comma-separated items? Kai Großjohann
2002-11-17 14:03   ` Peter S Galbraith
     [not found]   ` <mailman.1037542582.16549.help-gnu-emacs@gnu.org>
2002-11-18 15:52     ` Stefan Monnier <foo@acm.com>
2002-11-17  9:27 ` Klaus Berndl
     [not found]   ` <Klaus.Berndl@sdm.de>
2002-11-17 14:08     ` Peter S Galbraith
2002-12-15 20:44     ` Customize a checklist Peter S Galbraith
2002-11-17 16:39 ` Any standard function to prompt for multiple comma-separated items? Kai Großjohann
2002-11-18 15:53   ` Stefan Monnier <foo@acm.com>
2002-10-24 17:20 Activating Mousewheel Florian Lindner
2002-10-24 19:06 ` Daniel Jensen
2002-10-24 20:01 ` Robert Marshall
2002-10-25 15:47 ` Kolya Poganini
2002-10-25 18:22   ` Stefan Monnier <foo@acm.com>

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=2600.1054774056@mixed.dyndns.org \
    --to=psg@debian.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.