From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62994: [PATCH 2/3] Add support for styled underlines on tty frames Date: Sat, 22 Apr 2023 10:00:46 +0300 Message-ID: <83ildo2yg1.fsf@gnu.org> References: <20230421143448.339022-1-mohkale@kisara.moe> <20230421143448.339022-3-mohkale@kisara.moe> <83y1ml2p8a.fsf@gnu.org> <878rel5fqr.fsf@kisara.moe> <83sfct2kio.fsf@gnu.org> <87354t5cyq.fsf@kisara.moe> <87zg713wlg.fsf@kisara.moe> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62994@debbugs.gnu.org To: Mohsin Kaleem Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 22 09:01:25 2023 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 1pq7FN-0005VS-BB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Apr 2023 09:01:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pq7F8-0004TU-Sq; Sat, 22 Apr 2023 03:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq7F0-0004TH-MN for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pq7F0-0004Mi-D8 for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pq7F0-0005N8-5t for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62994 X-GNU-PR-Package: emacs Original-Received: via spool by 62994-submit@debbugs.gnu.org id=B62994.168214683720606 (code B ref 62994); Sat, 22 Apr 2023 07:01:02 +0000 Original-Received: (at 62994) by debbugs.gnu.org; 22 Apr 2023 07:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:41562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq7Ea-0005MH-Kx for submit@debbugs.gnu.org; Sat, 22 Apr 2023 03:00:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq7EY-0005M4-EW for 62994@debbugs.gnu.org; Sat, 22 Apr 2023 03:00:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq7ES-0004Fe-QQ; Sat, 22 Apr 2023 03:00:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E8bpFYoj9NusJExsNx3oMdxJoY4cZymYPRg8yxeh0AY=; b=hBx/ONjpvPTx +oeLxscqpgmUL0bXdhBS8jrIIeCQj9VCHop/6AF1dCgMX39s4S6faL4aP5ZEXCfdQzGGikHvyLaZ6 bhNFcUsxzcj+urfTwmMmiGz8C0tpG9KmS2LPOZSFGfGwK94bxbMWL/wbf1cXLk7NoHi8MqU1UbL1G 4ehIqCO9YnHA4S3hpA8b0qWKZ0AS8aK7h9z7uulPAgl9+46TIOmxfxAh8YePVnuTzmHWIvs0PegVL wI0vOa+ZuPf23M7C+QJSAWF2IJerK4fKXSX5sNgbffUBzAP+V7Q0CFWUNbYbd6Xmhzs4HhRSuveCo t0xDfHIyBCcW/yDkYkIvPw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq7ES-0001QX-8I; Sat, 22 Apr 2023 03:00:28 -0400 In-Reply-To: <87zg713wlg.fsf@kisara.moe> (message from Mohsin Kaleem on Fri, 21 Apr 2023 19:43:07 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260428 Archived-At: > From: Mohsin Kaleem > Cc: 62994@debbugs.gnu.org > Date: Fri, 21 Apr 2023 19:43:07 +0100 > > Mohsin Kaleem writes: > > > Cool, doesn't seem to be in the Emacs repo but I'm guessing it's this > > [1]. I'll try to adapt to it. > > I still don't get how to apply this to this repo Eli. You mentioned using > tabs and spaces but every lines aside from a nested expression starts > with 2 spaces. Some times there's 3 levels deep of expressions all > indented with spaces and then one tab width just wide enough at 8 > characters to appear like it's indented with spaces atop the previous > scope. > > Can I just do leading indent with tabs matching current indentation > level, curly braces 2 space ahead of the parent indent, and spaces ahead > of tabs to align a parenthesized expression or multi line condition with > the previous line? Why are you doing this manually? Emacs does that for you, as soon as you set indent-tabs-mode to a non-nil value. .dir-locals.el in the Emacs Git repository should do that automatically; it already does on the release branch and soon will be doing that on the master branch as well. And to reformat existing code, make a region around it and invoke "M-x tabify". There should be no need to insert tabs and spaces manually.