emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ispell-help display problem.


From: Matt Hodges
Subject: ispell-help display problem.
Date: Wed, 08 Dec 2004 15:19:17 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3.50 (gnu/linux)

In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.4.13)
 of 2004-12-08 on dugong
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

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
  locale-coding-system: nil
  default-enable-multibyte-characters: t

The behaviour of ispell-help (after e.g., ispell-word) is sensitive to
the value of resize-mini-windows and the default value of
truncate-lines in unexpected ways.

With the default values of these variables, 3 lines of help are shown
in a minibuffer window; with (setq resize-mini-windows t), the 3 lines
of help are still shown correctly.

However, with (setq resize-mini-windows t) and (setq-default
truncate-lines t), the minibuffer window isn't resized, and only the
last line of help is shown.  In some circumstances, ispell-help causes
the *Choices* window to increase in height (e.g., when the frame is
split into two windows, and the cursor is in the upper one, or when
the *Choices* window is one line high).

In summary, the behaviour is:

    +--------------+-------------------+-----------------+---------------------+
    |truncate-lines|resize-mini-windows|minibuffer height|ispell-help          |
    +--------------+-------------------+-----------------+---------------------+
    |nil           |grow-only          |3                |OK (all help visible)|
    +--------------+-------------------+-----------------+---------------------+
    |nil           |t                  |3                |OK                   |
    +--------------+-------------------+-----------------+---------------------+
    |nil           |nil                |3                |lines 2/3 visible    |
    +--------------+-------------------+-----------------+---------------------+
    |t             |grow-only          |3                |OK                   |
    +--------------+-------------------+-----------------+---------------------+
    |t             |t                  |1                |line 3 visible       |
    +--------------+-------------------+-----------------+---------------------+
    |t             |nil                |3                |lines 2/3 visible    |
    +--------------+-------------------+-----------------+---------------------+

When both variables are `t', I'd expect the minibuffer window to
display all the help.  (Someone better qualified can decide what the
behaviour should be when resize-mini-windows is nil.)

Thanks,

Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]