all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Lennart Borgman (gmail) <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org, Leo <sdl.web@gmail.com>
Subject: Re: Circular require
Date: Fri, 14 Mar 2008 13:54:10 +0100	[thread overview]
Message-ID: <BADF1A31-1806-47A4-A1B4-B88763CE2158@science.uva.nl> (raw)
In-Reply-To: <47D9BBC0.5060902@gmail.com>


On Mar 14, 2008, at 12:41 AM, Lennart Borgman (gmail) wrote:

> Leo wrote:
>> Hi Carsten,
>> On 2008-03-13 13:22 +0000, Carsten Dominik wrote:
>>> In this package I have a number of files that implement certain
>>> funtionality, and I can use autoload or a well-placed `require'
>>> statement in the code to get the code loaded when I want.
>> ERC has that kind of facility in place. For examples, users can set  
>> up:
>> ,----
>> | (setq erc-modules '(netsplit fill track pcomplete ring button  
>> autojoin
>> |                              smiley services match menu  
>> scrolltobottom
>> |                              stamp track page spelling readonly))
>> `----
>> to choose what kind of functionality they need.
>
> Nice solution, but it looks a bit strange that erc-update-modules  
> only turns on the minor modes. Is that correct?

It seems to me that is first requires the feature and then indeed  
turns on the minor mode.  So maybe each feature is a minor mode???


- Carsten








  reply	other threads:[~2008-03-14 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 13:22 Circular require Carsten Dominik
2008-03-13 20:11 ` Leo
2008-03-13 23:41   ` Lennart Borgman (gmail)
2008-03-14 12:54     ` Carsten Dominik [this message]
2008-03-14 12:53   ` Carsten Dominik

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=BADF1A31-1806-47A4-A1B4-B88763CE2158@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=sdl.web@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 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.