From unknown Fri Jun 20 07:13:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60689 <60689@debbugs.gnu.org> To: bug#60689 <60689@debbugs.gnu.org> Subject: Status: 29.0.60; typescript-ts-mode and tsx-ts-mode does not highlight imports as variables [PATCH] Reply-To: bug#60689 <60689@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:06 +0000 retitle 60689 29.0.60; typescript-ts-mode and tsx-ts-mode does not highligh= t imports as variables [PATCH] reassign 60689 emacs submitter 60689 jostein@kjonigsen.net severity 60689 normal tag 60689 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 09 05:20:27 2023 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 10:20:27 +0000 Received: from localhost ([127.0.0.1]:35836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEpGT-00024S-Ue for submit@debbugs.gnu.org; Mon, 09 Jan 2023 05:20:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:36202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEpGP-00024G-6M for submit@debbugs.gnu.org; Mon, 09 Jan 2023 05:20:24 -0500 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 1pEpGO-0002Dt-If for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 05:20:20 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEpGJ-0007aM-H7 for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 05:20:19 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id AA0625C0107; Mon, 9 Jan 2023 05:20:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 09 Jan 2023 05:20:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:reply-to:sender :subject:subject:to:to; s=fm2; t=1673259613; x=1673346013; bh=Lz vCXHKrgJcwkbIRqKn5NCQ2/yWO5lyXFQeE5be6P+U=; b=i90TjrOonMpwVagqve tcOfFz+M3c34wReGwn5sYYP8eq4jIPLGiGcbUCFNZZ7dwnW6+ELzRs6DjmzssrlD lEm07LcDLSygwDKLr3iPYWzgTURB/mQkFdicfPq66/paO7Ao9XGxo6cNse+gq6IN KjXJy695H+MYNs+F6qJxoPM9Jhz5bn2udjlvA2jezOjlzF/YgMeT7zHhWYVF+7VD bRQ4oF0weJaHIoyUoCVuCXC7Ven/rqC7M/g6ZdhG/0IsB3A4impXFxIOunB/bTb8 duarKu4ii2wraxBtEppr0+oig6sYArC4d1ikX8FxHjd899ww/AutKfHCtXv/Oz+z p+ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1673259613; x=1673346013; bh=LzvCXHKrgJcwkbIRqKn5NCQ2/yWO5lyXFQe E5be6P+U=; b=LYO2jx9whJpJB6aVwzcxG/XufxQuZBMpUm8t97GYIWgSGynCKJo ANFuEO/5yBLV4dhLl4Dr1XdGRsWg582ugU6sQWxyQu+ZyimLcs/Lc7nSDFlGE2H0 FG4eHOGcFcLX6CJ2GeXLD3COjfgxF7CwST1U9pm/wnw2ve0ttKBD4OMzAtj6BR2K NUwIcod+3l4NYLmvz9FGwM1pOp9VObc+xl/CyVQczjB0ffNp5UXTKvnwjSpQ1Fgm mDq7TgwnQcNIOSZE9Su0Sbx+cq0k1ahG3rPk1HpQIExJBIi11TeF3bBnwsCPM1bL ASoiM3ZU6/meB/hAgboIMz4jf8He5BVb/Ow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrkeeigddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtkfffgggfrhfvhffusehmtderredtfeejnecuhfhrohhmpeflohhsthgvihhn ucfmjhppnhhighhsvghnuceojhhoshhtvghinhesshgvtghurhgvrdhkjhhonhhighhsvg hnrdhnvghtqeenucggtffrrghtthgvrhhnpeehtdfflefggedtgefguddvheevgedujeev veetteevtdettdefhedthfdtuddvveenucffohhmrghinhepkhhjnhhighhsvghnrdhnoh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhs thgvihhnsehsvggtuhhrvgdrkhhjohhnihhgshgvnhdrnhgvth X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Jan 2023 05:20:12 -0500 (EST) Content-Type: multipart/mixed; boundary="------------sF7yQaJ5qsMrqqG1Bdh8nMCJ" Message-ID: <4eeb1d95-6c44-8a32-b6c6-46e29d2a68ea@secure.kjonigsen.net> Date: Mon, 9 Jan 2023 11:20:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-GB, nb-NO To: "bug-gnu-emacs@gnu.org" , Yuan Fu , Theodor Thornhill From: =?UTF-8?Q?Jostein_Kj=c3=b8nigsen?= Subject: 29.0.60; typescript-ts-mode and tsx-ts-mode does not highlight imports as variables [PATCH] Received-SPF: pass client-ip=66.111.4.27; envelope-from=jostein@secure.kjonigsen.net; helo=out3-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jostein@kjonigsen.net Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------sF7yQaJ5qsMrqqG1Bdh8nMCJ Content-Type: multipart/alternative; boundary="------------geZ9j0rheXHatRh0taW5knAm" --------------geZ9j0rheXHatRh0taW5knAm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit When importing packages/functions/whatever in typescript using import-statements, the imported entities are not highlighted. This differs from when using require() syntax. import jwt from "jsonwebtoken";        // jwt -not- highlighted import { verify } from "jsonwebtoken"; // verify -not- highlighted const jwt = require("jsonwebtoken");   // jwt is highlighted. Attached is a patch which updates typescript-ts-mode and tsx-ts-mode to highlight these imports properly. -- Jostein In GNU Emacs 29.0.60 (build 9, x86_64-pc-linux-gnu, GTK+ Version  3.24.34, cairo version 1.16.0) of 2023-01-08 built on ThinkPad-T14s Repository revision: 1469aac20d8ebcd3c5cca898b814c305278d4c27 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12201003 System Description: Ubuntu 22.10 Configured using:  'configure --with-json --with-tree-sitter' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings:   value of $LC_MONETARY: nb_NO.UTF-8   value of $LC_NUMERIC: nb_NO.UTF-8   value of $LC_TIME: nb_NO.UTF-8   value of $LANG: en_US.UTF-8   locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect:   global-git-commit-mode: t   magit-auto-revert-mode: t   editorconfig-mode: t   which-function-mode: t   helm-mode: t   helm-minibuffer-history-mode: t   shell-dirtrack-mode: t   helm--remap-mouse-mode: t   async-bytecomp-package-mode: t   delete-selection-mode: t   global-auto-revert-mode: t   yas-global-mode: t   yas-minor-mode: t   global-nlinum-mode: t   ido-yes-or-no-mode: t   override-global-mode: t   server-mode: t   global-hl-line-mode: t   pixel-scroll-precision-mode: t   doom-modeline-mode: t   tooltip-mode: t   global-eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   buffer-read-only: t   column-number-mode: t   line-number-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: /home/jostein/.emacs.d/elpa/transient-20221202.1727/transient hides /home/jostein/build/emacs/lisp/transient Features: (shadow sort emacsbug typescript-ts-mode vc-hg vc-bzr vc-src vc-sccs vc-cvs vc-rcs log-view vc bug-reference json-ts-mode magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader pcvs-util magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-base magit-section crm compat-27 compat-26 executable view jka-compr woman man helm-command helm-elisp helm-eval edebug helm-info markdown-mode color misearch multi-isearch js c-ts-mode treesit cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair speedbar ezimage dframe powershell mail-extr disp-table flyspell ispell yaml-mode dired-aux vc-git diff-mode vc-dispatcher vc-svn winner ffap tramp-archive tramp-gvfs tramp-cache time-stamp zeroconf dbus add-log face-remap ido-completing-read+ memoize minibuf-eldef elisp-slime-nav paredit highlight-symbol flycheck editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch company-oddmuse company-keywords company-etags etags fileloop generator company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company eglot external-completion array jsonrpc ert ewoc debug backtrace flymake-proc flymake warnings which-func hideshow eww url-queue thingatpt shr pixel-fill kinsoku url-file svg xml dom puny mm-url gnus nnheader gnus-util mail-utils range mm-util mail-prsvr helm-imenu pcase imenu ob-plantuml org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs helm-mode helm-misc helm-files image-dired image-dired-tags image-dired-external image-dired-util xdg image-mode dired dired-loaddefs exif tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load icons wid-edit files-x tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp format-spec helm-utils helm-help helm-types helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async helm-config delsel autorevert filenotify yasnippet derived nlinum linum ido-yes-or-no advice ido edmacro kmacro use-package-bind-key bind-key easy-mmode xref project server hl-line pixel-scroll cua-base compile-eslint compile comint ansi-osc ansi-color ring doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons shrink-path rx f f-shortdoc shortdoc text-property-search s dash compat compat-macs dracula-theme cl-extra help-mode use-package-ensure use-package-core finder-inf flycheck-autoloads helm-autoloads helm-core-autoloads expand-region-autoloads all-the-icons-autoloads bmx-mode-autoloads doom-modeline-autoloads async-autoloads dracula-theme-autoloads highlight-symbol-autoloads multiple-cursors-autoloads projectile-autoloads nlinum-autoloads pkg-info-autoloads epl-autoloads undo-tree-autoloads rust-mode-autoloads editorconfig-autoloads magit-autoloads yasnippet-autoloads elisp-slime-nav-autoloads crontab-mode-autoloads ido-yes-or-no-autoloads magit-section-autoloads cargo-autoloads ido-completing-read+-autoloads memoize-autoloads paredit-autoloads company-autoloads yaml-mode-autoloads powershell-autoloads dap-mode-autoloads lsp-docker-autoloads yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads bui-autoloads lsp-mode-autoloads lv-autoloads markdown-mode-autoloads spinner-autoloads ht-autoloads git-commit-autoloads transient-autoloads compat-autoloads cmake-mode-autoloads shrink-path-autoloads f-autoloads info dash-autoloads s-autoloads popup-autoloads queue-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 946232 70253)  (symbols 48 48406 270)  (strings 32 221316 13571)  (string-bytes 1 6455828)  (vectors 16 105031)  (vector-slots 8 1185287 244553)  (floats 8 1002 575)  (intervals 56 30317 3140)  (buffers 984 53)) -- Vennlig hilsen *Jostein Kjønigsen* jostein@kjonigsen.net 🍵 jostein@gmail.com https://jostein.kjønigsen.no --------------geZ9j0rheXHatRh0taW5knAm Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

