unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
@ 2011-01-28 15:41 David McArthur
  2011-01-28 18:52 ` Stefan Monnier
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: David McArthur @ 2011-01-28 15:41 UTC (permalink / raw)
  To: 7932

Upon typing certain characters in any buffer (including the minibuffer) 
the cursor becomes misaligned and text is overprinted.  These characters 
are: AKkRrTVWwXxYyZ.  This problem only occurs when I have my second 
monitor enabled.

The cursor is a blinking black box such that when the cursor is on top 
of text, the text is printed in inverse (off-white).  What happens after 
typing one of AKkRrTVWwXxYyZ is that the black box is moved to the next 
position, but the character I just typed blinks as though the cursor 
were still on top of it.  The next letter I type then appears twice: 
both in the correct position, and also overprinted on top of the problem 
character to the left.  Also, the problem character is then re-printed 
one position to the left of where I typed it, overprinting on the 
character before it.  Further typing appears normally, as long as the 
characters are not any of AKkRrTVWwXxYyZ.

For example, if I type "text" weird behavior starts after I type the 
lowercase "x".  What I see before I type the second "t" is "tex" with 
the blinking black box to the right of x, but x is also blinking 
(alternating black and off-white).  After typing the second "t", what I 
see is  "t#*t" where # is "x" printed on top of "e" and * is "t" printed 
on top of "x".  If I move the cursor away and type C-l the text is 
redrawn correctly, but if I move the cursor back over the problematic 
characters, the overprinting reoccurs.

This is on my laptop running Ubuntu Maverick.  The problem occurs when I 
have my external monitor enabled (regardless of which monitor the emacs 
window is on).  When the external monitor is disabled, the problem does 
not occur.

Here is a snippet from lspci -v

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 
[VGA controller])
         Subsystem: Sony Corporation Device 81e6
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
         I/O ports at 1800 [size=8]
         Memory at c0000000 (32-bit, prefetchable) [size=256M]
         Memory at dc300000 (32-bit, non-prefetchable) [size=256K]
         Expansion ROM at <unassigned> [disabled]
         Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [d0] Power Management version 2
         Kernel driver in use: i915
         Kernel modules: i915


Here is the info from M-x report-emacs-bug

In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
  of 2010-11-26 on vernadsky, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
configured using `configure  '--build=i686-linux-gnu' 
'--host=i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var/lib' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' 
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu' 
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: en_US.utf8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Outline

Minor modes in effect:
   goto-address-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t
   view-mode: t

Recent input:
r <return> s t u v w <return> x <return> y <return>
z <up> <down> <down> <return> <return> A K R T V W
X Y Z k r w x y <up> <right> C-l C-k C-/ <down> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <down> <down> <right> <right> <right> k <right>
r <right> <right> <right> w <right> x <right> y <right>
C-k C-l <up> C-l <down> <down> <down> <return> <return>
C-h C-p C-s c u r s o <right> <left> <left> <left>
<left> <left> <left> <left> <left> <down> <right> <right>
<down> <up> <left> <left> <left> <left> <right> <right>
<right> <right> <right> <left> <left> <left> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> C-s C-s C-s <down> <down> <down> <down>
<up> <up> C-x b <return> <up> <up> <right> <right>
<right> <right> <right> <right> <down> C-x b <return>
C-l <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <next> <prior> C-s C-s <down> <up> <up>
<up> <up> <up> <up> C-s C-s <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> C-s C-s C-s C-s C-s C-s <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> C-s C-s
C-s C-s C-s C-s C-s C-s C-s C-s M-x r e p o r t e m
a c s <backspace> <backspace> <backspace> <backspace>
<backspace> SPC e m a c s <tab> <return>

