From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list sort icon is reversed Date: Wed, 27 Feb 2019 16:23:01 -0500 Message-ID: References: <87d0v1lsns.fsf@fastmail.fm> <532F6D74-E21C-45A2-B85B-01133DE1E8A1@scratch.space> <6e662c5b-3d04-2157-6712-aadcb6077f2b@gmail.com> <83a7j0pzbh.fsf@gnu.org> <83sgwpm92r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239858"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 22:25:57 2019 Return-path: Envelope-to: ged-emacs-devel@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 1gz6iC-0010H5-OV for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 22:25:56 +0100 Original-Received: from localhost ([127.0.0.1]:50903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz6iB-0002WD-Ns for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 16:25:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz6i1-0002VA-D3 for emacs-devel@gnu.org; Wed, 27 Feb 2019 16:25:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz6i0-0007Jb-IU for emacs-devel@gnu.org; Wed, 27 Feb 2019 16:25:45 -0500 Original-Received: from [195.159.176.226] (port=46632 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gz6hy-0006o8-Bc for emacs-devel@gnu.org; Wed, 27 Feb 2019 16:25:44 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gz6hK-000zAH-L0 for emacs-devel@gnu.org; Wed, 27 Feb 2019 22:25:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:+dwflkvBugFlOLIyIFodStUiGng= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233680 Archived-At: > +(defcustom tabulated-list-sort-icon-asc " ▼" > +(defcustom tabulated-list-sort-icon-desc " ▲" > +(defcustom tabulated-list-glyphless-sort-icon-asc "v" > +(defcustom tabulated-list-glyphless-sort-icon-desc "^" [...] > - (aset table 9650 (cons nil "^")) > - (aset table 9660 (cons nil "v")) > + (aset table 9650 (cons nil tabulated-list-glyphless-sort-icon-desc)) > + (aset table 9660 (cons nil tabulated-list-glyphless-sort-icon-asc)) [ 9650 and 9660 should really have been written ?▲ and ?▼. ] The above code should be changed so that the table's entries that are set correspond to the chars configured in tabulated-list-sort-icon-*sc. Stefan