GNU bug report logs -
#28591
27.0.50; xterm-set-window-title
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Mon, 25 Sep 2017 09:44:02 UTC
Severity: minor
Found in version 27.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 29/09/17 at 01:45pm, Eli Zaretskii wrote:
> > Date: Tue, 26 Sep 2017 00:08:08 -0400
> > From: Mark Oteiza <mvoteiza <at> udel.edu>
> > Cc: 28591 <at> debbugs.gnu.org
> >
> > > > The following lightly tested patch appears to do the right thing here.
> > >
> > > Thanks. I tried. But nothing seems to be changed unfortunately.
> > > When I run `emacs -nw' in the xterm, the title becomes to
> > > "emacs <at> hostname" but the original title "xterm" is not pushed to
> > > the `xterm-window-title-stack' variable. And the title does not
> > > come back to "xterm" when I exit or suspend Emacs -nw.
> > >
> > > I tried adding `(error "XXX")' to the `xterm--title-handler'
> > > function but nothing happens (with no error). So, the function
> > > doesn't seem to run by way of `xterm-push-title-stack'.
> >
> > Grr, thanks. I see what you're seeing in XTerm 330. I am stumped--not
> > sure this is possible in Elisp, so I'm inclined to revert.
>
> That'd be too drastic, I think. The code did work for you, right? So
> it definitely works for some configurations out there, and I think we
> could leave it in Emacs, turned off by default, and allow its optional
> activation with the proper warning that it might not work for some
> versions of xterm.
Everything except foregrounding a client works (I did not test this),
where the following occurs:
Error in post-command-hook (xterm-set-window-title): (error "Terminal
is currently suspended")
post-command-hook is used to catch changing windows within a frame--I
do not know if there is another hook (or event perhaps) that would
better serve this purpose.
This bug report was last modified 4 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.