unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Color highlighting leaves a trail of cursors on the screen
@ 2009-02-19  3:35 Chong Yidong
  2009-02-19  5:13 ` David De La Harpe Golden
       [not found] ` <87ocwzhzfe.fsf__1866.86196034334$1235015130$gmane$org@cyd.mit.edu>
  0 siblings, 2 replies; 5+ messages in thread
From: Chong Yidong @ 2009-02-19  3:35 UTC (permalink / raw)
  To: emacs-devel; +Cc: 2343, Kim Rose Carlsen

Kim Rose Carlsen <KRC@fullrate.dk> wrote:

> How to reproduce:
> In a terminal 
> 1) start emacs (emacs -nw)
> 2) switch to scratch buffer 
> 2) Change to c mode (M-x c-mode)
> 3) type 'if (aa == 1)'
>
> You should now see (a green) cursor block between 'aa' and '==' like the
> screenshot.
>
> Tested with terminal:
> Gnome-terminal (term=xterm || term=linux)
> xfce-terminal  (term=xterm || term=linux)
> rox-terminal   (term=xterm || term=linux)
>
> Cannot reproduce with 
> linux console (term=linux || term=xterm)
> xterm (term=xterm || term=linux)

I'm pretty baffled by this one.  I can reproduce it using
gnome-terminal, and a slightly different version of the bug seems to
show up in Emacs 22 too.  Anyone have any idea?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Color highlighting leaves a trail of cursors on the screen
  2009-02-19  3:35 Color highlighting leaves a trail of cursors on the screen Chong Yidong
@ 2009-02-19  5:13 ` David De La Harpe Golden
       [not found] ` <87ocwzhzfe.fsf__1866.86196034334$1235015130$gmane$org@cyd.mit.edu>
  1 sibling, 0 replies; 5+ messages in thread
From: David De La Harpe Golden @ 2009-02-19  5:13 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Kim Rose Carlsen, 2343, emacs-devel

Chong Yidong wrote:
> Kim Rose Carlsen <KRC@fullrate.dk> wrote:

>> Tested with terminal:
>> Gnome-terminal (term=xterm || term=linux)
>> xfce-terminal  (term=xterm || term=linux)
>> rox-terminal   (term=xterm || term=linux)
>>

All those use the libvte terminal emulator widget underneath.
It _may_ be some issue with that rather than emacs, there is an 
unconfirmed bug report of various redraw issues in recent vte
when cursor positioning is used:
http://bugzilla.gnome.org/show_bug.cgi?id=528077


>> Cannot reproduce with 
>> linux console (term=linux || term=xterm)
>> xterm (term=xterm || term=linux)
> 
> I'm pretty baffled by this one.  I can reproduce it using
> gnome-terminal, and a slightly different version of the bug seems to
> show up in Emacs 22 too.  Anyone have any idea?
> 

I can reproduce something like it with xfce4-terminal with

emacs -nw -Q

Without -Q, I have my usual non-default dark blue background set on my 
default face in emacs, and then the block artifact doesn't appear,
so maybe there's some place (whether in emacs or the vte widget I don't 
know) where a background redraw is being skipped when it shouldn't be,
probably as an optimisation for the terminal-default background case.





















^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug#2343: Color highlighting leaves a trail of cursors on the screen
       [not found] ` <87ocwzhzfe.fsf__1866.86196034334$1235015130$gmane$org@cyd.mit.edu>
@ 2009-02-19 10:12   ` Sven Joachim
  2009-02-19 11:34     ` Kim Rose Carlsen
  2009-02-19 13:59     ` Chong Yidong
  0 siblings, 2 replies; 5+ messages in thread
From: Sven Joachim @ 2009-02-19 10:12 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Kim Rose Carlsen, 2343, emacs-devel

On 2009-02-19 04:35 +0100, Chong Yidong wrote:

