unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
@ 2013-01-16 23:52 Arne Babenhauserheide
  2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
  2022-02-05 23:56 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 11+ messages in thread
From: Arne Babenhauserheide @ 2013-01-16 23:52 UTC (permalink / raw)
  To: 13469

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

Dear Emacs Hackers,

Since KDE 4.9.1 KMail supports embedding emacs as editor directly in
its composer-windows.

When I do that, though, I get a tiny emacs frame instead of one
filling the window.

The commandline I use for the external editor is 

    emacs -Q --parent-id %w --file %f --basic-display

I set this in KMail Settings → E-Mail-Editor → External Editor.

When I use --basic-display, I get a window with a width of about 23
chars of text. When I don’t use it, it’s about 5 chars wide.

In #emacs, twb guessed that kmail might send the width in chars and
emacs might interpret them as pixels:

    <twb> I wonder if it's something as stupid as kmail telling it to
          open with width 80 and kmail thinks this is characters and
          emacs thinks it's pixels

When I use emacsclient, the frame starts wider and then gets shrunken down to thumbnail size. The command line for that:

    emacsclient --parent-id %w %f

It would be great if this could be fixed, so I could even edit my mails
with emacs while I’m not using wanderlust (writing text in anything but emacs feels crippled…). And xembed could actually make emacs integrate seamlessly with KDE.

Best wishes,
Arne

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'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.2/etc/DEBUG.


In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12)
 of 2012-12-30 on fluss
Windowing system distributor `The X.Org Foundation', version 11.0.11301000
Configured using:
 `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu'
 '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man'
 '--infodir=/usr/share/info' '--datadir=/usr/share'
 '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64'
 '--disable-dependency-tracking' '--program-suffix=-emacs-24'
 '--infodir=/usr/share/info/emacs-24'
 '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64'
 '--with-gameuser=games' '--without-compress-info'
 '--disable-maintainer-mode' '--without-hesiod' '--without-kerberos'
 '--without-kerberos5' '--with-gpm' '--with-dbus' '--with-gnutls'
 '--without-xml2' '--without-selinux' '--without-wide-int'
 '--with-sound' '--with-x' '--without-ns' '--without-gconf'
 '--without-gsettings' '--with-toolkit-scroll-bars' '--with-gif'
 '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm'
 '--without-imagemagick' '--with-xft' '--with-libotf'
 '--with-m17n-flt' '--with-x-toolkit=gtk'
 'GENTOO_PACKAGE=app-editors/emacs-24.2'
 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu'
 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
 'CPPFLAGS=''

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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8
  default enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  kde-default-keys-minor-mode: t
  global-ethan-wspace-mode: t
  real-global-auto-complete-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  nyan-mode: t
  semantic-mru-bookmark-mode: t
  semantic-idle-summary-mode: t
  senator-minor-mode: t
  shell-dirtrack-mode: t
  global-rudel-minor-mode: t
  savehist-mode: t
  recentf-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
