From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: tabulated-list sort icon is reversed Date: Tue, 31 Jul 2018 14:46:14 -0700 (PDT) Message-ID: References: <83a7qbtc6l.fsf@gnu.org> <83bmaqq735.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1533073463 30496 195.159.176.226 (31 Jul 2018 21:44:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2018 21:44:23 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 23:44:19 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fkcRG-0007rB-V5 for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2018 23:44:19 +0200 Original-Received: from localhost ([::1]:60775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkcTN-0000uD-Hp for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2018 17:46:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkcTG-0000u6-SL for emacs-devel@gnu.org; Tue, 31 Jul 2018 17:46:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkcTE-0005oh-A0 for emacs-devel@gnu.org; Tue, 31 Jul 2018 17:46:22 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:35266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkcTE-0005mJ-27 for emacs-devel@gnu.org; Tue, 31 Jul 2018 17:46:20 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6VLe2pE030059; Tue, 31 Jul 2018 21:46:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=wsmEpiOhbfSOCHtT1oTS0r67+ok3dF1YjmCMdHjgfts=; b=kxHdqZ5w7aEVnH8ntxtJCYheHCD+5nYDmojC0haWKyZd62hUoT47r2+pN/3/tnqKgUVp RFLDoq4unLxXGetOi8qMBuwKET8FWGNr4cSrFcXe/vgXn6ndhq+zsoCwm4vkD4ocbbeB yewiRn7Zftf59jPvZOEZ4bZs8YTecfdTvvp6WHvAvjekkJr9PEHq7jI/WKyJNNe2WQy6 ldluz/Af+502Xf0bc7dBBEma609jCo1AZ+NuQVwzHy60D9L3SDqn32WxFGuV9GJwreht /IfP8xUv+WQA66drxRWKIll+K903tdmOgOOoPnLS053hS0iPW3AHNOSipnGaQc0ZB+tb GQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2kge0d35p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Jul 2018 21:46:17 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6VLkF6G006188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Jul 2018 21:46:15 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6VLkEaZ017801; Tue, 31 Jul 2018 21:46:15 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4717.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8971 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=881 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807310200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.79 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:228064 Archived-At: > > and a triangle with vertex on top (like ^). The same ambiguity arises: > > Does it represent the current sort order (low-to-high / small-to-large)= ? > > Or does it represent the new sort order you'll get if you use that butt= on? >=20 > You can click on any column to cause it to be sorted, so it wouldn't > make much sense for that triangle to be a button (i.e. why have > a button in that one column and not in all others?). Emacs seems to (at least in some cases) add such a triangle icon to the col= umn header, after its text. And yes, it is shown only in the header of the = current column. I meant the same thing you mean: click the column header (not necessarily t= he icon in the header) to toggle the sort direction. > > And apparently other, non-Windows contexts take the approach that the > > icon represents the new order you'll get if you click the icon. >=20 > I don't think so. Read "click the column header" anywhere, not just on the icon. I thought this discussion had pointed out that for some people the icon ori= entation reflects (and should reflect) the new sort direction you will get,= whereas for others the icon orientation should reflect the current sort di= rection. At least on MS Windows, in `Buffer Menu', it seems: * For numerical sorting (e.g. column Size) ) the icon orientation reflects = the current sort direction, in the sense that if the small end (vertex) is = on top then the first row is the smallest/lowest value etc. * But for alphabetical sorting (e.g. column Mode) the icon orientation is r= eversed: when the small end is on the bottom (not the top) sorting is alpha= betical (A before Z). You can say that the icon orientation reflects not th= e current sort order but the new sort order you'll get if you click the hea= der to toggle the order. So it seems not even to be consistent.