From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#29716: 25.1; Wrong brackground-mode on gnome-terminal Date: Sun, 31 Dec 2017 20:19:29 -0500 Message-ID: <87po6utly6.fsf@users.sourceforge.net> References: <87shcd56jv.fsf@cafe.lan> <87y3m4btbi.fsf@users.sourceforge.net> <83k1xotltn.fsf@gnu.org> <878tdq7jdn.fsf@cafe.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514769495 14388 195.159.176.226 (1 Jan 2018 01:18:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2018 01:18:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29716@debbugs.gnu.org To: semente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 01 02:18:11 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 1eVojw-0003J6-PO for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jan 2018 02:18:08 +0100 Original-Received: from localhost ([::1]:59243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVolv-0001mE-NA for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Dec 2017 20:20:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVolq-0001m2-18 for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 20:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVolm-0001MA-Ow for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 20:20:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVolm-0001M3-Lu for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 20:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eVolm-00021O-Ch for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 20:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jan 2018 01:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29716-submit@debbugs.gnu.org id=B29716.15147695797737 (code B ref 29716); Mon, 01 Jan 2018 01:20:02 +0000 Original-Received: (at 29716) by debbugs.gnu.org; 1 Jan 2018 01:19:39 +0000 Original-Received: from localhost ([127.0.0.1]:59132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVolP-00020j-AD for submit@debbugs.gnu.org; Sun, 31 Dec 2017 20:19:39 -0500 Original-Received: from mail-it0-f41.google.com ([209.85.214.41]:34352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVolN-00020X-Ku for 29716@debbugs.gnu.org; Sun, 31 Dec 2017 20:19:37 -0500 Original-Received: by mail-it0-f41.google.com with SMTP id m11so8332830iti.1 for <29716@debbugs.gnu.org>; Sun, 31 Dec 2017 17:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QJA3Yhzw6bNKTEkp73HAU5Fkd4ykX5z2482rHH7gs3E=; b=LoLGYbFglfC/Q7xfqAIJQmau4nxO9jFo3jtes1FZbtMPptmkCW7ACOacLsUWcimm+s 3bIRRBMfr6dJS5aNLggaN3ojVMqyyMj7YKJMjqosLLu74iUASFLs1QZyVk5d1NQpmr06 qA94PEl3MRsuuc9kCj0sJSix01zNHfJvuCABVeHpZ0Hd+cgBu+SujAJfP+f/CAq3GMRw UWjC0VgNWZ1t0D03C0ZHSXuIRiXrpYdfx/KgVd1em9KPdpgyBgF4A61Xtcxtovw6sZlj QHfdzKoV6eW3kIisMPiJ0V5K5GX5wqIl7+blc6LUH2y9p0p4D9dnpQxZXocrfES3Seb1 9X0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=QJA3Yhzw6bNKTEkp73HAU5Fkd4ykX5z2482rHH7gs3E=; b=brPRwD4MWt1sNgvMgYABnhoWGPdfTeLF8ojXDad3WFvPWnZf5hhqTp0RQoquUit5Lk hvI4occoqIgsJ9ziI8B+qRthDiH4KvjvMq/Ma/GpRuVZ28e3Oz0U7AUZPupLCx/njPi6 xcTEEclxxVCySEcuMywZZ59s0jHRKen6rWzSmUUTULOhNApGxUzZPTG2eKmVo2sdGrpO SeB5zHVBMkRPuqsnHY+PS+8TRYEzWMja4aGIY6lqdPw/7Gag9/0BsJByHrlBgZeMwrMC Sn3scNDRy+WOr6DMXlrBEX98FaeDfFm5rhfaQhpmYfSzAFb0CItebSmNFopjZS2mZCp/ H25A== X-Gm-Message-State: AKGB3mJm5bBqkxSpmvzorgVIJA7WFqqIJaVAwHl4TpuDsKQj86/Axyut VTI5f9LPS75dKPq0E/KGYVv4Hw== X-Google-Smtp-Source: ACJfBoswCBdtVR0nwk26MK7RlPwbCMCvqxjv+nBDr22sz9tSjCjMQe0VCpgJvBrZFoIGvi4+l2Vl5g== X-Received: by 10.36.10.135 with SMTP id 129mr55802229itw.145.1514769571921; Sun, 31 Dec 2017 17:19:31 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 139sm3954095itm.2.2017.12.31.17.19.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 31 Dec 2017 17:19:30 -0800 (PST) In-Reply-To: <878tdq7jdn.fsf@cafe.lan> (semente's message of "Mon, 25 Dec 2017 16:27:48 -0200") 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:141667 Archived-At: semente writes: > Hey Eli and Noam, sorry for the delay in give you a feedback but the > patch unfortunately didn't work for me. Hmm, what does the evaluating the following produce? It should pop up a buffer *bug29716* showing something like "background: rgb:ee00/e800/d500^[". (defun bug29716--report-background-handler () (let ((str "") chr) ;; The reply should be: \e ] 11 ; rgb: NUMBER1 / NUMBER2 / NUMBER3 \e \\ (while (and (setq chr (read-event nil nil 2)) (not (equal chr ?\\))) (setq str (concat str (string chr)))) (with-current-buffer (get-buffer-create "*bug29716*") (insert (format "background: %s\n" str)) (display-buffer (current-buffer))))) (xterm--query "\e]11;?\e\\" '(("\e]11;" . bug29716--report-background-handler))) If that works, is it possible you didn't test the patch correctly? (e.g., maybe you applied the patch, but didn't recompile?) If it doesn't work, I'm a bit confused, given what you reported in #13.