From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Yanking isearch to highlight-regexp Date: Mon, 16 Jun 2008 01:09:59 +0200 Message-ID: <4855A147.20703@gmail.com> References: <4853F884.7000609@gmail.com> <7dbe73ed0806141442h342f8ff0u83863f3980a7e229@mail.gmail.com> <48545D78.8080103@gmail.com> <4854E536.8040407@gmail.com> <87k5gql900.fsf@jurta.org> <48558541.5000209@gmail.com> <87od62iblh.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213571424 16663 80.91.229.12 (15 Jun 2008 23:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 23:10:24 +0000 (UTC) Cc: David Koppelman , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 16 01:11:08 2008 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 1K81NK-0001Hm-7a for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 01:11:06 +0200 Original-Received: from localhost ([127.0.0.1]:60662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K81MV-0004iW-Qe for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2008 19:10:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K81MR-0004i2-4D for emacs-devel@gnu.org; Sun, 15 Jun 2008 19:10:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K81MP-0004hd-Qf for emacs-devel@gnu.org; Sun, 15 Jun 2008 19:10:10 -0400 Original-Received: from [199.232.76.173] (port=49518 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K81MP-0004ha-Kb for emacs-devel@gnu.org; Sun, 15 Jun 2008 19:10:09 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:43117) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K81MP-0007Nd-7f for emacs-devel@gnu.org; Sun, 15 Jun 2008 19:10:09 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:65009 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K81MM-0002WX-4V; Mon, 16 Jun 2008 01:10:06 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87od62iblh.fsf@jurta.org> X-Antivirus: avast! (VPS 080615-0, 2008-06-15), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1K81MM-0002WX-4V. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1K81MM-0002WX-4V c54edae28213d6ddada8a015a3fb89c9 X-detected-kernel: by monty-python.gnu.org: 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:99278 Archived-At: Juri Linkov wrote: >>> I think the key `C-x w' by its mnemonics would be more suitable for >>> a command that writes to the file like `C-x C-w'. >>> >>> As the comment in hi-lock.el suggests to bind it rather to `C-z h', >> I just want the key binding to be the same as I use outside of isearch. >> >> There were no global binding for `occur' so in that case I thought >> `M-s o' was good, but in this case I would really prefer the same >> binding inside isearch. > > `C-x w h' is not available until hi-lock.el is loaded, but `M-s h' > is the pretty harmless and convenient key binding to keep the > isearch highlighting permanent in the entire buffer. Yes, but I suggested adding `C-x w h' to global-map too. Is there any reason not to do that? (It is useful, not dangerous and the binding seems to be reserved.)