emacs-devel
[Top][All Lists]
Advanced

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

Re: size hints and tiling window managers


From: Jonas Bernoulli
Subject: Re: size hints and tiling window managers
Date: Sun, 16 Dec 2012 00:33:36 +0100
User-agent: mu4e 0.9.9.5-dev4; emacs 24.3.50.1

Eli Zaretskii writes:

>> > Echo area is harder, because it's just a window, so its size must
>> > currently be a multiple of the default font's size.  Perhaps we could
>> > modify the mode-line width instead, by changing the line-with
>> > attribute of the mode-line face.  Can you try that?
>> 
>> Adjusting the mode-line height would very likely result in the same
>> problem as adjusting the fringe width.
>
> Maybe so, but did you actually try that?  The display engine surprised
> me more than once.

I have tried to adjust the _height_ of the mode-line face.  This caused
the last line of the text area to be displayed only partially and the
height of the extra space below the echo area did not change as we had
hoped.

I also tried using the display property:

,----
| (setq mode-line-format
|       (list "" 'mode-line-buffer-identification
|             (propertize " " 'display '((space :height (30))))))
`----

Also tried the above combined with t as the value of the line-height
property of the final newline.  (Which didn't have an effect at all, the
newline was displayed as ^J and the height of the mode-line did not
change; is there actually a way to have a multi-line mode-line?)

  Jonas



reply via email to

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