From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden Newsgroups: gmane.emacs.help,gmane.emacs.erc.general Subject: Re: Indentation with spaces Date: Sat, 11 Jun 2022 00:00:47 +0000 Message-ID: References: <87fskezg7s.fsf@dataswamp.org> <87zgimm0f8.fsf@yahoo.com> <87edzwlt69.fsf@dataswamp.org> <87zgiklpid.fsf@yahoo.com> <87czfgunrl.fsf@dataswamp.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="20937"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, emacs-erc@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 02:02:39 2022 Return-path: Envelope-to: geh-help-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 1nzoaM-0005GU-Ne for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 02:02:38 +0200 Original-Received: from localhost ([::1]:36282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzoaL-0001rq-9n for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 20:02:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzoYn-0001rR-SP; Fri, 10 Jun 2022 20:01:02 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:43980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzoYl-0001rt-4l; Fri, 10 Jun 2022 20:01:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654905652; x=1655164852; bh=cxhW8yzsWRlXQgT32BrTxgv2uSM760dfp2f/JZuKKGY=; 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=QC5Moi53NEvPeiy/1VVZxsG5H7Ko2/mfK5/+6dyFkqzcIuDSIl6vuRiRPjQyuxEyn re2IkYToD3c35+Nd+Bcjk4fLok2GoYzA/vD76ybpErjW4Dut6wZvIFsx4CxdUxif07 UlCNeYtcaQcqVU4lNEQy/BgQ0ktQ/i6SJ4NE0YZD2aQa5ocQeXHgK3OQKJuutHUfA2 XWL21/nuNpTqBJMOM7Oipa3SZbmJvA5U5LAjka0exBKhkyqipzBNwTc4SXGT4iUSxf MzXES1/fYS+wdYDLIrOKQhM4nmPorpjgbyfsLWZzho/TFX4p9cuF2DswJNjbW3lBlo sjoRYssLg7S9g== In-Reply-To: <87czfgunrl.fsf@dataswamp.org> Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.40.130; envelope-from=goncholden@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137640 gmane.emacs.erc.general:1852 Archived-At: ------- Original Message ------- On Saturday, June 11th, 2022 at 11:01 AM, Emanuel Berg wrote: > Po Lu wrote: > > > Where did I say people should use tabs to print data? > > > I don't know, you said "tabs are very convenient when printing > data" or something? > > But what are you printing with them then ... tabs? > > > > As for source you can't align with any hope of precision > > > since some other dude will have another tab width setting, > > > so then he will arrange it the way he thinks it should > > > look, and this "change" to the source rings all the little > > > bells and so on ... > > > > We have a single tab width setting for all code. And it's > > very easy to put `tab-width' in the local variables section > > of a file. > > > Easy but ugly since interface metadata shouldn't clutter > source files ... > > And they should do so even less when there is no gain doing so > either, right? > > The TAB key on the keyboard is one of my favorite keys and > I often do iteration with that and the so-called backtab which > is S-TAB. See this for ERC which is cool if I may, don't know > if they liked it enough or what happened ... Yes, but emacs should allow a number of possibilities rather than being pre= scriptive on its use. For instance, it does not allow multiple tabs at sta= rt of line, which happens with legacy codes (e.g. in fortran). I suggest a rethinking and the introduction of a set of function that help = the setting up of space and tab functionality. whitespace-mode should also be extended to allow users to set colour hex co= des for the various highlighting regions. For instance, whilst the highlig= hting of trailing spaces in vibrant, the one used for tabs suffers from a v= ery low contrast ratio. Efforts should be directed towards applying accessibility measures for whic= h there are actual standards (e.g. WCAG). One can also use a colour wheel with equally seperated colours in terms of contrast ratio fo= r increased vibrancy, which is another good measure. > https://dataswamp.org/~incal/emacs-init/erc/erc-iterate.el > > Note that it doesn't iterate the same things! (Type of things.) > > B) > > -- > underground experts united > https://dataswamp.org/~incal