From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David McArthur Newsgroups: gmane.emacs.bugs Subject: bug#7932: 23.1; overprinting / cursor misalignment after certain characters Date: Mon, 31 Jan 2011 10:55:13 -0500 Message-ID: <4D46DB61.40900@davidmcarthur.com> References: <4D42E3AB.6040901@davidmcarthur.com> <4D43E7A2.9090303@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296491391 455 80.91.229.12 (31 Jan 2011 16:29:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 16:29:51 +0000 (UTC) Cc: 7932@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 17:29:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PjwdM-00023c-RE for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 17:29:45 +0100 Original-Received: from localhost ([127.0.0.1]:35274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjwdL-0001ut-TY for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 11:29:43 -0500 Original-Received: from [140.186.70.92] (port=44358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjwG5-0005U7-Ua for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 11:05:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjwG0-0004RU-TI for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 11:05:38 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjwG0-0004RL-RK for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 11:05:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pjvy2-0006cN-MO; Mon, 31 Jan 2011 10:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David McArthur Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Jan 2011 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7932-submit@debbugs.gnu.org id=B7932.129648881725428 (code B ref 7932); Mon, 31 Jan 2011 15:47:02 +0000 Original-Received: (at 7932) by debbugs.gnu.org; 31 Jan 2011 15:46:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pjvxw-0006c5-Pq for submit@debbugs.gnu.org; Mon, 31 Jan 2011 10:46:57 -0500 Original-Received: from 128-177-28-8.ip.openhosting.com ([128.177.28.8] helo=davidmcarthur.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pjvxu-0006bs-FR for 7932@debbugs.gnu.org; Mon, 31 Jan 2011 10:46:55 -0500 Original-Received: from davidmcarthur.com (localhost [127.0.0.1]) by davidmcarthur.com (Postfix) with ESMTP id 7B9AA55DF3; Mon, 31 Jan 2011 10:55:11 -0500 (EST) Original-Received: from [192.168.0.191] (pool-71-178-61-232.washdc.east.verizon.net [71.178.61.232]) by davidmcarthur.com (Postfix) with ESMTPSA; Mon, 31 Jan 2011 10:55:11 -0500 (EST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: <4D43E7A2.9090303@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 Jan 2011 10:47:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43786 Archived-At: On 01/29/2011 05:10 AM, Jan Dj=E4rv 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=20 characters. > Can you put the cursor on one of the characters and do C-c > C-x C-=3D and mail the results? C-c C-x C-=3D 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=E4rv 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=E4rv 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=20 while to figure out how to do. I'll try it second. Thanks, --=20 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 a= re: >> AKkRrTVWwXxYyZ. This problem only occurs when I have my second monito= r >> enabled. >> >> The cursor is a blinking black box such that when the cursor is on=20 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 wher= e >> 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 occu= r. >> >> 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 0= 0 >> [VGA >> controller]) >> Subsystem: Sony Corporation Device 81e6 >> Flags: bus master, fast devsel, latency 0, IRQ 16 >> Memory at dc200000 (32-bit, non-prefetchable) [size=3D512K] >> I/O ports at 1800 [size=3D8] >> Memory at c0000000 (32-bit, prefetchable) [size=3D256M] >> Memory at dc300000 (32-bit, non-prefetchable) [size=3D256K] >> Expansion ROM at [disabled] >> Capabilities: [90] MSI: Enable- Count=3D1/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=3Di686-linux-gnu' >> '--host=3Di686-linux-gnu' >> '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/= lib' >> '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' >> '--mandir=3D/usr/share/man' '--with-pop=3Dyes' >>=20 '--enable-locallisppath=3D/etc/emacs23:/etc/emacs:/usr/local/share/emacs/= 23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/sit= e-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'=20 >> >> '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars= ' >> 'build_alias=3Di686-linux-gnu' 'host_alias=3Di686-linux-gnu' >> 'CFLAGS=3D-DDEBIAN -g >> -O2' 'LDFLAGS=3D-g' 'CPPFLAGS=3D'' >> >> 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 s t u v w x y >> z A K R T V W >> X Y Z k r w x y C-l C-k C-/ >> >> >> k >> r w x y >> C-k C-l C-l >> C-h C-p C-s c u r s o >> >> >> >> >> >> >> >> >> >> >> C-s C-s C-s >> C-x b >> C-x b >> C-l >> >> C-s C-s >> C-s C-s >> >> >> C-s C-s C-s C-s C-s C-s >> 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 >> SPC e m a c s >> >> 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)...d= one >> 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.