unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Fredrik Fornwall <fredrik@fornwall.net>
To: Glenn Morris <rgm@gnu.org>
Cc: 23369@debbugs.gnu.org
Subject: bug#23369: 25.0.93; CANNOT_DUMP build fails if resizing terminal during startup in tty mode
Date: Thu, 28 Apr 2016 15:03:45 +0200	[thread overview]
Message-ID: <CAOhdH0tDrD0+=+jgP__B1_u+8LzzjRKBM65A5g3e1o+DdDRkRQ@mail.gmail.com> (raw)
In-Reply-To: <3zd1pakbqe.fsf@fencepost.gnu.org>

On 27 April 2016 at 23:01, Glenn Morris <rgm@gnu.org> wrote:
> Anyway, I managed to get a useful backtrace, which revealed the real
> problem, and a trivial fix:
>
> Lisp Backtrace:
>   "frames-on-display-list" (0xffff17e0)
>   "let" (0xffff19d0)
>   "mapcar" (0xffff1d50)
>   "apply" (0xffff1ed0)
>   "cons" (0xffff1ff0)
>   "internal--before-save-selected-window" (0xffff2160)
>   "let" (0xffff2450)
>   "save-selected-window" (0xffff2570)
>   "walk-windows" (0xffff26e0)
>   "let" (0xffff2a20)
>   "window--process-window-list" (0xffff2b90)
>   "let" (0xffff2e80)
>   "dolist" (0xffff2fa0)
>   "window--adjust-process-windows" (0xffff31e0)
>   "load" (0xffff3800)
>
> *** a/lisp/window.el
> --- b/lisp/window.el
> ***************
> *** 8520,8525 ****
> --- 8520,8526 ----
>   displaying that processes's buffer."
>     (let ((processes (process-list))
>           (process-windows nil))
> +     (when processes
>         (walk-windows
>          (lambda (window)
>            (let ((buffer (window-buffer window))
> ***************
> *** 8538,8544 ****
>                           nil)
>                       (setf iter (cdr iter)))))))
>        1 t)
> !     process-windows))
>
>   (defun window--adjust-process-windows ()
>     "Update process window sizes to match the current window configuration."
> --- 8539,8545 ----
>                             nil)
>                         (setf iter (cdr iter)))))))
>          1 t)
> !       process-windows)))
>
>   (defun window--adjust-process-windows ()
>     "Update process window sizes to match the current window configuration."

I applied this patch (which replaces the earlier "(if (featurep
'frame)" one, right?) and can verify that resizing during startup now
works for me. Thanks!





  parent reply	other threads:[~2016-04-28 13:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  7:10 bug#23369: 25.0.93; CANNOT_DUMP build fails if resizing terminal during startup in tty mode Fredrik Fornwall
2016-04-25  7:54 ` Eli Zaretskii
2016-04-25  9:43   ` Fredrik Fornwall
2016-04-25 10:01     ` Eli Zaretskii
2016-04-27  0:53       ` Glenn Morris
2016-04-27  6:52         ` Eli Zaretskii
2016-04-27 16:36           ` Glenn Morris
2016-04-27 17:20             ` Eli Zaretskii
2016-04-27 18:48               ` Glenn Morris
2016-04-27 19:27                 ` Eli Zaretskii
2016-04-27 21:01                   ` Glenn Morris
2016-04-28  5:28                     ` Eli Zaretskii
2016-04-28 13:03                     ` Fredrik Fornwall [this message]
2016-04-28 13:14                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOhdH0tDrD0+=+jgP__B1_u+8LzzjRKBM65A5g3e1o+DdDRkRQ@mail.gmail.com' \
    --to=fredrik@fornwall.net \
    --cc=23369@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).