[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
- Re: Patch to vertically center line content when using line-spacing variable, Jesse Medeiros, 2019/09/02
- Re: Patch to vertically center line content when using line-spacing variable, Eli Zaretskii, 2019/09/07
- Re: Patch to vertically center line content when using line-spacing variable, Jesse Medeiros, 2019/09/08
- Re: Patch to vertically center line content when using line-spacing variable, martin rudalics, 2019/09/09
- Re: Patch to vertically center line content when using line-spacing variable, Robert Pluim, 2019/09/09
- Re: Patch to vertically center line content when using line-spacing variable, Jesse Medeiros, 2019/09/12
- Re: Patch to vertically center line content when using line-spacing variable,
Robert Pluim <=
- Re: Patch to vertically center line content when using line-spacing variable, Jesse Medeiros, 2019/09/12
- Re: Patch to vertically center line content when using line-spacing variable, Robert Pluim, 2019/09/13
- Re: Patch to vertically center line content when using line-spacing variable, Jesse Medeiros, 2019/09/29
- Re: Patch to vertically center line content when using line-spacing variable, Robert Pluim, 2019/09/30