From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: set-variable could use some of defcustom's typing to provide completion Date: Mon, 20 Feb 2006 21:34:05 +0200 Organization: JURTA Message-ID: <87acclj4qq.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140486523 26113 80.91.229.2 (21 Feb 2006 01:48:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 01:48:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 21 02:48:41 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FBMdl-0008SF-6N for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2006 02:48:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBMdk-0001yE-LC for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2006 20:48:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FBGvo-0008HB-Tp for emacs-devel@gnu.org; Mon, 20 Feb 2006 14:42:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBGvl-00089n-1a for emacs-devel@gnu.org; Mon, 20 Feb 2006 14:42:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBGvk-00088H-H9 for emacs-devel@gnu.org; Mon, 20 Feb 2006 14:42:44 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FBH1p-0003RN-KG for emacs-devel@gnu.org; Mon, 20 Feb 2006 14:49:02 -0500 Original-Received: from mail.neti.ee (80-235-46-171-dsl.mus.estpak.ee [80.235.46.171]) by Relayhost2.neti.ee (Postfix) with ESMTP id 986585A7C; Mon, 20 Feb 2006 21:42:41 +0200 (EET) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Mon, 20 Feb 2006 01:36:21 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50830 Archived-At: > I don't propose we try to take this too far, but in the case of some simple > defcustom :type specs, `set-variable' could use the type info to provide > completion. This is already possible with the command `customize-set-variable'. Given the existence of this command, I don't understand why the command `set-variable' whose purpose is to provide an interactive way to do `setq' and to set any variable to any value the user wants, tries to do the same as `customize-set-variable' with all its restrictions to the variable name and value? -- Juri Linkov http://www.jurta.org/emacs/