From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kip Coul Newsgroups: gmane.emacs.bugs Subject: bug#18548: Emacs whitespace mode Date: Wed, 24 Sep 2014 14:13:04 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1411584068 21812 80.91.229.3 (24 Sep 2014 18:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 18:41:08 +0000 (UTC) To: 18548@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 20:41:02 2014 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 1XWrUq-00049L-SJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 20:41:01 +0200 Original-Received: from localhost ([::1]:33599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWrUq-0002r2-BQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 14:41:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWrUm-0002qt-72 for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 14:40:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWrUj-0008EN-GL for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 14:40:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWrUj-0008DK-DM for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 14:40:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XWrAY-0006rn-BZ for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 14:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kip Coul Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Sep 2014 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18548 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141158274626317 (code B ref -1); Wed, 24 Sep 2014 18:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Sep 2014 18:19:06 +0000 Original-Received: from localhost ([127.0.0.1]:51019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWr9d-0006qM-LS for submit@debbugs.gnu.org; Wed, 24 Sep 2014 14:19:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52275) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWlh8-0003pR-PD for submit@debbugs.gnu.org; Wed, 24 Sep 2014 08:29:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWlgs-00008i-5c for submit@debbugs.gnu.org; Wed, 24 Sep 2014 08:29:18 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:46661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWlgs-0008Rn-38 for submit@debbugs.gnu.org; Wed, 24 Sep 2014 08:29:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWlRh-0006Ky-EY for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 08:13:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWlRf-0004EW-Q5 for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 08:13:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWlRf-0004DG-Np for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 08:13:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45965) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1XWlRa-0007Pb-Hz for bug-emacs@gnu.org; Wed, 24 Sep 2014 08:13:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWlRX-0004AJ-Ix for bug-emacs@gnu.org; Wed, 24 Sep 2014 08:13:14 -0400 Original-Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:42282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWlRX-00048d-6G for bug-emacs@gnu.org; Wed, 24 Sep 2014 08:13:11 -0400 Original-Received: by mail-pa0-f42.google.com with SMTP id et14so8591571pad.1 for ; Wed, 24 Sep 2014 05:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nvo64IwB0XMi3WAoKscEsXDDvv0qfDE+8uDD95EMrkE=; b=Frvrq8n77F2EYBMNi2Yikhq8WqEtGdNojNdh56lxnwbTV0yY3Fj3/i6h4GtlLt571i VH8W1e2YKErbCpLPzJ1CqkAXjAsx7xjIobSQYtp5Y7fhLCWfEf+5D4m5pkVkQUFoufGs yL6GpcbCm+ayMZNjc8a4qYPu2BQ9wCoHKebJQDkrHEgbIgv+HPA9i0kpqykjDxS90hsw ZsU5ZuTsHjMdc1VsbdC0WLmKR81lPn9TlypI/qCnGxDbAoVk2pRxo5FaUuadCD29PUtC tXVsAgByb26RVHnmf2ODK41Xhp3h4/fMrtPAe4GKlJ0mxOd90VEo15C/9XOZjp+fUc41 h7/w== X-Received: by 10.70.50.170 with SMTP id d10mr11233088pdo.33.1411560784553; Wed, 24 Sep 2014 05:13:04 -0700 (PDT) Original-Received: by 10.70.44.199 with HTTP; Wed, 24 Sep 2014 05:13:04 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 24 Sep 2014 14:19:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , 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:93696 Archived-At: Hi all, I am a fan of Emacs, and I'd like to bring a minor change but that I find actually useful. I'd like to modify the way tabs are displayed in whitespace mode. Basically what I want to do is the following: display a tab as a customizable sequence of characters instead of a character followed by spaces. So, if a tab takes five spaces, I'd like the user to be able to customize this, for example to display "<--->" or "---->". You can have a look here at how they represent tabs, it's very close to what I want to do: http://www.emacswiki.org/TabsAreEvil#SmartTabs The user will be able to specify the following characters: - char #1, that will be displayed at the beginning - char #2, that will be repeated - char #3 (optional) that will be put at the end of the tab So, for a tab to display as "---->", you'd set char #1 = char #2 = '-' and char #3 = '>', and for a tab to display as "<--->", you'd set char #1 = '<', char #2 = '-' and char #3 = '>' So, could you confirm that the file whitespace.el is the one I have to modify? Could you give me some insight about how to do? Thanks and regards, Kip