From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: make `occur' use word at point as default Date: Wed, 31 Aug 2005 10:35:51 -0400 Message-ID: References: <2gpsrwr6b6.fsf@tiscali.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1125499265 3968 80.91.229.2 (31 Aug 2005 14:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2005 14:41:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 16:41:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EATj7-0004K5-JA for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2005 16:38:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EATnJ-00031Y-2v for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2005 10:42:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EATmP-0002xV-SP for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:41:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EATmO-0002wu-Nu for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:41:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EATmO-0002wr-IW for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:41:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EATkM-0006aK-Q2 for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:39:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EATgt-0000Ix-Rn; Wed, 31 Aug 2005 10:35:51 -0400 Original-To: kai@emptydomain.de (Kai =?iso-8859-15?Q?Gro=DFjohann?=) In-reply-to: (kai@emptydomain.de) 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:42525 Archived-At: > But the problem remains: too often I have to first mark a word or symbol, > copy the region, start a command (`grep', `occur', `query-replace', > whatever), paste it, press . That's three keystrokes too many. How about making the thing at point be accessible via M-n? By convention, M-n is supposed to insert _the default_. I do not want to make exceptions to that. We could conceivably make a second M-n insert another possible input that one might want. In effect, this would mean putting another element at the "front" of the history list. That could be a new convention that could be generalized to other things. Now is not the time to implement this, but I'm interested in hearing if there are any objections to the idea.