From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams 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 13:49:12 -0700 (PDT) Message-ID: <1aaa9e94-54cf-46a1-a77c-a5285a89ee3a@default> References: <39fe0ad4-edb6-4364-b611-146e97097695@default> <87y41ljtiy.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476823889 29840 195.159.176.226 (18 Oct 2016 20:51:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 20:51:29 +0000 (UTC) Cc: 24721@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 22:51:25 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 1bwbLq-0005pi-TR for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 22:51:11 +0200 Original-Received: from localhost ([::1]:43894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwbLt-0003gM-27 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 16:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwbKo-0002vY-74 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwbKl-0007To-3Y for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:50:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwbKk-0007TT-Vw for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwbKk-0007Zi-Km for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2016 20:50: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.147682376629068 (code B ref 24721); Tue, 18 Oct 2016 20:50:02 +0000 Original-Received: (at 24721) by debbugs.gnu.org; 18 Oct 2016 20:49:26 +0000 Original-Received: from localhost ([127.0.0.1]:38438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwbK9-0007Yl-Ly for submit@debbugs.gnu.org; Tue, 18 Oct 2016 16:49:25 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwbK7-0007YS-Hc for 24721@debbugs.gnu.org; Tue, 18 Oct 2016 16:49:24 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9IKnHbl006849 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Oct 2016 20:49:17 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u9IKnG7I024047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Oct 2016 20:49:16 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u9IKnEG7031274; Tue, 18 Oct 2016 20:49:15 GMT In-Reply-To: <87y41ljtiy.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:124657 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). >=20 > "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=3D27890 We can discuss whether that is nonsense. ;-) But it is anyway 100% irrelevant here. > 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"? Not IMHO. And the only order that makes sense for multiple predicate filters is the order of application. People can disagree, however, about how the sequence of filter applications should be shown: left-to-right or right-to-left. Mine is just one opinion.