From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list sort icon is reversed Date: Sun, 29 Jul 2018 00:00:34 +0200 Message-ID: References: <83a7qbtc6l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001942f20572165dfc" X-Trace: blaine.gmane.org 1532815149 2906 195.159.176.226 (28 Jul 2018 21:59:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2018 21:59:09 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 28 23:59:05 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 1fjXEt-0000dc-Kb for ged-emacs-devel@m.gmane.org; Sat, 28 Jul 2018 23:59:03 +0200 Original-Received: from localhost ([::1]:46508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjXH0-0004aZ-Bs for ged-emacs-devel@m.gmane.org; Sat, 28 Jul 2018 18:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjXGq-0004aM-IS for emacs-devel@gnu.org; Sat, 28 Jul 2018 18:01:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjXGp-0002Cl-Em for emacs-devel@gnu.org; Sat, 28 Jul 2018 18:01:04 -0400 Original-Received: from mail-ua0-x22a.google.com ([2607:f8b0:400c:c08::22a]:35246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjXGn-0002CG-Bh; Sat, 28 Jul 2018 18:01:01 -0400 Original-Received: by mail-ua0-x22a.google.com with SMTP id q12-v6so5599260ual.2; Sat, 28 Jul 2018 15:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QU3acYTmGP2RwPtJedRP9KgZTxj4tVNlbQqfT98RAhc=; b=dDZefIYaM3fUPABjEoPoCbpjjQVJBq1g/3fsCGyLA96th7IIJCRAx1WVKnYHgqqyZn 0jPhb3SKy02TT5sFeSo8pBOWyfAP0KgwMdwRP25qJy8PvFxMC6WVk5znJaqS6rViz+/v S3AUYLeMVjcX3P7aJGpIz7m3f3Ut9u1nyghurcsU7gJKJRutSjsbg8VJizgFi+9qCJZn DzMR2KR0ibE17BLfeLyo6iplnHBNR9OUO+pzXM8i5hhrGOLmbPO26+4BM51CUOwwtNE/ BB0+1XFl8cswxSdp+2t4U+ypCIlr3fnRzIxNLIphT4vLfFYxq7NUrUCU0JLTUJM0GqB+ sXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QU3acYTmGP2RwPtJedRP9KgZTxj4tVNlbQqfT98RAhc=; b=V4YW2bs3/X1f0Ipw/ZXSSRCUCdMFJtFmBEhzYcOQmzRpekB1vJg0eL2PLtNGmk85+5 TqM9u3Vh8ODtRsVBqhnB+jHu6+gE2X0iRgTm3+xwgKlGjAxRNuX+vMuMatPGakG9QnZv +qcjrHLYH55xr9v0eFGwACUf26AJuJRHkPNbSRNhrdac9hJr9PXOhC2V2zgIPveivYVj oB0xSk9pjfMPltjWmWhDTDfjA4nL738NCtuBjF6k1H7GE1jE/xwWZ1cKEek5nD9ctIob TuQve2X4SrqRH9ztap3Mq4twdPx0y0b31FQrLuvzRRM8VZ0RSs1SRVRtydaTLX7Zn6jo 0YxQ== X-Gm-Message-State: AOUpUlGSSzZ1LAA/24z2DQPnn27kbAkbuNng1a33VR4z5ZGeqVXjjx/k 0dJJdCcNAIORwaFWzkfKSZh9rwtYGP+cgO7jc3ZJVmfl X-Google-Smtp-Source: AAOMgpfAarWDBbQnfLKExOm7lYeGJEtPDO9lc0K7YpquN5x29ajBrOjM0Asc1T8G78owmzDWdUemJc1vhOCZN7b+GIk= X-Received: by 2002:a9f:3bc8:: with SMTP id y8-v6mr8314347uah.93.1532815260335; Sat, 28 Jul 2018 15:01:00 -0700 (PDT) In-Reply-To: <83a7qbtc6l.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::22a 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:227931 Archived-At: --0000000000001942f20572165dfc Content-Type: text/plain; charset="UTF-8" > > > The sort icon in tabulated-list are opposite of what they should. > > They show the direction in which the key's value increases. Right, thanks for the explanation. I think it's counter-intuitive. It's the first time I see this way of representing the sorting. Usually, the triangle is used as a representation of the position of where the largest element is. See https://ux.stackexchange.com/a/38654 for a better explanation. Here are examples to illustrate what I'm saying: https://datatables.net/examples/basic_init/zero_configuration.html https://i.stack.imgur.com/j6bkB.png https://docs.oracle.com/cd/B40099_02/books/Fundamentals/images/sort_ascending.png https://i.stack.imgur.com/RLcug.png Given that this issue is not a mistake but intended behavior it's difficult to decide what is the right path here. Maybe that the paradigm Emacs uses is the one that most Emacs users expect, so it's actually the right one? I'm pretty sure that most people used to GUIs with columns would think the arrows are oriented the wrong way, but I might be mistaken. What do you reckon should be done, switch the direction or let it as it is now? Philippe --0000000000001942f20572165dfc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> The sort icon in tabulated-list are opposite of wha= t they should.

They show the direction in which the key's value increases.

Right, thanks for the explanation.

I think it's counter-intuitive. It's the first time I see thi= s way of representing the sorting. Usually, the triangle is used as a repre= sentation of the position of where the largest element is.

See https://ux.st= ackexchange.com/a/38654 for a better explanation.

Here are examples to illustrate what I'm saying:

=

Given that t= his issue is not a mistake but intended behavior it's difficult to deci= de what is the right path here. Maybe that the paradigm Emacs uses is the o= ne that most Emacs users expect, so it's actually the right one? I'= m pretty sure that most people used to GUIs with columns would think the ar= rows are oriented the wrong way, but I might be mistaken.

What do you reckon should be done, switch the direction or let it a= s it is now?

Philippe
--0000000000001942f20572165dfc--