From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.devel Subject: Re: suggestion for C-s (isearch-.*) key-bindings Date: Sun, 22 Jul 2007 03:35:00 +0200 Message-ID: <874pjxjk57.fsf@debby.local.net> References: <87r6n1kfyg.fsf@debby.local.net> <87sl7hr2oy.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185068075 17829 80.91.229.12 (22 Jul 2007 01:34:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 01:34:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 22 03:34:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICQL8-0002oj-3g for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 03:34:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICQL6-0001Id-Um for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 21:34:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICQL4-0001IY-F3 for emacs-devel@gnu.org; Sat, 21 Jul 2007 21:34:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICQL1-0001IM-S8 for emacs-devel@gnu.org; Sat, 21 Jul 2007 21:34:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICQL1-0001IJ-Nv for emacs-devel@gnu.org; Sat, 21 Jul 2007 21:34:23 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICQL1-0008Dp-9V for emacs-devel@gnu.org; Sat, 21 Jul 2007 21:34:23 -0400 Original-Received: from [89.12.115.94] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1ICQKw1fjk-0000NT; Sun, 22 Jul 2007 03:34:19 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1ICQLc-0000zX-UK; Sun, 22 Jul 2007 03:35:00 +0200 In-Reply-To: <87sl7hr2oy.fsf@jurta.org> (Juri Linkov's message of "Sat\, 21 Jul 2007 22\:03\:29 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX18NFrxC+iNl5kGrsK1KmzXcxig2gmihovEoqkD 3Kd1+BR2n/HOaAfQ3ZOOOyI25MMA7Jpu15UqyxcA2PW9SMDJyp 8bQL2zIjMMWEREYcuuvdoGVhrIq+MdQ X-detected-kernel: Linux 2.6? (barebone, rare!) 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:75268 Archived-At: Juri Linkov writes: >> marking or killing or motion types (I would also choose the motion keys, they seem to be the most natural. The marking commands are more costly to type and the killing commands can be better used: Sometimes I pinpoint a region with C-s and then wants to kill or save immediately the region without the need to end isearch with RET.) > With a new key these key sequences could be > > M-s C-f - yank char to the search string > M-s M-f - yank word to the search string > M-s C-e - yank line to the search string > M-s C-M-f - yank sexp to the search string Why do you prefer a special key combo beforehand the motion commands? I, personally, am very happy with the current 'isearch mode' which changes the meaning of some key-bindings. (Vi's modal philosophy in Emacs by stealth!). And it makes sense, they are normally exclusive: Either I want to move point by motion commands or I want to move by searching commands, I don't see yet the rub. > >> 2.) M-y -> C-y >> The M-y -> C-y would be good, wouldn't it? >> By the way, C-M-w is in fact unnecessary since backspace is doing the >> job already. > > backspace deletes the last isearch input (which can be a yanked word, line > etc.), and not the character from the search string. Thanks for pointing out my preconception. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany