From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18697: 25.0.50; [PATCH] hi-lock interactive functions now default to the active region, if there is one Date: Tue, 14 Oct 2014 22:32:23 +0300 Organization: JURTA Message-ID: <87bnpe4fco.fsf@mail.jurta.org> References: <87zjd0digk.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413315265 18281 80.91.229.3 (14 Oct 2014 19:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2014 19:34:25 +0000 (UTC) Cc: 18697@debbugs.gnu.org, Dima Kogan To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 21:34:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xe7rO-0008MO-OQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 21:34:18 +0200 Original-Received: from localhost ([::1]:40153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe7rO-0008AN-9x for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 15:34:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe7rE-0008AE-Ep for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:34:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xe7r9-0000gX-DD for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:34:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe7r9-0000gT-Au for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xe7r8-0008AD-I1 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Oct 2014 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18697-submit@debbugs.gnu.org id=B18697.141331521431305 (code B ref 18697); Tue, 14 Oct 2014 19:34:02 +0000 Original-Received: (at 18697) by debbugs.gnu.org; 14 Oct 2014 19:33:34 +0000 Original-Received: from localhost ([127.0.0.1]:43515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe7qf-00088n-Qn for submit@debbugs.gnu.org; Tue, 14 Oct 2014 15:33:34 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:57583 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe7qd-00088b-7W for 18697@debbugs.gnu.org; Tue, 14 Oct 2014 15:33:32 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id C36B6313196C0A; Tue, 14 Oct 2014 12:33:27 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Sun, 12 Oct 2014 16:01:58 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94492 >> Perhaps something like this should be added to (read-regexp), >> but that's a bigger proposal than this small patch. > > I don't care what you do to hi-lock. However, wrt `read-regexp': > I certainly hope not. That would make that function useless for > any command that wants to act on the active region (e.g., vs > the buffer if inactive). There is no problem in using the active region in `read-regexp' as we discussed it in http://thread.gmane.org/gmane.emacs.devel/168564