Received: (at 70023-done) by debbugs.gnu.org; 30 Jun 2024 05:56:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 01:56:50 2024 Received: from localhost ([127.0.0.1]:54608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sNnYQ-0007dD-Hj for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 01:56:50 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:49443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1sNnYO-0007cx-S8 for 70023-done <at> debbugs.gnu.org; Sun, 30 Jun 2024 01:56:49 -0400 Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2ec408c6d94so19513871fa.3 for <70023-done <at> debbugs.gnu.org>; Sat, 29 Jun 2024 22:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719726943; x=1720331743; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=E+OIJtnUDP5KTZ2RetdCPDOi4Ggza7FUt0oQ8cgY4yE=; b=iT6Io2n0Y8gZ5bovhQtFIi3lwQV8pepMst3vkq0a+OCcQb+HW4644efE631E+Qzlyd JxETdRGkr91RvXenp65pA+TVOizjSUFtn45ep2D5s3tloJJsX5tpAaTKMKsM6XG9M8dS uswxXQJdY2D19U6DuNh+d2ytDvtqmp1/iUb/Yp4S4bbrakUjQ8z7mKcUQ+D//o0Fx//1 BHj0R/9rpIXr2JcuDacNquBUDvf8QaMuPRwOPAEZ58T4YxE1LrmbRMB45+1PIunrODou 6gGt6XlLVQ4sKIPO6t14X9uyFEB7sNriU6+20hb3Sa0jJ5xodMqSbxpR5mGta5hQFMbq Z5gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719726943; x=1720331743; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E+OIJtnUDP5KTZ2RetdCPDOi4Ggza7FUt0oQ8cgY4yE=; b=NU0ehszSAv1KEOLB305gSn8s8E+M+K5UjmB1sMqEOyYNZXBbRgCjDWDA3qz6vm/8fP bgyGcLA7Y4kBUr2T+lkWSQmHRYPTlRbCgyUPqXsJnft2T8FywejLMq0x/lT8NYD0t4FB RcFdgz1B1R7LSfYWTSSkM04eSr+UoofMBxHmH6JUSQmOOYoTxjalroBcqgxV720TNBPA JpE0z+og/E89MSJopGVYzbRRN/0/5it87Ad1guw+6LkRf569CS+wLf9aL4DT0zicRYDd RZufDk91uiWgbaYE0LfnZZey2QyfhRV7/saCHhC3Pl5AdEhM97ru+JgB/+tMdUeOhCyp s8RA== X-Forwarded-Encrypted: i=1; AJvYcCU+DMrIUsXm+AxiIC2qZ3zjmFw8PwR/FNtcWK90PvE8TwSYS6dSErAGVcc2G+V3nYA4g29uuBimeDqqb1EoItvnOszytOcQx+m6PQ== X-Gm-Message-State: AOJu0YyldSn1ZcfNUWvBcQXFTqJQjCib+UbCpz6As2X7m9s4QYFjUOAJ 7P+lN692Pi2THb7bhdmQJJ0e00nBojkqiRoLjoJT5QD+XSDdn2iA4XWJZJGqIvgRKVnYiwgyukx u/zEaBa9zn9GFsj1hNw5lezEWbCY= X-Google-Smtp-Source: AGHT+IFSjHSGTSDyyZzLWtJbayRjHTeTwVHJDPCDp+bQAJit0R+o/muOZe1KYJGLPbFoVkFE5QaNc3Er/6lvvhoh694= X-Received: by 2002:a2e:86c8:0:b0:2ec:5469:9d64 with SMTP id 38308e7fff4ca-2ee5e6f271cmr15971701fa.32.1719726943100; Sat, 29 Jun 2024 22:55:43 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 29 Jun 2024 22:55:42 -0700 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <87o7ayw7ku.fsf@HIDDEN> (Theodor Thornhill's message of "Thu, 28 Mar 2024 19:10:41 +0100") References: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> <87o7ayw7ku.fsf@HIDDEN> MIME-Version: 1.0 Date: Sat, 29 Jun 2024 22:55:42 -0700 Message-ID: <CADwFkmk8ZdF5a=_6bOemwemhKCktPeyHitZB+Z58U1N_f7ZnHQ@HIDDEN> Subject: Re: bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies To: Theodor Thornhill <theo@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70023-done Cc: Noah Peart <noah.v.peart@HIDDEN>, 70023-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Theodor Thornhill <theo@HIDDEN> writes: > Noah Peart <noah.v.peart@HIDDEN> writes: > >> Tags: patch >> >> Adds missing indentation for typescript interfaces. >> >> Currently, there is no indentation for property signatures in typescript >> interfaces. >> >> To reproduce, call `M-x (my-test-typescript-indent)` >> >> (defun my-test-typescript-indent () >> (interactive) >> (typescript-ts-mode) >> (setq-local typescript-ts-mode-indent-offset 4) >> (indent-region (point-min) (point-max))) >> > > [...] > > Pushed in bcf6dd6e266222a293e359430afdf3a2dc18369c. I also added a test > confirming the behavior. > > As a small aside, this node type was added very recently. Until now we > had a rule for it in 'object' I'm therefore closing this bug report.
Noah Peart <noah.v.peart@HIDDEN>
:Stefan Kangas <stefankangas@HIDDEN>
:Theodor Thornhill <theo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 70023) by debbugs.gnu.org; 28 Mar 2024 18:10:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 14:10:55 2024 Received: from localhost ([127.0.0.1]:41113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpuDH-0002Ch-MJ for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:10:55 -0400 Received: from out-172.mta0.migadu.com ([91.218.175.172]:52833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1rpuDE-0002CQ-Ni for 70023 <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:10:54 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1711649445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0xas1BkgrJ1ibz4+l9tkuFxoSxfbDgNJR9fqItYjUko=; b=RkrgxiSh1pnm2nEM/V6keOWIah/VpvWejRAr6qJIOO0WiNXF36gJjZ0Bw0xKxzlDaRc0Pc hagIH6PdghhIpZKXPhoZkZ0clQy/LSifOmTQrtdMNMfnZ5bZRfLHR12VR3NLSDliE6oypJ D99kz8Qak2GQ6sM5OTddUK3RHlLmZ1uNej75hNWLMJ5WANh358B9g3AWZSqi5j2I6s3daw KzYR3da6/oiLtY9ir/bBZRsgWHgYtB5yDKS+ZgYiB31LoVL2SafZpgkKVCyQeAz4ovenHL GiXsxX+BK+C5SpJaqKcCyEBJ/GUTZM7ETUQxFRnbFU/2SH06xTOFMAVR6uVyIg== From: Theodor Thornhill <theo@HIDDEN> To: Noah Peart <noah.v.peart@HIDDEN> Subject: Re: bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies In-Reply-To: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> (Noah Peart's message of "Tue, 26 Mar 2024 23:20:18 -0700") References: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> Date: Thu, 28 Mar 2024 19:10:41 +0100 Message-ID: <87o7ayw7ku.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70023 Cc: 70023 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Noah Peart <noah.v.peart@HIDDEN> writes: > Tags: patch > > Adds missing indentation for typescript interfaces. > > Currently, there is no indentation for property signatures in typescript > interfaces. > > To reproduce, call `M-x (my-test-typescript-indent)` > > (defun my-test-typescript-indent () > (interactive) > (typescript-ts-mode) > (setq-local typescript-ts-mode-indent-offset 4) > (indent-region (point-min) (point-max))) > [...] Pushed in bcf6dd6e266222a293e359430afdf3a2dc18369c. I also added a test confirming the behavior. As a small aside, this node type was added very recently. Until now we had a rule for it in 'object' Thanks! Theo
bug-gnu-emacs@HIDDEN
:bug#70023
; Package emacs
.
Full text available.Received: (at 70023) by debbugs.gnu.org; 28 Mar 2024 14:32:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 10:32:39 2024 Received: from localhost ([127.0.0.1]:40896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpqnz-00069S-Rf for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 10:32:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rpqnu-00068M-RG for 70023 <at> debbugs.gnu.org; Thu, 28 Mar 2024 10:32:34 -0400 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 <eliz@HIDDEN>) id 1rpqno-0001Ty-HD; Thu, 28 Mar 2024 10:32:24 -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=yoS20+VBWYhzNuto8OvwpoAh2UGgsVtl7vXkQKzliUI=; b=UwdLGJgwVOxJ u/xbcUsXwNwNPw+2WCTbijrVKClYuBUb4oa23qa7HliBoLhCED23KJWHCX+dsbZQOApzqe1y5oJHj CQlptlzvpy99di8OUdpH3o7k5XLQClsnXkbqxE5ut3ay/BV3v0/4QmlQQ/GvCwiMhH89nmIStGhU0 muPLFEI8v00a/Qp4Nxr0vIFDaEzrlzgGuREWN7urzcHqKu2uIiYJ91nAmmi+OBN/DzFSsRdkTK0SP 8rM73VK/NYdO5NRxMQUm3R2dDZVD2xvIluPtZEeYFDhUtPwhozD4d8Z7d0dTLMo3AMKfbFKVpywCd Ht+vINgxwt1I7SCd7ItGWQ==; Date: Thu, 28 Mar 2024 16:31:51 +0200 Message-Id: <86le62fmw8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Theodor Thornhill <theo@HIDDEN> In-Reply-To: <87sf0awlfe.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies References: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> <87sf0awlfe.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70023 Cc: noah.v.peart@HIDDEN, 70023 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 70023 <at> debbugs.gnu.org > Date: Thu, 28 Mar 2024 14:11:33 +0100 > From: Theodor Thornhill via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > Thanks - This looks good to me. Have you contributed to emacs earlier? I > think this could go in regardless as it is a trivial addition, or what, > Eli? Noah has copyright assignment on file, so we can accept his contributions without limitations.
bug-gnu-emacs@HIDDEN
:bug#70023
; Package emacs
.
Full text available.Received: (at 70023) by debbugs.gnu.org; 28 Mar 2024 13:11:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 09:11:50 2024 Received: from localhost ([127.0.0.1]:39566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rppXo-0007tZ-Ig for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 09:11:50 -0400 Received: from out-171.mta0.migadu.com ([91.218.175.171]:27176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1rppXk-0007sz-CR for 70023 <at> debbugs.gnu.org; Thu, 28 Mar 2024 09:11:46 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1711631497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FDs5eh/LLli7t0hZar44X6AfE9HqkvdVwkqrOaiiRs4=; b=RlpDcsuNWZcwwKzWTMHW3EBHyYRAM11I6rxha+ggPFGRI4m955HZbjXWza31ibEHlygoSF t4AQpcapKaqozvH7g8GBDbYgO3jeP9ZzsHn//iGlVOzS4BJFHn1wAcsu9RAaJtBuOz+1QQ 1O7eeKWUOWiVXiNUQW1tXCRnQlbo8xKIOfL6cawkFnignzk3QWD7EuCOiObMaMVYXInn4r rO9H7VydO4Uc35IURgo1HPHbyQNNS1jCz+ao/Wj1xxRQVkMSTi2ovUGIESLOIG0sgkkcpS NO8m3L9XKybDCH04CdCh7TtQC1BCiVP9M9VikaYGAZYLDbF6s96RCuTbQNTa1w== From: Theodor Thornhill <theo@HIDDEN> To: Noah Peart <noah.v.peart@HIDDEN> Subject: Re: bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies In-Reply-To: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> (Noah Peart's message of "Tue, 26 Mar 2024 23:20:18 -0700") References: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> Date: Thu, 28 Mar 2024 14:11:33 +0100 Message-ID: <87sf0awlfe.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 70023 Cc: 70023 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Noah Peart <noah.v.peart@HIDDEN> writes: > Tags: patch > > Adds missing indentation for typescript interfaces. > > Currently, there is no indentation for property signatures in typescript > interfaces. > > To reproduce, call `M-x (my-test-typescript-indent)` > > (defun my-test-typescript-indent () > (interactive) > (typescript-ts-mode) > (setq-local typescript-ts-mode-indent-offset 4) > (indent-region (point-min) (point-max))) > > in buffer with the following typescript code: > > interface Foo { > foo: string; // no matching indent rule > bar?: boolean; // no matching indent rule > } Thanks - This looks good to me. Have you contributed to emacs earlier? I think this could go in regardless as it is a trivial addition, or what, Eli? I'll install it on emacs-29 later today if noone cries out :-) Theo
bug-gnu-emacs@HIDDEN
:bug#70023
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 27 Mar 2024 06:20:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 27 02:20:46 2024 Received: from localhost ([127.0.0.1]:35590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpMeS-0003qc-Rk for submit <at> debbugs.gnu.org; Wed, 27 Mar 2024 02:20:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rpMeN-0003qA-I2 for submit <at> debbugs.gnu.org; Wed, 27 Mar 2024 02:20:44 -0400 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 <noah.v.peart@HIDDEN>) id 1rpMeH-0005tV-Ib for bug-gnu-emacs@HIDDEN; Wed, 27 Mar 2024 02:20:34 -0400 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>) id 1rpMeE-000835-Mk for bug-gnu-emacs@HIDDEN; Wed, 27 Mar 2024 02:20:33 -0400 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-2220a389390so254472fac.0 for <bug-gnu-emacs@HIDDEN>; Tue, 26 Mar 2024 23:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711520429; x=1712125229; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5vqFUZedQudXBf27rQBIPKoKmxY74/ALu+K0THPIvcg=; b=Ri4zc3JrzZi8zKdwxq0rkNizOuZ7JlZM5swFO/PcJ8FbxYHoavpzZx5igCnbz9TVXv 8EriXiniQXSO2rZCWzdOzcRdH6tq6YC7zNwudzhNHBz6xRgz4EQzUMW7q/tK2dvEpNIC 2/RoqIu2aTFwNPkpfakQCi+CYrMO3AKVQo9O2jpw/kH6iOhVlnmvJebsiZjaBUNaoThw NdAKMaWaBKmMwtx4daAZwu+1+yVRji4rhMK9p8OIUCX/b04hH24YRWfvS01cszPOO54o hNycUJozILQJU9nTrHeEPG6AwWTyHTY32hTbinHROGWqDS76AmWp7MjLwPUNMvUY1Gpl WzyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711520429; x=1712125229; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5vqFUZedQudXBf27rQBIPKoKmxY74/ALu+K0THPIvcg=; b=hOBm3VXjFtj8Nt+18geahspf0iYcJ6MzeonsZVGqPJJYr48WErwc6GMq+shOML5S4j KHpULTvKY7cyJlLskZVhM9IyF4rcwWgfCAY+83XAI6pieisBAZv8DLhAckUVgfS8dgtW 6ZBgKuyIL9oxCow8wB5Ue4qI3MXzV1E+kTNT9PYXJ9P96t/FGA0afNP9tk484A6z1s+0 jxelw4wyo8iwZN3vMitzyraEEwSwLHN317ORK1UW8uTcA7ZVoIHJocx+mFNN5Oy94z8S TDzGDjQCgU4Zv4B1sH4Nqr4PKtlCzUE0T8cei272VMaCprT7g3YH9w3JznH8YvG0cse5 Dq3w== X-Gm-Message-State: AOJu0YxvavN9FUCJCqnK/ybH5kZTXq+L9kptNfXN6iknzZPO3jyFWBdx SiyGZOZU3uIyIjHltFwt48Vhprr65X3qnUXPHbOEBqjRs4Ah3QOla40pidspH5tMWfRvl9sRV9E LD8b8JZ6PxXex0dDKHNbmPag7ckSP+wGNMSJhuKP7w10= X-Google-Smtp-Source: AGHT+IGWuGBoDo+Bmz2Cm4aVhL2G4j45jIKON893CuS376CpMfPdMHn5uDP0gsC0QMARwYaqNsmbZvhqfrUEz9bjKvk= X-Received: by 2002:a05:6870:a40c:b0:229:ff08:398e with SMTP id m12-20020a056870a40c00b00229ff08398emr1662943oal.21.1711520429097; Tue, 26 Mar 2024 23:20:29 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart <noah.v.peart@HIDDEN> Date: Tue, 26 Mar 2024 23:20:18 -0700 Message-ID: <CAPVBTSfqhXbgGGa4M55DH1FL7ne0Yorvj+KhD03uV9=M53u5qg@HIDDEN> Subject: [PATCH] Add typescript-ts-mode indentation for interface bodies To: bug-gnu-emacs@HIDDEN Content-Type: multipart/mixed; boundary="00000000000033e47a06149e6794" Received-SPF: pass client-ip=2001:4860:4864:20::2c; envelope-from=noah.v.peart@HIDDEN; helo=mail-oa1-x2c.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --00000000000033e47a06149e6794 Content-Type: multipart/alternative; boundary="00000000000033e47906149e6792" --00000000000033e47906149e6792 Content-Type: text/plain; charset="UTF-8" Tags: patch Adds missing indentation for typescript interfaces. Currently, there is no indentation for property signatures in typescript interfaces. To reproduce, call `M-x (my-test-typescript-indent)` (defun my-test-typescript-indent () (interactive) (typescript-ts-mode) (setq-local typescript-ts-mode-indent-offset 4) (indent-region (point-min) (point-max))) in buffer with the following typescript code: interface Foo { foo: string; // no matching indent rule bar?: boolean; // no matching indent rule } In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-03-24 built on noah-X580VD Repository revision: c5de73a95a6ecefe46fe1ac07da8e83032be7f5b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-json --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12' --00000000000033e47906149e6792 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Tags: patch<br><br><br>Adds missing indentation for typesc= ript interfaces.<br><br>Currently, there is no indentation for property sig= natures in typescript<br>interfaces.<br><br>To reproduce, call `M-x (my-tes= t-typescript-indent)`<br><br>=C2=A0 =C2=A0 (defun my-test-typescript-indent= ()<br>=C2=A0 =C2=A0 =C2=A0 (interactive)<br>=C2=A0 =C2=A0 =C2=A0 (typescri= pt-ts-mode)<br>=C2=A0 =C2=A0 =C2=A0 (setq-local typescript-ts-mode-indent-o= ffset 4)<br>=C2=A0 =C2=A0 =C2=A0 (indent-region (point-min) (point-max)))<b= r><br><br>in buffer with the following typescript code:<br><br>=C2=A0 =C2= =A0 interface Foo {<br>=C2=A0 =C2=A0 foo: string; =C2=A0 // no matching ind= ent rule<br>=C2=A0 =C2=A0 bar?: boolean; // no matching indent rule<br>=C2= =A0 =C2=A0 }<br><br><br>In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu,= GTK+ Version<br>3.24.33, cairo version 1.16.0) of 2024-03-24 built on noah= -X580VD<br>Repository revision: c5de73a95a6ecefe46fe1ac07da8e83032be7f5b<br= >Repository branch: master<br>Windowing system distributor 'The X.Org F= oundation', version 11.0.12101004<br>System Description: Ubuntu 22.04.4= LTS<br><br>Configured using:<br>=C2=A0'configure --prefix=3D/usr/local= --with-modules --with-tree-sitter<br>--with-threads --with-x-toolkit=3Dgtk= 3 --with-xwidgets --with-gnutls<br>--with-json --with-mailutils --with-jpeg= --with-png --with-rsvg<br>--with-tiff --with-xml2 --with-xpm --with-imagem= agick CC=3Dgcc-12<br>CXX=3Dgcc-12'<br></div> --00000000000033e47906149e6792-- --00000000000033e47a06149e6794 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-typescript-ts-mode-indentation-for-interface-bod.patch" Content-Disposition: attachment; filename="0001-Add-typescript-ts-mode-indentation-for-interface-bod.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lu9f1ycw0> X-Attachment-Id: f_lu9f1ycw0 RnJvbSBhMzlmMjM2NDk3Mzk5ODMxOGI1NmQ5MWNiMjgwMWEwNmIyMzdiODhhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FoIFBlYXJ0IDxub2FoLnYucGVhcnRAZ21haWwuY29tPgpE YXRlOiBUdWUsIDI2IE1hciAyMDI0IDIyOjQ0OjQ4IC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gQWRk IHR5cGVzY3JpcHQtdHMtbW9kZSBpbmRlbnRhdGlvbiBmb3IgaW50ZXJmYWNlIGJvZGllcwoKKiBs aXNwL3Byb2dtb2Rlcy90eXBlc2NyaXB0LXRzLW1vZGUuZWwKKHR5cGVzY3JpcHQtdHMtbW9kZS0t aW5kZW50LXJ1bGVzKTogQWRkIGluZGVudGF0aW9uIHJ1bGUgZm9yCmludGVyZmFjZSBib2RpZXMu Ci0tLQogbGlzcC9wcm9nbW9kZXMvdHlwZXNjcmlwdC10cy1tb2RlLmVsIHwgMSArCiAxIGZpbGUg Y2hhbmdlZCwgMSBpbnNlcnRpb24oKykKCmRpZmYgLS1naXQgYS9saXNwL3Byb2dtb2Rlcy90eXBl c2NyaXB0LXRzLW1vZGUuZWwgYi9saXNwL3Byb2dtb2Rlcy90eXBlc2NyaXB0LXRzLW1vZGUuZWwK aW5kZXggZWE0ZjY0MTdjNWEuLmFiMWQ3NmFiMjBlIDEwMDY0NAotLS0gYS9saXNwL3Byb2dtb2Rl cy90eXBlc2NyaXB0LXRzLW1vZGUuZWwKKysrIGIvbGlzcC9wcm9nbW9kZXMvdHlwZXNjcmlwdC10 cy1tb2RlLmVsCkBAIC0xMjQsNiArMTI0LDcgQEAgdHlwZXNjcmlwdC10cy1tb2RlLS1pbmRlbnQt cnVsZXMKICAgICAgKChwYXJlbnQtaXMgIm9iamVjdF90eXBlIikgcGFyZW50LWJvbCB0eXBlc2Ny aXB0LXRzLW1vZGUtaW5kZW50LW9mZnNldCkKICAgICAgKChwYXJlbnQtaXMgImVudW1fYm9keSIp IHBhcmVudC1ib2wgdHlwZXNjcmlwdC10cy1tb2RlLWluZGVudC1vZmZzZXQpCiAgICAgICgocGFy ZW50LWlzICJjbGFzc19ib2R5IikgcGFyZW50LWJvbCB0eXBlc2NyaXB0LXRzLW1vZGUtaW5kZW50 LW9mZnNldCkKKyAgICAgKChwYXJlbnQtaXMgImludGVyZmFjZV9ib2R5IikgcGFyZW50LWJvbCB0 eXBlc2NyaXB0LXRzLW1vZGUtaW5kZW50LW9mZnNldCkKICAgICAgKChwYXJlbnQtaXMgImFycm93 X2Z1bmN0aW9uIikgcGFyZW50LWJvbCB0eXBlc2NyaXB0LXRzLW1vZGUtaW5kZW50LW9mZnNldCkK ICAgICAgKChwYXJlbnQtaXMgInBhcmVudGhlc2l6ZWRfZXhwcmVzc2lvbiIpIHBhcmVudC1ib2wg dHlwZXNjcmlwdC10cy1tb2RlLWluZGVudC1vZmZzZXQpCiAgICAgICgocGFyZW50LWlzICJiaW5h cnlfZXhwcmVzc2lvbiIpIHBhcmVudC1ib2wgdHlwZXNjcmlwdC10cy1tb2RlLWluZGVudC1vZmZz ZXQpCi0tIAoyLjM0LjEKCg== --00000000000033e47a06149e6794--
Noah Peart <noah.v.peart@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#70023
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.