From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] mouse-1 click follows link Date: Sun, 31 Oct 2004 09:24:06 -0600 (CST) Message-ID: <200410311524.i9VFO6v05450@raven.dms.auburn.edu> References: <200410292354.i9TNsCq01994@raven.dms.auburn.edu> <200410310034.i9V0YX903876@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099236316 14411 80.91.229.6 (31 Oct 2004 15:25:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 15:25:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 16:25:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COHZr-0003ip-00 for ; Sun, 31 Oct 2004 16:25:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COHho-0000vC-Qx for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2004 10:33:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COHhh-0000v1-P9 for emacs-devel@gnu.org; Sun, 31 Oct 2004 10:33:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COHhh-0000up-Be for emacs-devel@gnu.org; Sun, 31 Oct 2004 10:33:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COHhh-0000um-9a for emacs-devel@gnu.org; Sun, 31 Oct 2004 10:33:13 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COHZC-0001XP-Ol for emacs-devel@gnu.org; Sun, 31 Oct 2004 10:24:26 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i9VFOJFu003356; Sun, 31 Oct 2004 09:24:19 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9VFO6v05450; Sun, 31 Oct 2004 09:24:06 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: storm@cua.dk In-reply-to: (storm@cua.dk) 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: main.gmane.org gmane.emacs.devel:29229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29229 Kim Storm wrote: I don't see how this would work -- the mouse-2 binding is typically made in a keymap property on the link itself, as even things that _are_ links use different bindings for mouse-2. So how can you use a global map for links ? I was thinking of a common _parent_ keymap, say `link-keymap' for links. In fact, no separate `link' property would be needed. Each kind of link would use its individual keymap, but would do: (set-keymap-parent this-keymap link-keymap) link-keymap would be a customizable variable with predefined values. Maybe there are problems with this, but I do not immediately see them. Sincerely, Luc.