From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeremy Thurgood Newsgroups: gmane.emacs.bugs Subject: bug#10409: Minibuffer sized according to default face, not minibuffer face Date: Fri, 30 Dec 2011 11:15:41 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1325381177 3558 80.91.229.12 (1 Jan 2012 01:26:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2012 01:26:17 +0000 (UTC) Cc: 10409@debbugs.gnu.org To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 01 02:26:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RhABf-0006tj-Eg for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2012 02:26:11 +0100 Original-Received: from localhost ([::1]:41036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhABf-0001nG-1h for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 20:26:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6Ib-0004Ls-SL for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:17:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rh6IW-00087l-Oh for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:17:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6IW-00087h-My for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:17:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Rh6LT-0002lm-NZ for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:20:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jeremy Thurgood Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2011 21:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10409 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10409-submit@debbugs.gnu.org id=B10409.132536638110564 (code B ref 10409); Sat, 31 Dec 2011 21:20:03 +0000 Original-Received: (at 10409) by debbugs.gnu.org; 31 Dec 2011 21:19:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rh6L2-0002kE-RW for submit@debbugs.gnu.org; Sat, 31 Dec 2011 16:19:41 -0500 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RgYbl-00051D-Eh for 10409@debbugs.gnu.org; Fri, 30 Dec 2011 04:18:39 -0500 Original-Received: by wgbdq10 with SMTP id dq10so18487608wgb.15 for <10409@debbugs.gnu.org>; Fri, 30 Dec 2011 01:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PSfgYJEHNN99NxPlOQ54BIwAbPYrpLnF/iA4IAPYcfM=; b=MlQOubJWJCqVKE9AzusgIScEw4tG8PL/cEoSWtyOz9iymQ4CHWT+bLQ6XXrVvX4J8i n3d1phQppYti0KTjZK46kVinHBgerYyIwDXUVm8+Gie6AntQ6Cc1iaH6nLRrL5gPBjUA EsQr/BNOusswB0CVwFLPiIHjlKdnZLVAJi8no= Original-Received: by 10.227.206.205 with SMTP id fv13mr47911550wbb.17.1325236541761; Fri, 30 Dec 2011 01:15:41 -0800 (PST) Original-Received: by 10.223.155.76 with HTTP; Fri, 30 Dec 2011 01:15:41 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Sat, 31 Dec 2011 16:19:30 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 31 Dec 2011 16:20:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 31 Dec 2011 20:26:09 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55341 Archived-At: On Fri, Dec 30, 2011 at 10:19, David Reitter wrote: > > can you please try this out with the latest nightly build (Emacs 24), available from http://aquamacs.org/nightlies.shtml I see the same on the latest nightly, both with and without customizations: In GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-12-30 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x' 'CFLAGS=-arch i386 -g -O0 ' 'LDFLAGS=-arch i386 -g -O0 '' > and update this bug with the version number (and ideally everything from Help->Diagnosis->Report Bug). Whoops, I knew I was forgetting something. Here are the relevant extracts: In GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4 Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x' 'CC=gcc' 'CFLAGS=-O0 -g -arch i386' 'LDFLAGS=-O0 -g -arch i386'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 mailabbrev nnheader gnus-util netrc gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug autorevert flymake flymake-cursor twisted-dev python-21 python lilypond-mode compile comint run-tests ansi-color git-emacs ido git-emacs-autoloads git-global-keys time-stamp vc-git vc vc-dispatcher ediff psvn derived edmacro kmacro log-edit ring pcvs-util add-log diff-mode pp elp ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired uniquify erlang-start zoom-replacement load-emacs-plugins aquamacs-mode-defaults auctex-config server preview-latex tex-site auto-loads aquamacs-aux savehist mouse-sel one-buffer-one-frame smart-frame-positioning drews_init color-theme-autoloads saveplace visual-line aquamacs-bug aquamacs-autoface-mode aquamacs-editing sendmail rfc2047 rfc2045 ietf-drums qp mm-util mail-prsvr recentf tree-widget cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 cus-start cus-load tabbar easy-mmode warnings load-emacs-pre-plugins aquamacs-site-start cocoa-compatibility matlab-load smart-dnd filladapt aquamacs-redo check-for-updates aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone time-date paren delsel pc-select cua-base wid-edit regexp-opt advice advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) > Please use Help->Diagnosis->Start without customizations. I have done so. I see the same behaviour. Thanks, --J > Begin forwarded message: > >> From: Jeremy Thurgood >> Subject: [Aquamacs-bugs] Minibuffer sized according to default face, not minibuffer face >> Date: December 29, 2011 9:52:52 AM GMT+01:00 >> To: aquamacs-bugs@aquamacs.org >> Reply-To: Bug reports for Aquamacs Emacs >> >> Good day, >> >> I'm not sure if this is a bug or if it's just non-obvious behaviour, >> >> The height of the minibuffer (in pixels) is set in increments of the >> line height for the default face. If the echo area face (the one from >> which all minibuffer faces inherit) is slightly taller than the >> default face, this means that the minibuffer is one line high when >> empty and two lines high if there's anything in it. As a consequence, >> the minibuffer is constantly resizing, which is visually jarring. In >> my case, I set my default face to a font that is a little shorter then >> Lucida Grande (the default font for the echo area face) and ran into >> this behaviour. It can be replicated merely by setting the echo area >> face's height to a large scale -- 1.5 will do. >> >> As a workaround, the height of the minibuffer face can be adjusted to >> a scale less than 1.0 to make the line height fit. Alternatively, the >> font can be changed to one that fits better. In my case, I just >> removed the override and allowed it to inherit the font from my >> default face. It looks a bit uglier, but it lets me avoid tinkering >> with the height whenever I change the default font. >> >> Thanks, >> --J > > >