[Top][All Lists]

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

Customized mode-line face truncates calculator buffer

From: Stephen Berman
Subject: Customized mode-line face truncates calculator buffer
Date: Thu, 08 Feb 2007 17:26:25 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

1. emacs -Q
2. Type <S-down-mouse-1>, then from the context menu select "Misc" and
then "7x13"
3. M-x customize-face RET mode-line RET, then in the Customize dialog
   (i) check attribute Font Family and type in "Helvetica"
   (ii) check attribute Overline and set Value Menu to "on"
   (iii) uncheck attribute Box around text
4. Type M-x calculator.  This opens a *calculator* buffer containing
the prompt "Calc===> ?" and the bottom line of pixels of this text is
truncated (or overwritten) by the overline of the mode line.

This display problem (which has been around for a long time) could be
fixed in the defun of calculator in calculator.el by suitable
additions to the conditions under which split-window-vertically is
passed -3 instead of -2; though it's simpler just to always pass -3,
which is the default behavior since the mode line face is raised by
default.  But I suppose the underlying problem has to do with buffer
size being line-based and the mode-line customization makes it one
pixel higher than a single line.  I guess that's not easy to fix.

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2007-02-08 on escher
X server distributor `The X.Org Foundation', version 11.0.70199902
configured using `configure  '--with-x-toolkit=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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tabbar-mwheel-mode: t
  tabbar-mode: t
  recentf-mode: t
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <select-window> <down-mouse-3> 
<mouse-3> <select-window> <help-echo> C-l <help-echo> 
<help-echo> <select-window> <down-mouse-1> <mouse-1> 
<select-window> <help-echo> <down-mouse-4> <mouse-4> 
<down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <down-mouse-5> 
<mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5> 
<triple-mouse-5> <down-mouse-5> <mouse-5> <down-mouse-3> 
<mouse-3> M-x r e p o r <tab> <return>

Recent messages:
Loading cal-china...done
Preparing diary...done
Loading semanticdb-file...done
Loading semanticdb-system...done
Loading eldoc...done
Loading edmacro...done
Loading semantic-el...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading emacsbug...done

reply via email to

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