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: Tue, 14 Jan 2014 19:21:42 +0100 Message-ID: <87y52ijufd.fsf@bzg.ath.cx> References: <87zjn0gmas.fsf@bzg.ath.cx> <87fvorbjuh.fsf@bzg.ath.cx> <87r48aaog5.fsf@bzg.ath.cx> <878uui6cqr.fsf@yahoo.fr> <87k3e2ldpd.fsf@bzg.ath.cx> <52D56C90.7000902@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389723720 16449 80.91.229.3 (14 Jan 2014 18:22:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 18:22:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nicolas Richard Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 14 19:22:07 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 1W38cn-0008IE-07 for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 19:22:05 +0100 Original-Received: from localhost ([::1]:50028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38cm-0001aB-I5 for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 13:22:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38ce-0001Q6-AP for emacs-devel@gnu.org; Tue, 14 Jan 2014 13:22:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W38cX-0000Lu-7f for emacs-devel@gnu.org; Tue, 14 Jan 2014 13:21:56 -0500 Original-Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:44833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38cX-0000Lf-01 for emacs-devel@gnu.org; Tue, 14 Jan 2014 13:21:49 -0500 Original-Received: by mail-wg0-f50.google.com with SMTP id l18so775579wgh.5 for ; Tue, 14 Jan 2014 10:21:48 -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=iEv6QOy4BpKRSpDMTH5B/PfTx4WX0hBs0e1RtW2Pd3w=; b=yY1nuREkjZnx+dHDqBR5/ffhYqgZtSjh+MJCCp97nDXE576DmLHEI35jQ0WZio8aKH dhCCFn/y1gLlTpuajijMu+bJlNLQ8QTkpos55Wqf6ezQfE5wpgEIRShDDla7kCKPIsjy zTU9HVTy3FiF83C/W7ymEkikAsoJHSMBQYxXEeO0cSSof4sRW6AwQJBicpeexy47zKL9 RVtxgVNEkpxst4/IJynnLWrEZrElqMTVJQzw2xTprG+eMcdSOJ1RbEU7OQSTFFj2vjdf xW7WQ0zOva6U3FIb7MFtsXSHL2UYvzHZ2GLqjNArGlaC8g/0AgP+V/ZMqDCc45AYntuw pxKA== X-Received: by 10.181.11.201 with SMTP id ek9mr4324925wid.54.1389723708090; Tue, 14 Jan 2014 10:21:48 -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 cx3sm25173042wib.0.2014.01.14.10.21.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 10:21:46 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id B87E01C20860; Tue, 14 Jan 2014 19:21:42 +0100 (CET) In-Reply-To: <52D56C90.7000902@yahoo.fr> (Nicolas Richard's message of "Tue, 14 Jan 2014 17:57:52 +0100") 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:c00::232 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:168377 Archived-At: Nicolas Richard writes: > Put this in web.el : > ;; some useful comments > (define-alternatives web) > (setq web-alternatives '(("eww" . eww) ("w3m" . w3m))) > ;; End of file. > > now load it as emacs -Q -l /path/to/web.el > > and do: > C-h v web-alternatives RET > C-x b *Help* RET > TAB > > at this point, your echo area should read: > mouse-2, RET: find variable's definition > now go ahead and hit RET. echo area now displays: > Unable to find location in file > and point is in a buffer visiting web.el, at beginning of buffer. I cannot reproduce this, with the recipe above, RET jumps to the correct location. See http://bzg.fr/u/emacs-web-alternatives-jump.ogv define-alternatives uses defcustom and defun internally, the behavior I observe seems the right one to me. -- Bastien