all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: Reiner.Steib@gmx.de, emacs-devel@gnu.org
Subject: Re: defvar -> defcustom
Date: Mon, 11 Oct 2004 02:17:46 -0400	[thread overview]
Message-ID: <E1CGtVC-0005XV-GC@fencepost.gnu.org> (raw)
In-Reply-To: <87fz4men25.fsf@emacswiki.org> (message from Alex Schroeder on Sun, 10 Oct 2004 15:10:26 +0200)

    M-x customize-variable already does some guessing based on the
    variable name, so some sort of minimal guessing might be possible.
    Current conventions would also allow to search backwards from the
    defvar to the closest preceding defgroup and just assume it.

You can give it a try if you want.  But these heuristics are not
reliable.  For instance, many variables whose names suggest a value
of t or nil in fact allow other values too.  The only way to tell
is to understand the doc string.

Weighing the time that manual editing takes against the importance of
getting the right answer, and considering that this conversion only
needs to be done once in a while, I think doing it manually may be
better.

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09 13:24 defvar -> defcustom Reiner Steib
2004-10-10  4:12 ` Richard Stallman
2004-10-10 13:09   ` Reiner Steib
2004-10-10 23:29     ` Luc Teirlinck
2004-10-10 13:10   ` Alex Schroeder
2004-10-11  6:17     ` Richard Stallman [this message]
2004-10-11  0:58 ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CGtVC-0005XV-GC@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@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 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.