all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-devel@gnu.org
Subject: Re: defvar -> defcustom
Date: Sun, 10 Oct 2004 15:09:47 +0200	[thread overview]
Message-ID: <v9lleevhwk.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <E1CGV4E-0003vH-Rv@fencepost.gnu.org> (Richard Stallman's message of "Sun, 10 Oct 2004 00:12:18 -0400")

On Sun, Oct 10 2004, Richard Stallman wrote:

>     is there an Emacs function to turn defvars into defcustoms (semi-)
>     automatically similar to `checkdoc'?  Such a function would be a nice
>     addition to `checkdoc.el'.
>
> How could this be possible?  A program cannot figure out what :type
> and :group options to use.

Surely a program cannot cover everything and the user has to go
through the changes and fix some stuff manually.  Or there should be a
"Enter recursive Edit" functionality as in `checkdoc'.

It cannot figure out the :type for all defvars, but I think 80% could
be guessed heuristically (e.g. if value is t or nil, take 'boolean).
The custom :group could be asked once per buffer.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2004-10-10 13:09 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 [this message]
2004-10-10 23:29     ` Luc Teirlinck
2004-10-10 13:10   ` Alex Schroeder
2004-10-11  6:17     ` Richard Stallman
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=v9lleevhwk.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --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.