unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephan Stahl" <stahl@eos.franken.de>
Cc: emacs-devel@gnu.org, handa@m17n.org
Subject: Re: defconst in lao.el
Date: Wed, 17 Nov 2004 07:39:26 +0100 (CET)	[thread overview]
Message-ID: <63300.217.194.34.123.1100673566.squirrel@wwws.franken.de> (raw)
In-Reply-To: <200411170301.iAH31kc20206@raven.dms.auburn.edu>

Hi Luc.

Luc Teirlinck said:

> Yes, but the code can be changed so that modifying the value after
> lao.el is loaded _does_ work.
[....]
> ! ;; If you change the value of this variable, be sure to do
> ! ;; `(lao-initialize-alists)' afterwards.  Otherwise, the related
> ! ;; alists will not be properly updated.
> ! (defvar lao-key-alist
>     '(("!" . "1")
>       ("\"" . "=")
>       ("#" . "3")
[....]

Wouldn't it be better to include this comment as lao-key-alist's doc-string or
maybe even make it a defcustom with an :set that calls lao-initialize-alists ?
I think this would make it harder to miss the fact that lao-initialize-alists
has to be called.

Stephan
-- 
Stephan Stahl

  reply	other threads:[~2004-11-17  6:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 18:56 defconst in lao.el Luc Teirlinck
2004-11-14 21:06 ` Stefan Monnier
2004-11-14 21:47   ` Luc Teirlinck
2004-11-15 14:00 ` Richard Stallman
2004-11-17  1:41 ` Kenichi Handa
2004-11-17  3:01   ` Luc Teirlinck
2004-11-17  6:39     ` Stephan Stahl [this message]
2004-11-17 14:26       ` Luc Teirlinck
2004-11-17 22:05         ` Luc Teirlinck
2004-11-17  3:07   ` Luc Teirlinck
2004-11-17  3:57   ` Luc Teirlinck
2004-11-17 14:17   ` Stefan Monnier
2004-11-17 18:35     ` Luc Teirlinck
2004-11-17 19:03       ` Stefan Monnier
2004-12-04  2:49       ` Kenichi Handa
2004-12-04  3:43         ` Luc Teirlinck

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=63300.217.194.34.123.1100673566.squirrel@wwws.franken.de \
    --to=stahl@eos.franken.de \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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).