unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aric81 <aric81@inwind.it>
To: Glenn Morris <rgm@gnu.org>
Cc: 28800@debbugs.gnu.org
Subject: bug#28800: 25.3.50; Emacs -nw breaks urxvt
Date: Mon, 12 Mar 2018 21:18:35 -0700	[thread overview]
Message-ID: <13da1401-a836-f6ab-e7f2-c4ea5b4ce564@inwind.it> (raw)
In-Reply-To: <895D6E25-8BDA-4B46-938A-A0CE44DD0DA1@inwind.it>

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 2055 bytes --]

  reply	other threads:[~2018-03-13  4:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12 18:33 bug#28800: 25.3.50; Emacs -nw breaks urxvt Aric81
2017-10-12 19:51 ` bug#28800: Additional notes Aric81
2017-10-12 20:48   ` Eli Zaretskii
2017-10-12 20:45 ` bug#28800: 25.3.50; Emacs -nw breaks urxvt Eli Zaretskii
     [not found]   ` <47415d6f-534e-a59c-24d5-ab169ef57af4@inwind.it>
2017-10-23 13:50     ` Eli Zaretskii
2017-10-23 21:49       ` Aric81
2018-01-19  1:44     ` Aric81
2018-01-19 13:22       ` Filipp Gunbin
2018-01-20  5:56         ` Andrea Richiardi
2018-01-19 16:55       ` Glenn Morris
2018-01-20  5:54         ` Andrea Richiardi
2018-03-13  4:18           ` Aric81 [this message]
2018-05-31 23:34             ` Noam Postavsky
2019-11-11  2:50               ` Stefan Kangas
2018-02-19 22:44         ` Aric81
2017-10-13  1:57 ` bug#28800: Another attempt aric81

Reply instructions:

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

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

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

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

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

  git send-email \
    --in-reply-to=13da1401-a836-f6ab-e7f2-c4ea5b4ce564@inwind.it \
    --to=aric81@inwind.it \
    --cc=28800@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).