From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#24721: 25.1; Reverse the order of `isearch-message-prefix' prefixes from function advice property Date: Tue, 18 Oct 2016 23:23:33 +0300 Organization: LINKOV.NET Message-ID: <87y41ljtiy.fsf@mail.linkov.net> References: <39fe0ad4-edb6-4364-b611-146e97097695@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476822686 474 195.159.176.226 (18 Oct 2016 20:31:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 20:31:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) Cc: 24721@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 22:31:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwb2Z-0007Ai-Ks for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 22:31:15 +0200 Original-Received: from localhost ([::1]:43798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwb2b-0001vh-Rk for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 16:31:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwb2R-0001qC-5i for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwb2N-0006mU-6I for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwb2N-0006mC-3Q for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwb2M-0005Tw-Et for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:31: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, 18 Oct 2016 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24721-submit@debbugs.gnu.org id=B24721.147682262721026 (code B ref 24721); Tue, 18 Oct 2016 20:31:02 +0000 Original-Received: (at 24721) by debbugs.gnu.org; 18 Oct 2016 20:30:27 +0000 Original-Received: from localhost ([127.0.0.1]:38402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwb1n-0005T3-64 for submit@debbugs.gnu.org; Tue, 18 Oct 2016 16:30:27 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:43207 helo=homiemail-a21.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwb1l-0005Sv-I6 for 24721@debbugs.gnu.org; Tue, 18 Oct 2016 16:30:25 -0400 Original-Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id ECED830007B; Tue, 18 Oct 2016 13:30:22 -0700 (PDT) Original-Received: from localhost.linkov.net (m91-129-85-3.cust.tele2.ee [91.129.85.3]) (Authenticated sender: jurta@jurta.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id D9FCB300079; Tue, 18 Oct 2016 13:30:21 -0700 (PDT) In-Reply-To: <39fe0ad4-edb6-4364-b611-146e97097695@default> (Drew Adams's message of "Mon, 17 Oct 2016 15:16:50 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:124653 Archived-At: > When there is multiple advice (from `add-function') of > `isearch-filter-predicate' that has property `isearch-message-prefix', > these prefixes are currently shown left to right in the Isearch prompt, > with the first added being on the left and the last added being on the > right. > > I think this is backwards from what a user expects. I've reversed the > order in my own copy, and I think it is more helpful: The first one you > see is the latest applied. Entries are added and removed on the left, > not the right. The most important such prefix is typically the last > one applied, and having it on the left makes it more noticeable (IMO). "Adjectives in English absolutely have to be in this order: opinion-size-age-shape-colour-origin-material-purpose Noun. So you can have a lovely little old rectangular green French silver whittling knife." - an excerpt from a book called "The Elements of Eloquence" by Mark Forsyth. http://languagelog.ldc.upenn.edu/nll/?p=27890 Does a similar natural order exist for Isearch, so prefixes absolutely have to be in the order "overwrapped regexp I-search", but not "regexp overwrapped I-search"?