When importing packages/functions/whatever in typescript using import-statements, the imported entities are not highlighted.

This differs from when using require() syntax.

import jwt from "jsonwebtoken";        // jwt -not- highlighted
import { verify } from "jsonwebtoken"; // verify -not- highlighted
const jwt = require("jsonwebtoken");   // jwt is highlighted.

Attached is a patch which updates typescript-ts-mode and tsx-ts-mode to highlight these imports properly.

--
Jostein


In GNU Emacs 29.0.60 (build 9, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.16.0) of 2023-01-08 built on ThinkPad-T14s
Repository revision: 1469aac20d8ebcd3c5cca898b814c305278d4c27
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12201003
System Description: Ubuntu 22.10

Configured using:
 'configure --with-json --with-tree-sitter'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: nb_NO.UTF-8
  value of $LC_NUMERIC: nb_NO.UTF-8
  value of $LC_TIME: nb_NO.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Magit

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  editorconfig-mode: t
  which-function-mode: t
  helm-mode: t
  helm-minibuffer-history-mode: t
  shell-dirtrack-mode: t
  helm--remap-mouse-mode: t
  async-bytecomp-package-mode: t
  delete-selection-mode: t
  global-auto-revert-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-nlinum-mode: t
  ido-yes-or-no-mode: t
  override-global-mode: t
  server-mode: t
  global-hl-line-mode: t
  pixel-scroll-precision-mode: t
  doom-modeline-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/jostein/.emacs.d/elpa/transient-20221202.1727/transient hides /home/jostein/build/emacs/lisp/transient

