GNU bug report logs - #20410
24.5.50; cursor not updated after yank of non-ASCII string from the clipboard

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Thu, 23 Apr 2015 10:01:02 UTC

Severity: normal

Found in version 24.5.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 20410-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 20410-done <at> debbugs.gnu.org
Subject: Re: bug#20410: 24.5.50;
 cursor not updated after yank of non-ASCII string from the clipboard
Date: Mon, 27 Apr 2015 18:17:39 +0300
> Date: Mon, 27 Apr 2015 12:28:58 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
> Cc: 20410 <at> debbugs.gnu.org
> 
> >>>>> On Sun, 26 Apr 2015 18:04:56 +0300, Eli Zaretskii <eliz <at> gnu.org> said:
> 
> >> Yes, it solves the problems as far as I tested.  But because
> >> adjust_frame_glyphs are called from many places other than font
> >> changes, I wonder if it might disable some cases where some
> >> optimizations were applied successfully otherwise (sorry, I don't have
> >> any ideas about concrete examples).  Some calls to adjust_frame_glyphs
> >> are already accompanied by SET_FRAME_GARBAGED, but not always.
> 
> > Hmm... you are right, we could be more selective.  Does the
> > alternative patch below work for you?
> 
> Yes, this works fine.  Thanks a lot.
> 
> The previous one (for src/dispnew.c) caused redraw on another window
> on the same frame when I scrolled one window using set-window-vscroll,
> which may call adjust_frame_glyphs.  But the current one (for
> src/xdisp.c) doesn't have such a problem.

Thanks, pushed as commit d89687b.




This bug report was last modified 10 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.