unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33417: 27.0.50; display-buffer problems
@ 2018-11-18  3:02 yLive System User
  2018-11-18  3:53 ` bug#33417: " Live System User
  0 siblings, 1 reply; 5+ messages in thread
From: yLive System User @ 2018-11-18  3:02 UTC (permalink / raw)
  To: 33417

g--text follows this line--
        "C-x 2" (split-window-below) works fine.: g--text follows this line--
        "C-x 2" (split-window-below) works fine.
Hi,
        I then saw: How can I debug this?
        Thanks.
In GNU Emacs 27.0.50 (build 87, x86_64-pc-linux-gnu, GTK+ Version 3.20.10)
 of 2018-11-15 built on localhost.localdomain: In GNU Emacs 27.0.50 (build 87, x86_64-pc-linux-gnu, GTK+ Version 3.20.10)
 of 2018-11-15 built on localhost.localdomain
Repository revision: 35a88c809e9eb5a32dd8d7f0dae960021f4cd707
Repository branch: master
Windowing system distributor 'Fedora Project', version 11.0.11803000: Windowing system distributor 'Fedora Project', version 11.0.11803000
System Description: Fedora 24 (Workstation Edition)
Recent messages: 
Checking new news...done: Checking new news...done
Retrieving newsgroup: nnimap+aol:Bulk Mail...
Opening nnimap server on aol...done: Opening nnimap server on aol...done
Fetching headers for nnimap+aol: Bulk Mail...
nnimap read 0k from imap.aim.com [5 times]: nnimap read 0k from imap.aim.com [5 times]
Fetching headers for nnimap+aol: Bulk Mail...done
Sorting threads...done: Sorting threads...done
Generating summary...done: Generating summary...done
Discard changes to this group and exit? (y or n) y: Discard changes to this group and exit? (y or n) y
Auto-saving...done: Auto-saving...done
Configured using: 'configure 'CFLAGS=-DMAIL_USE_LOCKF -O0 -ggdb3 -pipe -Wall
 -Werror=format-security -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
 LDFLAGS=-Wl,-z,relro
 --prefix=/tmp/emacs-27.0-git-master
 --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-lcms2
 --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=yes
 --with-xwidgets --with-modules --with-json'
Configured features: 
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF: NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF
XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS: XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
JSON LCMS2 GMP: JSON LCMS2 GMP
Important settings: value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
Major mode: Group
Minor modes in effect: diff-auto-refine-mode: t
  cursor-sensor-mode: t
  gnus-desktop-notify-mode: t
  gnus-undo-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
Load-path shadows: 
None found.: None found.
(shadow emacsbug face-remap mailalias smtpmail sendmail nnagent nnml: (shadow emacsbug face-remap mailalias smtpmail sendmail nnagent nnml
canlock smerge-mode diff-mode jka-compr gnus-notifications gnus-fun sort: canlock smerge-mode diff-mode jka-compr gnus-notifications gnus-fun sort
gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg qp gnus-ml: gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg qp gnus-ml
disp-table cursor-sensor nndraft nnmh nndoc mm-archive timezone url-http: disp-table cursor-sensor nndraft nnmh nndoc mm-archive timezone url-http
url-gw url-cache url-auth url-handlers utf-7 rfc2104 nnfolder gnutls: url-gw url-cache url-auth url-handlers utf-7 rfc2104 nnfolder gnutls
network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual: network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-cache pp cl-print cl-extra thingatpt help-fns radix-tree: gnus-msg gnus-cache pp cl-print cl-extra thingatpt help-fns radix-tree
help-mode gnus-demon nntp gnus-desktop-notify easy-mmode notifications: help-mode gnus-demon nntp gnus-desktop-notify easy-mmode notifications
dbus xml epa-file nnreddit mm-url url url-proxy url-privacy url-expand: dbus xml epa-file nnreddit mm-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse: url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs url-vars json: auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs url-vars json
map gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap cl sieve: map gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap cl sieve
sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain advice: sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain advice
nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail: nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc parse-time gnus-spec gnus-int gnus-range message: mail-source utf7 netrc parse-time gnus-spec gnus-int gnus-range message
rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec: rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec
password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode: password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus seq: mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus seq
byte-opt gv bytecomp byte-compile cconv wid-edit cl-loaddefs cl-lib nnoo: byte-opt gv bytecomp byte-compile cconv wid-edit cl-loaddefs cl-lib nnoo
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums: nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
time-date mm-util mail-prsvr mail-utils misearch multi-isearch elec-pair: time-date mm-util mail-prsvr mail-utils misearch multi-isearch elec-pair
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks: mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar: lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment: dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar: text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock: rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian: syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean: utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european: japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop: ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer: case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files: cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule: text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind: custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting: inotify lcms2 dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty: xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs): make-network-process emacs)
Memory information: 
((conses 16 635297 85000)
 (symbols 48 174934 18)
 (strings 32 168679 6874)
 (string-bytes 1 5626914)
 (vectors 16 34638)
 (vector-slots 8 1499799 190812)
 (floats 8 228 1691)
 (intervals 56 1741 138)
 (buffers 992 57)
 (heap 1024 115861 54120)): ((conses 16 635297 85000)
 (symbols 48 174934 18)
 (strings 32 168679 6874)
 (string-bytes 1 5626914)
 (vectors 16 34638)
 (vector-slots 8 1499799 190812)
 (floats 8 228 1691)
 (intervals 56 1741 138)
 (buffers 992 57)
 (heap 1024 115861 54120))
Date: Sat, 17 Nov 2018 21:59:49 -0500
Message-ID: <87ftvz6qfu.fsf@aol.com>






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

* bug#33417: display-buffer problems
  2018-11-18  3:02 bug#33417: 27.0.50; display-buffer problems yLive System User
@ 2018-11-18  3:53 ` Live System User
  2018-11-18  9:25   ` martin rudalics
  0 siblings, 1 reply; 5+ messages in thread
From: Live System User @ 2018-11-18  3:53 UTC (permalink / raw)
  To: 33417



       [Original message got garbled, rending...]

Hi,

        In my setup (.e.g not emacs -Q):
        
        While viewing the *Help* buffer which was the only window
        on the frame, I typed "M-x list-timers"

split-window: Window #<window 266 on *Messages*> too small for splitting

window-normalize-window: #<window 279> is not a valid window

split-window: Window #<window 505 on window.el> too small for splitting

        And again:

Features:
        Typing the command again, I got:

        Each time the buffer where the "M-x list-timers" command was
        executed was *Help* and was a single window on the frame.

g--text follows this line--

        "C-x 2" (split-window-below) works fine.

Hi,


        I then saw:


        How can I debug this?

        Thanks.


In GNU Emacs 27.0.50 (build 87, x86_64-pc-linux-gnu, GTK+ Version 3.20.10)
 of 2018-11-15 built on localhost.localdomain
Repository revision: 35a88c809e9eb5a32dd8d7f0dae960021f4cd707
Repository branch: master
Windowing system distributor 'Fedora Project', version 11.0.11803000
System Description: Fedora 24 (Workstation Edition)

Recent messages:
Checking new news...done
Retrieving newsgroup: nnimap+aol:Bulk Mail...
Opening nnimap server on aol...done
Fetching headers for nnimap+aol:Bulk Mail...
nnimap read 0k from imap.aim.com [5 times]
Fetching headers for nnimap+aol:Bulk Mail...done
Sorting threads...done
Generating summary...done
Discard changes to this group and exit? (y or n) y
Auto-saving...done

Configured using:
 'configure 'CFLAGS=-DMAIL_USE_LOCKF -O0 -ggdb3 -pipe -Wall
 -Werror=format-security -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
 LDFLAGS=-Wl,-z,relro
 --prefix=/tmp/emacs-27.0-git-master
 --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-lcms2
 --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=yes
 --with-xwidgets --with-modules --with-json'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF
XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
JSON LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  diff-auto-refine-mode: t
  cursor-sensor-mode: t
  gnus-desktop-notify-mode: t
  gnus-undo-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

(shadow emacsbug face-remap mailalias smtpmail sendmail nnagent nnml
canlock smerge-mode diff-mode jka-compr gnus-notifications gnus-fun sort
gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg qp gnus-ml
disp-table cursor-sensor nndraft nnmh nndoc mm-archive timezone url-http
url-gw url-cache url-auth url-handlers utf-7 rfc2104 nnfolder gnutls
network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-cache pp cl-print cl-extra thingatpt help-fns radix-tree
help-mode gnus-demon nntp gnus-desktop-notify easy-mmode notifications
dbus xml epa-file nnreddit mm-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs url-vars json
map gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap cl sieve
sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain advice
nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc parse-time gnus-spec gnus-int gnus-range message
rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec
password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus seq
byte-opt gv bytecomp byte-compile cconv wid-edit cl-loaddefs cl-lib nnoo
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
time-date mm-util mail-prsvr mail-utils misearch multi-isearch elec-pair
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 635297 85000)
 (symbols 48 174934 18)
 (strings 32 168679 6874)
 (string-bytes 1 5626914)
 (vectors 16 34638)
 (vector-slots 8 1499799 190812)
 (floats 8 228 1691)
 (intervals 56 1741 138)
 (buffers 992 57)
 (heap 1024 115861 54120))





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

* bug#33417: display-buffer problems
  2018-11-18  3:53 ` bug#33417: " Live System User
