From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Yanking isearch to highlight-regexp Date: Sun, 29 Jun 2008 22:29:59 +0300 Organization: JURTA Message-ID: <87d4m0c9md.fsf@jurta.org> References: <4853F884.7000609@gmail.com> <7dbe73ed0806141442h342f8ff0u83863f3980a7e229@mail.gmail.com> <48545D78.8080103@gmail.com> <4854E536.8040407@gmail.com> <87k5gql900.fsf@jurta.org> <878wwp1an8.fsf@jurta.org> <871w2gi58m.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214768662 25103 80.91.229.12 (29 Jun 2008 19:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 19:44:22 +0000 (UTC) Cc: David Koppelman , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 29 21:45:07 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 1KD2pc-00071m-3A for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 21:45:04 +0200 Original-Received: from localhost ([127.0.0.1]:57115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KD2ol-00030H-LK for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 15:44:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KD2oh-000302-Il for emacs-devel@gnu.org; Sun, 29 Jun 2008 15:44:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KD2of-0002wL-5F for emacs-devel@gnu.org; Sun, 29 Jun 2008 15:44:06 -0400 Original-Received: from [199.232.76.173] (port=39456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KD2oe-0002wB-Tc for emacs-devel@gnu.org; Sun, 29 Jun 2008 15:44:04 -0400 Original-Received: from anti-4.kiev.sovam.com ([62.64.120.202]:53213) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KD2oe-0002aX-K2 for emacs-devel@gnu.org; Sun, 29 Jun 2008 15:44:04 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by anti-4.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KD2oc-000C9d-48; Sun, 29 Jun 2008 22:44:02 +0300 In-Reply-To: (Stefan Monnier's message of "Sun, 29 Jun 2008 14:07:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 88f972a75cd389d721acc69b695bb680 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4144 [June 29 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (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:100160 Archived-At: >> Now here is a patch for hi-lock.el that uses `read-regexp'. >> It also marks `hi-lock-regexp-history' as an obsolete variable >> that is replaced with `regexp-history'. > > Sounds good. > >> Another change is renaming `hi-lock-face-history' to >> `hi-lock-face-defaults' and putting the face list to the >> minibuffer's default list instead of the history list: > > Why is that good? Because the standard behavior for M-p is to retrieve previous input from the history list, and M-n to retrieve default values like from a list of default faces in this case. However, I think it is inconvenient when face names are mixed with other input in the default history list `minibuffer-history'. We could create a new history list `face-name-history' specially for face names entered in the face-reading commands. -- Juri Linkov http://www.jurta.org/emacs/