From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aric81 Newsgroups: gmane.emacs.bugs Subject: bug#28800: 25.3.50; Emacs -nw breaks urxvt Date: Mon, 12 Mar 2018 21:18:35 -0700 Message-ID: <13da1401-a836-f6ab-e7f2-c4ea5b4ce564@inwind.it> References: <9d881a14-5b25-fbbb-4ac6-763c4f790ae1@inwind.it> <83h8v4ksdc.fsf@gnu.org> <47415d6f-534e-a59c-24d5-ab169ef57af4@inwind.it> <895D6E25-8BDA-4B46-938A-A0CE44DD0DA1@inwind.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------AF0765458756EE66C9E8F8C1" X-Trace: blaine.gmane.org 1520914690 9284 195.159.176.226 (13 Mar 2018 04:18:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2018 04:18:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Cc: 28800@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 13 05:18:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evbO1-0002Ig-2B for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Mar 2018 05:18:05 +0100 Original-Received: from localhost ([::1]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evbQ4-0008OZ-1O for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Mar 2018 00:20:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evbPx-0008No-I9 for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 00:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evbPu-0000X2-Dl for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 00:20:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evbPu-0000WU-9b for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 00:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evbPu-0006O5-0g for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 00:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aric81 Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Mar 2018 04:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28800-submit@debbugs.gnu.org id=B28800.152091477224498 (code B ref 28800); Tue, 13 Mar 2018 04:20:01 +0000 Original-Received: (at 28800) by debbugs.gnu.org; 13 Mar 2018 04:19:32 +0000 Original-Received: from localhost ([127.0.0.1]:57936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evbPO-0006N2-7r for submit@debbugs.gnu.org; Tue, 13 Mar 2018 00:19:31 -0400 Original-Received: from smtp-36-vd.italiaonline.it ([213.209.8.36]:42144 helo=libero.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evbPM-0006Mj-TP for 28800@debbugs.gnu.org; Tue, 13 Mar 2018 00:19:29 -0400 Original-Received: from [192.168.0.25] ([50.68.197.246]) by smtp-36.iol.local with SMTP id vbOWeGQln5D88vbPFej3s5; Tue, 13 Mar 2018 05:19:22 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inwind.it; s=s2014; t=1520914762; bh=idHEiwguvSUpeqa0V+yvEx0PtvlMvkJhuv8IEu55gP4=; h=Subject:From:To:Cc:References:Date:In-Reply-To; b=vBg9dJaOJ3Iq6hdHyaL1W09cgRhIafxL7dzfySx2gip+xFY+kcSLueZ0a51Ek0aO1 YPQmge6RKJFNC/eMNax3iBu7zJ2rOZ+b+AjkvSvHDEUe0sopRxgObURSbaYxJomCTz NV6g8I+4nqsFYOiznsbde/0ioNb3bmddq+8c8d3pfGf/mQq4p0hvyNqRjuMavhTXKU QrXl01pswwG93ou4I8qG435S4UUs/pm8xNkiuxHkonwRFgWQE77bJJqa0ng00dLmOO dmgOAmhjIDzJv13C2O8kA1TbkcnYl+S2q3n+3A764rMVBRdw4fZupijS/pO53LUxSY 6u5sXDBPUxsqQ== X-CNFS-Analysis: v=2.2 cv=conrqxwi c=1 sm=1 tr=0 a=/9T5dzYknJx2lF30dFg1Jw==:117 a=/9T5dzYknJx2lF30dFg1Jw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=mDV3o1hIAAAA:8 a=uPZiAMpXAAAA:8 a=x0EmbOMuXteLh04NGdMA:9 a=QEXdDO2ut3YA:10 a=Y7Kwdan3qg6ERVrMYpUA:9 a=TuZuuVEqjh0w3-nt:21 a=_W_S_7VecoQA:10 a=_FVE-zBwftR9WsbkzFJk:22 In-Reply-To: <895D6E25-8BDA-4B46-938A-A0CE44DD0DA1@inwind.it> Content-Language: en-US X-CMAE-Envelope: MS4wfJ/1xN52WQDfCETlBCRlEzcT21/vAs6s8wsUFCJClOccTiSzlAKRGm9ldkmbJwViGx1Ir9LuzfbaIeh0s9+8+hyWk3U9DZPmMF5/BR5TkkEFRrsOlFI7 KnJemDf/WWOVLqJxC/3W+qrZvljwS31z8VftWAxL0KxH/DQepENakmC4DVocQpcdNc8doDgF6vfEmuQeC7rhUlL8KpjAHMBzUfE= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144179 Archived-At: This is a multi-part message in MIME format. --------------AF0765458756EE66C9E8F8C1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 2018-01-19 09:54 PM, Andrea Richiardi wrote: > On January 19, 2018 8:55:40 AM PST, Glenn Morris wrote: > >Aric81 wrote: > > > > >so it's doubly impossible for it to be relevant to your issue. > So I finally figured out what is wrong. It looks like the suggestion of enabling xterm-mouse-mode here of this SO issue http://stackoverflow.com/a/6798279/27782 is breaking my rxvt. The function called is: (defun initialise-mouse-mode (&optional frame)   "Initialise mouse mode for the current terminal."   (if (not frame) ;; The initial call.       (xterm-mouse-mode 1)     ;; Otherwise called via after-make-frame-functions.     (if xterm-mouse-mode         ;; Re-initialise the mode in case of a new terminal.         (xterm-mouse-mode 1)))) And it is called on init.el and with the hook below: (initialise-mouse-mode) (add-hook 'after-make-frame-functions 'initialise-mouse-mode) Apparently if I comment out the hook I still get the functionality but rxvt now does not break like my images show. I can comment it out but I am not sure if this bug report is still valid. --------------AF0765458756EE66C9E8F8C1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 2018-01-19 09:54 PM, Andrea Richiardi wrote:
On January 19, 2018 8:55:40 AM PST, Glenn Morris <rgm@gnu.org> wrote:
>Aric81 wrote:
>

>so it's doubly impossible for it to be relevant to your issue.


So I finally figured out what is wrong. It looks like the suggestion of enabling xterm-mouse-mode here of this SO issue http://stackoverflow.com/a/6798279/27782 is breaking my rxvt.

The function called is:

(defun initialise-mouse-mode (&optional frame)
  "Initialise mouse mode for the current terminal."
  (if (not frame) ;; The initial call.
      (xterm-mouse-mode 1)
    ;; Otherwise called via after-make-frame-functions.
    (if xterm-mouse-mode
        ;; Re-initialise the mode in case of a new terminal.
        (xterm-mouse-mode 1))))

And it is called on init.el and with the hook below:

(initialise-mouse-mode)
(add-hook 'after-make-frame-functions 'initialise-mouse-mode)

Apparently if I comment out the hook I still get the functionality but rxvt now does not break like my images show. I can comment it out but I am not sure if this bug report is still valid.

--------------AF0765458756EE66C9E8F8C1--