@ 2018-11-18  9:25   ` martin rudalics
  2018-11-18 13:30     ` Live System User
  0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2018-11-18  9:25 UTC (permalink / raw)
  To: Live System User, 33417

 >          In my setup (.e.g not emacs -Q):
 >
 >          While viewing the *Help* buffer which was the only window
 >          on the frame, I typed "M-x list-timers"
 >
 > split-window: Window #<window 266 on *Messages*> too small for splitting
 >
 > window-normalize-window: #<window 279> is not a valid window
 >
 > split-window: Window #<window 505 on window.el> too small for splitting
 >
 >          And again:
 >
 > Features:
 >          Typing the command again, I got:
 >
 >          Each time the buffer where the "M-x list-timers" command was
 >          executed was *Help* and was a single window on the frame.
 >
 > g--text follows this line--
 >
 >          "C-x 2" (split-window-below) works fine.
 >
 > Hi,
 >
 >
 >          I then saw:
 >
 >
 >          How can I debug this?
 >
 >          Thanks.

Doesn't (setq debug-on-error t) give you a backtrace of the
'split-window' error?

Note that 'list-timers' usually pops up the *Disabled Command* buffer


You have invoked the disabled command list-timers.
Beware: manually canceling timers can ruin your Emacs session.

Do you want to use this command anyway?

