unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: grischka <grishka@gmx.de>
Cc: 3759@debbugs.gnu.org
Subject: bug#3759: window-height wrong with changed font-size
Date: Sat, 17 Sep 2011 08:34:09 +0200	[thread overview]
Message-ID: <m3pqizekym.fsf@stories.gnus.org> (raw)
In-Reply-To: <4A50A0A2.6060903@gmx.de> (grischka's message of "Sun, 05 Jul 2009 14:46:26 +0200")

grischka <grishka@gmx.de> writes:

> $ src/emacs -Q README
>
> M-: (window-height)
>   33 (#o41, #x21)
>
> shift-left-click on window, choose "Decrease Font Size"
>
> M-: (window-height)
>   33 (#o41, #x21)
>
> But the window now has 38 lines.

This may be confusing, but I don't think it's a bug.  The menu item
(which has been renamed in Emacs 24 to be slightly less confusing) just
changes the font size in the current buffer, but `window-height' says
what the height is versus the default window font.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





      reply	other threads:[~2011-09-17  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05 12:46 bug#3759: window-height wrong with changed font-size grischka
2011-09-17  6:34 ` Lars Magne Ingebrigtsen [this message]

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=m3pqizekym.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=3759@debbugs.gnu.org \
    --cc=grishka@gmx.de \
    /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).