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

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

modify-frame-parameters behaviour broken


From: Ulrich Neumerkel
Subject: modify-frame-parameters behaviour broken
Date: Sun, 13 Jan 2008 05:33:45 +0100

--text follows this line--

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I am trying to set the geometry of a frame while running. The set
values are interpreted against the usual convention.  I can observe
the desired behaviour in emacs-21.4 and earlier emacsen but not in
22.1

Reproduction:

To be sure that no window-manager interferes, start a
failsafe-session with XGA or a higher resolution.

# Then do
xrdb < /dev/null
# to avoid any undesired X-resource interference.

# Then
emacs --no-init-file this-report.txt

Now eval the function below and look at the value of the list.


(let ()
  (defun reapply-geometry (gupu-geometry)
    (interactive)
    (cond (gupu-geometry
           (modify-frame-parameters
            (selected-frame)
            gupu-geometry))))
  (list
   (assoc 'left (frame-parameters))
   
   (reapply-geometry '((user-position . t) (user-size . t) (left + -7)))

   (assoc 'left (frame-parameters))

   (emacs-version)))

  =>

((left . 0) nil (left . 420) "GNU Emacs 22.1.2 (i686-pc-linux-gnu, X toolkit)
 of 2008-01-12 on gupu.complang.tuwien.ac.at")

((left . 0) nil (left + -7) "GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit)
 of 2008-01-13 on gupu.complang.tuwien.ac.at")

((left . 0) nil (left + -7) "GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit)
 of 2003-11-26 on gupu.complang.tuwien.ac.at")

((left . 0) nil (left + -5) "GNU Emacs 21.3.3 (i686-pc-linux-gnu, X toolkit)
 of 2003-11-17 on gupu.complang.tuwien.ac.at")

((left . 0) nil (left + -7) "GNU Emacs 21.2.50.2 (i686-pc-linux-gnu, X toolkit)
 of 2002-04-07 on gupu.complang.tuwien.ac.at")

((left . 0) nil (left + -7) "GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
 of Fri Mar 16 2001 on porky.devel.redhat.com")

So there have been already versions of emacs that did not correctly
interpret the geometries (21.3.3). But 22.1.2 is definitely different:
The window jumps to the right side of the screen.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/opt/gupu/share/emacs/22.1/etc/DEBUG for instructions.


In GNU Emacs 22.1.2 (i686-pc-linux-gnu, X toolkit)
 of 2008-01-12 on gupu.complang.tuwien.ac.at
Windowing system distributor `The XFree86 Project, Inc', version 11.0.4003
configured using `configure  '--without-toolkit-scroll-bars' '--prefix' 
'/opt/gupu''

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

Major mode: Text

Minor modes in effect:
  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
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
C-l C-s ( C-a C-M-f C-u C-x C-e M-x r e p o r <tab> 
<return>

Recent messages:
("/opt/gupu/bin/emacs-22.1" "--no-init-file" "bug6-rep.txt")
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Mark saved where search started
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done




reply via email to

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