From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Mon, 13 Jan 2014 23:25:10 +0100 Message-ID: <87fvorbjuh.fsf@bzg.ath.cx> References: <87zjn0gmas.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389651922 4775 80.91.229.3 (13 Jan 2014 22:25:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2014 22:25:22 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 13 23:25:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W2pwm-0000K0-T1 for ged-emacs-devel@m.gmane.org; Mon, 13 Jan 2014 23:25:29 +0100 Original-Received: from localhost ([::1]:45387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2pwm-0001j8-FY for ged-emacs-devel@m.gmane.org; Mon, 13 Jan 2014 17:25:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2pwe-0001fY-Ek for emacs-devel@gnu.org; Mon, 13 Jan 2014 17:25:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2pwZ-0005RB-3x for emacs-devel@gnu.org; Mon, 13 Jan 2014 17:25:20 -0500 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:52419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2pwY-0005Qz-SU; Mon, 13 Jan 2014 17:25:15 -0500 Original-Received: by mail-wi0-f171.google.com with SMTP id cc10so1806534wib.4 for ; Mon, 13 Jan 2014 14:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=Zyo2iJqtUSa3qC3VLeG7Lso8tMlMglOsRiBOFN/m1nw=; b=AMNYgRHyFaMbDWqgGKhAppjQi96S82aehlBpWZEzT1c//+/nwNu9bkHMeme47HuTff R7OqpqHrawMxHyDJLALrH//0pf8I1mMbfKw8Xlf+Mr60vdt3/JpatsEO6AYCiA+WqSA5 xy+ZM7DAYhNLS2rgVae9O6KUf7/3a1BA+2YgjmVfLTOM+9YbZUgM4iP8f/aolisny+HJ cXzt8kOUiGu5GdtVFlti1Y40KCw9HmRiZVM5WCgaizyFvInWvr6wbs3OAHULEz9Yoga6 VDeNmY048Tz6/x9ZheaSXJKz6WbZbuYlaJ24+rBg/tdjzsC/jKiPg3Xm24C+jiYtxCcB 0NsQ== X-Received: by 10.180.94.67 with SMTP id da3mr13204611wib.38.1389651913994; Mon, 13 Jan 2014 14:25:13 -0800 (PST) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPSA id po3sm12706833wjc.3.2014.01.13.14.25.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jan 2014 14:25:12 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id 6EBBB1C20860; Mon, 13 Jan 2014 23:25:10 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Mon, 13 Jan 2014 14:36:16 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168323 Archived-At: Richard Stallman writes: > This calling convention has the drawback that (define-alternatives web) > isn't recognized as a definition for the variable web-alternatives. I'm not sure I understand. > Should we tell people to write a defvar for web-alternatives > just after the define-alternatives for web? I enhanced the docstring a bit---it now reads: Define the new command `COMMAND'. The argument `COMMAND' should be a symbol. Running `M-x COMMAND RET' for the first time prompts for which alternative to use and records the selected command as a custom variable. Running `C-u M-x COMMAND RET' prompts again for an alternative and overwrites the previous choice. The variable `COMMAND-alternatives' contains an alist with alternative implementations of COMMAND. `define-alternatives' does not have any effect until this variable is set. CUSTOMIZATIONS, if non-nil, should be composed of alternating `defcustom' keywords and values to add to the declaration of `COMMAND-alternatives' (typically :group and :version). I hope this is clearer. -- Bastien