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 21:08:32 +0200 Message-ID: <4856BA30.6010109@gmail.com> References: <4853F884.7000609@gmail.com> <7dbe73ed0806141442h342f8ff0u83863f3980a7e229@mail.gmail.com> <48545D78.8080103@gmail.com> <4854E536.8040407@gmail.com> <87k5gql900.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 1213643342 716 80.91.229.12 (16 Jun 2008 19:09:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 19:09:02 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org To: David Koppelman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 16 21:09:45 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 1K8K5A-0005T6-Rm for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 21:09:37 +0200 Original-Received: from localhost ([127.0.0.1]:55939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8K4M-0000BR-Fl for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 15:08:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8K4H-0000BM-Tj for emacs-devel@gnu.org; Mon, 16 Jun 2008 15:08:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8K4G-0000B5-I0 for emacs-devel@gnu.org; Mon, 16 Jun 2008 15:08:41 -0400 Original-Received: from [199.232.76.173] (port=51190 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8K4G-0000B2-BN for emacs-devel@gnu.org; Mon, 16 Jun 2008 15:08:40 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:40165) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8K4F-0003TU-UZ for emacs-devel@gnu.org; Mon, 16 Jun 2008 15:08:40 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:62887 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K8K4B-0006tu-7n; Mon, 16 Jun 2008 21:08:35 +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: 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 1K8K4B-0006tu-7n. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1K8K4B-0006tu-7n be5b337ff66e656b8cd857c634e78eb2 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:99313 Archived-At: David Koppelman wrote: > I like the idea of combining regexp histories, but we might want to be > careful. I can see sharing patterns between hi-lock and occur because > they are used for locating things, but isearch patterns are used for > navigation and so might contain many regexps matching little pieces of > text that only occasionally would make good highlight targets. > > I'd suggest having a shared history for occur and hi-lock with a few > recent isearch targets mixed in. I am not sure but I think it does not matter that much for hi-lock and occur if the history is a bit longer since they are used more seldom. So I think it would be better to have one history list for all three by defaults. How is it done now, is there a variable telling which history list to use for each of these three cases?