From: Jeremy Thurgood <firxen@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: 10409@debbugs.gnu.org
Subject: bug#10409: Minibuffer sized according to default face, not minibuffer face
Date: Fri, 30 Dec 2011 11:15:41 +0200 [thread overview]
Message-ID: <CAMH9oWr1oVwtk=GEnr1kCOs3828ORw+KXfbAhgjsi8+T+shDhA@mail.gmail.com> (raw)
In-Reply-To: <BE7BBF0E-5074-4027-95E1-C2F72DEB31C8@gmail.com>
On Fri, Dec 30, 2011 at 10:19, David Reitter <david.reitter@gmail.com> 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 <firxen@gmail.com>
>> 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 <aquamacs-bugs@aquamacs.org>
>>
>> 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
>
>
>
next prev parent reply other threads:[~2011-12-30 9:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAMH9oWq10wrpyMt4RLakT48aQMNmEQ-utXK_se4n4ooQ3DGPQw@mail.gmail.com>
2011-12-30 8:19 ` bug#10409: Minibuffer sized according to default face, not minibuffer face David Reitter
2011-12-30 9:15 ` Jeremy Thurgood [this message]
2011-12-31 9:59 ` David Reitter
2012-06-09 6:47 ` Chong Yidong
2012-06-09 10:45 ` martin rudalics
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='CAMH9oWr1oVwtk=GEnr1kCOs3828ORw+KXfbAhgjsi8+T+shDhA@mail.gmail.com' \
--to=firxen@gmail.com \
--cc=10409@debbugs.gnu.org \
--cc=david.reitter@gmail.com \
/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).