From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55862: Removing indent-tabs-mode set to t by default Date: Thu, 09 Jun 2022 16:35:35 +0000 Message-ID: References: <83h74u4csf.fsf@gnu.org> <83leu62d6e.fsf@gnu.org> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12558"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "55862@debbugs.gnu.org" <55862@debbugs.gnu.org>, Eli Zaretskii To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 19:35:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzM46-00034r-MJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 19:35:26 +0200 Original-Received: from localhost ([::1]:50944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzM45-0004rI-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 13:35:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzL9i-0000mv-Hw for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 12:37:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzL9a-0004f3-LW for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 12:37:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzL9a-00056N-Iw for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: goncholden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jun 2022 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 55862-submit@debbugs.gnu.org id=B55862.165479256219498 (code B ref 55862); Thu, 09 Jun 2022 16:37:02 +0000 Original-Received: (at 55862) by debbugs.gnu.org; 9 Jun 2022 16:36:02 +0000 Original-Received: from localhost ([127.0.0.1]:47534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzL8c-00054P-Ak for submit@debbugs.gnu.org; Thu, 09 Jun 2022 12:36:02 -0400 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]:17209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzL8M-00053c-EW for 55862@debbugs.gnu.org; Thu, 09 Jun 2022 12:36:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654792540; x=1655051740; bh=7HabcXM/2txL/wrp73i76kMSgHpu5TgIamBFrHwjgWI=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=RhwX9//x39OTFoKJAU63YSiSZZshKASsmry61jg+OjQq3VOJqQPX8rknpYGHQsxiJ oIqfO33O8bS0HmApKiIs+cZ4SylIkP9AHczjtn0YA31wc6WeREtOegQ6WGry4yUtS7 GcbfpqeDxjvXuVNxNdlIQa4hb0hJJLqga1n1iuqLWv1RcwkQO0ylcibPXJNWYjgOYf YStrtF15XR8aC66KMaRDszL6Fred8RsqxasfXg1IZPxYmphPl38FPlJBB3zsdj/KWK j3QvAxOk91Sno9KP9vYTcrKOCAZas/vSPbCmJ9T5WPx3M+uCRaWU7IWp7cfoeRhJ7M /VKRuQ1Nx7Vng== In-Reply-To: Feedback-ID: 43053548:user:proton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , goncholden Xref: news.gmane.io gmane.emacs.bugs:234130 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Friday, June 10th, 2022 at 4:06 AM, Drew Adams w= rote: > > It is worth reconsidering the decision to stick with tabs in future. I > > do not know of any mechanism to show (with some symbol) the beginning > > of each tab and the end of a line when space happens at the end of a > > line. > > > FWIW: You can use my library `highlight-chars.el' to highlight TAB chars = (or any chars) individually: M-x hc-highlight-chars TAB [enter the face you= want for it] Use` hc-toggle-highlight-trailing-whitespace' to > highlight trailing whitespace with a different face. > > But as the code stands now, trailing whitespace > includes TAB chars. As a quick hack you can edit > `hc-highlight-trailing-whitespace' to remove TAB chars from the (hard-cod= ed, so far) regexp of chars to match: (font-lock-add-keywords nil` (("[\u00= a0\040\t]+$" ; <=3D=3D=3D=3D=3D Remove \t > (0 'hc-trailing-whitespace > ,hc-font-lock-override))) > 'APPEND) > > https://www.emacswiki.org/emacs/ShowWhiteSpace#HighlightChars > > https://www.emacswiki.org/emacs/download/highlight-chars.el > > [FWIW2: I'm one of the many who think the default > should be changed to nil. There was a fair > amount of discussion, but t carried the day.] What about visws.el ? Have tried using it but cannot get it to function. = I have done as follows and emacs did not respond well to it. (defun visws () "TODO" (add-to-list 'load-path "~/contrib/visws") (require 'visible-whitespace-mode) (visible-whitespace-mode))