> Kim Rose Carlsen <KRC@fullrate.dk> wrote:
>
>> How to reproduce:
>> In a terminal 
>> 1) start emacs (emacs -nw)
>> 2) switch to scratch buffer 
>> 2) Change to c mode (M-x c-mode)
>> 3) type 'if (aa == 1)'
>>
>> You should now see (a green) cursor block between 'aa' and '==' like the
>> screenshot.
>>
>> Tested with terminal:
>> Gnome-terminal (term=xterm || term=linux)
>> xfce-terminal  (term=xterm || term=linux)
>> rox-terminal   (term=xterm || term=linux)
>>
>> Cannot reproduce with 
>> linux console (term=linux || term=xterm)
>> xterm (term=xterm || term=linux)
>
> I'm pretty baffled by this one.  I can reproduce it using
> gnome-terminal, and a slightly different version of the bug seems to
> show up in Emacs 22 too.  Anyone have any idea?

Probably that's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457483
aka http://bugzilla.gnome.org/show_bug.cgi?id=514632.

Sven




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2343: Color highlighting leaves a trail of cursors on the screen
  2009-02-19 10:12   ` bug#2343: " Sven Joachim
@ 2009-02-19 11:34     ` Kim Rose Carlsen
  2009-02-19 13:59     ` Chong Yidong
  1 sibling, 0 replies; 5+ messages in thread
From: Kim Rose Carlsen @ 2009-02-19 11:34 UTC (permalink / raw)
  To: '2343@emacsbugs.donarmstrong.com',
	'emacs-devel@gnu.org'

I can confirm that upgrading to the latest version of vte fixes the problem.

Old vte version 0.17.4
new vte version 0.19.4 

Best regards
Kim Carlsen

-----Original Message-----
From: Sven Joachim [mailto:svenjoac@gmx.de] 
Sent: Thursday, February 19, 2009 11:13 AM
Subject: Re: bug#2343: Color highlighting leaves a trail of cursors on the screen

On 2009-02-19 04:35 +0100, Chong Yidong wrote:

> Kim Rose Carlsen wrote:
>
>> How to reproduce:
>> In a terminal 
>> 1) start emacs (emacs -nw)
>> 2) switch to scratch buffer 
>> 2) Change to c mode (M-x c-mode)
>> 3) type 'if (aa == 1)'
>>
>> You should now see (a green) cursor block between 'aa' and '==' like the
>> screenshot.
>>
>> Tested with terminal:
>> Gnome-terminal (term=xterm || term=linux)
>> xfce-terminal  (term=xterm || term=linux)
>> rox-terminal   (term=xterm || term=linux)
>>
>> Cannot reproduce with 
>> linux console (term=linux || term=xterm)
>> xterm (term=xterm || term=linux)
>
> I'm pretty baffled by this one.  I can reproduce it using
> gnome-terminal, and a slightly different version of the bug seems to
> show up in Emacs 22 too.  Anyone have any idea?

Probably that's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457483
aka http://bugzilla.gnome.org/show_bug.cgi?id=514632.

Sven






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug#2343: Color highlighting leaves a trail of cursors on the screen
  2009-02-19 10:12   ` bug#2343: " Sven Joachim
  2009-02-19 11:34     ` Kim Rose Carlsen
@ 2009-02-19 13:59     ` Chong Yidong
  1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2009-02-19 13:59 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 2343-done, Kim Rose Carlsen, emacs-devel

Sven Joachim <svenjoac@gmx.de> writes:

>> I'm pretty baffled by this one.  I can reproduce it using
>> gnome-terminal, and a slightly different version of the bug seems to
>> show up in Emacs 22 too.  Anyone have any idea?
>
> Probably that's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457483
> aka http://bugzilla.gnome.org/show_bug.cgi?id=514632.

Thanks.  Looks like the Gnome-terminal maintainer has fixed this in SVN.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-19 13:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19  3:35 Color highlighting leaves a trail of cursors on the screen Chong Yidong
2009-02-19  5:13 ` David De La Harpe Golden
     [not found] ` <87ocwzhzfe.fsf__1866.86196034334$1235015130$gmane$org@cyd.mit.edu>
2009-02-19 10:12   ` bug#2343: " Sven Joachim
2009-02-19 11:34     ` Kim Rose Carlsen
2009-02-19 13:59     ` Chong Yidong

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).