emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Box face


From: Eli Zaretskii
Subject: Re: Box face
Date: Fri, 04 Mar 2022 09:53:47 +0200

> From: Anand Tamariya <atamariya@gmail.com>
> Date: Fri, 4 Mar 2022 13:06:33 +0530
> Cc: Emacs Devel <emacs-devel@gnu.org>
> 
>  What do you mean by "box face"?  :box is an existing attribute of a
>  face, so any face can be assigned the attribute to have the box
>  appearance.
> 
> Something similar to underline face - an extension of default face with :box 
> attribute activated. May be, call it
> a cell face or something similar. This way a new user can use it for a 
> spreadsheet scenario if he so desires.

If we want to give users the ability to customize how cells look, it
is best to have a special face for the text in a cell.  By default
this face could just inherit from 'default', but users who'd like the
box appearance could then customize that face to add the :box
attribute.

So patches to add a special 'ses-cell' face are welcome, I think.

In general, face appearance is highly subjective, and so is best left
to user customizations, rather than forcing some attributes on
everyone by default.  Also, the :box attribute is only suitable for a
relatively small number of specialized display situation, so having a
special face for that doesn't seem justified.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]