From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Tab width oddity Date: Wed, 24 Sep 2014 10:35:03 +0700 Message-ID: References: <87vbodudox.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1411530106 27523 80.91.229.3 (24 Sep 2014 03:41:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 03:41:46 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Nate Bargmann Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 05:41:41 2014 Return-path: Envelope-to: geh-help-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 1XWdSW-00041o-Lj for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 05:41:40 +0200 Original-Received: from localhost ([::1]:57013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWdSW-0007yf-6C for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 23:41:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWdSL-0007ya-91 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 23:41:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWdSK-00074S-43 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 23:41:29 -0400 Original-Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:53928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWdSJ-00073D-V6 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 23:41:28 -0400 Original-Received: by mail-ig0-f177.google.com with SMTP id h3so5811474igd.4 for ; Tue, 23 Sep 2014 20:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=N4lSPlgRF77f8VfpoJ4XSOLSm6UfoBgM9FhBRvcTRe8=; b=yYdH/uJ+QJ9Nva5xy3ix+DhRvFDEADZVB5ryJXoHV+KoOLYKAkTufEOm+sD6p2uByn 3bcdVCBOGtkH7+aoKjpyWK/gPf1AJfVqX96XLHJlynfC8zFgz721cu0droMth/xv8rss /1cXVBssIw+QiaKsFL152jCvymY3hpdnqT7ctSpWV9dCzuue8fJMf4TkZTzmz0kETUlI bmi27ieTmUeuRu/gg5RIzthh2vIPbhF6fywEnEepKQogmvwouqkUUJk9sEs3fEpQTxnr SotOq7JddlwEB/gmYNyL8puHYczSdU5NCnkdTPkyiogDSLC//dXQO6d48JQ9ixjGfIRR +a3Q== X-Received: by 10.50.73.130 with SMTP id l2mr9115241igv.9.1411529703724; Tue, 23 Sep 2014 20:35:03 -0700 (PDT) Original-Received: by 10.107.164.194 with HTTP; Tue, 23 Sep 2014 20:35:03 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 3ltW11If3TQI_HYTTG-crstPHuQ X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100117 Archived-At: On Wed, Sep 24, 2014 at 10:13 AM, Nate Bargmann wrote: > https://github.com/N0NB/hamlib/blob/master/rotorez/rotorez.c > > The interesting segment is from lines 320 through 326, although more > exist throughout the file. Lines 322 and 323 show the effect I am only > seeing in Emacs. This manner of aligning will break when tab size is changed. You should not use it. Tabs work consistently when they are at the start of each line. Within the line, use spaces exclusively. > For comparison, I have posted screen shots. The first is Emacs in a > terminal window with whitespace-mode on. In both of the following shots > the tab highlighting character is in the correct position after the '=' > character but then nine positions are added instead of one: This is a somewhat known problem[1] with whitespace-mode. [1]: http://www.emacswiki.org/emacs/WhiteSpace#toc9