From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kai Ma Newsgroups: gmane.emacs.bugs Subject: bug#59807: 29.0.60; [PATCH] python-ts-mode does not auto-complete the closing quote Date: Tue, 13 Dec 2022 09:20:52 +0800 Message-ID: References: <6B2F0E68-1DF3-41BF-BB69-E76BE8DC49D0@ucsd.edu> <7B3C0AFD-7D1A-49E4-B8CB-1E2DC8AA6181@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_E4C0C30A-B659-492E-B8FE-7B0E839C60D9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 59807@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 02:22:12 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 1p4tzo-0009QW-AK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 02:22:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4tzf-00081o-Sn; Mon, 12 Dec 2022 20:22:03 -0500 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 1p4tze-0007z8-FI for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 20:22:02 -0500 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 1p4tze-00081a-45 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 20:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4tzd-0006FZ-VZ for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 20:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kai Ma Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59807 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: pending patch Original-Received: via spool by 59807-submit@debbugs.gnu.org id=B59807.167089447423998 (code B ref 59807); Tue, 13 Dec 2022 01:22:01 +0000 Original-Received: (at 59807) by debbugs.gnu.org; 13 Dec 2022 01:21:14 +0000 Original-Received: from localhost ([127.0.0.1]:56897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tys-0006F0-BB for submit@debbugs.gnu.org; Mon, 12 Dec 2022 20:21:14 -0500 Original-Received: from mail-pl1-f195.google.com ([209.85.214.195]:43563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tyq-0006Eo-Qv for 59807@debbugs.gnu.org; Mon, 12 Dec 2022 20:21:13 -0500 Original-Received: by mail-pl1-f195.google.com with SMTP id d3so13950472plr.10 for <59807@debbugs.gnu.org>; Mon, 12 Dec 2022 17:21:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=GiWn6kPJvyD5+3TBMVau76K+67ADM8i7oYy334aTO+w=; b=nILkOjlBmiA5/cG4B7UQ+YfjDLPSDlkVgbAp7vP+DWtmfxp25b/1iZmtiw7sFxrQLl hQ+xWXHX74aITKAZd2SgcCkczALkSaMyXOF2FhTVvFAaPUws2lPl0mC8DATzE/P/3Sdl 6ExGx09XmKqKQdRGZJPl24VCA8d/qejrWqYEmik5JxWrpg9VJ3uXTUP9yefVF3snbZbs sjqXhFpqw4AqMlt3ZC8xGcDfLqHwdTeAa/xcNJYoDtOwTudFxMtmGqHu09blILP46s7n 7YRluy8Rle9KwpZs+KjegRe1qmcLVrvP+svlU1xl1nzA/iC6XqU0SmLO0cvxswpzEEZ1 pOOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GiWn6kPJvyD5+3TBMVau76K+67ADM8i7oYy334aTO+w=; b=npvGn7HIyQPEr7CRIvO2irXlJh4TyCrhxN3Ti0/2w7e8I7K6bKrGWnd1vnF5w0o1WA cUFSPaz7qWaxjehYh8jR1Vz9lxqRSE369z0Y7nRC5wb2aowtjTpT9C9BkfCLyxSxyMOn SdtIV36ceTUOs1XHbjCieaipso0KjeGB34/Y5TAOom8DDeHLX234esDcLAk7SDvpV3hd nIYe4ugEb8PcV5sVe8XJmtad2mJg9Meq57PocO9A7D6nZljCPdYVSC9RMXwj4iAWJETW 8PUhEjWToo9YA36nO0hwAPhvSgnt6kPgs/ZecjTNaqG1iY/RZixoxePH2Ex64dbL0roA 1i+A== X-Gm-Message-State: ANoB5pknF1CMan4bhBQAiTS8b0Ta0WgsZqkBYmTNajmv6Hot1vkoATRE FTo00koLABo6FCEkaqYEc0M= X-Google-Smtp-Source: AA0mqf5wnvXLs30ARfk2H2L6XouEgY1ncoxy0ot5Yqco6OEkiVGJcA/I3f/25bmLRR5co/gz0fTrow== X-Received: by 2002:a17:902:6a85:b0:185:441e:2dda with SMTP id n5-20020a1709026a8500b00185441e2ddamr20726000plk.44.1670894466908; Mon, 12 Dec 2022 17:21:06 -0800 (PST) Original-Received: from smtpclient.apple ([2404:c800:922f:b59:9c9d:d6ff:fe8d:79d0]) by smtp.gmail.com with ESMTPSA id jc3-20020a17090325c300b00186f608c543sm7003355plb.304.2022.12.12.17.21.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Dec 2022 17:21:06 -0800 (PST) In-Reply-To: <7B3C0AFD-7D1A-49E4-B8CB-1E2DC8AA6181@gmail.com> X-Mailer: Apple Mail (2.3731.200.110.1.12) 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:250792 Archived-At: --Apple-Mail=_E4C0C30A-B659-492E-B8FE-7B0E839C60D9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 5, 2022, at 14:48, Kai Ma wrote: >=20 > No, I haven=E2=80=99t. Thanks for the heads up. > I=E2=80=99ve just started the CA process according to CONTRIBUTE. =20 > Will let you know when I=E2=80=99m done. Sorry for the delay. Unfortunately, I cannot complete the assignment process, at least for = now. The licensing officer at my university is really reluctant to sign = a copyright disclaimer for me. However, the cumulative number of lines changed by me is below 15 so = far, so at least for this issue, we can move forward. I=E2=80=99ve added = Copyright-paperwork-exempt in the attached patch. =EF=BF=BC= --Apple-Mail=_E4C0C30A-B659-492E-B8FE-7B0E839C60D9 Content-Type: multipart/mixed; boundary="Apple-Mail=_B353B476-2958-40A9-8611-18835AF65B58" --Apple-Mail=_B353B476-2958-40A9-8611-18835AF65B58 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Dec = 5, 2022, at 14:48, Kai Ma <justksqsf@gmail.com> = wrote:

No, I haven=E2=80=99t. =  Thanks for the heads up.
I=E2=80=99= ve just started the CA process according to CONTRIBUTE.  
Will let you know when = I=E2=80=99m done.

Sorry for = the delay.

Unfortunately, I cannot complete the = assignment process, at least for now. The licensing officer at my = university is really reluctant to sign a copyright disclaimer for = me.

However, the cumulative number of lines = changed by me is below 15 so far, so at least for this issue, we can = move forward. I=E2=80=99ve added Copyright-paperwork-exempt in the = attached patch.

= --Apple-Mail=_B353B476-2958-40A9-8611-18835AF65B58 Content-Disposition: attachment; filename=0001-Fix-syntax-tables-of-tree-sitter-modes.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Fix-syntax-tables-of-tree-sitter-modes.patch" Content-Transfer-Encoding: quoted-printable =46rom=2094e150a2d1a199ac444382c809753fdefa1c1daa=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Kai=20Ma=20=0ADate:=20= Sun,=204=20Dec=202022=2006:15:42=20+0800=0ASubject:=20[PATCH]=20Fix=20= syntax=20tables=20of=20tree-sitter=20modes=0A=0ATree-sitter=20modes=20= should=20use=20the=20same=20syntax=20table=20as=20the=0Anon-tree-sitter=20= ones.=0A*=20lisp/progmodes/csharp-mode.el=20(csharp-mode-syntax-table):=20= Change=0Adocstring.=0A(csharp-mode):=20Add=20':syntax-table'.=0A*=20= lisp/progmodes/js.el=20(js-mode-syntax-table):=20Change=20docstring.=0A= (js-ts-mode):=20Add=20':syntax-table'.=0A*=20lisp/progmodes/python.el=20= (python-ts-mode):=20Add=20':syntax-table'.=0A*=20= lisp/progmodes/sh-script.el=20(bash-ts-mode):=20Add=20':syntax-table'.=0A= *=20lisp/textmodes/css-mode.el=20(css-ts-mode):=20Add=20':syntax-table'.=0A= =0ACopyright-paperwork-exempt:=20yes=0A---=0A=20= lisp/progmodes/csharp-mode.el=20|=203=20++-=0A=20lisp/progmodes/js.el=20=20= =20=20=20=20=20=20=20=20|=203=20++-=0A=20lisp/progmodes/python.el=20=20=20= =20=20=20|=201=20+=0A=20lisp/progmodes/sh-script.el=20=20=20|=201=20+=0A=20= lisp/textmodes/css-mode.el=20=20=20=20|=201=20+=0A=205=20files=20= changed,=207=20insertions(+),=202=20deletions(-)=0A=0Adiff=20--git=20= a/lisp/progmodes/csharp-mode.el=20b/lisp/progmodes/csharp-mode.el=0A= index=203da3079f08..73f2a6ff9e=20100644=0A---=20= a/lisp/progmodes/csharp-mode.el=0A+++=20b/lisp/progmodes/csharp-mode.el=0A= @@=20-608,7=20+608,7=20@@=20csharp-compilation-re-dotnet-testfail=0A=20=0A= =20(defvar=20csharp-mode-syntax-table=0A=20=20=20(funcall=20= (c-lang-const=20c-make-mode-syntax-table=20csharp))=0A-=20=20"Syntax=20= table=20used=20in=20`csharp-mode'=20buffers.")=0A+=20=20"Syntax=20table=20= used=20in=20`csharp-mode'=20and=20`csharp-ts-mode'=20buffers.")=0A=20=0A=20= (defvar=20csharp-mode-map=0A=20=20=20(let=20((map=20= (c-make-inherited-keymap)))=0A@@=20-890,6=20+890,7=20@@=20csharp-mode=0A=20= ;;;###autoload=0A=20(define-derived-mode=20csharp-ts-mode=20prog-mode=20= "C#"=0A=20=20=20"Major=20mode=20for=20editing=20C#=20code."=0A+=20=20= :syntax-table=20csharp-mode-syntax-table=0A=20=0A=20=20=20(unless=20= (treesit-ready-p=20'c-sharp)=0A=20=20=20=20=20(error=20"Tree-sitter=20= for=20C#=20isn't=20available"))=0Adiff=20--git=20a/lisp/progmodes/js.el=20= b/lisp/progmodes/js.el=0Aindex=20ad1fe62d42..11e45178f7=20100644=0A---=20= a/lisp/progmodes/js.el=0A+++=20b/lisp/progmodes/js.el=0A@@=20-686,7=20= +686,7=20@@=20js-mode-syntax-table=0A=20=20=20=20=20(modify-syntax-entry=20= ?$=20"_"=20table)=0A=20=20=20=20=20(modify-syntax-entry=20?`=20"\""=20= table)=0A=20=20=20=20=20table)=0A-=20=20"Syntax=20table=20for=20= `js-mode'.")=0A+=20=20"Syntax=20table=20for=20`js-mode'=20and=20= `js-ts-mode'.")=0A=20=0A=20(defvar-local=20js--quick-match-re=20nil=0A=20= =20=20"Autogenerated=20regexp=20used=20by=20`js-mode'=20to=20match=20= buffer=20constructs.")=0A@@=20-3840,6=20+3840,7=20@@=20js-ts-mode=0A=20=0A= =20\\"=0A=20=20=20:group=20'js=0A+=20=20:syntax-table=20= js-mode-syntax-table=0A=20=20=20(when=20(treesit-ready-p=20'javascript)=0A= =20=20=20=20=20;;=20Borrowed=20from=20`js-mode'.=0A=20=20=20=20=20= (setq-local=20prettify-symbols-alist=20js--prettify-symbols-alist)=0A= diff=20--git=20a/lisp/progmodes/python.el=20b/lisp/progmodes/python.el=0A= index=204fc5d24e2f..c90124b6b9=20100644=0A---=20= a/lisp/progmodes/python.el=0A+++=20b/lisp/progmodes/python.el=0A@@=20= -6618,6=20+6618,7=20@@=20python-ts-mode=0A=20=20=20"Major=20mode=20for=20= editing=20Python=20files,=20using=20tree-sitter=20library.=0A=20=0A=20= \\{python-ts-mode-map}"=0A+=20=20:syntax-table=20= python-mode-syntax-table=0A=20=20=20(when=20(treesit-ready-p=20'python)=0A= =20=20=20=20=20(treesit-parser-create=20'python)=0A=20=20=20=20=20= (setq-local=20treesit-font-lock-feature-list=0Adiff=20--git=20= a/lisp/progmodes/sh-script.el=20b/lisp/progmodes/sh-script.el=0Aindex=20= e170d18afe..76e8d5b074=20100644=0A---=20a/lisp/progmodes/sh-script.el=0A= +++=20b/lisp/progmodes/sh-script.el=0A@@=20-1611,6=20+1611,7=20@@=20= bash-ts-mode=0A=20=20=20"Major=20mode=20for=20editing=20Bash=20shell=20= scripts.=0A=20This=20mode=20automatically=20falls=20back=20to=20= `sh-mode'=20if=20the=20buffer=20is=0A=20not=20written=20in=20Bash=20or=20= sh."=0A+=20=20:syntax-table=20sh-mode-syntax-table=0A=20=20=20(when=20= (treesit-ready-p=20'bash)=0A=20=20=20=20=20(setq-local=20= treesit-font-lock-feature-list=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20'((=20comment=20function)=0Adiff=20--git=20= a/lisp/textmodes/css-mode.el=20b/lisp/textmodes/css-mode.el=0Aindex=20= b82886e397..b3654eaa7f=20100644=0A---=20a/lisp/textmodes/css-mode.el=0A= +++=20b/lisp/textmodes/css-mode.el=0A@@=20-1822,6=20+1822,7=20@@=20= css-ts-mode=0A=20can=20also=20be=20used=20to=20fill=20comments.=0A=20=0A=20= \\{css-mode-map}"=0A+=20=20:syntax-table=20css-mode-syntax-table=0A=20=20= =20(when=20(treesit-ready-p=20'css)=0A=20=20=20=20=20;;=20Borrowed=20= from=20`css-mode'.=0A=20=20=20=20=20(add-hook=20= 'completion-at-point-functions=0A--=20=0A2.37.1=20(Apple=20Git-137.1)=0A=0A= --Apple-Mail=_B353B476-2958-40A9-8611-18835AF65B58 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
--Apple-Mail=_B353B476-2958-40A9-8611-18835AF65B58-- --Apple-Mail=_E4C0C30A-B659-492E-B8FE-7B0E839C60D9--