You can now type
y   to try it and enable it (no questions if you use it again).
n   to cancel--don’t try the command, and it remains disabled.
SPC to try the command just this once, but leave it disabled.
!   to try it, and enable all disabled commands for this session only.


dialog which might be creating the problem you see.

martin






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

* bug#33417: display-buffer problems
  2018-11-18  9:25   ` martin rudalics
@ 2018-11-18 13:30     ` Live System User
  2018-11-18 19:36       ` martin rudalics
  0 siblings, 1 reply; 5+ messages in thread
From: Live System User @ 2018-11-18 13:30 UTC (permalink / raw)
  To: martin rudalics; +Cc: 33417

martin rudalics <rudalics@gmx.at> writes:

>>          In my setup (.e.g not emacs -Q):
>>
>>          While viewing the *Help* buffer which was the only window
>>          on the frame, I typed "M-x list-timers"
>>
>> split-window: Window #<window 266 on *Messages*> too small for splitting
>>
>> window-normalize-window: #<window 279> is not a valid window
>>
>> split-window: Window #<window 505 on window.el> too small for splitting
>>
>>          And again:
>>
>> Features:
>>          Typing the command again, I got:
>>
>>          Each time the buffer where the "M-x list-timers" command was
>>          executed was *Help* and was a single window on the frame.
>>
>> g--text follows this line--
>>
>>          "C-x 2" (split-window-below) works fine.
>>
>> Hi,
>>
>>
>>          I then saw:
>>
>>
>>          How can I debug this?
>>
>>          Thanks.
>
> Doesn't (setq debug-on-error t) give you a backtrace of the
> 'split-window' error?

  No.

  I actually typed "M-x toggle-debug-on-error" which amounts to
  the same thing:

debug-on-error is a variable defined in ‘C source code’.
Its value is t
Original value was nil

         There was no additional information and no *Backtrace*.
         
>
> Note that 'list-timers' usually pops up the *Disabled Command* buffer
>
>
> You have invoked the disabled command list-timers.
> Beware: manually canceling timers can ruin your Emacs session.
>
> Do you want to use this command anyway?
>
> You can now type
> y   to try it and enable it (no questions if you use it again).
> n   to cancel--don’t try the command, and it remains disabled.
> SPC to try the command just this once, but leave it disabled.
> !   to try it, and enable all disabled commands for this session only.
>
>
> dialog which might be creating the problem you see.

  Yes, I type "SPC" to temporarily enable the command.

  Thanks.


>
> martin





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

* bug#33417: display-buffer problems
  2018-11-18 13:30     ` Live System User
@ 2018-11-18 19:36       ` martin rudalics
  0 siblings, 0 replies; 5+ messages in thread
From: martin rudalics @ 2018-11-18 19:36 UTC (permalink / raw)
  To: Live System User; +Cc: 33417

 >> Doesn't (setq debug-on-error t) give you a backtrace of the
 >> 'split-window' error?
 >
 >    No.
 >
 >    I actually typed "M-x toggle-debug-on-error" which amounts to
 >    the same thing:
 >
 > debug-on-error is a variable defined in ‘C source code’.
 > Its value is t
 > Original value was nil
 >
 >           There was no additional information and no *Backtrace*.
 >

Bad.  I have no idea whether this means that the 'split-window' call
was wrapped in a condition-case and if so why you get the errors then.
Does the failure happen when you are in the *scratch* buffer and do
M-x list-timers?  Can you try to edebug 'split-window' and get a
backtrace before it throws an error?

 >    Yes, I type "SPC" to temporarily enable the command.

So the *Disabled Command* window pops up, you type SPC, the *Disabled
Command* window disappears and then the errors above are thrown?  Is
that what you see?

If you make an exact copy of 'list-timers', call it 'my-list-timers'
and invoke it via M-x my-list-timers: Does it throw the same errors?

martin






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

end of thread, other threads:[~2018-11-18 19:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-18  3:02 bug#33417: 27.0.50; display-buffer problems yLive System User
2018-11-18  3:53 ` bug#33417: " Live System User
2018-11-18  9:25   ` martin rudalics
2018-11-18 13:30     ` Live System User
2018-11-18 19:36       ` martin rudalics

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