Features:
(shadow sort emacsbug typescript-ts-mode vc-hg vc-bzr vc-src vc-sccs
vc-cvs vc-rcs log-view vc bug-reference json-ts-mode magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff
git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa
epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader pcvs-util
magit-core magit-autorevert magit-margin magit-transient magit-process
with-editor magit-mode transient magit-git magit-base magit-section crm
compat-27 compat-26 executable view jka-compr woman man helm-command
helm-elisp helm-eval edebug helm-info markdown-mode color misearch
multi-isearch js c-ts-mode treesit cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair speedbar
ezimage dframe powershell mail-extr disp-table flyspell ispell yaml-mode
dired-aux vc-git diff-mode vc-dispatcher vc-svn winner ffap
tramp-archive tramp-gvfs tramp-cache time-stamp zeroconf dbus add-log
face-remap ido-completing-read+ memoize minibuf-eldef elisp-slime-nav
paredit highlight-symbol flycheck editorconfig editorconfig-core
editorconfig-core-handle editorconfig-fnmatch company-oddmuse
company-keywords company-etags etags fileloop generator company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company eglot external-completion array jsonrpc ert ewoc
debug backtrace flymake-proc flymake warnings which-func hideshow eww
url-queue thingatpt shr pixel-fill kinsoku url-file svg xml dom puny
mm-url gnus nnheader gnus-util mail-utils range mm-util mail-prsvr
helm-imenu pcase imenu ob-plantuml org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list
org-footnote org-faces org-entities noutline outline ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys
oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version
org-compat org-macs helm-mode helm-misc helm-files image-dired
image-dired-tags image-dired-external image-dired-util xdg image-mode
dired dired-loaddefs exif tramp tramp-loaddefs trampver
tramp-integration cus-edit pp cus-load icons wid-edit files-x
tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp
helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp
format-spec helm-utils helm-help helm-types helm helm-global-bindings
helm-easymenu helm-core async-bytecomp helm-source helm-multi-match
helm-lib async helm-config delsel autorevert filenotify yasnippet
derived nlinum linum ido-yes-or-no advice ido edmacro kmacro
use-package-bind-key bind-key easy-mmode xref project server hl-line
pixel-scroll cua-base compile-eslint compile comint ansi-osc ansi-color
ring doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons shrink-path rx f f-shortdoc shortdoc
text-property-search s dash compat compat-macs dracula-theme cl-extra
help-mode use-package-ensure use-package-core finder-inf
flycheck-autoloads helm-autoloads helm-core-autoloads
expand-region-autoloads all-the-icons-autoloads bmx-mode-autoloads
doom-modeline-autoloads async-autoloads dracula-theme-autoloads
highlight-symbol-autoloads multiple-cursors-autoloads
projectile-autoloads nlinum-autoloads pkg-info-autoloads epl-autoloads
undo-tree-autoloads rust-mode-autoloads editorconfig-autoloads
magit-autoloads yasnippet-autoloads elisp-slime-nav-autoloads
crontab-mode-autoloads ido-yes-or-no-autoloads magit-section-autoloads
cargo-autoloads ido-completing-read+-autoloads memoize-autoloads
paredit-autoloads company-autoloads yaml-mode-autoloads
powershell-autoloads dap-mode-autoloads lsp-docker-autoloads
yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cfrs-autoloads
posframe-autoloads hydra-autoloads pfuture-autoloads
ace-window-autoloads avy-autoloads bui-autoloads lsp-mode-autoloads
lv-autoloads markdown-mode-autoloads spinner-autoloads ht-autoloads
git-commit-autoloads transient-autoloads compat-autoloads
cmake-mode-autoloads shrink-path-autoloads f-autoloads info
dash-autoloads s-autoloads popup-autoloads queue-autoloads package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache
json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs
cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process emacs)

