From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#34641: rx: (or ...) order unpredictable Date: Sun, 3 Mar 2019 09:54:13 +0100 Message-ID: <0C2599C8-342D-422B-839A-1BABE10E7EB6@acm.org> References: <836B8DC2-9358-40AC-83AF-7C4D960D9A53@acm.org> <83bm31ngzp.fsf@gnu.org> <065957BB-1332-458B-8757-742A81CED4A5@acm.org> <83bm2th2wu.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50569"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34641@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 03 09:55:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0Mtr-000D2D-RM for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2019 09:55:12 +0100 Original-Received: from localhost ([127.0.0.1]:36081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0Mtq-0003w7-Sq for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2019 03:55:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0Mtl-0003w1-6N for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 03:55:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0Mtj-0006FW-Tq for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 03:55:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44534) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0Mtj-0006Ec-0a for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 03:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0Mti-00061O-Pi for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 03:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2019 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34641 X-GNU-PR-Package: emacs Original-Received: via spool by 34641-submit@debbugs.gnu.org id=B34641.155160326023084 (code B ref 34641); Sun, 03 Mar 2019 08:55:02 +0000 Original-Received: (at 34641) by debbugs.gnu.org; 3 Mar 2019 08:54:20 +0000 Original-Received: from localhost ([127.0.0.1]:58078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0Mt1-00060G-Lt for submit@debbugs.gnu.org; Sun, 03 Mar 2019 03:54:19 -0500 Original-Received: from mail176c50.megamailservers.eu ([91.136.10.186]:57740 helo=mail37c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0Msz-000608-Ff for 34641@debbugs.gnu.org; Sun, 03 Mar 2019 03:54:18 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1551603255; bh=xHKG+UCD7PD/SODz7VgP8EhMORJMA61bVrIteCcVuvg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=o3LqTPJQFAOpGhcWJEcpiqZZ3tLoIq99YrSEs+N1qpDqLa1eXxzFj0j+IqNWG0qnt j8UPsyvr2DdhVISdo3NpxeMxo/cNSzUg9tDUQvW03mptUH9agff1G75H7/P2vdssEM fWE1C6I2tPyE/3atMJlAJ5vu0P1hSFdau9DooUsU= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.0.4] (c83-251-8-17.bredband.comhem.se [83.251.8.17]) (authenticated bits=0) by mail37c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x238sDjW006899; Sun, 3 Mar 2019 08:54:15 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3445.102.3) X-CTCH-RefID: str=0001.0A0B0215.5C7B9637.003B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=J+uEEjvS c=1 sm=1 tr=0 a=NAHmi3I8mP0S/Y8gRKeQyA==:117 a=NAHmi3I8mP0S/Y8gRKeQyA==:17 a=kj9zAlcOel0A:10 a=F1RueMgOAAAA:8 a=IImmbOB2s3G-P8x6oHQA:9 a=CjuIK1q_8ugA:10 a=7ps5cwaF9Li-lmUWtDeZ:22 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: 209.51.188.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:155990 Archived-At: 3 mars 2019 kl. 00.48 skrev Phil Sainty : > >>> +The optional argument NOREORDER, if nil, allows the returned > > Could we change that name to have a positive sense? > > Boolean arguments with a negative sense/meaning are invariably > more awkward to read than ones with a positive meaning, IMO. > > NOREORDER set to nil means "No NOREORDER" (aka "Reorder"). Those > double-negatives should be avoided whenever it's simple do do so, > as they make things harder for anyone reading the documentation. > > We could use KEEP-ORDER or RETAIN-ORDER or SAME-ORDER or anything > along those lines, and then a 'true' value matches the positive > sense of the name, which is much nicer. You are right, and I wasn't happy with the negative name either. Would KEEP-ORDER do?