From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#18441: tab bug Date: Thu, 18 Feb 2016 09:53:13 +0100 Message-ID: <87a8myz9fq.fsf@mbork.pl> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455785666 12390 80.91.229.3 (18 Feb 2016 08:54:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 08:54:26 +0000 (UTC) Cc: 18441@debbugs.gnu.org To: Mario Valencia Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 09:54:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWKLj-0005SC-Qt for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 09:54:12 +0100 Original-Received: from localhost ([::1]:38614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWKLj-0007pc-0e for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 03:54:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWKLf-0007pT-In for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:54:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWKLa-0001fI-Jy for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:54:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWKLa-0001fA-Gy for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWKLa-0006IS-8B for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18441-submit@debbugs.gnu.org id=B18441.145578560224155 (code B ref 18441); Thu, 18 Feb 2016 08:54:02 +0000 Original-Received: (at 18441) by debbugs.gnu.org; 18 Feb 2016 08:53:22 +0000 Original-Received: from localhost ([127.0.0.1]:60183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWKKv-0006HX-UK for submit@debbugs.gnu.org; Thu, 18 Feb 2016 03:53:22 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:59391) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWKKt-0006HO-Rc for 18441@debbugs.gnu.org; Thu, 18 Feb 2016 03:53:20 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 282E29D2004; Thu, 18 Feb 2016 09:53:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Y8qB88CAW6d; Thu, 18 Feb 2016 09:53:14 +0100 (CET) Original-Received: from localhost (unknown [IPv6:2001:808:114:6:a288:b4ff:fe90:5e24]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 9A1E59D2003; Thu, 18 Feb 2016 09:53:14 +0100 (CET) In-Reply-To: (Mario Valencia's message of "Wed, 10 Sep 2014 02:42:50 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113232 Archived-At: On 2014-09-10, at 03:42, Mario Valencia wrote: > well it appears to be a known problem, as commented in the source of whit= espace-mode.=20 To be more precise, the comment Mario meant is probably this part of definition of `whitespace-display-mappings': --8<---------------cut here---------------start------------->8--- ;; WARNING: the mapping below has a problem. ;; When a TAB occupies exactly one column, it will display the ;; character ?\xBB at that column followed by a TAB which goes to ;; the next TAB column. ;; If this is a problem for you, please, comment the line below. (tab-mark ?\t [?=C2=BB ?\t] [?\\ ?\t]) ; tab - right guillemet --8<---------------cut here---------------end--------------->8--- Does anyone know why the workaround given there is not turned on by default? Or maybe it should be made a user option? Best, -- mbork > 2014-09-10 2:12 GMT-05:00 Mario Valencia : > > > sorry, this happens in a text-mode buffer with whitespace-mode on. witho= ut whitespace mode it only occupies one column. > > 2014-09-10 1:55 GMT-05:00 Mario Valencia : > > > In a buffer, set tab-width to 6. then insert 5 characters, then a litera= l tab character (C-q TAB). Now you have a 7 column tab.