From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Using more and/or better icons in Emacs Date: Wed, 14 Apr 2021 00:44:44 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2231"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Dmitry Gutov To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 14 00:46:36 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lWRno-0000TZ-5h for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 00:46:36 +0200 Original-Received: from localhost ([::1]:59810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWRnn-0006zd-7A for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Apr 2021 18:46:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWRm4-0005xX-E8 for emacs-devel@gnu.org; Tue, 13 Apr 2021 18:44:49 -0400 Original-Received: from mail-pj1-f45.google.com ([209.85.216.45]:37856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWRm2-0007MO-Uw for emacs-devel@gnu.org; Tue, 13 Apr 2021 18:44:48 -0400 Original-Received: by mail-pj1-f45.google.com with SMTP id e8-20020a17090a7288b029014e51f5a6baso4448216pjg.2 for ; Tue, 13 Apr 2021 15:44:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=I13vQonhcIlKWsL4H+7ADy+Miy+RH9s5zGtLUqI9oJE=; b=mc/i0s9emXfCo7NvWmY6ZC/pGPUBrbZ86yuxLD80uzayByT9RjQuTmFQs8khPQypss 3PWD3b6LEfKDmis/HXusLEBzRC0JSPd+EnUYVARqavGc9V2+VHP34NLukCaWxSycqXt7 KQgAOGwc+QhuX+pYhZPcI2AYJhZ4AH0OwRBPDGdLUbwmQyXvH/ePpiYURnt2RnGyKppl YxiPRW7BH87u2xUlaP01sO/5HCS5RkdZT1lpcPWfJ0n2l4L1fWm9e9w6YN4J3Iq3NJS6 yNI0vWnvL25MQTXZW7dElH697yaijTpin3XmfhvPuDLHB+Qgjq7k2d3wVK2QmVz/vPLY nFnw== X-Gm-Message-State: AOAM5336818gajW++zR5zHR+Qu5zUwfdBkBhVN0YyeU7ZPxDm4C7t0Sy xjZqMqyNlPj7w6hizZRVvGg2o+jJlBor5bZc4B4= X-Google-Smtp-Source: ABdhPJypw/zk78mQJuKoEiYFQJMMzd6StPb5gIh5RxoQfildd48xCiNm9Krabqzsq9qg1QRUDHP/0q7A1BPus07CEC8= X-Received: by 2002:a17:90a:4085:: with SMTP id l5mr52181pjg.104.1618353884844; Tue, 13 Apr 2021 15:44:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 14 Apr 2021 00:44:44 +0200 In-Reply-To: Received-SPF: pass client-ip=209.85.216.45; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f45.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268015 Archived-At: Alan Third writes: > Thanks. I've attached a version with documentation. I think it's good > enough but would appreciate someone else double checking it makes sense. LGTM with some minor nits below. > + Image descriptors which define image dimensions, i.e. @code{:width}, The "i.e." could perhaps more clearly be written as "such as". > +@code{:height}, @code{:max-width} and @code{:max-height}, may take > +either a number, which represents the dimension in pixels, or a pair > +@code{(@var{value} . 'em)}, where @var{value} is the dimension's > +length in ``ems''. One ``em'' is equivalent to the height of the > +font. Is it worth clarifying that `value' can be a float? > ++++ > +*** Image properties support 'em' sizes. > +Size image properties, for example ':height', ':max-height', etc., can > +be given a cons of the form '(SIZE . em)', where SIZE is a number > +which is multiplied by the font size to calculate the image size, and > +'em' is a symbol. Same question here.