From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: luca.spinacci@selex-comms.com Newsgroups: gmane.emacs.help Subject: global-set-key + query-replace-regexp Date: Thu, 27 Oct 2005 16:55:21 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1130428383 31365 80.91.229.2 (27 Oct 2005 15:53:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 15:53:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 27 17:52:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EV9x0-0000hK-LR for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Oct 2005 17:45:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EV9x0-000070-B1 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Oct 2005 11:45:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EV9Iw-0001YD-N0 for help-gnu-emacs@gnu.org; Thu, 27 Oct 2005 11:04:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EV9CH-0006Bf-DT for Help-gnu-emacs@gnu.org; Thu, 27 Oct 2005 10:57:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EV9AF-00051F-JM for Help-gnu-emacs@gnu.org; Thu, 27 Oct 2005 10:55:35 -0400 Original-Received: from [81.120.201.9] (helo=relay2.selex-comms.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EV9AF-0005nQ-KD for Help-gnu-emacs@gnu.org; Thu, 27 Oct 2005 10:55:35 -0400 Original-Received: from gefss001 ([10.1.202.2]) by relay2.selex-comms.com (8.12.11/8.12.11) with ESMTP id j9REtVgP008882 for ; Thu, 27 Oct 2005 16:55:31 +0200 (CEST) Sensitivity: Original-To: Help-gnu-emacs@gnu.org X-MIMETrack: Serialize by Router on mgeg01/S/EXT/MM1(Release 6.5.3|September 14, 2004) at 10/27/2005 16:55:31 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30618 Archived-At: I would like a short key to invoke query-replace-regexp command. I tried (global-set-key [f1] 'my-query-replace-regexp) (fset 'my-query-replace-regexp [?\C-\M-%]) but the key "f1" invoke (M-x query-replace-regexp "" "" nil nil) ...Is there a way to call query-... interactively via a short key (M-x query-replace-regexp excepted!)? Thank you, Luca.