unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: rudalics@gmx.at, cloos@jhcloos.com, emacs-devel@gnu.org
Subject: Re: size hints and tiling window managers
Date: Sun, 16 Dec 2012 00:33:36 +0100	[thread overview]
Message-ID: <87fw3651rj.fsf@bernoul.li> (raw)
In-Reply-To: <83a9tnc91r.fsf@gnu.org>


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	other threads:[~2012-12-15 23:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 18:55 size hints and tiling window managers Jonas Bernoulli
2012-12-07 10:35 ` martin rudalics
2012-12-07 10:45   ` Eli Zaretskii
2012-12-08  1:42   ` James Cloos
2012-12-08  9:01     ` Eli Zaretskii
2012-12-09 19:23       ` Jonas Bernoulli
2012-12-09 19:36         ` Eli Zaretskii
2012-12-15 23:33           ` Jonas Bernoulli [this message]
2012-12-16  4:42             ` Eli Zaretskii
2012-12-11  8:07       ` Giorgos Keramidas
2012-12-11  8:10         ` Eli Zaretskii
2012-12-08  9:15     ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw3651rj.fsf@bernoul.li \
    --to=jonas@bernoul.li \
    --cc=cloos@jhcloos.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).