From unknown Tue Jun 17 20:28:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18112 <18112@debbugs.gnu.org> To: bug#18112 <18112@debbugs.gnu.org> Subject: Status: 24.4.50; emacs --daemon infinite loop in find_interval Reply-To: bug#18112 <18112@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:28:28 +0000 retitle 18112 24.4.50; emacs --daemon infinite loop in find_interval reassign 18112 emacs submitter 18112 Mark Oteiza severity 18112 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 25 19:09:22 2014 Received: (at submit) by debbugs.gnu.org; 25 Jul 2014 23:09:22 +0000 Received: from localhost ([127.0.0.1]:38197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAoc5-0004o9-2X for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAoc1-0004nq-LC for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAobm-0000lM-It for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobm-0000lI-FK for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobe-0002W0-U7 for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAobX-0000hH-DM for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:08:54 -0400 Received: from mail-qg0-f49.google.com ([209.85.192.49]:64160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobX-0000h9-8y for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:08:47 -0400 Received: by mail-qg0-f49.google.com with SMTP id j107so5801819qga.22 for ; Fri, 25 Jul 2014 16:08:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=6zNbrOHQnSBEqhHkHCF7dhmjuS4M3rAGvcMe0ARDFtI=; b=GssHBiIIZAEN3nnu+Yqz+FKN7KyFA4p7jACA5D/w5YTN8y+pmfcmHeTIi+jNr7jq3W l9JyM5XlR9BSkkoJvxQjwKtSew8k/8uSDry2pC2qK63U2x4zzgFXWH5dHG0AC1yXyEaf +q7Faw2rgPEEmDQjUOiYv+qZrovTSs4jHDCS9+ntuYCPpr87a+Qam0HDib3Mp/Gd1fL+ lyz5fbrthHf/SgGG7cB4v+b5raCtreytzTtqXx7fh/Lmnck4PhJYGDMF87OW6z/SX/Fm wjsTsSeqemyY+iigB7xnuYWqhXtcPL7mzvhopN9jbuNsUMKLTt1r8dE6I7lJ5lViD4XO 6YZg== X-Gm-Message-State: ALoCoQkVzlSZu6BaLr8Yycy/CkXyanVM9/nMryYPLs4ZbjKu9cRKOqwzOvLNi2FMufTcTmX33aEG X-Received: by 10.140.85.166 with SMTP id n35mr31247606qgd.67.1406329726457; Fri, 25 Jul 2014 16:08:46 -0700 (PDT) Received: from holos.localdomain (ip68-100-203-36.dc.dc.cox.net. [68.100.203.36]) by mx.google.com with ESMTPSA id c13sm3258376qaa.11.2014.07.25.16.08.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 16:08:45 -0700 (PDT) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: 24.4.50; emacs --daemon infinite loop in find_interval Date: Fri, 25 Jul 2014 19:08:43 -0400 Message-ID: <877g31dojo.fsf@holos.localdomain> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Reproducible on my system with tmux 1.9a: 1. emacs --daemon -Q 2. Start tmux in a term emulator and invoke `emacsclient -t` in the tmux window 3. Do `C-x 3` in the client 4. Split horizontally the tmux window into two panes: " 5. Open a new emacsclient in the new pane, exit the client (^X^C), and close the new tmux pane (^D) 6. Interact with the first client. Attaching with gdb the first time: find_interval (tree=0xed9198, position=732) at intervals.c:681 681 in intervals.c (gdb) s 683 in intervals.c (gdb) s 701 in intervals.c (gdb) s 681 in intervals.c (gdb) s 683 in intervals.c (gdb) s 701 in intervals.c Otherwise, setting a breakpoint at find_interval and continuing, `position` changes value but I always end up back at find_interval. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2014-07-24 on holos Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -g -fvar-tracking-assignments' LDFLAGS=-Wl,-O0,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: flycheck-mode: t company-mode: t winner-mode: t show-paren-mode: t tooltip-mode: t electric-indent-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 size-indication-mode: t column-number-mode: t line-number-mode: t Recent input: ESC [ > 0 ; 9 5 ; 0 c ESC x r e p o - e m - b TAB RET Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/24.4.50/lisp/loaddefs hides /home/mvo/.emacs.d/site-lisp/loaddefs Features: (shadow sort gnus-util mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils xterm flycheck find-func help-mode easymenu rx f dash s company-files company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-ropemacs company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company pcase easy-mmode cl-macs gv package windmove edmacro kmacro cl-loaddefs cl-lib saveplace winner ring time-date paren zenburn-theme tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 130940 8879) (symbols 48 21621 0) (miscs 40 46 141) (strings 32 22838 6984) (string-bytes 1 615107) (vectors 16 17827) (vector-slots 8 1133415 211358) (floats 8 92 595) (intervals 56 205 0) (buffers 960 11) (heap 1024 46183 1194)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 02:42:26 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 06:42:26 +0000 Received: from localhost ([127.0.0.1]:38452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAvgY-0007fe-8h for submit@debbugs.gnu.org; Sat, 26 Jul 2014 02:42:26 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:45457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAvgU-0007fK-EW for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 02:42:23 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N9B00A003KQQ500@mtaout24.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 09:38:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B007N43RM6E30@mtaout24.012.net.il>; Sat, 26 Jul 2014 09:38:10 +0300 (IDT) Date: Sat, 26 Jul 2014 09:42:25 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <877g31dojo.fsf@holos.localdomain> X-012-Sender: halo1@inter.net.il To: Mark Oteiza Message-id: <83k370ipta.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Mark Oteiza > Date: Fri, 25 Jul 2014 19:08:43 -0400 > > 1. emacs --daemon -Q > 2. Start tmux in a term emulator and invoke `emacsclient -t` in > the tmux window > 3. Do `C-x 3` in the client > 4. Split horizontally the tmux window into two panes: " > 5. Open a new emacsclient in the new pane, exit the client (^X^C), > and close the new tmux pane (^D) > 6. Interact with the first client. > > Attaching with gdb the first time: > > find_interval (tree=0xed9198, position=732) at intervals.c:681 > 681 in intervals.c > (gdb) s > 683 in intervals.c > (gdb) s > 701 in intervals.c > (gdb) s > 681 in intervals.c > (gdb) s > 683 in intervals.c > (gdb) s > 701 in intervals.c > > Otherwise, setting a breakpoint at find_interval and continuing, > `position` changes value but I always end up back at find_interval. Thanks. Please use the procedure in etc/DEBUG to find out where it loops. The procedure calls for using the "finish" command until some frame doesn't return, then stepping with "next" through that frame to see where and why it loops. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 03:55:11 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 07:55:11 +0000 Received: from localhost ([127.0.0.1]:38466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwow-00010D-NY for submit@debbugs.gnu.org; Sat, 26 Jul 2014 03:55:11 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:55536) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwou-0000zm-1t for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 03:55:09 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N9B001006MXTC00@mtaout26.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 10:51:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B00LR275JY150@mtaout26.012.net.il>; Sat, 26 Jul 2014 10:51:19 +0300 (IDT) Date: Sat, 26 Jul 2014 10:55:11 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <83k370ipta.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: mvoteiza@udel.edu Message-id: <83iomkimg0.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 26 Jul 2014 09:42:25 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > Please use the procedure in etc/DEBUG to find out where it loops. The > procedure calls for using the "finish" command until some frame > doesn't return, then stepping with "next" through that frame to see > where and why it loops. The loop is in redisplay, and the reason seems to be that get_tty_size returns incorrect size after the second tmux pane is closed with ^D. We get one line more than tmux leaves us (after usurping 1 line for its status line). I don't know enough about TIOCGWINSZ ioctl to tell how to fix this, sorry. Perhaps some termio expert could chime in. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 04:06:23 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 08:06:23 +0000 Received: from localhost ([127.0.0.1]:38475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwzm-0001IB-IB for submit@debbugs.gnu.org; Sat, 26 Jul 2014 04:06:22 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51779) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwzj-0001I1-W3 for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 04:06:20 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hL0Gg0tFnz3hhnW; Sat, 26 Jul 2014 10:06:18 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hL0Gf6BqJz7S6Rk; Sat, 26 Jul 2014 10:06:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id jrShfpXcBk5J; Sat, 26 Jul 2014 10:06:18 +0200 (CEST) X-Auth-Info: nk4QdBcqo7pZ+hu7Hem/dRZMTdiAfUFlH73x54GznzU= Received: from linux.local (ppp-188-174-61-194.dynamic.mnet-online.de [188.174.61.194]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 26 Jul 2014 10:06:18 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 812D31E571A; Sat, 26 Jul 2014 10:06:17 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Yow: Are we THERE yet?! Date: Sat, 26 Jul 2014 10:06:17 +0200 In-Reply-To: <83iomkimg0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Jul 2014 10:55:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > I don't know enough about TIOCGWINSZ ioctl to tell how to fix this, > sorry. Perhaps some termio expert could chime in. If TIOCGWINSZ disagrees with the actual size of the terminal then the bug is in tmux in that it sets the wrong size. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 04:16:10 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 08:16:10 +0000 Received: from localhost ([127.0.0.1]:38484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAx9E-0001Yf-Q1 for submit@debbugs.gnu.org; Sat, 26 Jul 2014 04:16:09 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:33331) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAx96-0001Y2-Sn for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 04:16:06 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hL0Tr1k1Yz3hhlK; Sat, 26 Jul 2014 10:16:00 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hL0Tr19Ynz7S6Rk; Sat, 26 Jul 2014 10:16:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 5XMXCpTwf6un; Sat, 26 Jul 2014 10:15:59 +0200 (CEST) X-Auth-Info: jP6qzIl9SoZO5IYj4XD/r2PD/W/hmbUaS2NhZn85gs4= Received: from linux.local (ppp-188-174-61-194.dynamic.mnet-online.de [188.174.61.194]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 26 Jul 2014 10:15:59 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id F34051E5728; Sat, 26 Jul 2014 10:15:58 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Yow: Well, I'm on the right planet---everyone looks like me!!! Date: Sat, 26 Jul 2014 10:15:58 +0200 In-Reply-To: <83iomkimg0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Jul 2014 10:55:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > The loop is in redisplay, and the reason seems to be that get_tty_size > returns incorrect size after the second tmux pane is closed with ^D. > We get one line more than tmux leaves us (after usurping 1 line for > its status line). Does get_tty_size actually look at the correct terminal (the one connected to the tty frame)? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 04:22:21 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 08:22:21 +0000 Received: from localhost ([127.0.0.1]:38488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAxFE-0001iF-SD for submit@debbugs.gnu.org; Sat, 26 Jul 2014 04:22:21 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:39269) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAxFC-0001i2-JC for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 04:22:19 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N9B00G007TAIG00@a-mtaout21.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 11:22:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B00G3Q8KZFC90@a-mtaout21.012.net.il>; Sat, 26 Jul 2014 11:22:12 +0300 (IDT) Date: Sat, 26 Jul 2014 11:22:22 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Message-id: <83ha24il6p.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andreas Schwab > Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org > Date: Sat, 26 Jul 2014 10:15:58 +0200 > > Eli Zaretskii writes: > > > The loop is in redisplay, and the reason seems to be that get_tty_size > > returns incorrect size after the second tmux pane is closed with ^D. > > We get one line more than tmux leaves us (after usurping 1 line for > > its status line). > > Does get_tty_size actually look at the correct terminal (the one > connected to the tty frame)? See handle_window_change_signal: we loop through all the tty's, and call get_tty_size for each one of them. If this doesn't answer the question, please tell how to check that the terminal is the correct one, and I will take a look. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 05:04:49 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 09:04:49 +0000 Received: from localhost ([127.0.0.1]:38558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAxuK-0002pD-MC for submit@debbugs.gnu.org; Sat, 26 Jul 2014 05:04:48 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:46111) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAxuH-0002ot-IH for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 05:04:46 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N9B00000A64EO00@a-mtaout20.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 12:04:38 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B000K4AJP9P50@a-mtaout20.012.net.il>; Sat, 26 Jul 2014 12:04:37 +0300 (IDT) Date: Sat, 26 Jul 2014 12:04:47 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <83iomkimg0.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: mvoteiza@udel.edu Message-id: <83fvhoij80.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 26 Jul 2014 10:55:11 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > The loop is in redisplay, and the reason seems to be that get_tty_size > returns incorrect size after the second tmux pane is closed with ^D. > We get one line more than tmux leaves us (after usurping 1 line for > its status line). Actually, I think I was wrong (I forgot to count the line used for the menu bar). So the reason is probably elsewhere... From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 05:18:02 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 09:18:02 +0000 Received: from localhost ([127.0.0.1]:38562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAy78-00039B-1T for submit@debbugs.gnu.org; Sat, 26 Jul 2014 05:18:02 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:40839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAy75-00038j-50 for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 05:18:00 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hL1sK6hrcz3hhhM; Sat, 26 Jul 2014 11:17:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hL1sK5bYRz7S6Rq; Sat, 26 Jul 2014 11:17:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id xtn4a6eigAV9; Sat, 26 Jul 2014 11:17:57 +0200 (CEST) X-Auth-Info: k9Wb9SpKl0DmVNE1YKUP/XkKbFc2CeLntWLC8rknpms= Received: from linux.local (ppp-188-174-61-194.dynamic.mnet-online.de [188.174.61.194]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 26 Jul 2014 11:17:57 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id A54C71E572B; Sat, 26 Jul 2014 11:17:53 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Yow: Yow!! It's LIBERACE and TUESDAY WELD!! High on a HILL... driving a LITTLE CAR... I wanna be in that LITTLE CAR, too!! I wanna drive off with LIBBY and TUESDAY! Date: Sat, 26 Jul 2014 11:17:53 +0200 In-Reply-To: <83iomkimg0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Jul 2014 10:55:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > The loop is in redisplay, and the reason seems to be that get_tty_size > returns incorrect size after the second tmux pane is closed with ^D. Does it? I don't see that here. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 05:33:29 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 09:33:29 +0000 Received: from localhost ([127.0.0.1]:38570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAyM5-0003Xu-8n for submit@debbugs.gnu.org; Sat, 26 Jul 2014 05:33:29 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:39564) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAyM2-0003Xa-0v for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 05:33:26 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N9B00200BEVNB00@mtaout29.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 12:33:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B00O7ZBVRSI40@mtaout29.012.net.il>; Sat, 26 Jul 2014 12:33:27 +0300 (IDT) Date: Sat, 26 Jul 2014 12:33:30 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <83fvhoij80.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: mvoteiza@udel.edu Message-id: <83egx8ihw5.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sat, 26 Jul 2014 12:04:47 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > > Date: Sat, 26 Jul 2014 10:55:11 +0300 > > From: Eli Zaretskii > > Cc: 18112@debbugs.gnu.org > > > > The loop is in redisplay, and the reason seems to be that get_tty_size > > returns incorrect size after the second tmux pane is closed with ^D. > > We get one line more than tmux leaves us (after usurping 1 line for > > its status line). > > Actually, I think I was wrong (I forgot to count the line used for the > menu bar). So the reason is probably elsewhere... [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [80.179.55.185 listed in psbl.surriel.com] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 18112 Cc: 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sat, 26 Jul 2014 12:04:47 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > > Date: Sat, 26 Jul 2014 10:55:11 +0300 > > From: Eli Zaretskii > > Cc: 18112@debbugs.gnu.org > > > > The loop is in redisplay, and the reason seems to be that get_tty_size > > returns incorrect size after the second tmux pane is closed with ^D. > > We get one line more than tmux leaves us (after usurping 1 line for > > its status line). > > Actually, I think I was wrong (I forgot to count the line used for the > menu bar). So the reason is probably elsewhere... [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [80.179.55.185 listed in psbl.surriel.com] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > Date: Sat, 26 Jul 2014 12:04:47 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > > Date: Sat, 26 Jul 2014 10:55:11 +0300 > > From: Eli Zaretskii > > Cc: 18112@debbugs.gnu.org > > > > The loop is in redisplay, and the reason seems to be that get_tty_size > > returns incorrect size after the second tmux pane is closed with ^D. > > We get one line more than tmux leaves us (after usurping 1 line for > > its status line). > > Actually, I think I was wrong (I forgot to count the line used for the > menu bar). So the reason is probably elsewhere... Ok, my original analysis was based on a mistake. Moreover, tmux is not really related to the problem at all, and neither is "C-x 3". Here's a simpler way to reproduce the problem: Open a terminal emulator (e.g., xterm) window, and in that window: emacs -Q --daemon emacsclient -t Now open another terminal emulator window, and make it have a smaller size. Then, in that window: emacsclient -t C-x C-c Now go back to the first xterm window and resize it (e.g., with a mouse). Emacs is now stuck in an infloop. So the important players here are (1) a frame on another tty that has a different size, and (2) resizing the frame after deleting another frame on a different tty. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 05:44:20 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 09:44:20 +0000 Received: from localhost ([127.0.0.1]:38581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAyWZ-0003ow-6T for submit@debbugs.gnu.org; Sat, 26 Jul 2014 05:44:19 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:35988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAyWW-0003oo-HO for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 05:44:17 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hL2Rg43Hjz3hhx3; Sat, 26 Jul 2014 11:44:15 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hL2Rg2P2bz7S6Rk; Sat, 26 Jul 2014 11:44:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id KgQLmRvot-bd; Sat, 26 Jul 2014 11:44:14 +0200 (CEST) X-Auth-Info: k1H1zS80dlpUulXTXOTYHiAtei5tMIEXiWefaEIS8a0= Received: from linux.local (ppp-188-174-61-194.dynamic.mnet-online.de [188.174.61.194]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 26 Jul 2014 11:44:14 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id C393F1E572D; Sat, 26 Jul 2014 11:44:13 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Yow: I OWN six pink HIPPOS!! Date: Sat, 26 Jul 2014 11:44:13 +0200 In-Reply-To: <83iomkimg0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Jul 2014 10:55:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) We never trigger redisplay after do_pending_window_change in wait_reading_process_output. Why? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 07:07:36 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 11:07:36 +0000 Received: from localhost ([127.0.0.1]:38597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAzp9-0005wN-MD for submit@debbugs.gnu.org; Sat, 26 Jul 2014 07:07:36 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:35319) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAzp4-0005w0-Na for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 07:07:32 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N9B00600FFE3B00@mtaout28.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 14:07:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B006DUG7ZOD20@mtaout28.012.net.il>; Sat, 26 Jul 2014 14:07:11 +0300 (IDT) Date: Sat, 26 Jul 2014 14:07:34 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Message-id: <83d2csidjd.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andreas Schwab > Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org > Date: Sat, 26 Jul 2014 11:44:13 +0200 > > We never trigger redisplay after do_pending_window_change in > wait_reading_process_output. Why? Probably because redisplay calls do_pending_window_change at its very beginning. I also don't see how would triggering redisplay earlier fix the problem at hand. Am I missing something? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 07:27:25 2014 Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 11:27:25 +0000 Received: from localhost ([127.0.0.1]:38601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB08K-0006P1-4g for submit@debbugs.gnu.org; Sat, 26 Jul 2014 07:27:24 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:59916) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB08E-0006Op-Ng for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 07:27:22 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3hL4kY1Jbnz3hj0W; Sat, 26 Jul 2014 13:27:16 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hL4kX6jzZz7S6Rm; Sat, 26 Jul 2014 13:27:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id oIVlQZBwkzBQ; Sat, 26 Jul 2014 13:27:16 +0200 (CEST) X-Auth-Info: yVzMI230zCAyWj8gwKL2AWJBZGO3WGiIFt9/3UcLBDw= Received: from igel.home (ppp-188-174-61-194.dynamic.mnet-online.de [188.174.61.194]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 26 Jul 2014 13:27:16 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id EFBED2C2E44; Sat, 26 Jul 2014 13:27:15 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83d2csidjd.fsf@gnu.org> X-Yow: Yow! I just went below the poverty line! Date: Sat, 26 Jul 2014 13:27:15 +0200 In-Reply-To: <83d2csidjd.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Jul 2014 14:07:34 +0300") Message-ID: <87fvhoweb0.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org >> Date: Sat, 26 Jul 2014 11:44:13 +0200 >> >> We never trigger redisplay after do_pending_window_change in >> wait_reading_process_output. Why? > > Probably because redisplay calls do_pending_window_change at its very > beginning. What does this have to do with the call in wait_reading_process_output? Since it doesn't return until the next keypress we have a non-updated display for a potentially long time. > I also don't see how would triggering redisplay earlier fix the > problem at hand. Am I missing something? It may be part of the problem, who knows. You missed a lot in this thread already, didn't you? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 27 09:05:56 2014 Received: (at 18112-done) by debbugs.gnu.org; 27 Jul 2014 13:05:56 +0000 Received: from localhost ([127.0.0.1]:39216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBO9D-0005Fc-Ne for submit@debbugs.gnu.org; Sun, 27 Jul 2014 09:05:55 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:50528) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBO9B-0005FN-5j for 18112-done@debbugs.gnu.org; Sun, 27 Jul 2014 09:05:54 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N9D00200G3F8300@mtaout24.012.net.il> for 18112-done@debbugs.gnu.org; Sun, 27 Jul 2014 16:01:40 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9D00OUAG6RXA20@mtaout24.012.net.il>; Sun, 27 Jul 2014 16:01:40 +0300 (IDT) Date: Sun, 27 Jul 2014 16:05:59 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <83egx8ihw5.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: mvoteiza@udel.edu Message-id: <8361ijhryg.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112-done Cc: 18112-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 26 Jul 2014 12:33:30 +0300 > From: Eli Zaretskii > Cc: 18112@debbugs.gnu.org > > So the important players here are (1) a frame on another tty that has > a different size, and (2) resizing the frame after deleting another > frame on a different tty. Fixed in revision 117409 on the emacs-24 branch. (It's amazing what one 99%-correct line of Lisp can do.) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 27 09:35:53 2014 Received: (at 18112) by debbugs.gnu.org; 27 Jul 2014 13:35:53 +0000 Received: from localhost ([127.0.0.1]:39227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBOcC-0005xK-5j for submit@debbugs.gnu.org; Sun, 27 Jul 2014 09:35:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:62966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBOc8-0005x5-7A for 18112@debbugs.gnu.org; Sun, 27 Jul 2014 09:35:49 -0400 Received: from [194.96.33.130] ([194.96.33.130]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M5Lmp-1WHoaS3r4h-00zXOB; Sun, 27 Jul 2014 15:35:40 +0200 Message-ID: <53D50029.9020802@gmx.at> Date: Sun, 27 Jul 2014 15:35:37 +0200 From: martin rudalics MIME-Version: 1.0 To: 18112@debbugs.gnu.org, eliz@gnu.org, mvoteiza@udel.edu Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> In-Reply-To: <8361ijhryg.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:iR0AbA+1yvR9xjPr84TdgJp9PpXwQv+sgz5emxap8pKN7mw2y+S cvB5uYM7u8JqUyMXswO+kf3ry4FXo57MqzSyc5PTgxmQQPriht8/23BBnyZ53mJRb4iD5PW Z7JOkSxSTwOUch8KMOhEa/jF9vjhZZXq94l6orKPnF7YmoBnHgJkmVgIG/vaDytTpZ2ScyO MT3/uzyD+tyEmNzHrm+aQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > (It's amazing what one 99%-correct line of Lisp can do.) Indeed. Thanks for fixing my 1% blindness. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 27 10:55:22 2014 Received: (at 18112) by debbugs.gnu.org; 27 Jul 2014 14:55:22 +0000 Received: from localhost ([127.0.0.1]:39495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBPr6-0007vY-NE for submit@debbugs.gnu.org; Sun, 27 Jul 2014 10:55:21 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:52494) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBPr3-0007vI-25 for 18112@debbugs.gnu.org; Sun, 27 Jul 2014 10:55:18 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N9D00K00L1FLY00@mtaout29.012.net.il> for 18112@debbugs.gnu.org; Sun, 27 Jul 2014 17:55:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9D00CVNLG7X090@mtaout29.012.net.il>; Sun, 27 Jul 2014 17:55:19 +0300 (IDT) Date: Sun, 27 Jul 2014 17:55:23 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <53D50029.9020802@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <831tt6j1gk.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sun, 27 Jul 2014 15:35:37 +0200 > From: martin rudalics > > > (It's amazing what one 99%-correct line of Lisp can do.) > > Indeed. Thanks for fixing my 1% blindness. You're welcome. [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [80.179.55.185 listed in psbl.surriel.com] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sun, 27 Jul 2014 15:35:37 +0200 > From: martin rudalics > > > (It's amazing what one 99%-correct line of Lisp can do.) > > Indeed. Thanks for fixing my 1% blindness. You're welcome. [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [80.179.55.185 listed in psbl.surriel.com] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > Date: Sun, 27 Jul 2014 15:35:37 +0200 > From: martin rudalics > > > (It's amazing what one 99%-correct line of Lisp can do.) > > Indeed. Thanks for fixing my 1% blindness. You're welcome. As long as I have your attention: how about adding some comments and/or text to respective doc strings to explain what exactly the following functions do, and why/when are they needed? window-normal-size window-new-total window-new-normal window-new-pixel and the corresponding set-* functions. Their doc strings are just tautological repetition of their names, which isn't helpful. And the ELisp manual doesn't say a word about them, so the doc strings need to do a better job, IMO. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 27 14:15:39 2014 Received: (at 18112) by debbugs.gnu.org; 27 Jul 2014 18:15:39 +0000 Received: from localhost ([127.0.0.1]:39578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBSyq-0004Na-4P for submit@debbugs.gnu.org; Sun, 27 Jul 2014 14:15:39 -0400 Received: from mout.gmx.net ([212.227.17.22]:51162) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBSyn-0004NM-8d for 18112@debbugs.gnu.org; Sun, 27 Jul 2014 14:15:30 -0400 Received: from [178.191.141.54] ([178.191.141.54]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LyR1G-1WOe6Q0xGg-015uWy; Sun, 27 Jul 2014 20:15:20 +0200 Message-ID: <53D541B3.4000305@gmx.at> Date: Sun, 27 Jul 2014 20:15:15 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> In-Reply-To: <831tt6j1gk.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:hLSk8vfICkEGku/krCR7Jv6F1SDdXpxvltIHaXO1htWHFNzLZ7P m3Y+IBVTXN8EZZHokGBO7rhKcBth8mdcHaCppiVoe2KYvhSLdyhfrmo93i/LUV1hWe7lX45 Q3F67oW/PfE10DieQ52SnYd3EkSO1Tp8cX0eCnn5oCF9ZlnBCoefwqPo5jUc0MAO3Fvp9UG mp5hIlyAx43gsf97G5fPQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > As long as I have your attention: how about adding some comments > and/or text to respective doc strings to explain what exactly the > following functions do, and why/when are they needed? > > window-normal-size > window-new-total > window-new-normal > window-new-pixel > > and the corresponding set-* functions. Their doc strings are just > tautological repetition of their names, which isn't helpful. And the > ELisp manual doesn't say a word about them, so the doc strings need to > do a better job, IMO. I'll do that. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 08 06:10:22 2014 Received: (at 18112) by debbugs.gnu.org; 8 Aug 2014 10:10:23 +0000 Received: from localhost ([127.0.0.1]:34646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFh7s-0006w7-Vk for submit@debbugs.gnu.org; Fri, 08 Aug 2014 06:10:22 -0400 Received: from mout.gmx.net ([212.227.15.15]:62083) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFh7q-0006vs-NA for 18112@debbugs.gnu.org; Fri, 08 Aug 2014 06:10:19 -0400 Received: from [88.117.86.84] ([88.117.86.84]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LedVG-1WdbUw26qU-00qRg2; Fri, 08 Aug 2014 12:10:12 +0200 Message-ID: <53E4A1FA.9090902@gmx.at> Date: Fri, 08 Aug 2014 12:10:02 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> In-Reply-To: <831tt6j1gk.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:a8exdnSiLQl8nNl7lPG2C44+g6k75wH+/+OdzyI4pcwYQB9G2Tz JAtlpHhjz8DjaSn5rlBle0uhYcAStLmMkWItVA/bw3JWFJMLrNUFOwGsIPDmxlRPw540tBB DEJVypArimOUbd+vVkzDcYwtd/UXHBq/A+tmjw+ckhrg515tcMA7Q3+fWjjE72lTilJb70N 8rgwZLj+mSW9bAK6vSNxA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > As long as I have your attention: how about adding some comments > and/or text to respective doc strings to explain what exactly the > following functions do, and why/when are they needed? > > window-normal-size > window-new-total > window-new-normal > window-new-pixel > > and the corresponding set-* functions. Their doc strings are just > tautological repetition of their names, which isn't helpful. And the > ELisp manual doesn't say a word about them, so the doc strings need to > do a better job, IMO. I've tried to do that now. Please have a look. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 08 06:40:47 2014 Received: (at 18112) by debbugs.gnu.org; 8 Aug 2014 10:40:47 +0000 Received: from localhost ([127.0.0.1]:34698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFhbK-0007m5-6y for submit@debbugs.gnu.org; Fri, 08 Aug 2014 06:40:46 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:56749) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFhbD-0007li-P6 for 18112@debbugs.gnu.org; Fri, 08 Aug 2014 06:40:41 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N9Z00700HCMEO00@mtaout25.012.net.il> for 18112@debbugs.gnu.org; Fri, 08 Aug 2014 13:35:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9Z001IJHFFE450@mtaout25.012.net.il>; Fri, 08 Aug 2014 13:35:39 +0300 (IDT) Date: Fri, 08 Aug 2014 13:40:30 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <53E4A1FA.9090902@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83egwrmfhd.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 08 Aug 2014 12:10:02 +0200 > From: martin rudalics > CC: 18112@debbugs.gnu.org, mvoteiza@udel.edu > > > As long as I have your attention: how about adding some comments > > and/or text to respective doc strings to explain what exactly the > > following functions do, and why/when are they needed? > > > > window-normal-size > > window-new-total > > window-new-normal > > window-new-pixel > > > > and the corresponding set-* functions. Their doc strings are just > > tautological repetition of their names, which isn't helpful. And the > > ELisp manual doesn't say a word about them, so the doc strings need to > > do a better job, IMO. > > I've tried to do that now. Please have a look. Thanks. This is an improvement for the functions that deal with the "normal" size (which should have been called "normalized", but I guess that's water under the bridge now). I see no improvement for the "total" size. The additions to the doc strings point to window-total-size, but that function's doc string does not explain what is the semantics of "total" in this respect. (The doc string of window-total-size references window-total-width and window-total-height, which do say something about that, but having to traverse more than 1 hyperlink to find the information is not a good idea, IMO.) Also, the way you document the *-new-* functions could be improved. You say something like The new pixel size of WINDOW is used by `window-resize-apply' and, if that function succeeds, will be subsequently returned by the functions `window-pixel-height' and `window-pixel-width'. I suggest instead to say something that describes the effect, but not how the effect is achieved (which is low-level information that obscures and obfuscates what the reader would like to know): The new pixel size of WINDOW, if it is valid, will be shortly installed as WINDOW's size. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 09 07:15:05 2014 Received: (at 18112) by debbugs.gnu.org; 9 Aug 2014 11:15:05 +0000 Received: from localhost ([127.0.0.1]:36115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG4c4-0003J6-LX for submit@debbugs.gnu.org; Sat, 09 Aug 2014 07:15:05 -0400 Received: from mout.gmx.net ([212.227.15.19]:54305) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG4bz-0003IG-Au for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 07:15:00 -0400 Received: from [178.191.143.186] ([178.191.143.186]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MAyVY-1X6DEg1cRA-009wis; Sat, 09 Aug 2014 13:14:46 +0200 Message-ID: <53E60287.9070301@gmx.at> Date: Sat, 09 Aug 2014 13:14:15 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> In-Reply-To: <83egwrmfhd.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:pDVdWBpNNUoXRSFkXPYBZWxH2Vgs4ETeB8Td6CGIYFHvon1Q0j4 CswxMCwRz9HMMG3RseWJWdhDwBzoYCNUi2nqbTNjJf0bFlMMBEKTqwF+YdOkv/Ljw+i6PBn 8WmqCW9TLd1AB+4jnGPAtfoy3RuliMPxDT+rzFOQMb/YLnTYl4WmYiBSkVhiLooCcgpEI8D YOT6C7e0z0lRjcTZahe0A== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I see no improvement for the "total" size. The additions to the doc > strings point to window-total-size, but that function's doc string > does not explain what is the semantics of "total" in this respect. > (The doc string of window-total-size references window-total-width and > window-total-height, which do say something about that, but having to > traverse more than 1 hyperlink to find the information is not a good > idea, IMO.) > > Also, the way you document the *-new-* functions could be improved. > You say something like > > The new pixel size of WINDOW is used by `window-resize-apply' and, if > that function succeeds, will be subsequently returned by the functions > `window-pixel-height' and `window-pixel-width'. > > I suggest instead to say something that describes the effect, but not > how the effect is achieved (which is low-level information that > obscures and obfuscates what the reader would like to know): > > The new pixel size of WINDOW, if it is valid, will be shortly > installed as WINDOW's size. I've tried to follow your advices. Please have another look. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 09 11:37:39 2014 Received: (at 18112) by debbugs.gnu.org; 9 Aug 2014 15:37:39 +0000 Received: from localhost ([127.0.0.1]:36613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG8iA-0002hw-7D for submit@debbugs.gnu.org; Sat, 09 Aug 2014 11:37:38 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:46968) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG8i6-0002hh-Kx for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 11:37:36 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NA100A00PBS8X00@mtaout26.012.net.il> for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 18:36:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NA100C97Q0AOI00@mtaout26.012.net.il>; Sat, 09 Aug 2014 18:36:10 +0300 (IDT) Date: Sat, 09 Aug 2014 18:37:17 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <53E60287.9070301@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83fvh5lln6.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> <53E60287.9070301@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 09 Aug 2014 13:14:15 +0200 > From: martin rudalics > CC: 18112@debbugs.gnu.org, mvoteiza@udel.edu > > > I see no improvement for the "total" size. The additions to the doc > > strings point to window-total-size, but that function's doc string > > does not explain what is the semantics of "total" in this respect. > > (The doc string of window-total-size references window-total-width and > > window-total-height, which do say something about that, but having to > > traverse more than 1 hyperlink to find the information is not a good > > idea, IMO.) > > > > Also, the way you document the *-new-* functions could be improved. > > You say something like > > > > The new pixel size of WINDOW is used by `window-resize-apply' and, if > > that function succeeds, will be subsequently returned by the functions > > `window-pixel-height' and `window-pixel-width'. > > > > I suggest instead to say something that describes the effect, but not > > how the effect is achieved (which is low-level information that > > obscures and obfuscates what the reader would like to know): > > > > The new pixel size of WINDOW, if it is valid, will be shortly > > installed as WINDOW's size. > > I've tried to follow your advices. Please have another look. Thanks, the *-new-* functions are now clearly documented. The issue with window-total-size is still there, though. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 09 11:57:19 2014 Received: (at 18112) by debbugs.gnu.org; 9 Aug 2014 15:57:19 +0000 Received: from localhost ([127.0.0.1]:36618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG918-0003C2-IO for submit@debbugs.gnu.org; Sat, 09 Aug 2014 11:57:19 -0400 Received: from mout.gmx.net ([212.227.15.15]:53448) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG916-0003Bn-GA for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 11:57:13 -0400 Received: from [188.23.123.171] ([188.23.123.171]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MY86C-1Wu81Z031c-00UvYY; Sat, 09 Aug 2014 17:57:05 +0200 Message-ID: <53E644C8.2090102@gmx.at> Date: Sat, 09 Aug 2014 17:56:56 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> <53E60287.9070301@gmx.at> <83fvh5lln6.fsf@gnu.org> In-Reply-To: <83fvh5lln6.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/S3R1SmCbF5GXwSlRW8OTth3W+14aGyXciVT/z/xvf06sFZXnLX ooou54bpqqVThxknoqQuLN5dJVA6EsKGay/ZO+5SxmF2P4c62vR/yZr9Sz8JzQ/WFwq4K/q NEa7T3WHrMPwoMo1Xv4kIHsSwJZNobpaO38JUXigpWYzB+0KuUyMeUpYmzTRHnlRB5rhPFk Y+lXvxeC1ZPwlVbxVMNZg== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > The issue with window-total-size is still there, though. Which one? Should I copy the descriptions from `window-total-height' and `window-total-width' to the doc-string of `window-total-size'? martin From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 09 12:29:30 2014 Received: (at 18112) by debbugs.gnu.org; 9 Aug 2014 16:29:30 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG9WM-0003zw-5n for submit@debbugs.gnu.org; Sat, 09 Aug 2014 12:29:30 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:33714) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XG9WJ-0003zc-AK for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 12:29:28 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NA100O00SBW8600@mtaout29.012.net.il> for 18112@debbugs.gnu.org; Sat, 09 Aug 2014 19:29:21 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NA100JROSGXII40@mtaout29.012.net.il>; Sat, 09 Aug 2014 19:29:21 +0300 (IDT) Date: Sat, 09 Aug 2014 19:29:10 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <53E644C8.2090102@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83egwplj8p.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> <53E60287.9070301@gmx.at> <83fvh5lln6.fsf@gnu.org> <53E644C8.2090102@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 09 Aug 2014 17:56:56 +0200 > From: martin rudalics > CC: 18112@debbugs.gnu.org, mvoteiza@udel.edu > > > The issue with window-total-size is still there, though. > > Which one? Should I copy the descriptions from `window-total-height' > and `window-total-width' to the doc-string of `window-total-size'? I think just saying what "total" includes, and how it differs from the corresponding non-"total" dimensions, should be good enough. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 10 06:42:27 2014 Received: (at 18112) by debbugs.gnu.org; 10 Aug 2014 10:42:27 +0000 Received: from localhost ([127.0.0.1]:36961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGQa2-0003Ww-PC for submit@debbugs.gnu.org; Sun, 10 Aug 2014 06:42:27 -0400 Received: from mout.gmx.net ([212.227.15.18]:55080) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGQZy-0003Wh-GE for 18112@debbugs.gnu.org; Sun, 10 Aug 2014 06:42:23 -0400 Received: from [194.118.142.223] ([194.118.142.223]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lqi70-1WlEhB0TwI-00ePoG; Sun, 10 Aug 2014 12:42:15 +0200 Message-ID: <53E74C80.9030509@gmx.at> Date: Sun, 10 Aug 2014 12:42:08 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> <53E60287.9070301@gmx.at> <83fvh5lln6.fsf@gnu.org> <53E644C8.2090102@gmx.at> <83egwplj8p.fsf@gnu.org> In-Reply-To: <83egwplj8p.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8MLQef3UPvJ0BvU/nY/lO/m5y0nNQO+QUQKR+iTZg5ZOLf2wDds favAnVqtNafiSb6/7M/RqP/q7TN8B9MW0PaSCuQGo4KHRhJZ9BQ2paIb77bXyHsfdTl3eEi RaI8EIk3QbBOg13MJV5fsyUNOjEOzqGzdBvthWc7/22z0rUvo0yYecgY6eVU9bPus4BweTc mqfTb6wVp/+fAlxttOvxw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I think just saying what "total" includes, and how it differs from > the corresponding non-"total" dimensions, should be good enough. I tried to do that. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 10 10:04:55 2014 Received: (at 18112) by debbugs.gnu.org; 10 Aug 2014 14:04:55 +0000 Received: from localhost ([127.0.0.1]:37816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGTjy-0003ki-TP for submit@debbugs.gnu.org; Sun, 10 Aug 2014 10:04:55 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:58659) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGTjv-0003kT-Oa for 18112@debbugs.gnu.org; Sun, 10 Aug 2014 10:04:53 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NA300400G0BDV00@mtaout25.012.net.il> for 18112@debbugs.gnu.org; Sun, 10 Aug 2014 16:59:48 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NA3003AHG7OWQ10@mtaout25.012.net.il>; Sun, 10 Aug 2014 16:59:48 +0300 (IDT) Date: Sun, 10 Aug 2014 17:04:37 +0300 From: Eli Zaretskii Subject: Re: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval In-reply-to: <53E74C80.9030509@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83y4uwjv9m.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> <83k370ipta.fsf@gnu.org> <83iomkimg0.fsf@gnu.org> <83fvhoij80.fsf@gnu.org> <83egx8ihw5.fsf@gnu.org> <8361ijhryg.fsf@gnu.org> <53D50029.9020802@gmx.at> <831tt6j1gk.fsf@gnu.org> <53E4A1FA.9090902@gmx.at> <83egwrmfhd.fsf@gnu.org> <53E60287.9070301@gmx.at> <83fvh5lln6.fsf@gnu.org> <53E644C8.2090102@gmx.at> <83egwplj8p.fsf@gnu.org> <53E74C80.9030509@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18112 Cc: mvoteiza@udel.edu, 18112@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 10 Aug 2014 12:42:08 +0200 > From: martin rudalics > CC: 18112@debbugs.gnu.org, mvoteiza@udel.edu > > > I think just saying what "total" includes, and how it differs from > > the corresponding non-"total" dimensions, should be good enough. > > I tried to do that. Thanks, I'm happy now. From unknown Tue Jun 17 20:28:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Sep 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator