GNU bug report logs -
#25978
25.1; Message from `text-scale-adjust' is shown in other frames too
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 5 Mar 2017 16:14:01 UTC
Severity: minor
Found in version 25.1
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > > > Here I see it only in the frame where I invoked "C-x -".
> > >
> > > After you see it there, click the title bar of the other frame,
> > > to select it. The message is moved to that (selected) frame's
> > > echo area. But using +, 0, or - in that frame does not have
> > > the effect of the message. That frame shows a different buffer,
> > > so +, 0, or - there is governed by the keymap of that buffer's
> > > frame.
> >
> > Not sure what should happen instead (i.e., the proper fix).
>
> As long as "C-x C--" uses 'message' to display these instructions,
> nothing can be done, because what you see is the usual behavior of
> messages displayed in the echo area: they follow the selected frame.
>
> Perhaps the frame-switch event should simply empty the echo area.
> Patches to that effect are welcome.
Frame-switch should not systematically empty the echo area, IMO.
Perhaps there is no easy way to fix the problem for this scenario
or similar (anytime the message makes no sense with a different
frame selected). Dunno.
But note that the problem does not occur when a different window
(not frame) is selected. For example, with a single frame with
two windows showing two buffers, `C-x C--' in one window shows
the message, but as soon as you select the other window (e.g.
clicking in it) the message goes away and the scaling command
is quit (e.g. selecting the window with the scaled text again
does not redisplay the message).
Feel free to close this bug, if you don't see a solution.
(I don't have a patch to fix it.) Or perhaps leave it open,
in case it can be fixed in the future. Ideally, selecting a
different frame should be handled, I think, similarly to
selecting a different window.
This bug report was last modified 3 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.