Recent messages:
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el 
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el 
(source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Undo!
Note: file is write protected
View mode: type C-h for help, h for commands, q to quit.
Mark saved where search started [6 times]
/usr/bin/mail is not an executable.  Setting mail-interactive to t.

-- 
David McArthur
david@davidmcarthur.com





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-28 15:41 bug#7932: 23.1; overprinting / cursor misalignment after certain characters David McArthur
@ 2011-01-28 18:52 ` Stefan Monnier
  2011-01-29 10:10 ` Jan Djärv
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2011-01-28 18:52 UTC (permalink / raw)
  To: David McArthur; +Cc: 7932

> For example, if I type "text" weird behavior starts after I type the
> lowercase "x".  What I see before I type the second "t" is "tex" with the
> blinking black box to the right of x, but x is also blinking (alternating
> black and off-white).  After typing the second "t", what I see is  "t#*t"
> where # is "x" printed on top of "e" and * is "t" printed on top of "x".
> If I move the cursor away and type C-l the text is redrawn correctly, but if
> I move the cursor back over the problematic characters, the
> overprinting reoccurs.

> This is on my laptop running Ubuntu Maverick.  The problem occurs when
> I have my external monitor enabled (regardless of which monitor the Emacs
> window is on).  When the external monitor is disabled, the problem does
> not occur.

While this may very well be an Emacs bug, I think there's a chance this
is a bug in your X server (at least, I've seen somewhat similar problems
in the past with a bug in some of the acceleration code in the `nv'
driver).

Can you maybe try to fiddle with your X11 driver, like turning off the
acceleration, and/or switching between EXA, UXA, XAA, and/or whichever
other acceleration framework they came up with?


        Stefan





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-28 15:41 bug#7932: 23.1; overprinting / cursor misalignment after certain characters David McArthur
  2011-01-28 18:52 ` Stefan Monnier
@ 2011-01-29 10:10 ` Jan Djärv
  2011-01-31 15:55   ` David McArthur
  2011-01-29 15:33 ` Jan Djärv
  2019-10-14 15:39 ` Stefan Kangas
  3 siblings, 1 reply; 7+ messages in thread
From: Jan Djärv @ 2011-01-29 10:10 UTC (permalink / raw)
  To: David McArthur; +Cc: 7932

Hi.

Can you try a newer Emacs version? 23.2 has been out a while.
If you can try trunk also that would be great (see 
http://savannah.gnu.org/projects/emacs/).

Does the situation fix itself if you do C-l or iconify and restore the Emacs 
frame?  Can you put the cursor on one of the characters and do C-c C-x C-= and 
mail the results?

Thanks,

	Jan D.


David McArthur skrev 2011-01-28 16.41:
> Upon typing certain characters in any buffer (including the minibuffer) the
> cursor becomes misaligned and text is overprinted. These characters are:
> AKkRrTVWwXxYyZ. This problem only occurs when I have my second monitor enabled.
>
> The cursor is a blinking black box such that when the cursor is on top of
> text, the text is printed in inverse (off-white). What happens after typing
> one of AKkRrTVWwXxYyZ is that the black box is moved to the next position, but
> the character I just typed blinks as though the cursor were still on top of
> it. The next letter I type then appears twice: both in the correct position,
> and also overprinted on top of the problem character to the left. Also, the
> problem character is then re-printed one position to the left of where I typed
> it, overprinting on the character before it. Further typing appears normally,
> as long as the characters are not any of AKkRrTVWwXxYyZ.
>
> For example, if I type "text" weird behavior starts after I type the lowercase
> "x". What I see before I type the second "t" is "tex" with the blinking black
> box to the right of x, but x is also blinking (alternating black and
> off-white). After typing the second "t", what I see is "t#*t" where # is "x"
> printed on top of "e" and * is "t" printed on top of "x". If I move the cursor
> away and type C-l the text is redrawn correctly, but if I move the cursor back
> over the problematic characters, the overprinting reoccurs.
>
> This is on my laptop running Ubuntu Maverick. The problem occurs when I have
> my external monitor enabled (regardless of which monitor the emacs window is
> on). When the external monitor is disabled, the problem does not occur.
>
> Here is a snippet from lspci -v
>
> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
> 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA
> controller])
> Subsystem: Sony Corporation Device 81e6
> Flags: bus master, fast devsel, latency 0, IRQ 16
> Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
> I/O ports at 1800 [size=8]
> Memory at c0000000 (32-bit, prefetchable) [size=256M]
> Memory at dc300000 (32-bit, non-prefetchable) [size=256K]
> Expansion ROM at <unassigned> [disabled]
> Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
> Capabilities: [d0] Power Management version 2
> Kernel driver in use: i915
> Kernel modules: i915
>
>
> Here is the info from M-x report-emacs-bug
>
> In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
> of 2010-11-26 on vernadsky, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.10900000
> configured using `configure '--build=i686-linux-gnu' '--host=i686-linux-gnu'
> '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
> '--localstatedir=/var/lib' '--infodir=/usr/share/info'
> '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
> 'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g
> -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: en_US.utf8
> value of $XMODIFIERS: nil
> locale-coding-system: utf-8-unix
> default-enable-multibyte-characters: t
>
> Major mode: Outline
>
> Minor modes in effect:
> goto-address-mode: t
> tooltip-mode: t
> tool-bar-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
> view-mode: t
>
> Recent input:
> r <return> s t u v w <return> x <return> y <return>
> z <up> <down> <down> <return> <return> A K R T V W
> X Y Z k r w x y <up> <right> C-l C-k C-/ <down> <left>
> <left> <left> <left> <left> <left> <left> <left> <left>
> <left> <left> <left> <left> <left> <left> <left> <left>
> <left> <down> <down> <right> <right> <right> k <right>
> r <right> <right> <right> w <right> x <right> y <right>
> C-k C-l <up> C-l <down> <down> <down> <return> <return>
> C-h C-p C-s c u r s o <right> <left> <left> <left>
> <left> <left> <left> <left> <left> <down> <right> <right>
> <down> <up> <left> <left> <left> <left> <right> <right>
> <right> <right> <right> <left> <left> <left> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> C-s C-s C-s <down> <down> <down> <down>
> <up> <up> C-x b <return> <up> <up> <right> <right>
> <right> <right> <right> <right> <down> C-x b <return>
> C-l <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <next> <prior> C-s C-s <down> <up> <up>
> <up> <up> <up> <up> C-s C-s <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> C-s C-s C-s C-s C-s C-s <down> <down>
> <down> <down> <up> <up> <up> <up> <up> <up> C-s C-s
> C-s C-s C-s C-s C-s C-s C-s C-s M-x r e p o r t e m
> a c s <backspace> <backspace> <backspace> <backspace>
> <backspace> SPC e m a c s <tab> <return>
>
> Recent messages:
> Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
> Loading debian-ispell...done
> Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Undo!
> Note: file is write protected
> View mode: type C-h for help, h for commands, q to quit.
> Mark saved where search started [6 times]
> /usr/bin/mail is not an executable. Setting mail-interactive to t.
>





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-28 15:41 bug#7932: 23.1; overprinting / cursor misalignment after certain characters David McArthur
  2011-01-28 18:52 ` Stefan Monnier
  2011-01-29 10:10 ` Jan Djärv
@ 2011-01-29 15:33 ` Jan Djärv
  2019-10-14 15:39 ` Stefan Kangas
  3 siblings, 0 replies; 7+ messages in thread
From: Jan Djärv @ 2011-01-29 15:33 UTC (permalink / raw)
  To: David McArthur; +Cc: 7932

Another thing to check, can you do:

% xrdb -query|grep Xft

before and after you connect the external monitor?

Thanks,

	Jan D.


David McArthur skrev 2011-01-28 16.41:
> Upon typing certain characters in any buffer (including the minibuffer) the
> cursor becomes misaligned and text is overprinted. These characters are:
> AKkRrTVWwXxYyZ. This problem only occurs when I have my second monitor enabled.
>
> The cursor is a blinking black box such that when the cursor is on top of
> text, the text is printed in inverse (off-white). What happens after typing
> one of AKkRrTVWwXxYyZ is that the black box is moved to the next position, but
> the character I just typed blinks as though the cursor were still on top of
> it. The next letter I type then appears twice: both in the correct position,
> and also overprinted on top of the problem character to the left. Also, the
> problem character is then re-printed one position to the left of where I typed
> it, overprinting on the character before it. Further typing appears normally,
> as long as the characters are not any of AKkRrTVWwXxYyZ.
>
> For example, if I type "text" weird behavior starts after I type the lowercase
> "x". What I see before I type the second "t" is "tex" with the blinking black
> box to the right of x, but x is also blinking (alternating black and
> off-white). After typing the second "t", what I see is "t#*t" where # is "x"
> printed on top of "e" and * is "t" printed on top of "x". If I move the cursor
> away and type C-l the text is redrawn correctly, but if I move the cursor back
> over the problematic characters, the overprinting reoccurs.
>
> This is on my laptop running Ubuntu Maverick. The problem occurs when I have
> my external monitor enabled (regardless of which monitor the emacs window is
> on). When the external monitor is disabled, the problem does not occur.
>
> Here is a snippet from lspci -v
>
> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
> 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA
> controller])
> Subsystem: Sony Corporation Device 81e6
> Flags: bus master, fast devsel, latency 0, IRQ 16
> Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
> I/O ports at 1800 [size=8]
> Memory at c0000000 (32-bit, prefetchable) [size=256M]
> Memory at dc300000 (32-bit, non-prefetchable) [size=256K]
> Expansion ROM at <unassigned> [disabled]
> Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
> Capabilities: [d0] Power Management version 2
> Kernel driver in use: i915
> Kernel modules: i915
>
>
> Here is the info from M-x report-emacs-bug
>
> In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
> of 2010-11-26 on vernadsky, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.10900000
> configured using `configure '--build=i686-linux-gnu' '--host=i686-linux-gnu'
> '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
> '--localstatedir=/var/lib' '--infodir=/usr/share/info'
> '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
> 'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g
> -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: en_US.utf8
> value of $XMODIFIERS: nil
> locale-coding-system: utf-8-unix
> default-enable-multibyte-characters: t
>
> Major mode: Outline
>
> Minor modes in effect:
> goto-address-mode: t
> tooltip-mode: t
> tool-bar-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
> view-mode: t
>
> Recent input:
> r <return> s t u v w <return> x <return> y <return>
> z <up> <down> <down> <return> <return> A K R T V W
> X Y Z k r w x y <up> <right> C-l C-k C-/ <down> <left>
> <left> <left> <left> <left> <left> <left> <left> <left>
> <left> <left> <left> <left> <left> <left> <left> <left>
> <left> <down> <down> <right> <right> <right> k <right>
> r <right> <right> <right> w <right> x <right> y <right>
> C-k C-l <up> C-l <down> <down> <down> <return> <return>
> C-h C-p C-s c u r s o <right> <left> <left> <left>
> <left> <left> <left> <left> <left> <down> <right> <right>
> <down> <up> <left> <left> <left> <left> <right> <right>
> <right> <right> <right> <left> <left> <left> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> C-s C-s C-s <down> <down> <down> <down>
> <up> <up> C-x b <return> <up> <up> <right> <right>
> <right> <right> <right> <right> <down> C-x b <return>
> C-l <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <next> <prior> C-s C-s <down> <up> <up>
> <up> <up> <up> <up> C-s C-s <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> C-s C-s C-s C-s C-s C-s <down> <down>
> <down> <down> <up> <up> <up> <up> <up> <up> C-s C-s
> C-s C-s C-s C-s C-s C-s C-s C-s M-x r e p o r t e m
> a c s <backspace> <backspace> <backspace> <backspace>
> <backspace> SPC e m a c s <tab> <return>
>
> Recent messages:
> Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
> Loading debian-ispell...done
> Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Undo!
> Note: file is write protected
> View mode: type C-h for help, h for commands, q to quit.
> Mark saved where search started [6 times]
> /usr/bin/mail is not an executable. Setting mail-interactive to t.
>





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-29 10:10 ` Jan Djärv
@ 2011-01-31 15:55   ` David McArthur
  2011-01-31 18:11     ` Jan Djärv
  0 siblings, 1 reply; 7+ messages in thread
From: David McArthur @ 2011-01-31 15:55 UTC (permalink / raw)
  To: Jan Djärv, Stefan Monnier; +Cc: 7932

On 01/29/2011 05:10 AM, Jan Djärv wrote:
 > Does the situation fix itself if you do C-l or iconify and restore
 > the Emacs frame?

Yes.  The problem then re-surfaces if I run the cursor back over those 
characters.

 > Can you put the cursor on one of the characters and do C-c
 > C-x C-= and mail the results?

	C-c C-x C-= is undefined

Am I trying to do xscheme-send-control-x-interrupt?  C-h a xscheme gives me

	No apropos matches for `xscheme'


On 01/29/2011 10:33 AM, Jan Djärv wrote:
 > Another thing to check, can you do:
 >
 > % xrdb -query|grep Xft
 >
 > before and after you connect the external monitor?

The result is identical before and after:

Xft.antialias:	1
Xft.dpi:	96
Xft.hinting:	1
Xft.hintstyle:	hintslight
Xft.lcdfilter:	lcddefault
Xft.rgba:	rgb


On 01/29/2011 05:10 AM, Jan Djärv wrote:
> Can you try a newer Emacs version? 23.2 has been out a while.
> If you can try trunk also that would be great (see
> http://savannah.gnu.org/projects/emacs/).

Okay, I'll try this next.


On 01/28/2011 01:52 PM, Stefan Monnier wrote:
 > While this may very well be an Emacs bug, I think there's a chance
 > this is a bug in your X server (at least, I've seen somewhat similar
 > problems in the past with a bug in some of the acceleration code in
 > the `nv' driver).
 >
 > Can you maybe try to fiddle with your X11 driver, like turning off
 > the acceleration, and/or switching between EXA, UXA, XAA, and/or
 > whichever other acceleration framework they came up with?

I don't know anything about X11 drivers, so this may take me a little 
while to figure out how to do.  I'll try it second.


Thanks,

-- 
David McArthur
david@davidmcarthur.com


 > David McArthur skrev 2011-01-28 16.41:
 >> Upon typing certain characters in any buffer (including the
 >> minibuffer) the
 >> cursor becomes misaligned and text is overprinted. These characters are:
 >> AKkRrTVWwXxYyZ. This problem only occurs when I have my second monitor
 >> enabled.
 >>
 >> The cursor is a blinking black box such that when the cursor is on 
top of
 >> text, the text is printed in inverse (off-white). What happens after
 >> typing
 >> one of AKkRrTVWwXxYyZ is that the black box is moved to the next
 >> position, but
 >> the character I just typed blinks as though the cursor were still on
 >> top of
 >> it. The next letter I type then appears twice: both in the correct
 >> position,
 >> and also overprinted on top of the problem character to the left.
 >> Also, the
 >> problem character is then re-printed one position to the left of where
 >> I typed
 >> it, overprinting on the character before it. Further typing appears
 >> normally,
 >> as long as the characters are not any of AKkRrTVWwXxYyZ.
 >>
 >> For example, if I type "text" weird behavior starts after I type the
 >> lowercase
 >> "x". What I see before I type the second "t" is "tex" with the
 >> blinking black
 >> box to the right of x, but x is also blinking (alternating black and
 >> off-white). After typing the second "t", what I see is "t#*t" where #
 >> is "x"
 >> printed on top of "e" and * is "t" printed on top of "x". If I move
 >> the cursor
 >> away and type C-l the text is redrawn correctly, but if I move the
 >> cursor back
 >> over the problematic characters, the overprinting reoccurs.
 >>
 >> This is on my laptop running Ubuntu Maverick. The problem occurs when
 >> I have
 >> my external monitor enabled (regardless of which monitor the emacs
 >> window is
 >> on). When the external monitor is disabled, the problem does not occur.
 >>
 >> Here is a snippet from lspci -v
 >>
 >> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
 >> 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00
 >> [VGA
 >> controller])
 >> Subsystem: Sony Corporation Device 81e6
 >> Flags: bus master, fast devsel, latency 0, IRQ 16
 >> Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
 >> I/O ports at 1800 [size=8]
 >> Memory at c0000000 (32-bit, prefetchable) [size=256M]
 >> Memory at dc300000 (32-bit, non-prefetchable) [size=256K]
 >> Expansion ROM at <unassigned> [disabled]
 >> Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
 >> Capabilities: [d0] Power Management version 2
 >> Kernel driver in use: i915
 >> Kernel modules: i915
 >>
 >>
 >> Here is the info from M-x report-emacs-bug
 >>
 >> In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
 >> of 2010-11-26 on vernadsky, modified by Debian
 >> Windowing system distributor `The X.Org Foundation', version
 >> 11.0.10900000
 >> configured using `configure '--build=i686-linux-gnu'
 >> '--host=i686-linux-gnu'
 >> '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 >> '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 >> '--mandir=/usr/share/man' '--with-pop=yes'
 >> 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' 

 >>
 >> '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
 >> 'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu'
 >> 'CFLAGS=-DDEBIAN -g
 >> -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
 >>
 >> Important settings:
 >> value of $LC_ALL: nil
 >> value of $LC_COLLATE: nil
 >> value of $LC_CTYPE: nil
 >> value of $LC_MESSAGES: nil
 >> value of $LC_MONETARY: nil
 >> value of $LC_NUMERIC: nil
 >> value of $LC_TIME: nil
 >> value of $LANG: en_US.utf8
 >> value of $XMODIFIERS: nil
 >> locale-coding-system: utf-8-unix
 >> default-enable-multibyte-characters: t
 >>
 >> Major mode: Outline
 >>
 >> Minor modes in effect:
 >> goto-address-mode: t
 >> tooltip-mode: t
 >> tool-bar-mode: t
 >> mouse-wheel-mode: t
 >> menu-bar-mode: t
 >> file-name-shadow-mode: t
 >> global-font-lock-mode: t
 >> font-lock-mode: t
 >> blink-cursor-mode: t
 >> global-auto-composition-mode: t
 >> auto-composition-mode: t
 >> auto-encryption-mode: t
 >> auto-compression-mode: t
 >> line-number-mode: t
 >> transient-mark-mode: t
 >> view-mode: t
 >>
 >> Recent input:
 >> r <return> s t u v w <return> x <return> y <return>
 >> z <up> <down> <down> <return> <return> A K R T V W
 >> X Y Z k r w x y <up> <right> C-l C-k C-/ <down> <left>
 >> <left> <left> <left> <left> <left> <left> <left> <left>
 >> <left> <left> <left> <left> <left> <left> <left> <left>
 >> <left> <down> <down> <right> <right> <right> k <right>
 >> r <right> <right> <right> w <right> x <right> y <right>
 >> C-k C-l <up> C-l <down> <down> <down> <return> <return>
 >> C-h C-p C-s c u r s o <right> <left> <left> <left>
 >> <left> <left> <left> <left> <left> <down> <right> <right>
 >> <down> <up> <left> <left> <left> <left> <right> <right>
 >> <right> <right> <right> <left> <left> <left> <right>
 >> <right> <right> <right> <right> <right> <right> <right>
 >> <right> <right> <right> <right> <right> <right> <right>
 >> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
 >> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
 >> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
 >> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
 >> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
 >> <help-echo> C-s C-s C-s <down> <down> <down> <down>
 >> <up> <up> C-x b <return> <up> <up> <right> <right>
 >> <right> <right> <right> <right> <down> C-x b <return>
 >> C-l <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
 >> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
 >> <up> <up> <up> <next> <prior> C-s C-s <down> <up> <up>
 >> <up> <up> <up> <up> C-s C-s <up> <up> <up> <up> <up>
 >> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
 >> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
 >> <up> <up> <up> C-s C-s C-s C-s C-s C-s <down> <down>
 >> <down> <down> <up> <up> <up> <up> <up> <up> C-s C-s
 >> C-s C-s C-s C-s C-s C-s C-s C-s M-x r e p o r t e m
 >> a c s <backspace> <backspace> <backspace> <backspace>
 >> <backspace> SPC e m a c s <tab> <return>
 >>
 >> Recent messages:
 >> Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
 >> (source)...done
 >> Loading debian-ispell...done
 >> Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
 >> (source)...done
 >> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
 >> For information about GNU Emacs and the GNU system, type C-h C-a.
 >> Undo!
 >> Note: file is write protected
 >> View mode: type C-h for help, h for commands, q to quit.
 >> Mark saved where search started [6 times]
 >> /usr/bin/mail is not an executable. Setting mail-interactive to t.





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-31 15:55   ` David McArthur
@ 2011-01-31 18:11     ` Jan Djärv
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Djärv @ 2011-01-31 18:11 UTC (permalink / raw)
  To: David McArthur; +Cc: 7932



David McArthur skrev 2011-01-31 16.55:
> On 01/29/2011 05:10 AM, Jan Djärv wrote:
>  > Does the situation fix itself if you do C-l or iconify and restore
>  > the Emacs frame?
>
> Yes. The problem then re-surfaces if I run the cursor back over those characters.
>
>  > Can you put the cursor on one of the characters and do C-c
>  > C-x C-= and mail the results?
>
> C-c C-x C-= is undefined
>

Sorry, I meant C-u C-x =

	Jan D.





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

* bug#7932: 23.1; overprinting / cursor misalignment after certain characters
  2011-01-28 15:41 bug#7932: 23.1; overprinting / cursor misalignment after certain characters David McArthur
                   ` (2 preceding siblings ...)
  2011-01-29 15:33 ` Jan Djärv
@ 2019-10-14 15:39 ` Stefan Kangas
  3 siblings, 0 replies; 7+ messages in thread
From: Stefan Kangas @ 2019-10-14 15:39 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 7932-done, Stefan Monnier, David McArthur

Jan Djärv <jan.h.d@swipnet.se> writes:

> David McArthur skrev 2011-01-31 16.55:
>> On 01/29/2011 05:10 AM, Jan Djärv wrote:
>>  > Does the situation fix itself if you do C-l or iconify and restore
>>  > the Emacs frame?
>>
>> Yes. The problem then re-surfaces if I run the cursor back over those characters.
>>
>>  > Can you put the cursor on one of the characters and do C-c
>>  > C-x C-= and mail the results?
>>
>> C-c C-x C-= is undefined
>>
>
> Sorry, I meant C-u C-x =

More information was requested, but none was given within 8 years, so
I'm closing this bug report.

If this is still an issue, please reopen the bug report.

Best regards,
Stefan Kangas





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

end of thread, other threads:[~2019-10-14 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 15:41 bug#7932: 23.1; overprinting / cursor misalignment after certain characters David McArthur
2011-01-28 18:52 ` Stefan Monnier
2011-01-29 10:10 ` Jan Djärv
2011-01-31 15:55   ` David McArthur
2011-01-31 18:11     ` Jan Djärv
2011-01-29 15:33 ` Jan Djärv
2019-10-14 15:39 ` Stefan Kangas

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