emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch to vertically center line content when using line-spacing vari


From: Robert Pluim
Subject: Re: Patch to vertically center line content when using line-spacing variable
Date: Thu, 12 Sep 2019 16:26:44 +0200

>>>>> On Thu, 12 Sep 2019 09:08:38 -0300, Jesse Medeiros <address@hidden> said:

    >> Hmm, should this be customizable, like 'line-spacing' is? In any case,
    >> I think the doc string of 'line-spacing' should refer to this new
    >> variable as well.

    Jesse> Yes, it's supposed to be customizable like line-spacing. Personally I
    Jesse> think center vertically should be the default behaviour, but I 
created
    Jesse> this new variable so it won't change with default to nil the setup of
    Jesse> other people.

In that case you need to add the appropriate code to the list of
c-defined lisp variables in cus-start.el.

I donʼt think you can change the default behaviour.

    >> Also: could this not work as a new type of value for 'line-spacing'
    >> instead? Something like
    >> 
    >> '(both . 5)
    >> 
    >> to mean 5 pixels above and below?

    Jesse> I guess it could, but does that make sense? I think one would expect
    Jesse> the line to be centered by default. That's how it works on other
    Jesse> editors.

Perhaps, but backwards compatibility wins out here, I think. Anyway,
what you have now works.

    Jesse> PS: Sorry for the late reply, it's been a busy week.

Weʼre all just volunteers here.

Robert



reply via email to

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