all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 6192@debbugs.gnu.org
Subject: bug#6192: 24.0.50; eldoc-mode: unexpected recentering
Date: Sun, 16 May 2010 21:48:07 +0200	[thread overview]
Message-ID: <87d3wvzkzs.fsf@escher.home> (raw)
In-Reply-To: <4BF03E92.40909@gmx.at> (martin rudalics's message of "Sun, 16 May 2010 20:50:58 +0200")

On Sun, 16 May 2010 20:50:58 +0200 martin rudalics <rudalics@gmx.at> wrote:

> Anyway.  With a trunk built on April 19th of this year I cannot
> reproduce any echo area resizing neither (a) with (add-hook ...) in my
> .emacs, (b) with (add-hook ...) evaluated in Emacs -Q before opening an
> .el file, and (c) with (turn-on-eldoc-mode) evaluated after opening an
> .el file.  As with Eli here the echo area doesn't resize any more.

This is on Windows, right?  Since I recollected that you run Emacs on
Windows, it surprised me when you reported seeing the resizing, although
Eli had reported not seeing it on Windows.  So I guess it's good that
there is no discrepancy between you after all.  As I suggested to Eli,
maybe it's a GTK+ issue (but see below).

>> No, the Eldoc message is shown with faces and the echo area is resized
>> (because the argument face is bold).  Eldoc mode sets the faces via
>> propertize, which evidently is not affected by font-locking.
>
> There's an `add-text-properties' in `eldoc-highlight-function-argument'.
>
> BTW did you check how customizing `eldoc-echo-area-use-multiline-p' fits
> into this?

That makes no difference: with each of the three possible values, I get
the resizing.

However, it occurred to me that the font could make a difference -- and
lo and behold, it does: I tried most if not all monospaced fonts on my
system (via the set default font menu), and saw the echo area resize
only with these (the first being my default font):

DejaVu Sans Mono
Luxi Mono
Nimbus Mono L

With all other fonts I tried, there was no resizing even though the
argument face was bold.

I still have no idea why there's the .emacs/-Q asymmetry.

Steve Berman





  reply	other threads:[~2010-05-16 19:48 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 17:11 bug#6192: 24.0.50; eldoc-mode: unexpected recentering Stephen Berman
2010-05-14 17:49 ` Eli Zaretskii
2010-05-14 18:07   ` Stephen Berman
2010-05-14 21:05 ` Eli Zaretskii
2010-05-14 21:44   ` Stephen Berman
2010-05-15  6:36     ` Eli Zaretskii
2010-05-15 15:40       ` Stephen Berman
2010-05-15 16:44         ` Eli Zaretskii
2010-05-15 17:25           ` Stephen Berman
2010-05-15 17:33             ` Eli Zaretskii
2010-05-15 21:54               ` Stephen Berman
2010-05-15 22:52                 ` martin rudalics
2010-05-16  3:07                   ` Eli Zaretskii
2010-05-16  8:18                     ` martin rudalics
2010-05-16 17:14                       ` Eli Zaretskii
2010-05-15 16:53         ` martin rudalics
2010-05-15 17:26           ` Stephen Berman
2010-05-15 19:02             ` martin rudalics
2010-05-15 20:22               ` Eli Zaretskii
2010-05-15 20:47                 ` martin rudalics
2010-05-15 21:04                   ` Juanma Barranquero
2010-05-15 22:51                     ` martin rudalics
2010-05-15 21:14                   ` Eli Zaretskii
2010-05-15 22:52                     ` martin rudalics
2010-05-15 21:54               ` Stephen Berman
2010-05-15 22:53                 ` martin rudalics
2010-05-16  8:17                 ` martin rudalics
2010-05-16 10:45                   ` Stephen Berman
2010-05-16 12:35                     ` martin rudalics
2010-05-16 13:07                       ` Stephen Berman
2010-05-16 18:50                         ` martin rudalics
2010-05-16 19:48                           ` Stephen Berman [this message]
2010-05-17  9:06                             ` martin rudalics
2010-05-17  9:47                               ` Stephen Berman
2010-05-17 10:21                                 ` Juanma Barranquero
2010-05-17 10:31                                   ` Stephen Berman
2010-05-17 14:08                                 ` Stefan Monnier
2010-05-17 14:43                                   ` Lennart Borgman
2010-05-17 16:23                                     ` Juanma Barranquero
2010-05-17 16:33                                       ` Lennart Borgman
2010-05-17 16:39                                         ` Juanma Barranquero
2010-05-17 17:53                                     ` Eli Zaretskii
2010-05-17 18:02                                       ` Lennart Borgman
2010-05-17 18:30                                         ` Eli Zaretskii
2010-05-17 18:49                                           ` Lennart Borgman
2010-05-17 19:27                                             ` Lennart Borgman
2010-05-17 19:55                                             ` Stefan Monnier
2010-05-14 21:05 ` Eli Zaretskii
2022-05-05 12:20 ` bug#14520: 24.3; minibuffer resizes when message contains bold or italic text Lars Ingebrigtsen
2022-05-05 12:50   ` Stephen Berman
2022-05-05 13:07     ` Lars Ingebrigtsen
2022-05-05 16:25   ` bug#14520: bug#6192: " Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=87d3wvzkzs.fsf@escher.home \
    --to=stephen.berman@gmx.net \
    --cc=6192@debbugs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.