From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew M. Scott" Newsgroups: gmane.emacs.devel Subject: C-c C-z conflicts between browse-url and message.el Date: Mon, 27 Feb 2006 10:21:12 -0700 Message-ID: <17411.13576.934318.167723@chlr5836.ch.intel.com> Reply-To: "Andrew M. Scott" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141443334 6739 80.91.229.2 (4 Mar 2006 03:35:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2006 03:35:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 04 04:35:31 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 1FFNYE-0004rd-7F for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 04:35:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFNYG-0007F4-9C for ged-emacs-devel@m.gmane.org; Fri, 03 Mar 2006 22:35:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFNOI-0001C5-3H for emacs-devel@gnu.org; Fri, 03 Mar 2006 22:25:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FFNOE-00019d-K0 for emacs-devel@gnu.org; Fri, 03 Mar 2006 22:25:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEAst-0007w8-I7 for emacs-devel@gnu.org; Tue, 28 Feb 2006 14:51:47 -0500 Original-Received: from [143.182.124.5] (helo=petasus.ch.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FDm4g-0002RE-Om for emacs-devel@gnu.org; Mon, 27 Feb 2006 12:22:19 -0500 Original-Received: from sedona.intel.com (sedona.ch.intel.com [143.182.201.200]) by petasus.ch.intel.com (8.12.9-20030918-01/8.12.10/d: small-solo.mc, v 1.2 2004/09/17 18:05:04 root Exp $) with ESMTP id k1RHNRHC030786 for ; Mon, 27 Feb 2006 17:23:32 GMT Original-Received: from chlr5836.ch.intel.com (chlr5836.ch.intel.com [10.2.120.162]) by sedona.intel.com (8.12.10/8.12.9/d:) with ESMTP id k1RHLENL000096; Mon, 27 Feb 2006 10:21:14 -0700 (MST) X-Envelope-From: amscott1@sedona.ch.intel.com Original-Received: from chlr5836.ch.intel.com (localhost [127.0.0.1]) by chlr5836.ch.intel.com (8.12.10/8.12.8/MailSET/client) with ESMTP id k1RHLEjM025099; Mon, 27 Feb 2006 10:21:14 -0700 Original-Received: (from amscott1@localhost) by chlr5836.ch.intel.com (8.12.10/8.12.8/MailSET/Submit) id k1RHLEh8025096; Mon, 27 Feb 2006 10:21:14 -0700 Original-To: emacs-devel@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.50.1 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:51125 Archived-At: The browse-url comments currently recommend the use of C-c C-z as a prefix in a user's ~/.emacs [I use these]: ;; Bind the browse-url commands to keys with the `C-c C-z' prefix ;; (as used by html-helper-mode): ;; (global-set-key "\C-c\C-z." 'browse-url-at-point) ;; (global-set-key "\C-c\C-zb" 'browse-url-of-buffer) ;; (global-set-key "\C-c\C-zr" 'browse-url-of-region) ;; (global-set-key "\C-c\C-zu" 'browse-url) ;; (global-set-key "\C-c\C-zv" 'browse-url-of-file) ;; (add-hook 'dired-mode-hook ;; (lambda () ;; (local-set-key "\C-c\C-zf" 'browse-url-of-dired-file))) However, this conflicts with the default message-mode-map binding in message.el, where C-c C-z is not a prefix. (define-key message-mode-map "\C-c\C-z" 'message-kill-to-signature) I encountered this in GNUS when trying to verify a link (via browse-url-at-point in the *mail* buffer) before forwarding it. In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) of 2006-02-27 on chlr5836