From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: cursor/tab/highlighting problems in gnome-terminal Date: Wed, 16 Jul 2008 13:31:28 +0900 Organization: NEC Electronics Message-ID: References: <20080711104602.GA17131@stats.ox.ac.uk> <87y745icjw.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216183367 5208 80.91.229.12 (16 Jul 2008 04:42:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 04:42:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 16 06:43:35 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIyrW-000658-6t for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jul 2008 06:43:34 +0200 Original-Received: from localhost ([127.0.0.1]:35389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIyqd-0006n2-ST for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jul 2008 00:42:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-X-Trace: individual.net kkleHI1U+eNsI90ps+5McQOWZ7CooEgADS2HvIsKnqxrcmYtlV Cancel-Lock: sha1:ykWm7gsvG1JGclQKoU9zy4qfX8c= sha1:hQKJkrqQJm4QlgAadjT9F5K4LQA= System-Type: i686-pc-linux-gnu Blat: Foop Original-Xref: news.stanford.edu gnu.emacs.help:160272 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55621 Archived-At: Dan Davison writes: > '(defun' > > fine. Now I try to add a space after the n. In stead of the (yellow) > cursor moving on and shopwing space between iteself and the 'n', I get > a yellow block two characters wide. Interesting, that happens for me too, it does really seem to be a bug in gnome-terminal. It doesn't seem to happen if font-locking is turned off. > Now I examine exactly what sort of > characters are present, by selecting the text and submitting it on > standard input to cat -A in a bash shell. The answer is > > (defun^I$ > > So it put in a tab instead of a space after 'defun'. Why? Note that what emacs sends to the terminal is _not_ the same as what's in the buffer, it's a sequence of characters which should make the terminal render the display Emacs wants to present. In particular, the terminal redisplay engine can send a TAB character to move the cursor when it thinks that will be more efficient (in other circumstances, it might send a sequence of spaces or a cursor-addressing escape sequence). -Miles -- Optimist, n. A proponent of the doctrine that black is white.