u m b e r - t o - s t r i n g SPC C-x C-k <tab> ) ) 
C-n C-x ) <up> <up> C-a C-k C-k <down> <down> C-x e 
e e e e e e e e e e e e e e e C-x C-s <undo> <undo> 
<undo> <undo> <undo> <undo> <undo> <undo> <undo> <undo> 
<undo> <undo> <undo> <undo> <undo> <undo> <undo> <undo> 
<undo> <undo> <undo> C-a <up> <up> C-k C-k C-k C-k 
C-x C-s M-> <prior> <up> <up> ; SPC C-x C-s <up> <up> 
<right> C-x C-s <prior> <next> C-x C-s <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <next> C-x 
C-s <down> <down> C-x C-s <down-mouse-1> <mouse-1> 
<up> <up> <up> ; C-x C-s <down-mouse-1> <mouse-1> <up> 
<up> <left> <left> <backspace> C-x C-s b f . e <return> 
M-> <prior> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> M-> <help-echo> <help-echo> 
M-x c u r r e n t <tab> C-g C-h v c u r r e n t - f 
r <tab> C-g C-g ( c u r r e n t - f r a m e <return> 
C-h f <return> x <backspace> o x <next> x o <C-backspace> 
<backspace> <C-backspace> <C-backspace> s e l e c t 
e d - f r a m e C-h f <return> <help-echo> <help-echo> 
<help-echo> <down-mouse-1> <help-echo> <mouse-movement> 
<mouse-2> <help-echo> <help-echo> <help-echo> <down-mouse-1> 
<help-echo> <mouse-movement> <mouse-2> <help-echo> 
<down-mouse-1> <mouse-1> C-a <down> C-k C-k o x C-s 
c u r r e n t - f r C-s C-s C-g C-g <prior> <prior> 
<prior> <prior> <down> <down> <prior> <prior> <prior> 
<prior> <prior> <prior> <prior> <prior> <prior> <prior> 
<prior> <prior> M-x r e p o r t <tab> b u <tab> <r
eturn>

Recent messages:
Wrote /home/arne/.emacs.d/lisplets/activate-babenv.el
Mark set [2 times]
Quit [3 times]
 [2 times]
find-function-C-source: The C source file frame.c is not available
Note: file is write protected [3 times]
Local Ispell dictionary set to english [2 times]
Loading vc-bzr...done
Quit
Auto-saving...done

Load-path shadows:
~/.emacs.d/libs/bbdb-vcard/vcard hides ~/.emacs.d/libs/vcard
/usr/share/emacs/site-lisp/lua-mode/lua-mode hides /usr/share/emacs/site-lisp/monotone/lua-mode
/usr/share/emacs/site-lisp/cedet/common/ezimage hides /usr/share/emacs/24.2/lisp/ezimage
/usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/24.2/lisp/hex-util
/usr/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/share/emacs/24.2/lisp/speedbar
/usr/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/share/emacs/24.2/lisp/dframe
/usr/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/share/emacs/24.2/lisp/sb-image
/usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/24.2/lisp/md4
/usr/share/emacs/site-lisp/remember/remember hides /usr/share/emacs/24.2/lisp/textmodes/remember
/usr/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/24.2/lisp/org/org-archive
/usr/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/24.2/lisp/org/ob-clojure
/usr/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/24.2/lisp/org/ob-awk
/usr/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/24.2/lisp/org/ob-ocaml
/usr/share/emacs/site-lisp/org/org-vm hides /usr/share/emacs/24.2/lisp/org/org-vm
/usr/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/24.2/lisp/org/ob-matlab
/usr/share/emacs/site-lisp/org/org-mew hides /usr/share/emacs/24.2/lisp/org/org-mew
/usr/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/24.2/lisp/org/ob-screen
/usr/share/emacs/site-lisp/org/org-info hides /usr/share/emacs/24.2/lisp/org/org-info
/usr/share/emacs/site-lisp/org/org-taskjuggler hides /usr/share/emacs/24.2/lisp/org/org-taskjuggler
/usr/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/24.2/lisp/org/org-src
/usr/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/24.2/lisp/org/ob-sqlite
/usr/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/24.2/lisp/org/ob-lilypond
/usr/share/emacs/site-lisp/org/org-wl hides /usr/share/emacs/24.2/lisp/org/org-wl
/usr/share/emacs/site-lisp/org/org-mks hides /usr/share/emacs/24.2/lisp/org/org-mks
/usr/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/24.2/lisp/org/ob-scheme
/usr/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/24.2/lisp/org/ob-tangle
/usr/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/24.2/lisp/org/ob-latex
/usr/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/24.2/lisp/org/org-entities
/usr/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/24.2/lisp/org/ob-C
/usr/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/24.2/lisp/org/ob-fortran
/usr/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/24.2/lisp/org/ob-shen
/usr/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/24.2/lisp/org/ob-css
/usr/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/24.2/lisp/org/ob-octave
/usr/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/24.2/lisp/org/org-id
/usr/share/emacs/site-lisp/org/org-irc hides /usr/share/emacs/24.2/lisp/org/org-irc
/usr/share/emacs/site-lisp/org/org-special-blocks hides /usr/share/emacs/24.2/lisp/org/org-special-blocks
/usr/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/24.2/lisp/org/org-feed
/usr/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/24.2/lisp/org/ob-gnuplot
/usr/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/24.2/lisp/org/ob-asymptote
/usr/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/24.2/lisp/org/org-capture
/usr/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/24.2/lisp/org/org-compat
/usr/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/24.2/lisp/org/ob-emacs-lisp
/usr/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/24.2/lisp/org/org-timer
/usr/share/emacs/site-lisp/org/org-lparse hides /usr/share/emacs/24.2/lisp/org/org-lparse
/usr/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/24.2/lisp/org/ob-plantuml
/usr/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/24.2/lisp/org/org-datetree
/usr/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/24.2/lisp/org/ob-ditaa
/usr/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/24.2/lisp/org/org-agenda
/usr/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/24.2/lisp/org/org-install
/usr/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/24.2/lisp/org/ob-comint
/usr/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/24.2/lisp/org/org-mobile
/usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/24.2/lisp/org/org
/usr/share/emacs/site-lisp/org/ob-sh hides /usr/share/emacs/24.2/lisp/org/ob-sh
/usr/share/emacs/site-lisp/org/org-ascii hides /usr/share/emacs/24.2/lisp/org/org-ascii
/usr/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/24.2/lisp/org/org-faces
/usr/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/24.2/lisp/org/org-clock
/usr/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/24.2/lisp/org/org-colview
/usr/share/emacs/site-lisp/org/org-eshell hides /usr/share/emacs/24.2/lisp/org/org-eshell
/usr/share/emacs/site-lisp/org/org-mac-message hides /usr/share/emacs/24.2/lisp/org/org-mac-message
/usr/share/emacs/site-lisp/org/org-bbdb hides /usr/share/emacs/24.2/lisp/org/org-bbdb
/usr/share/emacs/site-lisp/org/org-exp-blocks hides /usr/share/emacs/24.2/lisp/org/org-exp-blocks
/usr/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/24.2/lisp/org/ob-perl
/usr/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/24.2/lisp/org/org-inlinetask
/usr/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/24.2/lisp/org/ob-haskell
/usr/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/24.2/lisp/org/ob-eval
/usr/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/24.2/lisp/org/org-mouse
/usr/share/emacs/site-lisp/org/ob hides /usr/share/emacs/24.2/lisp/org/ob
/usr/share/emacs/site-lisp/org/org-docview hides /usr/share/emacs/24.2/lisp/org/org-docview
/usr/share/emacs/site-lisp/org/org-beamer hides /usr/share/emacs/24.2/lisp/org/org-beamer
/usr/share/emacs/site-lisp/org/org-exp hides /usr/share/emacs/24.2/lisp/org/org-exp
/usr/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/24.2/lisp/org/ob-dot
/usr/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/24.2/lisp/org/ob-calc
/usr/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/24.2/lisp/org/ob-python
/usr/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/24.2/lisp/org/ob-java
/usr/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/24.2/lisp/org/ob-lisp
/usr/share/emacs/site-lisp/org/org-docbook hides /usr/share/emacs/24.2/lisp/org/org-docbook
/usr/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/24.2/lisp/org/org-attach
/usr/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/24.2/lisp/org/org-pcomplete
/usr/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/24.2/lisp/org/org-crypt
/usr/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/24.2/lisp/org/ob-org
/usr/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/24.2/lisp/org/org-footnote
/usr/share/emacs/site-lisp/org/org-xoxo hides /usr/share/emacs/24.2/lisp/org/org-xoxo
/usr/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/24.2/lisp/org/ob-R
/usr/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/24.2/lisp/org/org-indent
/usr/share/emacs/site-lisp/org/org-gnus hides /usr/share/emacs/24.2/lisp/org/org-gnus
/usr/share/emacs/site-lisp/org/org-mhe hides /usr/share/emacs/24.2/lisp/org/org-mhe
/usr/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/24.2/lisp/org/ob-sql
/usr/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/24.2/lisp/org/ob-ruby
/usr/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/24.2/lisp/org/ob-maxima
/usr/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/24.2/lisp/org/ob-sass
/usr/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/24.2/lisp/org/ob-exp
/usr/share/emacs/site-lisp/org/org-latex hides /usr/share/emacs/24.2/lisp/org/org-latex
/usr/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/24.2/lisp/org/org-protocol
/usr/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/24.2/lisp/org/ob-picolisp
/usr/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/24.2/lisp/org/org-macs
/usr/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/24.2/lisp/org/ob-ledger
/usr/share/emacs/site-lisp/org/org-jsinfo hides /usr/share/emacs/24.2/lisp/org/org-jsinfo
/usr/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/24.2/lisp/org/org-table
/usr/share/emacs/site-lisp/org/org-icalendar hides /usr/share/emacs/24.2/lisp/org/org-icalendar
/usr/share/emacs/site-lisp/org/org-freemind hides /usr/share/emacs/24.2/lisp/org/org-freemind
/usr/share/emacs/site-lisp/org/ob-keys hides /usr/share/emacs/24.2/lisp/org/ob-keys
/usr/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/24.2/lisp/org/ob-lob
/usr/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/24.2/lisp/org/ob-table
/usr/share/emacs/site-lisp/org/org-odt hides /usr/share/emacs/24.2/lisp/org/org-odt
/usr/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/24.2/lisp/org/org-ctags
/usr/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/24.2/lisp/org/ob-js
/usr/share/emacs/site-lisp/org/org-rmail hides /usr/share/emacs/24.2/lisp/org/org-rmail
/usr/share/emacs/site-lisp/org/org-bibtex hides /usr/share/emacs/24.2/lisp/org/org-bibtex
/usr/share/emacs/site-lisp/org/org-remember hides /usr/share/emacs/24.2/lisp/org/org-remember
/usr/share/emacs/site-lisp/org/org-w3m hides /usr/share/emacs/24.2/lisp/org/org-w3m
/usr/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/24.2/lisp/org/ob-mscgen
/usr/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/24.2/lisp/org/ob-ref
/usr/share/emacs/site-lisp/org/org-publish hides /usr/share/emacs/24.2/lisp/org/org-publish
/usr/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/24.2/lisp/org/org-list
/usr/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/24.2/lisp/org/org-habit
/usr/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/24.2/lisp/org/org-plot
/usr/share/emacs/site-lisp/org/org-html hides /usr/share/emacs/24.2/lisp/org/org-html
/usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.2/lisp/net/sasl-ntlm
/usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.2/lisp/net/sasl-cram
/usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/24.2/lisp/net/ntlm
/usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/24.2/lisp/net/sasl
/usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.2/lisp/net/sasl-digest
/usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.2/lisp/net/hmac-md5
/usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/24.2/lisp/net/hmac-def
/usr/share/emacs/site-lisp/cjk-latex/thai-word hides /usr/share/emacs/24.2/lisp/language/thai-word
~/.emacs.d/private/gnus hides /usr/share/emacs/24.2/lisp/gnus/gnus
/usr/share/emacs/site-lisp/semi/smime hides /usr/share/emacs/24.2/lisp/gnus/smime
/usr/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio-opt
/usr/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio-custom
/usr/share/emacs/site-lisp/cedet/eieio/eieio-datadebug hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio-datadebug
/usr/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio
/usr/share/emacs/site-lisp/emms/tq hides /usr/share/emacs/24.2/lisp/emacs-lisp/tq
/usr/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio-speedbar
/usr/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/share/emacs/24.2/lisp/emacs-lisp/eieio-base
/usr/share/emacs/site-lisp/cedet/eieio/chart hides /usr/share/emacs/24.2/lisp/emacs-lisp/chart
/usr/share/emacs/site-lisp/cedet/common/pulse hides /usr/share/emacs/24.2/lisp/cedet/pulse
/usr/share/emacs/site-lisp/cedet/common/cedet-global hides /usr/share/emacs/24.2/lisp/cedet/cedet-global
/usr/share/emacs/site-lisp/cedet/srecode/srecode hides /usr/share/emacs/24.2/lisp/cedet/srecode
/usr/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/share/emacs/24.2/lisp/cedet/cedet-files
/usr/share/emacs/site-lisp/cedet/common/data-debug hides /usr/share/emacs/24.2/lisp/cedet/data-debug
/usr/share/emacs/site-lisp/cedet/common/cedet-idutils hides /usr/share/emacs/24.2/lisp/cedet/cedet-idutils
/usr/share/emacs/site-lisp/cedet/ede/ede hides /usr/share/emacs/24.2/lisp/cedet/ede
/usr/share/emacs/site-lisp/cedet/common/mode-local hides /usr/share/emacs/24.2/lisp/cedet/mode-local
/usr/share/emacs/site-lisp/cedet/common/cedet hides /usr/share/emacs/24.2/lisp/cedet/cedet
/usr/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/share/emacs/24.2/lisp/cedet/semantic
/usr/share/emacs/site-lisp/cedet/common/cedet-cscope hides /usr/share/emacs/24.2/lisp/cedet/cedet-cscope
/usr/share/emacs/site-lisp/cedet/common/inversion hides /usr/share/emacs/24.2/lisp/cedet/inversion
/usr/share/emacs/site-lisp/semi/pgg-pgp5 hides /usr/share/emacs/24.2/lisp/obsolete/pgg-pgp5
/usr/share/emacs/site-lisp/semi/pgg-parse hides /usr/share/emacs/24.2/lisp/obsolete/pgg-parse
/usr/share/emacs/site-lisp/semi/pgg-pgp hides /usr/share/emacs/24.2/lisp/obsolete/pgg-pgp
/usr/share/emacs/site-lisp/semi/pgg-gpg hides /usr/share/emacs/24.2/lisp/obsolete/pgg-gpg
/usr/share/emacs/site-lisp/semi/pgg-def hides /usr/share/emacs/24.2/lisp/obsolete/pgg-def
/usr/share/emacs/site-lisp/semi/pgg hides /usr/share/emacs/24.2/lisp/obsolete/pgg
/usr/share/emacs/24.2/lisp/gnus/utf7 hides /home/arne/.emacs.d/libs/wanderlust/elmo/utf7
/usr/share/emacs/24.2/lisp/mail/rfc2368 hides /home/arne/.emacs.d/libs/wanderlust/utils/rfc2368

Features:
(shadow wl-mime mime-play filename mime-edit pgg-parse pccl pccl-20
pgg-def signature modb-standard elmo-maildir elmo-map emacsbug message
idna mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader
vc-bzr semantic-tag-file semantic-c semantic-gcc semantic-dep
semantic-decorate-include hideif semantic-c-by semantic-lex-spp vc-git
grep semantic-decorate-mode semantic-decorate pulse two-column
cus-edit misearch multi-isearch semanticdb-find semanticdb-file
cedet-files semantic-edit face-remap eieio-opt help-mode view
thingatpt ffap server semantic-el semantic-bovine bovine-debug
semantic-debug activate-babenv eimp reftex-parse reftex-vcr reftex-dcr
reftex-auc reftex reftex-vars outline-magic ispell org-wl org-w3m
org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs
org-html org-info org-gnus org-docview org-bibtex org-bbdb
font-lock-tm5rc generic activate-wanderlust bbdb-wl bbdb-hooks
mailcrypt rfc822 wl-demo wl-draft eword-encode wl-template wl-news
wl-address wl-thread wl-action wl-summary wl-refile wl-message
elmo-mime mmelmo-buffer mmelmo-imap mime-view mime-conf calist mmimap
mime-parse mmbuffer mmgeneric wl-highlight elmo-multi wl-folder wl
wl-e21 wl-util elmo-flag elmo-localdir wl-vars wl-version elmo
elmo-signal elmo-msgdb modb modb-generic modb-entity mime elmo-util
emu invisible inv-23 poem poem-e20 poem-e20_3 utf7 eword-decode mel
mime-def std11 mcharset mcs-20 mcs-e20 pces pces-e20 pces-20 broken
pcustom elmo-date elmo-vars elmo-version luna activate-private-data
private-basic private-wanderlust smtpmail sendmail mail-utils
w3m-search w3m browse-url doc-view jka-compr image-mode w3m-hist
w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-util apps bbdb-timed-notes bbdb-phone-book kanban fortran-tools
activate-python pydoc-info info-look sb-info info python-magic
python-21 python stenochords key-chord
activate-kde-default-keybindings activate-darkroom wc
activate-identica identica-mode url-http tls url-auth mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums url-gw url url-proxy url-privacy
url-expand url-methods url-history url-cookie mailcap parse-time xml
epa-file epa epg epg-config activate-german-spelling
activate-ethan-wspace ethan-wspace popup-kill-ring pos-tip
activate-auto-complete auto-complete-config auto-complete popup
activate-markdown activate-latex-ide flymake compile
rainbow-delimiters ebib bibtex fic-ext-mode xub-mode
org-location-google-maps google-maps google-maps-static url-util
url-parse auth-source gnus-util password-cache url-vars mm-util
mail-prsvr google-maps-geocode google-maps-base json nyan-mode
semantic-m3 semantic-analyze-refs cedet-m3 semantic-mru-bookmark
semanticdb-mode semantic-idle eldoc senator which-func semantic-imenu
semantic-sb imenu org-latex org-export-latex org-beamer org-exp ob-exp
org-exp-blocks org-agenda footnote ob-org ob-gnuplot ob-C cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs ob-dot ob-ditaa ob-sh shell ob-python activate-emms
emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do
emms-playlist-mode emms-player-mplayer emms-player-simple
emms-source-playlist emms-source-file dired emms-setup emms
emms-compat edmacro kmacro control-lock htmlize typing rudel-mode
rudel-display rudel rudel-icons rudel-interactive rudel-compat
rudel-hooks rudel-operators rudel-overlay rudel-operations
rudel-session-initiation rudel-util rudel-errors rudel-loaddefs
rudel-backend goto-chg journal activate-quick-note remember-bbdb
remember ob-R org ob-tangle ob-ref ob-lob ob-table org-footnote
org-src ob-comint ob-keys org-pcomplete pcomplete comint ansi-color
ring org-list org-faces org-entities noutline outline easy-mmode
org-version ob-emacs-lisp ob org-compat org-macs ob-eval format-spec
cal-menu calendar cal-loaddefs bbdb-vcard bbdb-com mailabbrev vcard
allout savehist ido melpa recentf tree-widget cups printing ps-print
ps-def lpr rainbow-text ahg-autoloads deft-autoloads
f90-interface-browser-autoloads melpa-autoloads rainbow-mode-autoloads
svg-clock-autoloads package tabulated-list activate-base vc-hg
bookmark pp saveplace time-date uniquify paren time cus-start cus-load
site-gentoo jde-autoload w3m-load ecb-autoloads mime-setup
mail-mime-setup alist semi-setup path-util poe pym static apel-ver
product semi-def preview-latex org-install emms-auto cedet
cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs
speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar
ede-files ede ede-base ede-auto eieio-speedbar semantic-ia-sb
semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort
semanticdb-javap cedet-java semanticdb-el semanticdb-ref semantic-find
semanticdb semantic-ctxt semantic-format semantic-util-modes
semantic-util semantic semantic-lex semantic-tag-ls semantic-tag
working fame speedbar sb-image ezimage dframe easymenu assoc
eieio-custom wid-edit ede-source eieio-base srecode-load srecode
srecode-loaddefs semantic-load semantic-fw semantic-loaddefs
mode-local find-func derived eieio-load eieio-loaddefs cedet-load
cedet-compat cedet-loaddefs eieio warnings advice help-fns
advice-preload byte-opt bytecomp byte-compile cconv macroexp cl
inversion bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-01-16 23:52 bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w) Arne Babenhauserheide
@ 2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
  2013-03-20  3:46   ` Eli Zaretskii
  2022-02-05 23:56 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Arne Babenhauserheide (IMK) @ 2013-03-19 10:39 UTC (permalink / raw)
  To: arne_bab, 13469


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

Hi,

I can reproduce this bug with a simple qxembed frame. Steps:


(1) Get qxembed-emacs:

https://bitbucket.org/ArneBab/kembed-emacs/src/71b958b3f737a62987dfc7cd39eb3edcb02308b2/qxembed-emacs.py
    hg clone https://bitbucket.org/ArneBab/kembed-emacs

(2) run ./qxembed-emacs.py

(3) resize the qxembed-window.

(4) do the same with ./qxembed-emacs.py --basic
    this opens emacs with -Q --basic-display


For me, (3) has an embedded emacs which shrinks down instantly to maybe
5 chars after releasing the window.

With (4) the embedded emacs is adjusted to the window size after the
first resize and then stays embedded correctly. But it looks odd due to
the --basic-display.

Best wishes,
Arne

[-- Attachment #1.2: arne_babenhauserheide.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]

begin:vcard
fn:Arne Babenhauserheide
n:Babenhauserheide;Arne
org:KIT;GHG,  IMK-ASK
adr;quoted-printable:;;Geb=C3=A4ude 435, Raum 410, Campus Nord;Karlsruhe;BW;76021;Deutschland
email;internet:arne.babenhauserheide@kit.edu
title:Doktorand
tel;work:+49 721 608-22885
x-mozilla-html:FALSE
url:http://www.imk-asf.kit.edu/874_1194.php
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
@ 2013-03-20  3:46   ` Eli Zaretskii
       [not found]     ` <51497A90.7070901@kit.edu>
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2013-03-20  3:46 UTC (permalink / raw)
  To: arne.babenhauserheide; +Cc: 13469, arne_bab

> Date: Tue, 19 Mar 2013 11:39:24 +0100
> From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
> 
> I can reproduce this bug with a simple qxembed frame. Steps:
> 
> 
> (1) Get qxembed-emacs:
> 
> https://bitbucket.org/ArneBab/kembed-emacs/src/71b958b3f737a62987dfc7cd39eb3edcb02308b2/qxembed-emacs.py
>     hg clone https://bitbucket.org/ArneBab/kembed-emacs
> 
> (2) run ./qxembed-emacs.py
> 
> (3) resize the qxembed-window.
> 
> (4) do the same with ./qxembed-emacs.py --basic
>     this opens emacs with -Q --basic-display
> 
> 
> For me, (3) has an embedded emacs which shrinks down instantly to maybe
> 5 chars after releasing the window.
> 
> With (4) the embedded emacs is adjusted to the window size after the
> first resize and then stays embedded correctly. But it looks odd due to
> the --basic-display.

Is there any evidence that this is an Emacs bug, and not a bug in
qxembed-emacs.py?  Can you reproduce something similar with just
Emacs?






^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
       [not found]     ` <51497A90.7070901@kit.edu>
@ 2013-03-20 19:26       ` Eli Zaretskii
  2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2013-03-20 19:26 UTC (permalink / raw)
  To: arne.babenhauserheide; +Cc: 13469, arne_bab

[Please keep the bug address on the CC list.]

> Date: Wed, 20 Mar 2013 10:00:00 +0100
> From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
> 
> > Is there any evidence that this is an Emacs bug, and not a bug in
> > qxembed-emacs.py?  Can you reproduce something similar with just
> > Emacs?
> 
> The cue for that is that the same happens with kmail, which I did not
> write, and that qxembed-emacs.py is just a 47 lines script, which can be
> reduced to the following by removing emacs version checks and
> commandline argument parsing:
> 
>     from PyQt4.QtGui import QX11EmbedContainer, QApplication
>     from PyQt4.QtCore import QProcess, SIGNAL, SLOT
>     from sys import argv
> 
>     app = QApplication(argv)
> 
>     container = QX11EmbedContainer()
>     container.resize(670, 630)
>     container.show()
> 
>     process = QProcess(container)
>     process.start("emacs", ["--parent-id", str(container.winId())])
> 
>     container.connect(container, SIGNAL("clientClosed()"), app.quit)
> 
>     container.connect(container,
> SIGNAL("error(QX11EmbedContainer::Error)"), app.quit)
> 
>     status = app.exec_()
>     process.close()
> 
> 
> There might also be a bug in Qt, which triggers this behavior.
> 
> Especially strange is that it works with emacs -Q --basic-display.

The --basic-display disables menu bar and tool bar, and also disables
blinking cursor.  Maybe the absent menu and tool bar somehow affect
this, when you resize the qxembed-window?

I suggest to put a breakpoint in change_frame_size, and see who calls
it with such a small frame size.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-20 19:26       ` Eli Zaretskii
@ 2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
  2013-03-21 11:37           ` martin rudalics
  2013-03-21 17:36           ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Arne Babenhauserheide (IMK) @ 2013-03-21 10:57 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13469@debbugs.gnu.org, arne_bab@web.de


[-- Attachment #1.1: Type: text/plain, Size: 26407 bytes --]

Am 20.03.2013 20:26, schrieb Eli Zaretskii:
> [Please keep the bug address on the CC list.]

Sorry, that got lost in different shortcuts of different mail programs…

I’ll try to keep it in.

>> There might also be a bug in Qt, which triggers this behavior.
>>
>> Especially strange is that it works with emacs -Q --basic-display.
> 
> The --basic-display disables menu bar and tool bar, and also disables
> blinking cursor.  Maybe the absent menu and tool bar somehow affect
> this, when you resize the qxembed-window?

When I disable the menu bar, the frame is a bit bigger even without
--basic-display. It still resizes to the tiny size, though.

I just found a much easier way to reproduce it:

Run emacs with --parent-id <random number>

Then click with the mouse on the minibuffer. With menubar, it gets
really tiny, without menubar it resizes to a bigger size (~4 times as
wide as the small size), but when I click the minibuffer it emacs starts
to flicker and to resize repeatedly. The flickering stops, when I call
async-shell-command but starts again once I hit C-g to leave the minibuffer.

> I suggest to put a breakpoint in change_frame_size, and see who calls
> it with such a small frame size.

I get something like this:

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=5, newwidth=newwidth@entry=21,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=5, newwidth=21,
pretend=0, delay=0, safe=1) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=3, newwidth=newwidth@entry=21,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=3, newwidth=21,
pretend=0, delay=0, safe=0) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=13, newwidth=newwidth@entry=21,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=13, newwidth=21,
pretend=0, delay=0, safe=1) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=8, newwidth=newwidth@entry=21,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=8, newwidth=21,
pretend=0, delay=0, safe=1) at dispnew.c:5726
5726    in dispnew.c
(gdb)
Continuing.


I tried to check the source, but bzr just died with a maximum recursion
depth error when I tried to get the source of emacs 24.2.1 instead of
trunk… (I’m not used to bzr, so I likely sent it quite an evil set of
commands: update from trunk to emacs-24.2.1; switch emacs-24.2.1; revert
--forget-merges ; switch emacs-24.2.1 → dead)

Online I could only find this:

http://bzr.savannah.gnu.org/lh/emacs/emacs-24/annotate/head:/src/dispnew.c#L5726

A backtrace after clicking the minibuffer (which triggers a resize)
looks like this (without menubar):

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=5, newwidth=newwidth@entry=21,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb) backtrace
#0  change_frame_size (f=f@entry=0x104b4b0, newheight=newheight@entry=5,
newwidth=newwidth@entry=21, pretend=pretend@entry=0,
delay=delay@entry=1, safe=safe@entry=0)
    at dispnew.c:5726
#1  0x00000000004ed1c8 in xg_frame_resized (f=0x104b4b0, pixelwidth=200,
pixelheight=75) at gtkutil.c:888
#2  0x00000000004c3056 in handle_one_xevent
(dpyinfo=dpyinfo@entry=0x101a3f0,
eventptr=eventptr@entry=0x7fffffffc360, finish=finish@entry=0xaee010
<current_finish>,
    hold_quit=0x7fffffffc720) at xterm.c:6813
#3  0x00000000004c3a34 in event_handler_gdk (gxev=0x7fffffffc360,
ev=<optimized out>, data=<optimized out>) at xterm.c:5834
#4  0x00007ffff7543d52 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#5  0x00007ffff75454f8 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#6  0x00007ffff754557e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#7  0x00007ffff68c0883 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#8  0x00007ffff68c0bc8 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff68c0c84 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#10 0x00007ffff78d7b81 in gtk_main_iteration () from
/usr/lib64/libgtk-x11-2.0.so.0
#11 0x00000000004bb102 in XTread_socket (terminal=0x104b4b0, expected=5,
hold_quit=0x7fffffffc720) at xterm.c:7187
#12 0x0000000000502328 in read_avail_input (expected=expected@entry=1)
at keyboard.c:6859
#13 0x0000000000502b7a in handle_async_input () at keyboard.c:7187
#14 0x0000000000501a49 in process_pending_signals () at keyboard.c:7203
#15 0x00000000005afa35 in wait_reading_process_output
(time_limit=time_limit@entry=30, microsecs=microsecs@entry=0,
read_kbd=read_kbd@entry=-1,
    do_display=do_display@entry=1, wait_for_cell=11979218,
wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at
process.c:4343
#16 0x00000000004208b0 in sit_for (timeout=timeout@entry=120,
reading=reading@entry=1, do_display=do_display@entry=1) at dispnew.c:6067
#17 0x0000000000507ae0 in read_char (commandflag=1, nmaps=nmaps@entry=9,
maps=maps@entry=0x7fffffffcf60, prev_event=11979218,
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffd0b4,
end_time=end_time@entry=0x0) at keyboard.c:2692
#18 0x00000000005087ad in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffd190, prompt=11979218,
dont_downcase_last=dont_downcase_last@entry=0,
    can_return_switch_frame=can_return_switch_frame@entry=1,
fix_current_buffer=fix_current_buffer@entry=1, bufsize=30) at
keyboard.c:9328
#19 0x000000000050a97c in command_loop_1 () at keyboard.c:1449
#20 0x000000000056d621 in internal_condition_case
(bfun=bfun@entry=0x50a790 <command_loop_1>, handlers=12031506,
hfun=hfun@entry=0x4fff50 <cmd_error>) at eval.c:1514
#21 0x00000000004fab4e in command_loop_2 (ignore=ignore@entry=11979218)
at keyboard.c:1160
#22 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=func@entry=0x4fab30 <command_loop_2>, arg=11979218) at eval.c:1271
#23 0x00000000004ffa67 in command_loop () at keyboard.c:1139
#24 recursive_edit_1 () at keyboard.c:759
#25 0x00000000004ffd6d in Frecursive_edit () at keyboard.c:823
#26 0x0000000000415b8d in main (argc=<optimized out>,
argv=0x7fffffffd9b8) at emacs.c:1715




The following are 4 backtraces after activating the menubar, then
enlarging the window and continuing, until emacs starts to shrink itself
again:


Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=10, newwidth=newwidth@entry=40,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb) backtrace
#0  change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=10, newwidth=newwidth@entry=40,
pretend=pretend@entry=0, delay=delay@entry=1, safe=safe@entry=0)
    at dispnew.c:5726
#1  0x00000000004ed1c8 in xg_frame_resized (f=0x104b4b0, pixelwidth=352,
pixelheight=150) at gtkutil.c:888
#2  0x00000000004c3056 in handle_one_xevent
(dpyinfo=dpyinfo@entry=0x101a3f0,
eventptr=eventptr@entry=0x7fffffffa5a0, finish=finish@entry=0xaee010
<current_finish>,
    hold_quit=0x7fffffffa960) at xterm.c:6813
#3  0x00000000004c3a34 in event_handler_gdk (gxev=0x7fffffffa5a0,
ev=<optimized out>, data=<optimized out>) at xterm.c:5834
#4  0x00007ffff7543d52 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#5  0x00007ffff75454f8 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#6  0x00007ffff754557e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#7  0x00007ffff68c0883 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#8  0x00007ffff68c0bc8 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff68c0c84 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#10 0x00007ffff78d7b81 in gtk_main_iteration () from
/usr/lib64/libgtk-x11-2.0.so.0
#11 0x00000000004bb102 in XTread_socket (terminal=0x104b4b0,
expected=10, hold_quit=0x7fffffffa960) at xterm.c:7187
#12 0x0000000000502328 in read_avail_input (expected=expected@entry=1)
at keyboard.c:6859
#13 0x0000000000502b7a in handle_async_input () at keyboard.c:7187
#14 0x0000000000501a49 in process_pending_signals () at keyboard.c:7203
#15 0x0000000000575f35 in internal_equal (o1=o1@entry=11979218,
o2=o2@entry=11979218, depth=depth@entry=0, props=props@entry=0) at
fns.c:2031
#16 0x00000000005760cd in Fequal (o1=o1@entry=11979218,
o2=o2@entry=11979218) at fns.c:2008
#17 0x000000000043d9f7 in display_mode_element
(it=it@entry=0x7fffffffad20, depth=4, depth@entry=2, field_width=0,
precision=precision@entry=-1, elt=12574977,
    props=props@entry=11979218, risky=1, risky@entry=0) at xdisp.c:20203
#18 0x000000000043f446 in display_mode_element
(it=it@entry=0x7fffffffad20, depth=2, depth@entry=0,
field_width=field_width@entry=-1, precision=precision@entry=-1,
    elt=<optimized out>, elt@entry=8713366, props=11979218,
risky=risky@entry=0) at xdisp.c:20567
#19 0x000000000043fa8e in x_consider_frame_title (frame=<optimized out>)
at xdisp.c:10974
#20 0x000000000043fbab in prepare_menu_bars () at xdisp.c:11031
#21 0x0000000000449a6e in redisplay_internal () at xdisp.c:12944
#22 0x000000000044bd13 in redisplay_preserve_echo_area
(from_where=<optimized out>) at xdisp.c:13556
#23 0x0000000000505692 in detect_input_pending_run_timers
(do_display=do_display@entry=1) at keyboard.c:10512
#24 0x00000000005af5d8 in wait_reading_process_output
(time_limit=time_limit@entry=30, microsecs=microsecs@entry=0,
read_kbd=read_kbd@entry=-1,
    do_display=do_display@entry=1, wait_for_cell=11979218,
wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at
process.c:4738
#25 0x00000000004208b0 in sit_for (timeout=timeout@entry=120,
reading=reading@entry=1, do_display=do_display@entry=1) at dispnew.c:6067
#26 0x0000000000507ae0 in read_char (commandflag=1, nmaps=nmaps@entry=9,
maps=maps@entry=0x7fffffffcf60, prev_event=11979218,
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffd0b4,
end_time=end_time@entry=0x0) at keyboard.c:2692
#27 0x00000000005087ad in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffd190, prompt=11979218,
dont_downcase_last=dont_downcase_last@entry=0,
    can_return_switch_frame=can_return_switch_frame@entry=1,
fix_current_buffer=fix_current_buffer@entry=1, bufsize=30) at
keyboard.c:9328
#28 0x000000000050a97c in command_loop_1 () at keyboard.c:1449
#29 0x000000000056d621 in internal_condition_case
(bfun=bfun@entry=0x50a790 <command_loop_1>, handlers=12031506,
hfun=hfun@entry=0x4fff50 <cmd_error>) at eval.c:1514
#30 0x00000000004fab4e in command_loop_2 (ignore=ignore@entry=11979218)
at keyboard.c:1160
#31 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=func@entry=0x4fab30 <command_loop_2>, arg=11979218) at eval.c:1271
#32 0x00000000004ffa67 in command_loop () at keyboard.c:1139
#33 recursive_edit_1 () at keyboard.c:759
#34 0x00000000004ffd6d in Frecursive_edit () at keyboard.c:823
#35 0x0000000000415b8d in main (argc=<optimized out>,
argv=0x7fffffffd9b8) at emacs.c:1715
(gdb) c
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=10, newwidth=40,
pretend=0, delay=0, safe=1) at dispnew.c:5726
5726    in dispnew.c
(gdb) backtrace
#0  change_frame_size (f=0x104b4b0, newheight=10, newwidth=40,
pretend=0, delay=0, safe=1) at dispnew.c:5726
#1  0x00000000004205b0 in do_pending_window_change (safe=safe@entry=1)
at dispnew.c:5706
#2  0x0000000000449a0c in redisplay_internal () at xdisp.c:13501
#3  0x000000000044bd13 in redisplay_preserve_echo_area
(from_where=<optimized out>) at xdisp.c:13556
#4  0x0000000000505692 in detect_input_pending_run_timers
(do_display=do_display@entry=1) at keyboard.c:10512
#5  0x00000000005af5d8 in wait_reading_process_output
(time_limit=time_limit@entry=30, microsecs=microsecs@entry=0,
read_kbd=read_kbd@entry=-1,
    do_display=do_display@entry=1, wait_for_cell=11979218,
wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at
process.c:4738
#6  0x00000000004208b0 in sit_for (timeout=timeout@entry=120,
reading=reading@entry=1, do_display=do_display@entry=1) at dispnew.c:6067
#7  0x0000000000507ae0 in read_char (commandflag=1, nmaps=nmaps@entry=9,
maps=maps@entry=0x7fffffffcf60, prev_event=11979218,
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffd0b4,
end_time=end_time@entry=0x0) at keyboard.c:2692
#8  0x00000000005087ad in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffd190, prompt=11979218,
dont_downcase_last=dont_downcase_last@entry=0,
    can_return_switch_frame=can_return_switch_frame@entry=1,
fix_current_buffer=fix_current_buffer@entry=1, bufsize=30) at
keyboard.c:9328
#9  0x000000000050a97c in command_loop_1 () at keyboard.c:1449
#10 0x000000000056d621 in internal_condition_case
(bfun=bfun@entry=0x50a790 <command_loop_1>, handlers=12031506,
hfun=hfun@entry=0x4fff50 <cmd_error>) at eval.c:1514
#11 0x00000000004fab4e in command_loop_2 (ignore=ignore@entry=11979218)
at keyboard.c:1160
#12 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=func@entry=0x4fab30 <command_loop_2>, arg=11979218) at eval.c:1271
#13 0x00000000004ffa67 in command_loop () at keyboard.c:1139
#14 recursive_edit_1 () at keyboard.c:759
#15 0x00000000004ffd6d in Frecursive_edit () at keyboard.c:823
#16 0x0000000000415b8d in main (argc=<optimized out>,
argv=0x7fffffffd9b8) at emacs.c:1715

Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
newheight=newheight@entry=7, newwidth=newwidth@entry=40,
pretend=pretend@entry=0, delay=delay@entry=1,
    safe=safe@entry=0) at dispnew.c:5726
5726    in dispnew.c
(gdb) backtrace
#0  change_frame_size (f=f@entry=0x104b4b0, newheight=newheight@entry=7,
newwidth=newwidth@entry=40, pretend=pretend@entry=0,
delay=delay@entry=1, safe=safe@entry=0)
    at dispnew.c:5726
#1  0x00000000004ed1c8 in xg_frame_resized (f=0x104b4b0, pixelwidth=352,
pixelheight=105) at gtkutil.c:888
#2  0x00000000004c3056 in handle_one_xevent
(dpyinfo=dpyinfo@entry=0x101a3f0,
eventptr=eventptr@entry=0x7fffffffaf40, finish=finish@entry=0xaee010
<current_finish>,
    hold_quit=0x7fffffffb300) at xterm.c:6813
#3  0x00000000004c3a34 in event_handler_gdk (gxev=0x7fffffffaf40,
ev=<optimized out>, data=<optimized out>) at xterm.c:5834
#4  0x00007ffff7543d52 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#5  0x00007ffff75454f8 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#6  0x00007ffff754557e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#7  0x00007ffff68c0883 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#8  0x00007ffff68c0bc8 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff68c0c84 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#10 0x00007ffff78d7b81 in gtk_main_iteration () from
/usr/lib64/libgtk-x11-2.0.so.0
#11 0x00000000004bb102 in XTread_socket (terminal=0x104b4b0, expected=7,
hold_quit=0x7fffffffb300) at xterm.c:7187
#12 0x0000000000502328 in read_avail_input (expected=expected@entry=1)
at keyboard.c:6859
#13 0x0000000000502b7a in handle_async_input () at keyboard.c:7187
#14 0x0000000000501a49 in process_pending_signals () at keyboard.c:7203
#15 0x00000000005a7961 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:621
#16 0x000000000056ede1 in funcall_lambda (fun=50942565,
nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffb750) at
eval.c:3232
#17 0x000000000056f0fb in Ffuncall (nargs=nargs@entry=1,
args=args@entry=0x7fffffffb748) at eval.c:3062
#18 0x000000000057065c in Fapply (nargs=2, args=0x7fffffffb748) at
eval.c:2449
#19 0x000000000056f2df in Ffuncall (nargs=<optimized out>,
args=args@entry=0x7fffffffb740) at eval.c:2983
#20 0x00000000005a6713 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=<optimized out>,
    args=<optimized out>) at bytecode.c:785
#21 0x000000000056e7ed in eval_sub (form=form@entry=9999318) at eval.c:2355
#22 0x0000000000571e01 in internal_lisp_condition_case (var=11979218,
bodyform=9999318, handlers=8769638) at eval.c:1468
#23 0x00000000005a6d68 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:981
#24 0x000000000056ede1 in funcall_lambda (fun=9999013,
nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffbc48) at
eval.c:3232
#25 0x000000000056f0fb in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffbc40) at eval.c:3062
#26 0x000000000056f43a in call1 (fn=<optimized out>,
arg1=arg1@entry=49827285) at eval.c:2770
#27 0x000000000050085d in timer_check_2 () at keyboard.c:4465
#28 timer_check () at keyboard.c:4511
#29 0x00000000005aeecb in wait_reading_process_output (time_limit=-1,
microsecs=0, read_kbd=read_kbd@entry=0, do_display=do_display@entry=0,
wait_for_cell=11979218,
    wait_proc=0x0, just_wait_proc=0) at process.c:4390
#30 0x00000000005b09f2 in Faccept_process_output (process=11979218,
seconds=<optimized out>, millisec=<optimized out>,
just_this_one=<optimized out>) at process.c:3999
#31 0x000000000056f247 in Ffuncall (nargs=<optimized out>,
args=args@entry=0x7fffffffc0c0) at eval.c:3012
#32 0x00000000005a6713 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:785
#33 0x000000000056ede1 in funcall_lambda (fun=24073429,
nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffc298) at
eval.c:3232
#34 0x000000000056f0fb in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffc290) at eval.c:3062
#35 0x000000000056f43a in call1 (fn=fn@entry=24073429, arg1=<optimized
out>) at eval.c:2770
#36 0x00000000005772bd in mapcar1 (leni=1, vals=vals@entry=0x0,
fn=fn@entry=24073429, seq=seq@entry=24959830) at fns.c:2346
#37 0x000000000057a00f in Fmapc (function=24073429, sequence=24959830)
at fns.c:2434
#38 0x000000000056e801 in eval_sub (form=form@entry=23317142) at eval.c:2352
#39 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=0x56e310 <eval_sub>, arg=23317142) at eval.c:1271
#40 0x00000000005a6daa in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=<optimized out>,
    args=<optimized out>) at bytecode.c:966
#41 0x000000000056e7ed in eval_sub (form=form@entry=23316342) at eval.c:2355
#42 0x0000000000571e01 in internal_lisp_condition_case (var=12347458,
bodyform=23316342, handlers=23316118) at eval.c:1468
#43 0x00000000005a6d68 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:981
#44 0x000000000056ede1 in funcall_lambda (fun=23938325,
nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffcac8) at
eval.c:3232
#45 0x000000000056f0fb in Ffuncall (nargs=1, args=0x7fffffffcac0) at
eval.c:3062
#46 0x000000000056f389 in funcall_nil (nargs=<optimized out>,
args=<optimized out>) at eval.c:2518
#47 0x000000000056dc45 in run_hook_with_args (nargs=1,
args=0x7fffffffcac0, funcall=0x56f380 <funcall_nil>) at eval.c:2707
#48 0x000000000056dd86 in Frun_hooks (nargs=nargs@entry=1,
args=args@entry=0x7fffffffcb28) at eval.c:2545
#49 0x000000000053259e in Fdo_auto_save (no_message=11979218,
current_only=11979218) at fileio.c:5325
#50 0x0000000000507b29 in read_char (commandflag=1, nmaps=nmaps@entry=9,
maps=maps@entry=0x7fffffffcf60, prev_event=11979218,
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffd0b4,
end_time=end_time@entry=0x0) at keyboard.c:2698
#51 0x00000000005087ad in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffd190, prompt=11979218,
dont_downcase_last=dont_downcase_last@entry=0,
    can_return_switch_frame=can_return_switch_frame@entry=1,
fix_current_buffer=fix_current_buffer@entry=1, bufsize=30) at
keyboard.c:9328
#52 0x000000000050a97c in command_loop_1 () at keyboard.c:1449
#53 0x000000000056d621 in internal_condition_case
(bfun=bfun@entry=0x50a790 <command_loop_1>, handlers=12031506,
hfun=hfun@entry=0x4fff50 <cmd_error>) at eval.c:1514
#54 0x00000000004fab4e in command_loop_2 (ignore=ignore@entry=11979218)
at keyboard.c:1160
#55 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=func@entry=0x4fab30 <command_loop_2>, arg=11979218) at eval.c:1271
#56 0x00000000004ffa67 in command_loop () at keyboard.c:1139
---Type <return> to continue, or q <return> to quit---
#57 recursive_edit_1 () at keyboard.c:759
#58 0x00000000004ffd6d in Frecursive_edit () at keyboard.c:823
#59 0x0000000000415b8d in main (argc=<optimized out>,
argv=0x7fffffffd9b8) at emacs.c:1715
(gdb) c
Continuing.

Breakpoint 1, change_frame_size (f=0x104b4b0, newheight=7, newwidth=40,
pretend=0, delay=0, safe=0) at dispnew.c:5726
5726    in dispnew.c
(gdb) backtrace
#0  change_frame_size (f=0x104b4b0, newheight=7, newwidth=40, pretend=0,
delay=0, safe=0) at dispnew.c:5726
#1  0x00000000004205b0 in do_pending_window_change (safe=safe@entry=0)
at dispnew.c:5706
#2  0x00000000005af561 in wait_reading_process_output (time_limit=-1,
microsecs=0, read_kbd=read_kbd@entry=0, do_display=do_display@entry=0,
wait_for_cell=11979218,
    wait_proc=0x0, just_wait_proc=0) at process.c:4678
#3  0x00000000005b09f2 in Faccept_process_output (process=11979218,
seconds=<optimized out>, millisec=<optimized out>,
just_this_one=<optimized out>) at process.c:3999
#4  0x000000000056f247 in Ffuncall (nargs=<optimized out>,
args=args@entry=0x7fffffffc0c0) at eval.c:3012
#5  0x00000000005a6713 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:785
#6  0x000000000056ede1 in funcall_lambda (fun=24073429,
nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffc298) at
eval.c:3232
#7  0x000000000056f0fb in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffc290) at eval.c:3062
#8  0x000000000056f43a in call1 (fn=fn@entry=24073429, arg1=<optimized
out>) at eval.c:2770
#9  0x00000000005772bd in mapcar1 (leni=1, vals=vals@entry=0x0,
fn=fn@entry=24073429, seq=seq@entry=24959830) at fns.c:2346
#10 0x000000000057a00f in Fmapc (function=24073429, sequence=24959830)
at fns.c:2434
#11 0x000000000056e801 in eval_sub (form=form@entry=23317142) at eval.c:2352
#12 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=0x56e310 <eval_sub>, arg=23317142) at eval.c:1271
#13 0x00000000005a6daa in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=<optimized out>,
    args=<optimized out>) at bytecode.c:966
#14 0x000000000056e7ed in eval_sub (form=form@entry=23316342) at eval.c:2355
#15 0x0000000000571e01 in internal_lisp_condition_case (var=12347458,
bodyform=23316342, handlers=23316118) at eval.c:1468
#16 0x00000000005a6d68 in exec_byte_code (bytestr=<optimized out>,
vector=<optimized out>, maxdepth=<optimized out>,
args_template=<optimized out>, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:981
#17 0x000000000056ede1 in funcall_lambda (fun=23938325,
nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffcac8) at
eval.c:3232
#18 0x000000000056f0fb in Ffuncall (nargs=1, args=0x7fffffffcac0) at
eval.c:3062
#19 0x000000000056f389 in funcall_nil (nargs=<optimized out>,
args=<optimized out>) at eval.c:2518
#20 0x000000000056dc45 in run_hook_with_args (nargs=1,
args=0x7fffffffcac0, funcall=0x56f380 <funcall_nil>) at eval.c:2707
#21 0x000000000056dd86 in Frun_hooks (nargs=nargs@entry=1,
args=args@entry=0x7fffffffcb28) at eval.c:2545
#22 0x000000000053259e in Fdo_auto_save (no_message=11979218,
current_only=11979218) at fileio.c:5325
#23 0x0000000000507b29 in read_char (commandflag=1, nmaps=nmaps@entry=9,
maps=maps@entry=0x7fffffffcf60, prev_event=11979218,
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffd0b4,
end_time=end_time@entry=0x0) at keyboard.c:2698
#24 0x00000000005087ad in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffd190, prompt=11979218,
dont_downcase_last=dont_downcase_last@entry=0,
    can_return_switch_frame=can_return_switch_frame@entry=1,
fix_current_buffer=fix_current_buffer@entry=1, bufsize=30) at
keyboard.c:9328
#25 0x000000000050a97c in command_loop_1 () at keyboard.c:1449
#26 0x000000000056d621 in internal_condition_case
(bfun=bfun@entry=0x50a790 <command_loop_1>, handlers=12031506,
hfun=hfun@entry=0x4fff50 <cmd_error>) at eval.c:1514
#27 0x00000000004fab4e in command_loop_2 (ignore=ignore@entry=11979218)
at keyboard.c:1160
#28 0x000000000056d51b in internal_catch (tag=<optimized out>,
func=func@entry=0x4fab30 <command_loop_2>, arg=11979218) at eval.c:1271
#29 0x00000000004ffa67 in command_loop () at keyboard.c:1139
#30 recursive_edit_1 () at keyboard.c:759
#31 0x00000000004ffd6d in Frecursive_edit () at keyboard.c:823
#32 0x0000000000415b8d in main (argc=<optimized out>,
argv=0x7fffffffd9b8) at emacs.c:1715





Do they help you?

Best wishes,
Arne
-- 
Doktorand
Gruppe: GHG

Raum: 435/410
Tel.: +49 721 608-22885
arne.babenhauserheide@kit.edu

Karlsruher Institut für Technologie
IMK-ASF
Postfach 36 40
76021 Karlsruhe

[-- Attachment #1.2: arne_babenhauserheide.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]

begin:vcard
fn:Arne Babenhauserheide
n:Babenhauserheide;Arne
org:KIT;GHG,  IMK-ASK
adr;quoted-printable:;;Geb=C3=A4ude 435, Raum 410, Campus Nord;Karlsruhe;BW;76021;Deutschland
email;internet:arne.babenhauserheide@kit.edu
title:Doktorand
tel;work:+49 721 608-22885
x-mozilla-html:FALSE
url:http://www.imk-asf.kit.edu/874_1194.php
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
@ 2013-03-21 11:37           ` martin rudalics
  2013-03-21 17:36           ` Eli Zaretskii
  1 sibling, 0 replies; 11+ messages in thread
From: martin rudalics @ 2013-03-21 11:37 UTC (permalink / raw)
  To: arne.babenhauserheide; +Cc: 13469@debbugs.gnu.org, arne_bab@web.de

 >>> Especially strange is that it works with emacs -Q --basic-display.
 >> The --basic-display disables menu bar and tool bar, and also disables
 >> blinking cursor.  Maybe the absent menu and tool bar somehow affect
 >> this, when you resize the qxembed-window?
 >
 > When I disable the menu bar, the frame is a bit bigger even without
 > --basic-display. It still resizes to the tiny size, though.

Did you also try with a disabled toolbar?

 > I just found a much easier way to reproduce it:
 >
 > Run emacs with --parent-id <random number>
 >
 > Then click with the mouse on the minibuffer. With menubar, it gets
 > really tiny, without menubar it resizes to a bigger size (~4 times as
 > wide

... high, I presume ...

 > as the small size), but when I click the minibuffer it emacs starts
 > to flicker and to resize repeatedly.

... how does it resize and how do you observe that ?

 > The flickering stops, when I call
 > async-shell-command but starts again once I hit C-g to leave the minibuffer.

Does it flicker/resize when you enter the minibuffer or when you leave
it?

 >> I suggest to put a breakpoint in change_frame_size,

change_frame_size_1 is better, where it does block_input () so you avoid
delayed and not-changing-anything calls.

 > and see who calls
 >> it with such a small frame size.
 >
 > I get something like this:

In all these calls can you see something in newheight that reflects the
size change you requested?

martin





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
  2013-03-21 11:37           ` martin rudalics
@ 2013-03-21 17:36           ` Eli Zaretskii
  2013-03-21 20:23             ` Arne Babenhauserheide
  2013-03-22  7:00             ` Jan Djärv
  1 sibling, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2013-03-21 17:36 UTC (permalink / raw)
  To: arne.babenhauserheide, Jan Djärv; +Cc: 13469, arne_bab

> Date: Thu, 21 Mar 2013 11:57:23 +0100
> From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
> CC: "13469@debbugs.gnu.org" <13469@debbugs.gnu.org>, "arne_bab@web.de"
> 	<arne_bab@web.de>
> 
> I just found a much easier way to reproduce it:
> 
> Run emacs with --parent-id <random number>

So it looks like something specific to using the XEmbed protocol, I
guess.

> A backtrace after clicking the minibuffer (which triggers a resize)
> looks like this (without menubar):
> 
> Breakpoint 1, change_frame_size (f=f@entry=0x104b4b0,
> newheight=newheight@entry=5, newwidth=newwidth@entry=21,
> pretend=pretend@entry=0, delay=delay@entry=1,
>     safe=safe@entry=0) at dispnew.c:5726
> 5726    in dispnew.c
> (gdb) backtrace
> #0  change_frame_size (f=f@entry=0x104b4b0, newheight=newheight@entry=5,
> newwidth=newwidth@entry=21, pretend=pretend@entry=0,
> delay=delay@entry=1, safe=safe@entry=0)
>     at dispnew.c:5726
> #1  0x00000000004ed1c8 in xg_frame_resized (f=0x104b4b0, pixelwidth=200,
> pixelheight=75) at gtkutil.c:888
> #2  0x00000000004c3056 in handle_one_xevent
> (dpyinfo=dpyinfo@entry=0x101a3f0,
> eventptr=eventptr@entry=0x7fffffffc360, finish=finish@entry=0xaee010
> <current_finish>,
>     hold_quit=0x7fffffffc720) at xterm.c:6813
> #3  0x00000000004c3a34 in event_handler_gdk (gxev=0x7fffffffc360,
> ev=<optimized out>, data=<optimized out>) at xterm.c:5834
> #4  0x00007ffff7543d52 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
> #5  0x00007ffff75454f8 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
> #6  0x00007ffff754557e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
> #7  0x00007ffff68c0883 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0

This looks like GTK instructed us to resize ourselves to 200x75
pixels, which was quite reasonably translated to 21x5 characters.
Sounds like a good time for some GTK expert (Jan?) to chime in and
help us out.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-21 17:36           ` Eli Zaretskii
@ 2013-03-21 20:23             ` Arne Babenhauserheide
  2013-03-22  7:00             ` Jan Djärv
  1 sibling, 0 replies; 11+ messages in thread
From: Arne Babenhauserheide @ 2013-03-21 20:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13469, arne.babenhauserheide

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

Am Donnerstag, 21. März 2013, 19:36:27 schrieb Eli Zaretskii:
> > Date: Thu, 21 Mar 2013 11:57:23 +0100
> > From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
> > CC: "13469@debbugs.gnu.org" <13469@debbugs.gnu.org>, "arne_bab@web.de"
> > 	<arne_bab@web.de>
> > 
> > I just found a much easier way to reproduce it:
> > 
> > Run emacs with --parent-id <random number>
> 
> So it looks like something specific to using the XEmbed protocol, I
> guess.

That’s what I think, too.

> This looks like GTK instructed us to resize ourselves to 200x75
> pixels, which was quite reasonably translated to 21x5 characters.
> Sounds like a good time for some GTK expert (Jan?) to chime in and
> help us out.

That would be great!

Best wishes,
Arne

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-03-21 17:36           ` Eli Zaretskii
  2013-03-21 20:23             ` Arne Babenhauserheide
@ 2013-03-22  7:00             ` Jan Djärv
  1 sibling, 0 replies; 11+ messages in thread
From: Jan Djärv @ 2013-03-22  7:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13469, arne_bab, arne.babenhauserheide

Hello.

21 mar 2013 kl. 18:36 skrev Eli Zaretskii <eliz@gnu.org>:

> 
> This looks like GTK instructed us to resize ourselves to 200x75
> pixels, which was quite reasonably translated to 21x5 characters.
> Sounds like a good time for some GTK expert (Jan?) to chime in and
> help us out.

Emacs may be setting wm size hints when embedded, it should not do that.
Try to add a return-line at the top of x_wm_set_size_hint in gtkutil.c so no code in it gets executed and see if it helps.

	Jan D.






^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2013-01-16 23:52 bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w) Arne Babenhauserheide
  2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
@ 2022-02-05 23:56 ` Lars Ingebrigtsen
  2022-03-06  2:36   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-05 23:56 UTC (permalink / raw)
  To: Arne Babenhauserheide; +Cc: 13469

Arne Babenhauserheide <arne_bab@web.de> writes:

> Since KDE 4.9.1 KMail supports embedding emacs as editor directly in
> its composer-windows.
>
> When I do that, though, I get a tiny emacs frame instead of one
> filling the window.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing this in more recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w)
  2022-02-05 23:56 ` Lars Ingebrigtsen
@ 2022-03-06  2:36   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-03-06  2:36 UTC (permalink / raw)
  To: Arne Babenhauserheide; +Cc: 13469

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Are you still seeing this in more recent Emacs versions?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-03-06  2:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16 23:52 bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w) Arne Babenhauserheide
2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
2013-03-20  3:46   ` Eli Zaretskii
     [not found]     ` <51497A90.7070901@kit.edu>
2013-03-20 19:26       ` Eli Zaretskii
2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
2013-03-21 11:37           ` martin rudalics
2013-03-21 17:36           ` Eli Zaretskii
2013-03-21 20:23             ` Arne Babenhauserheide
2013-03-22  7:00             ` Jan Djärv
2022-02-05 23:56 ` Lars Ingebrigtsen
2022-03-06  2:36   ` Lars Ingebrigtsen

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).