From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Box face Date: Fri, 04 Mar 2022 18:43:21 +1100 Message-ID: <87bkymxifk.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.9; emacs 29.0.50 Cc: Emacs Devel To: Anand Tamariya Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 04 08:54:11 2022 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 1nQ2lM-0008b5-5Q for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Mar 2022 08:54:08 +0100 Original-Received: from localhost ([::1]:45500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQ2lK-000125-MO for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Mar 2022 02:54:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ2ki-0000Lm-H8 for emacs-devel@gnu.org; Fri, 04 Mar 2022 02:53:28 -0500 Original-Received: from [2607:f8b0:4864:20::630] (port=46661 helo=mail-pl1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQ2kg-0003Rc-AR for emacs-devel@gnu.org; Fri, 04 Mar 2022 02:53:27 -0500 Original-Received: by mail-pl1-x630.google.com with SMTP id bd1so7014522plb.13 for ; Thu, 03 Mar 2022 23:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=G0u4PE0D8znzNAkypI7T6qTmoormuPG9fv+i0a70JPk=; b=Qq1sgUA5hIhvt8a25WQAMgVCmF7AkRPFWgsI3RIc8SKl0Yn4gPxuOngHkmszZ1OiII F7j8y0KqLfVzjZqMWyKsS06NQMAvSEIKvrTFxsj1/M5Krr3J7anuB/HmZxwgaqZU5NDv 4T9rX3t8QDA09mZmWtLsVZEobtdHAqL9pzAlvVlsQwKImbBi+Io0taFq5i7hWVlpWopX ySPxDtK8tV7Htrv2QYaenJudpunhVyhOwRGWqje2s0bMGKB8pfakZKe+jn69YFGHIObt d0MVTkZai6rHEVF83+ExNWnRSFsXLLNk2VMPc7IvXrTFE65+oAgihFIU7Dw1Ms7yyn5v EDZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=G0u4PE0D8znzNAkypI7T6qTmoormuPG9fv+i0a70JPk=; b=D0kgh3g47jjR/i2HaMWtUztE7Umowsv0MfkpE+eLV39NGTm/sNLggQq+SZD9HWJqXN znYlnKCyKAKbQ6J2ZpEwjcSD2ojtibyUfOO9FB51A0E4WU14XI8jrokW5uuJjqXYx/iJ MJOhdUl8QOJea606bwDN9lvyZWKiJt2IknZGqnxpl137JSlrhMrT3c8IMZNXBK0nQSgS FhuMiyfMTOkahI3qEwxsIzDdks0cZZTAPmG82a1u8H95hupoWoVN/D7704u1o0WA0BM6 8gJ2B4kBUCI+gCzpR8YGYZijYoBQDcgGdSI6WgsRQKsBw2TqHWBeYXy1zD5j0SCiZcT9 OPOQ== X-Gm-Message-State: AOAM531TCwBDh/RFc0eC2cGAJHElatasA+fMiqlNFu8cRuN7RiQaoOmQ 74Ss/5hLM8T6Jz+5HF8Rdz+OGrMJ1kg= X-Google-Smtp-Source: ABdhPJzB0EmRCf3K/Ig8Y6fHidrjptiZSn6SCS69qMLjVQ9QyS5izSP62X3aPImm84G+NNDMaK6gpA== X-Received: by 2002:a17:902:ced0:b0:151:a5fa:6b44 with SMTP id d16-20020a170902ced000b00151a5fa6b44mr8320858plg.31.1646380403417; Thu, 03 Mar 2022 23:53:23 -0800 (PST) Original-Received: from dingbat (106-69-94-169.dyn.iinet.net.au. [106.69.94.169]) by smtp.gmail.com with ESMTPSA id i2-20020a17090ac40200b001bd0e552d27sm3928898pjt.11.2022.03.03.23.53.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 23:53:23 -0800 (PST) In-reply-to: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::630 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:286808 Archived-At: Anand Tamariya writes: > Hi, > Considering SES is part of Emacs core, I'm wondering why is there no box face defined in the > core? A cell looks much better that way instead of just an underline. > You can add the :box attribute to any face. So, if you want the face used by SES to highlight the cell to have a box effect, you can just customise it by adding the :box attributes or make it inherit from one of the existing faces which already have a box attribute. I think this sort of thing is where themes come into play. I wouldn't be surprised if some themes already set a box attribute for this face. In most cases, I think it is probably best for the default face definition to be as simple as possible and compatible with different display environments while leaving the eye candy stuff to themes which users can choose based on personal preferences.