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.