From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#44597: 26.3; bibtex should allow reverse sorting Date: Thu, 12 Nov 2020 19:30:14 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19658"; mail-complaints-to="usenet@ciao.gmane.io" To: 44597@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 19:31:31 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdHNb-00051O-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 19:31:31 +0100 Original-Received: from localhost ([::1]:51682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdHNa-00034E-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 13:31:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdHN9-00031t-2U for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:31:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdHN8-0003sv-N2 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdHN8-0002AF-JJ for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44597 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16052058218264 (code B ref -1); Thu, 12 Nov 2020 18:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Nov 2020 18:30:21 +0000 Original-Received: from localhost ([127.0.0.1]:45556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdHMT-00029E-8Q for submit@debbugs.gnu.org; Thu, 12 Nov 2020 13:30:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdHMQ-000296-Tg for submit@debbugs.gnu.org; Thu, 12 Nov 2020 13:30:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdHMQ-0002ZM-NA for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:30:18 -0500 Original-Received: from smtp-clients2.isti.cnr.it ([146.48.28.37]:38200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdHMP-0003V6-2B for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:30:18 -0500 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients2.isti.cnr.it (Postfix) with ESMTPSA id AF718AE6E4 for ; Thu, 12 Nov 2020 19:30:14 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kdHMM-00C53c-B6 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 19:30:14 +0100 X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 Received-SPF: softfail client-ip=146.48.28.37; envelope-from=pot@gnu.org; helo=smtp-clients2.isti.cnr.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/12 13:30:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193176 Archived-At: I wish bibtex mode would allow for reverse sorting of entries. Some years ago I used to obtain that behaviour by advising the sort-subr functions when called inside a bibtex-mode buffer. No more. The modern bibtex.el sorts an entry when bibtex-clean-entry is called when bibtex-maintain-sorted-entries is t without calling sort-subr, but relying only on bibtex-lessp, which is not easy to advice. I have numbered labels, and I want them to stay in reverse order as they are, but now I can get that behaviour only by setting bibtex-maintain-sorted-entries to nil Please add some way to reverse the order of entries -- fp