From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list sort icon is reversed Date: Fri, 15 Feb 2019 09:05:28 -0500 Message-ID: <4d337587-ed05-186d-deb9-65d931c4d74f@gmail.com> References: <83a7qbtc6l.fsf@gnu.org> <83bmaqq735.fsf@gnu.org> <87d0v1lsns.fsf@fastmail.fm> <532F6D74-E21C-45A2-B85B-01133DE1E8A1@scratch.space> <6e662c5b-3d04-2157-6712-aadcb6077f2b@gmail.com> <83a7j0pzbh.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="123470"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 Cc: Emacs developers To: Philippe Vaucher , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 15 15:06:32 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 1gue8M-000VwI-Pp for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 15:06:30 +0100 Original-Received: from localhost ([127.0.0.1]:40491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gue8L-00083f-PM for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 09:06:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gue7h-00083Y-Ly for emacs-devel@gnu.org; Fri, 15 Feb 2019 09:05:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gue7c-0005jG-G5 for emacs-devel@gnu.org; Fri, 15 Feb 2019 09:05:49 -0500 Original-Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:46149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gue7T-0005aJ-7P; Fri, 15 Feb 2019 09:05:37 -0500 Original-Received: by mail-qk1-x734.google.com with SMTP id i5so5694894qkd.13; Fri, 15 Feb 2019 06:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3pVwuvpuWY/Tf7VyVIxBb6DLiappCPT3Y6Q/kgrzITE=; b=KAFJSY08crVM/v/UusqzpBbm98ACkIUKeCw9FK5p8rUHXPYPnhZiGvCKMlX+aQICma RqHuCuKApIFNi9svI27NCuu+VCYu7UqW8U7z6PzHhH5rzw3eV6AqWK9a01BbiJS0Gyg0 M0KfgE//91Czktzq5Zq42c0o8D56BeO/fMG+r53uOV5KUiRNZvOMPqaeQgKGyxph4Vbq 18MfFg7z65vsrwxnBhxhofEG/4QB1OCWRSlxFeRGAmkmixaEsS1mYbOwZJSElLFVWjHX bJKJFz+sl+hulHJTSVcoyWydXAvKBGka1N9Tnfp57T0E6vJpz0ZPD6YVv1OOr2dz3KPe Z9rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3pVwuvpuWY/Tf7VyVIxBb6DLiappCPT3Y6Q/kgrzITE=; b=fIMYTWcsxXKNcuQoe88W4qMgdSRRBzcS+yuoMufOcgkvEHkJ+LeDm/1K6/SoQoQWEA nZmCpadjfGtOrCHoa1MUeufU7GCiWyl1BTNaZAA0GQ3omBOYKKtgPKerW/fd3XVFO43V Og72w3dGXEme+CcKLtauS3OGR2GKSRvwFGAWsmhHz3RqnZJYKehk5XmcWUa5pUHvT1bO jMHM4PxTA1zi2IwTnlBuaPROTW+VyPZ6ajJkLNFykZlEebrY7bR5WAJ4I/uOuvrDOo9O T1WEx4mpWjbaY3MDT9qPRwbgvwdgtgcrJPFYFIwVJrkFkjRWgb2QfQlQOzNeETH4hqz7 52OA== X-Gm-Message-State: AHQUAuYpY77+/AWk+B9i7CDPnBdKQf+tKHIwUBeaCG87+h0M4ZAL8A7t ytqB1HtVkSDiX0XpxdhOBJuUcaF2 X-Google-Smtp-Source: AHgI3IadqXIwLaHwZhk7gaU1aJKnXwjthj7peZeDrpVKJYQuaXDWnslwRnjCYTzDKX9/0eomUx/KwQ== X-Received: by 2002:ae9:e8d8:: with SMTP id a207mr6985970qkg.199.1550239530359; Fri, 15 Feb 2019 06:05:30 -0800 (PST) Original-Received: from ?IPv6:2601:184:4180:66e7:f0cc:8c46:f643:1be8? ([2601:184:4180:66e7:f0cc:8c46:f643:1be8]) by smtp.googlemail.com with ESMTPSA id o42sm3308859qtc.90.2019.02.15.06.05.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 06:05:29 -0800 (PST) In-Reply-To: Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::734 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:233369 Archived-At: On 15/02/2019 08.38, Philippe Vaucher wrote: > So, what do you reckon is the way forward about this issue? I'm willing to make a better attempt at my defcustom patch, but I'm not sure there's enough consensus for it to then be accepted. I'm not sure. I think there should be little opposition to making the symbols customizable, but changing to an image in a robust way might be trickier (we want the image to scale to match the font size). I wonder: instead of an image, can we use a glyph? IOW, is there a platform-independent way to either load a custom font into Emacs, or create a custom font and tell it which characters it contains? This would be a nice solution for this issue: we would just display the sorting indicator with that custom font and be all done. This would actually improve the status quo in many situations where things are currently done with images. For example, it would make it easy to display icons that scale nicely (e.g. in mu4e) or to implement new powerline separators (https://github.com/milkypostman/powerline/blob/master/powerline-separators.el). Cheers, Clément.