unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: semente <semente@riseup.net>
Cc: 29716@debbugs.gnu.org
Subject: bug#29716: 25.1; Wrong brackground-mode on gnome-terminal
Date: Sun, 31 Dec 2017 20:19:29 -0500	[thread overview]
Message-ID: <87po6utly6.fsf@users.sourceforge.net> (raw)
In-Reply-To: <878tdq7jdn.fsf@cafe.lan> (semente's message of "Mon, 25 Dec 2017 16:27:48 -0200")

semente <semente@riseup.net> 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.





  reply	other threads:[~2018-01-01  1:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 21:43 bug#29716: 25.1; Wrong brackground-mode on gnome-terminal semente
2017-12-15  1:13 ` Noam Postavsky
2017-12-15  1:44   ` semente
2017-12-15  2:47 ` Noam Postavsky
2017-12-15  8:52   ` Eli Zaretskii
2017-12-25 18:27     ` semente
2018-01-01  1:19       ` Noam Postavsky [this message]
2018-01-07 23:24         ` semente
2018-01-08  1:30           ` Noam Postavsky

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=87po6utly6.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=29716@debbugs.gnu.org \
    --cc=semente@riseup.net \
    /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).