Memory information:
((conses 16 946232 70253)
 (symbols 48 48406 270)
 (strings 32 221316 13571)
 (string-bytes 1 6455828)
 (vectors 16 105031)
 (vector-slots 8 1185287 244553)
 (floats 8 1002 575)
 (intervals 56 30317 3140)
 (buffers 984 53))

--------------geZ9j0rheXHatRh0taW5knAm-- --------------sF7yQaJ5qsMrqqG1Bdh8nMCJ Content-Type: text/x-patch; charset=UTF-8; name="0001-typescript-ts-mode-Improve-syntax-highlight-for-impo.patch" Content-Disposition: attachment; filename*0="0001-typescript-ts-mode-Improve-syntax-highlight-for-impo.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSAxN2Y0M2NiYmVjYzVhODI2OTdlZjk2OWYxMWViZTc4MDJlMTU1YjZmIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Sm9zdGVpbj0yMEtqPUMzPUI4bmln c2VuPz0gPGpvc3RlaW5Aa2pvbmlnc2VuLm5ldD4KRGF0ZTogTW9uLCA5IEphbiAyMDIzIDEx OjE3OjUzICswMTAwClN1YmplY3Q6IFtQQVRDSF0gdHlwZXNjcmlwdC10cy1tb2RlOiBJbXBy b3ZlIHN5bnRheC1oaWdobGlnaHQgZm9yCiBpbXBvcnQtc3RhdGVtZW50cwoKbGlzcC9wcm9n bW9kZXMvdHlwZXNjcmlwdC10cy1tb2RlLmVsOgphZGQgcnVsZXMgdG8gaGlnaGxpZ2h0IHRo ZSBhY3R1YWwgaW1wb3J0cyBpbiBpbXBvcnQtc3RhdGVtZW50cy4KLS0tCiBsaXNwL3Byb2dt b2Rlcy90eXBlc2NyaXB0LXRzLW1vZGUuZWwgfCA1ICsrKystCiAxIGZpbGUgY2hhbmdlZCwg NCBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9n bW9kZXMvdHlwZXNjcmlwdC10cy1tb2RlLmVsIGIvbGlzcC9wcm9nbW9kZXMvdHlwZXNjcmlw dC10cy1tb2RlLmVsCmluZGV4IGIyNmRjYTEwMWRiLi4wMzdkNWM4ZTg3ZSAxMDA2NDQKLS0t IGEvbGlzcC9wcm9nbW9kZXMvdHlwZXNjcmlwdC10cy1tb2RlLmVsCisrKyBiL2xpc3AvcHJv Z21vZGVzL3R5cGVzY3JpcHQtdHMtbW9kZS5lbApAQCAtMTk3LDcgKzE5NywxMCBAQCB0eXBl c2NyaXB0LXRzLW1vZGUtLWZvbnQtbG9jay1zZXR0aW5ncwogICAgICAgdmFsdWU6IChhcnJh eSAobnVtYmVyKSAoZnVuY3Rpb24pKSkKIAogICAgICAoY2F0Y2hfY2xhdXNlCi0gICAgICBw YXJhbWV0ZXI6IChpZGVudGlmaWVyKSBAZm9udC1sb2NrLXZhcmlhYmxlLW5hbWUtZmFjZSkp CisgICAgICBwYXJhbWV0ZXI6IChpZGVudGlmaWVyKSBAZm9udC1sb2NrLXZhcmlhYmxlLW5h bWUtZmFjZSkKKworICAgICAoaW1wb3J0X2NsYXVzZSAoaWRlbnRpZmllcikgQGZvbnQtbG9j ay12YXJpYWJsZS1uYW1lLWZhY2UpCisgICAgIChpbXBvcnRfY2xhdXNlIChuYW1lZF9pbXBv cnRzIChpbXBvcnRfc3BlY2lmaWVyIChpZGVudGlmaWVyKSkgQGZvbnQtbG9jay12YXJpYWJs ZS1uYW1lLWZhY2UpKSkKIAogICAgOmxhbmd1YWdlIGxhbmd1YWdlCiAgICA6b3ZlcnJpZGUg dAotLSAKMi4zNy4yCgo= --------------sF7yQaJ5qsMrqqG1Bdh8nMCJ-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 09 23:07:39 2023 Received: (at 60689) by debbugs.gnu.org; 10 Jan 2023 04:07:39 +0000 Received: from localhost ([127.0.0.1]:38471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pF5vG-0006Hx-OT for submit@debbugs.gnu.org; Mon, 09 Jan 2023 23:07:39 -0500 Received: from mail-pj1-f47.google.com ([209.85.216.47]:40861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pF5vF-0006Hh-14 for 60689@debbugs.gnu.org; Mon, 09 Jan 2023 23:07:37 -0500 Received: by mail-pj1-f47.google.com with SMTP id c8-20020a17090a4d0800b00225c3614161so15036993pjg.5 for <60689@debbugs.gnu.org>; Mon, 09 Jan 2023 20:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=gOR1OthtShn4HeRpPABAgulICPUSPdJuCfz+wMneOfU=; b=iVkvKbK9YjQgxsupByaXxw//vyo0zjZV95cnut602oRhds3gjE0jlLPhYHh/rsKeo0 7MvPNLGDCRzNi1cWtWhczHKTWCXS1PYRfpwNZC6waXE4mlozJ23vlxz73n/0H402ikQM +bGZWt1rutrxXa9ACgaBuO156SF7H0IkCWAm/MLBHy1nAOEMafGS23DeLw5msBq8fB8f mxLrzfmnlESiG7t7RF7nh1r5NN7cf5LGs4s0raWZmLDcDqojE126leNLxSaEzVTHJPdu CgAEXVATW9Z4MUIxtJoh3dBF2WNLDUPPdjZC+dSOizrl3n9NlRMR2ofYyixebLuH3x8Q f1zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gOR1OthtShn4HeRpPABAgulICPUSPdJuCfz+wMneOfU=; b=hL7utDZ0MqaQFvaEq8yoNqNBxYeGvE5ZbTiYQltiILbSKvd3A4qYHQD5cgEUvmym5Z ogB71EHizwnNtNj/x0Iom0+TyfRh7jV3qJK46ATFhPFdrSKRIIQgyNQWEHnbEiKqckAp 8TqHrIVmb+7mU8Dm3jdiHW/NrrXYtKcJIHWWEWXXYy2TvLqHxdF0ItlsfAh/qv8OgXmj tLUEGch0ucGQ4mMmT1GjeS3+hajS3GMo+iDgF0x5roM2bp/GQ9lvto79UgJ4/TzjZ4HB 5xJYMShWfq+yAC7Yt9+1QLprsf0A3AXwKPe5ByAQS9u/maSoQfAcaz/+8FJTURYBnV4i l7TQ== X-Gm-Message-State: AFqh2kpguVwTXVdELsR0F29WnymANm2NIDcGl6WYlN98igBrObSJvtp6 qS42rHaVH7kU0CTAyavo4ns= X-Google-Smtp-Source: AMrXdXtWKu/BvCBC2pirPCgPmgKn+KHV3s65ywUMAdR1MjkTvW80QJXNSpKVwTHf8si6AK/gzRAWvg== X-Received: by 2002:a05:6a20:9324:b0:b6:2a6:a29d with SMTP id r36-20020a056a20932400b000b602a6a29dmr2292905pzh.29.1673323651232; Mon, 09 Jan 2023 20:07:31 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id c4-20020a631c04000000b004774b5dc24dsm5826978pgc.12.2023.01.09.20.07.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2023 20:07:30 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: bug#60689: 29.0.60; typescript-ts-mode and tsx-ts-mode does not highlight imports as variables [PATCH] Message-Id: <340A0277-560E-49CF-8F65-321CA6C3F02B@gmail.com> Date: Mon, 9 Jan 2023 20:07:29 -0800 To: =?utf-8?Q?Jostein_Kj=C3=B8nigsen?= X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60689 Cc: jostein@kjonigsen.net, Theodor Thornhill , 60689@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jostein Kj=C3=B8nigsen writes: > When importing packages/functions/whatever in typescript using = import-statements, the imported entities are not > highlighted. > > This differs from when using require() syntax. > > import jwt from "jsonwebtoken"; // jwt -not- highlighted > import { verify } from "jsonwebtoken"; // verify -not- highlighted > const jwt =3D require("jsonwebtoken"); // jwt is highlighted. > > Attached is a patch which updates typescript-ts-mode and tsx-ts-mode = to highlight these imports properly. Thanks! I applied the patch. I=E2=80=99ll add similar fixes to = js-ts-mode. Yuan From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 10 05:31:15 2023 Received: (at 60689-done) by debbugs.gnu.org; 10 Jan 2023 10:31:15 +0000 Received: from localhost ([127.0.0.1]:38889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFBuU-0006cI-Q6 for submit@debbugs.gnu.org; Tue, 10 Jan 2023 05:31:15 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFBuR-0006by-3G for 60689-done@debbugs.gnu.org; Tue, 10 Jan 2023 05:31:13 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id AEAC432009CE for <60689-done@debbugs.gnu.org>; Tue, 10 Jan 2023 05:31:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 10 Jan 2023 05:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject:to :to; s=fm2; t=1673346663; x=1673433063; bh=6MSAlWVfRM0FIiuaDBc9q 3+hmXDdQHTUe9VpsOsct/c=; b=AkbKs6A/g2RffZDBtG392gqPafFVhhOSqsB4i F1AL56lXpWV4bk7ZRJciBanm6v16J9HM9En97COKxTcw9Xui2/0NDxTm0I7yuGKJ ES2JaOX+fe5FvwqL9ki+waDl2Pq1JyaBxbQr3JXpeioCEtPcnPgjgPwfBi+kiIQ5 xJs7kDMr0KQV8FTD7hsAavDfGHWTwFvm1mRGULzEO4yhjAL4B3mHuc7kOwsMvJFi SiRmGeS6zfINQBDRmn2bDwH7n7cLGivOJDD/q9UBDzxA2cDc/4QHPd2tHS2z+K6t IXL4g0WxdCarpLuDrbCwJFB/4obnvpLJRjMS7ONTSVyZCVGFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1673346663; x=1673433063; bh=6 MSAlWVfRM0FIiuaDBc9q3+hmXDdQHTUe9VpsOsct/c=; b=AvozJ2qhwkJqRLWb5 2aZjL3a3R2bji5vi8+vABWR8/hUzyx/OL6u35M0UPdafUcmvqm+YkrKSpbkG9pun 7B6Gde8Gl8nklp0+Qk+k9cJdKv/T1lIS7M2s4z8PfPS3xwkOHeJrbSHp/ulAdgjI TvwAomWeoPfGp6SSA6662BysJUiFPpie4JZ/cOhu9iMWDsv4eDn9T/O+64lktwtx MBY3MCQOOg7cGnWZDhnu+BvaSVdftVs3LaHquOBzVmbDCKjNppaEIXx9dRA7VjVm gZqjJyqjJHWegIcBGhTnQnrjyEFSx4YotDqOsgOdH/rjwF7i8wiVut79VyAHIZaH +WRyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrkeekgdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecugfhmphhthicushhusghjvggtthculddutddmnecujf gurheptgfkffggfgfvhfesrgdtreertdefjeenucfhrhhomheplfhoshhtvghinhcumfhj pphnihhgshgvnhcuoehjohhsthgvihhnsehsvggtuhhrvgdrkhhjohhnihhgshgvnhdrnh gvtheqnecuggftrfgrthhtvghrnhepudeivefgvdfhtefhteffieelkeehuedtteegiedv kedvteehjeevvdfgtdehhfdtnecuffhomhgrihhnpehkjhhnihhgshgvnhdrnhhonecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoshhtvghi nhesshgvtghurhgvrdhkjhhonhhighhsvghnrdhnvght X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <60689-done@debbugs.gnu.org>; Tue, 10 Jan 2023 05:31:02 -0500 (EST) Content-Type: multipart/alternative; boundary="------------UmGm4sg0wK9RIRacnpGvGkAS" Message-ID: <4b1890e4-b898-f80e-c655-1dd6de5c88f6@secure.kjonigsen.net> Date: Tue, 10 Jan 2023 11:31:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: 60689-done@debbugs.gnu.org From: =?UTF-8?Q?Jostein_Kj=c3=b8nigsen?= X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This bug can now be closed. -- *Jostein Kjønigsen* jostein.kjønigsen.no jostein@kjonigsen.net - jostein@gmail.com This bug can now be closed. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [64.147.123.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [64.147.123.25 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 60689-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) This is a multi-part message in MIME format. --------------UmGm4sg0wK9RIRacnpGvGkAS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit This bug can now be closed. -- *Jostein Kjønigsen* jostein.kjønigsen.no jostein@kjonigsen.net - jostein@gmail.com --------------UmGm4sg0wK9RIRacnpGvGkAS Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

This bug can now be closed.

--------------UmGm4sg0wK9RIRacnpGvGkAS-- From unknown Fri Jun 20 07:13:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Feb 2023 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator