From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 05 17:07:41 2014 Received: (at submit) by debbugs.gnu.org; 5 Oct 2014 21:07:41 +0000 Received: from localhost ([127.0.0.1]:34977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xat1o-00089O-AZ for submit@debbugs.gnu.org; Sun, 05 Oct 2014 17:07:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55798) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xasm3-0007lH-Dz for submit@debbugs.gnu.org; Sun, 05 Oct 2014 16:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xaslt-00084B-9N for submit@debbugs.gnu.org; Sun, 05 Oct 2014 16:51:23 -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]:40455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xaslt-000843-5e for submit@debbugs.gnu.org; Sun, 05 Oct 2014 16:51:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xasll-0005mX-CC for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2014 16:51:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xasld-00080b-SY for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2014 16:51:05 -0400 Received: from mailout08.t-online.de ([194.25.134.20]:33746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xasld-00080F-Ld for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2014 16:50:57 -0400 Received: from fwd20.aul.t-online.de (fwd20.aul.t-online.de [172.20.26.140]) by mailout08.t-online.de (Postfix) with SMTP id BC781273453 for ; Sun, 5 Oct 2014 22:50:55 +0200 (CEST) Received: from blaubaer (TJ3S78ZSYhoPiFQ0LO4OymlYZlUjVZ8UjJzT6cCyakJXD8FI4UPc6kYScK6nrOYQGG@[93.208.112.127]) by fwd20.t-online.de with (TLSv1.2:DHE-RSA-AES256-SHA256 encrypted) esmtp id 1XaslX-2Izhp20; Sun, 5 Oct 2014 22:50:51 +0200 From: olaf To: bug-gnu-emacs@gnu.org Subject: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm Date: Sun, 05 Oct 2014 22:49:29 +0200 Message-ID: <87bnpq2qee.fsf@blaubaer.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-ID: TJ3S78ZSYhoPiFQ0LO4OymlYZlUjVZ8UjJzT6cCyakJXD8FI4UPc6kYScK6nrOYQGG X-TOI-MSGID: dc1660f5-6c48-484d-b4c0-8775d6893ddc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-Mailman-Approved-At: Sun, 05 Oct 2014 17:07:38 -0400 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 (-----) Hi, I can not resize windows by dragging the mode-line under xterm: This test was made with a fresh install from the bzr repositiory, xterm version is 300: emacs -nw -Q M-x xterm-mouse-mode RET C-x 2 Move mouse to upper mode-line. Click and drag with mouse button 1. Release mouse button . Result: At the release of the mouse button the upper window will get a hight of 3 lines, irrespective of the dragging amount. In GNU Emacs 24.3.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2014-10-05 on blaubaer Repository revision: 117555 sdl.web@gmail.com-20141005005838-oyl694hqhu2d3632 System Description: Ubuntu 14.04.1 LTS Configured using: `configure --prefix /home/olaf/local --with-x-toolkit=gtk3 --without-gconf --without-gsettings' Important settings: value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: xterm-mouse-mode: t tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 4 1 ; 3 0 0 ; 0 c ESC ] 1 1 ; r g b : 3 3 3 3 / 3 3 3 3 / 3 3 3 3 ESC \ ESC x x t - m o TAB RET C-x 2 ESC [ < 0 ; 3 8 ; 4 6 M ESC [ < 0 ; 3 8 ; 2 2 m ESC [ < 0 ; 3 8 ; 5 M ESC [ < 0 ; 3 8 ; 1 5 m ESC x r e p o r TAB RET Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Xterm-Mouse mode enabled Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu 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 cus-start cus-load xt-mouse xterm time-date 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 font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 83963 6158) (symbols 48 18559 0) (miscs 40 33 113) (strings 32 10759 4307) (string-bytes 1 274520) (vectors 16 7129) (vector-slots 8 341892 32639) (floats 8 72 546) (intervals 56 175 16) (buffers 960 11) (heap 1024 16984 745)) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 07 00:56:06 2014 Received: (at control) by debbugs.gnu.org; 7 Oct 2014 04:56:06 +0000 Received: from localhost ([127.0.0.1]:36120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XbMoe-0003FG-Tr for submit@debbugs.gnu.org; Tue, 07 Oct 2014 00:56:05 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58369) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XbMoc-0003Et-8j for control@debbugs.gnu.org; Tue, 07 Oct 2014 00:56:02 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XbMob-0002TM-K9 for control@debbugs.gnu.org; Tue, 07 Oct 2014 00:56:01 -0400 Date: Tue, 07 Oct 2014 00:56:01 -0400 Message-Id: Subject: control message for bug 18638 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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 (-----) severity 18638 important tag 18638 confirmed From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 07 11:21:35 2014 Received: (at 18638) by debbugs.gnu.org; 7 Oct 2014 15:21:35 +0000 Received: from localhost ([127.0.0.1]:36807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XbWZy-0004Rh-PF for submit@debbugs.gnu.org; Tue, 07 Oct 2014 11:21:35 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42062) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XbWZw-0004RZ-8b for 18638@debbugs.gnu.org; Tue, 07 Oct 2014 11:21:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XbWZu-0005gB-LK; Tue, 07 Oct 2014 11:21:30 -0400 From: Glenn Morris To: olaf Subject: Re: bug#18638: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm References: <87bnpq2qee.fsf@blaubaer.i-did-not-set--mail-host-address--so-tickle-me> X-Spook: DES ASDIC csim NSA BCCI EuroFed MD2 ASIO X-Ran: tBXp;`t^eL~DrTkK:#7s,GH{^&K@.dP\|^Rf(_3^&P/oe7d#Rv4bjk~n0V2[z0eCr=vDC_ X-Hue: black X-Attribution: GM Date: Tue, 07 Oct 2014 11:21:30 -0400 In-Reply-To: <87bnpq2qee.fsf@blaubaer.i-did-not-set--mail-host-address--so-tickle-me> (olaf's message of "Sun, 05 Oct 2014 22:49:29 +0200") Message-ID: <4p38az7vnp.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18638 Cc: 18638@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: -5.0 (-----) olaf wrote: > emacs -nw -Q > M-x xterm-mouse-mode RET > C-x 2 > Move mouse to upper mode-line. > Click and drag with mouse button 1. > Release mouse button . > > Result: At the release of the mouse button the upper window will get a > hight of 3 lines, irrespective of the dragging amount. I see this in 24.3.94 but not 24.3, so it seems to be a new issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 09 09:54:26 2014 Received: (at 18638-done) by debbugs.gnu.org; 9 Oct 2014 13:54:26 +0000 Received: from localhost ([127.0.0.1]:38699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcEAj-0007gT-Oj for submit@debbugs.gnu.org; Thu, 09 Oct 2014 09:54:26 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11763) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcEAh-0007gL-VV for 18638-done@debbugs.gnu.org; Thu, 09 Oct 2014 09:54:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALDiYSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALDiYSFBgNJIgECNIZF456B4Q4BKkZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="93688520" Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Oct 2014 09:54:22 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0497C85A3; Thu, 9 Oct 2014 09:54:21 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#18638: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm Message-ID: References: <87bnpq2qee.fsf@blaubaer.i-did-not-set--mail-host-address--so-tickle-me> <4p38az7vnp.fsf@fencepost.gnu.org> Date: Thu, 09 Oct 2014 09:54:21 -0400 In-Reply-To: <4p38az7vnp.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 07 Oct 2014 11:21:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18638-done Cc: olaf , 18638-done@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.3 (/) >> Result: At the release of the mouse button the upper window will get a >> hight of 3 lines, irrespective of the dragging amount. > I see this in 24.3.94 but not 24.3, so it seems to be a new issue. Indeed, the reason is that mouse.el now uses mouse-pixel-position instead of mouse-position in mouse-drag-line, and xt-mouse.el uses mouse-position-function to convince mouse-position to return useful info in xterm frames, whereas there was no such hook for mouse-pixel-position. I installed a patch which fixes this by making mouse-pixel-position call mouse-position-function as well. I think a better patch would be to make mouse-drag-line use the event's own position info rather than calling mouse-pixel-position, but the corresponding patch is a bit more fiddly, so I'll keep it for after 24.4. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 10 05:03:50 2014 Received: (at 18638) by debbugs.gnu.org; 10 Oct 2014 09:03:50 +0000 Received: from localhost ([127.0.0.1]:39723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcW73-00013J-Gm for submit@debbugs.gnu.org; Fri, 10 Oct 2014 05:03:49 -0400 Received: from mout.gmx.net ([212.227.15.18]:59031) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcW71-00013B-Nb for 18638@debbugs.gnu.org; Fri, 10 Oct 2014 05:03:48 -0400 Received: from [88.117.63.91] ([88.117.63.91]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MVN0w-1XhX5w1hvC-00YgFD; Fri, 10 Oct 2014 11:03:46 +0200 Message-ID: <5437A0E9.1040806@gmx.at> Date: Fri, 10 Oct 2014 11:03:37 +0200 From: martin rudalics MIME-Version: 1.0 To: 18638@debbugs.gnu.org, monnier@iro.umontreal.ca, olaf.rogalsky@t-online.de Subject: Re: bug#18638: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm References: <87bnpq2qee.fsf@blaubaer.i-did-not-set--mail-host-address--so-tickle-me> <4p38az7vnp.fsf@fencepost.gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:OBYdw6T3ooLpzG2tkgPrw1Q9wRGi56Q73nbGpTCofpOIrFiPwDj 78TXD3KnRTFDSyiAp4uPKjJcQUyfJHcVLl+CGHLvrWpUWe8mqq9d7ezSr0mA98VeKJtHaPF HrS+W+iVC6+orL8JSDwqvivRyc6hsxCxa1dV/a0Qz1f77qU4uZmmItAmaStbhwqwZNbGv0a T93Err5Kk+rh6hTHXS9vQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18638 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 (/) > Indeed, the reason is that mouse.el now uses mouse-pixel-position > instead of mouse-position in mouse-drag-line, and xt-mouse.el uses > mouse-position-function to convince mouse-position to return useful info > in xterm frames, whereas there was no such hook for > mouse-pixel-position. Thanks for fixing this. I found the cause of the bug before but was too silly to grok the purpose of `mouse-position-function'. martin From unknown Mon Aug 18 18:01:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Nov 2014 12: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