X-Loop: help-debbugs@HIDDEN Subject: bug#71273: 30.0.50; (bounds-of-things-at-point 'string) identify error in js-ts-mode Resent-From: =?UTF-8?Q?=E5=BC=A0=E6=97=AD?= <cheunghsu@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 30 May 2024 08:52:02 +0000 Resent-Message-ID: <handler.71273.B.171705908231012 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71273 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71273 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171705908231012 (code B ref -1); Thu, 30 May 2024 08:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2024 08:51:22 +0000 Received: from localhost ([127.0.0.1]:53314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sCbVI-000840-N0 for submit <at> debbugs.gnu.org; Thu, 30 May 2024 04:51:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:57022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <cheunghsu@HIDDEN>) id 1sCa5s-0004dv-Ei for submit <at> debbugs.gnu.org; Thu, 30 May 2024 03:21:01 -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 <cheunghsu@HIDDEN>) id 1sCa5h-0007tK-OW for bug-gnu-emacs@HIDDEN; Thu, 30 May 2024 03:20:49 -0400 Received: from cu-gy11p00im-quki08143001.gy.silu.net ([157.255.1.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <cheunghsu@HIDDEN>) id 1sCa5d-0006Hq-CC for bug-gnu-emacs@HIDDEN; Thu, 30 May 2024 03:20:47 -0400 Received: from smtpclient.apple (gy11p00im-asmtpcmvip.gy.silu.net [112.19.199.76]) by gy11p00im-quki08143001.gy.silu.net (Postfix) with ESMTPS id 7E94628E00E2 for <bug-gnu-emacs@HIDDEN>; Thu, 30 May 2024 07:20:32 +0000 (UTC) From: =?UTF-8?Q?=E5=BC=A0=E6=97=AD?= <cheunghsu@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Message-Id: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> Date: Thu, 30 May 2024 15:20:19 +0800 X-Mailer: Apple Mail (2.3774.600.62) X-Proofpoint-GUID: D1fS1BuFRzVM6qwYfzfanD88vzaRntAZ X-Proofpoint-ORIG-GUID: D1fS1BuFRzVM6qwYfzfanD88vzaRntAZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-29_16,2024-05-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2405300026 Received-SPF: pass client-ip=157.255.1.66; envelope-from=cheunghsu@HIDDEN; helo=cu-gy11p00im-quki08143001.gy.silu.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Thu, 30 May 2024 04:51:16 -0400 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: -2.3 (--) In jsx file and js-ts-mode enabled, when called = (bounds-of-things-at-point 'string), it return wrong position range. e.g. function testExample (){ return ( <B1main> <Link to=3D'?type=3D A jedi'></Link> </mainB2> )} when cursor is at position A, and called (bounds-of-things-at-point 'string), it will return range (B1 . B2) rather than range of single = quote. In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.5.0, NS appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-05-22 built on 192.168.0.103 Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.5 Configured using: 'configure --enable-locallisppath=3D/opt/homebrew/share/emacs/site-lisp --infodir=3D/opt/homebrew/Cellar/emacs-head@30/30.0.50_1/share/info/emacs --prefix=3D/opt/homebrew/Cellar/emacs-head@30/30.0.50_1 --without-x --without-dbus --with-imagemagick --with-modules --with-gnutls --with-rsvg --with-xml2 --with-xwidgets --with-webp --with-ns --disable-ns-self-contained 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: JavaScript Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t auto-revert-mode: t lisp-keyword-indent-mode: t eros-mode: t server-mode: t pixel-scroll-precision-mode: t save-place-mode: t recentf-mode: t savehist-mode: t marginalia-mode: t vertico-multiform-mode: t vertico-mode: t lsp-bridge-mode: t yas-global-mode: t yas-minor-mode: t which-key-mode: t repeat-help-mode: t repeat-mode: t mini-echo-mode: t global-hide-mode-line-mode: t hide-mode-line-mode: t global-page-break-lines-mode: t global-colorful-mode: t diff-hl-margin-local-mode: t diff-hl-margin-mode: t diff-hl-flydiff-mode: t global-diff-hl-mode: t diff-hl-mode: t shackle-mode: t dirvish-override-dired-mode: t undo-fu-session-global-mode: t undo-fu-session-mode: t hl-line-mode: t subword-mode: t outline-minor-mode: t rainbow-delimiters-mode: t highlight-parentheses-mode: t flymake-mode: t global-atomic-chrome-edit-mode: t global-hungry-delete-mode: t hungry-delete-mode: t global-pangu-spacing-mode: t pangu-spacing-mode: t global-hl-todo-mode: t hl-todo-mode: t simpleclip-mode: t binky-margin-mode: t binky-margin-local-mode: t binky-mode: t goto-address-prog-mode: t global-goto-address-mode: t goto-address-mode: t electric-pair-mode: t keyfreq-autosave-mode: t keyfreq-mode: t global-treesit-auto-mode: t denote-rename-buffer-mode: t denote-menu-bar-mode: t global-mise-mode: t mise-mode: t global-dash-fontify-mode: t meow-global-mode: t meow-mode: t meow-normal-mode: t delete-selection-mode: t meow-esc-mode: t elispfl-ielm-mode: t elispfl-mode: t gcmh-mode: t leaf-key-override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t window-divider-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-save-visited-mode: t hs-minor-mode: t Load-path shadows: /Users/liuyinz/.config/emacs/lib/compat/compat hides = /opt/homebrew/Cellar/emacs-head@30/30.0.50_1/share/emacs/30.0.50/lisp/emac= s-lisp/compat Features: (shadow sort mail-extr emacsbug elisp-demos info-colors tramp-cmds package-lint finder finder-inf helpful cc-langs edebug debug backtrace info-look f elisp-refs s shortdoc comp-common help-fns apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context magit-bookmark magit-submodule 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 package url-handlers magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor magit-mode browse-url url url-proxy url-privacy url-expand url-methods url-history mailcap magit-git magit-base magit-section crm vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs ibuffer-vc ibuf-ext ibuffer ibuffer-loaddefs vterm term ehelp vterm-module term/xterm xterm flymake-collection-eslint flymake-collection jtsx typescript-ts-mode js c-ts-common cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vertico-directory cursor-sensor consult-imenu imenu consult-register consult-xref consult bookmark network-stream puny nsm exec-path-from-shell sis flymake-bridge checkdoc lisp-keyword-indent eros pp server pixel-scroll cua-base saveplace recentf tree-widget wid-edit savehist duplexer marginalia orderless vertico-multiform vertico init-bridge-detect lsp-bridge tramp trampver tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 time-date tramp-loaddefs lsp-bridge-semantic-tokens lsp-bridge-dart lsp-bridge-inlay-hint lsp-bridge-org-babel lsp-bridge-lsp-installer lsp-bridge-diagnostic lsp-bridge-code-action acm acm-quick-access acm-backend-jupyter acm-backend-org-roam acm-backend-copilot acm-backend-codeium acm-backend-ctags acm-backend-citre acm-backend-tabnine acm-backend-telega acm-backend-tempel acm-backend-search-sdcv-words acm-backend-search-file-words acm-backend-path acm-backend-lsp acm-backend-elisp acm-backend-yas yasnippet-collection yasnippet acm-icon svg dom lsp-bridge-call-hierarchy lsp-bridge-peek lsp-bridge-jdtls lsp-bridge-ref grep lsp-bridge-epc acm-frame markdown-mode edit-indirect which-key repeat-help repeat mini-echo hide-mode-line face-remap page-break-lines colorful-mode diff-hl-margin diff-hl-dired diff-hl-flydiff diff diff-hl log-view pcvs-util vc-dir ewoc vc shackle trace cl-print dirvish derived undo-fu-session vc-git diff-mode track-changes vc-dispatcher flymake-relint relint xr hl-line cap-words superword subword noutline outline hideshow rainbow-delimiters highlight-parentheses flymake compile text-property-search comint ansi-osc ansi-color warnings jka-compr atomic-chrome websocket url-cookie url-domsuf url-util url-parse auth-source icons password-cache url-vars bindat let-alist hungry-delete pangu-spacing hl-todo simpleclip binky-margin binky pulse goto-addr elec-pair-extra elec-pair keyfreq flymake-collection-hook treesit-auto treesit denote-rename-buffer denote dired dired-loaddefs xref ring mise inheritenv json map init-env init-key init-gui init-write init-markdown init-lang init-web init-project project init-reader init-vcs init-format init-flymake init-ide init-color init-benchmark init-package init-passwd init-tool pinyinlib init-spell init-diff init-pair isolate init-jump init-edit copy-as-format xml tabify coercion init-undo psearch find-func thingatpt init-dired init-ibuffer ibuf-macs init-window init-highlight init-ui doom-city-lights-theme doom-themes doom-themes-base mini-echo-segments dash init-bridge init-yas init-outline init-embark init-consult init-minibuffer init-meow meow meow-tutor meow-cheatsheet meow-cheatsheet-layout meow-core meow-shims delsel meow-esc meow-command array meow-beacon meow-thing meow-visual meow-keypad meow-helpers meow-util color meow-keymap meow-face meow-var init-duplexer init-builtin transient format-spec eieio eieio-core edmacro kmacro byte-opt disp-table init-elisp elispfl advice init-font init-bootstrap no-littering compat gcmh leaf zig-mode-autoloads yasnippet-collection-autoloads yasnippet-autoloads xterm-color-autoloads xr-autoloads with-proxy-autoloads with-editor-autoloads web-mode-autoloads vundo-autoloads vue-ts-mode-autoloads visual-fill-column-autoloads vertico-autoloads vc-msg-autoloads valign-autoloads undo-hl-autoloads typst-ts-mode-autoloads typst-preview-autoloads ts-docstr-autoloads treesit-auto-autoloads transpose-frame-autoloads transient-showcase-autoloads testrun-autoloads terminal-focus-reporting-autoloads tera-mode-autoloads swift-ts-mode-autoloads super-save-autoloads ssh-config-mode-el-autoloads spinner-autoloads skewer-mode-autoloads simpleclip-autoloads shrink-path-autoloads shackle-autoloads separedit-autoloads selected-autoloads screenshot-autoloads s-autoloads rsync-mode-autoloads rg-autoloads reverso-autoloads restclient-autoloads repeat-help-autoloads relint-autoloads redacted-autoloads rainbow-delimiters-autoloads quicktype-autoloads quickrun-autoloads psearch-autoloads proxy-mode-autoloads posframe-autoloads popup-el-autoloads popper-autoloads plz-see-autoloads plz-autoloads plur-autoloads pip-requirements-autoloads rx pinyinlib-autoloads pcre2el-autoloads pangu-spacing-autoloads pandoc-mdoe-autoloads page-break-lines-autoloads package-lint-autoloads ox-gfm-autoloads orderless-autoloads on-autoloads olivetti-autoloads obvious-autoloads nodejs-repl-autoloads no-littering-autoloads mode-minder-autoloads mise-autoloads mini-echo-autoloads mermaid-ts-mode-autoloads meow-autoloads markdown-toc-autoloads markdown-mode-autoloads marginalia-autoloads magit-autoloads macrostep-autoloads lsp-bridge-autoloads lisp-keyword-indent-autoloads license-templates-autoloads leaf-autoloads keyfreq-autoloads keycast-autoloads jtsx-autoloads jq-ts-mode-autoloads jinx-autoloads isolate-autoloads insecure-lock-autoloads inheritenv-autoloads info-colors-autoloads impatient-mode-autoloads igist-autoloads ibuffer-vc-autoloads hydra-autoloads hungry-delete-autoloads hugo-autoloads ht-autoloads hsluv-emacs-autoloads hl-todo-autoloads highlight-parentheses-autoloads highlight-defined-autoloads helpful-autoloads handlebars-mode-autoloads grip-mode-autoloads graphql-mode-autoloads gitignore-templates-autoloads git-timemachine-autoloads git-modes-autoloads git-link-autoloads git-cliff-autoloads gcmh-autoloads focus-autoloads flymake-relint-autoloads flymake-collection-autoloads cl-macs gv flymake-bridge-autoloads file-info-autoloads f-autoloads exec-path-from-shell-autoloads etrace-autoloads eros-autoloads envrc-autoloads embark-autoloads emacs-which-key-autoloads Emacs-wgrep-autoloads emacs-websocket-autoloads emacs-web-server-autoloads emacs-undo-fu-session-autoloads emacs-sql-indent-autoloads emacs-smart-input-source-autoloads emacs-request-autoloads emacs-popon-autoloads emacs-opencc-autoloads emacs-libvterm-autoloads emacs-htmlize-autoloads emacs-hide-mode-line-autoloads emacs-easy-hugo-autoloads emacs-doom-themes-autoloads emacs-async-autoloads elispfl-autoloads elisp-refs-autoloads elisp-demos-autoloads elfeed-webkit-autoloads elfeed-autoloads elec-pair-extra-autoloads edit-indirect-autoloads dwim-shell-command-autoloads duplexer-autoloads dockerfile-mode-autoloads dirvish-autoloads diredfl-autoloads diff-hl-autoloads denote-menu-autoloads denote-hugo-autoloads denote-explore-autoloads denote-autoloads deno-bridge-autoloads dash-autoloads ct-autoloads csv-mode-autoloads copy-as-format-autoloads consult-yasnippet-autoloads consult-todo-autoloads consult-dir-autoloads consult-denote-autoloads consult-autoloads compat-autoloads combobulate-autoloads colorful-mode-autoloads coercion-autoloads clojure-mode-autoloads citre-autoloads browse-at-remote-autoloads borg-autoloads binky-autoloads bicycle-autoloads benchmark-init-el-autoloads authinfo-color-mode-autoloads atomic-chrome-autoloads apheleia-autoloads easy-mmode ansi-autoloads adoc-mode-autoloads cl-extra help-mode acm-terminal-autoloads cl-seq borg loaddefs-gen generate-lisp-file lisp-mnt radix-tree subr-x pcase info cl-loaddefs cl-lib bytecomp byte-compile init-define rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 xwidget-internal kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 782618 574547) (symbols 48 79878 87) (strings 32 229019 36062) (string-bytes 1 6055144) (vectors 16 68353) (vector-slots 8 699601 139432) (floats 8 791 8512) (intervals 56 40284 13040) (buffers 992 55))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?=E5=BC=A0=E6=97=AD?= <cheunghsu@HIDDEN> Subject: bug#71273: Acknowledgement (30.0.50; (bounds-of-things-at-point 'string) identify error in js-ts-mode) Message-ID: <handler.71273.B.171705908231012.ack <at> debbugs.gnu.org> References: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> X-Gnu-PR-Message: ack 71273 X-Gnu-PR-Package: emacs Reply-To: 71273 <at> debbugs.gnu.org Date: Thu, 30 May 2024 08:52:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 71273 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71273: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71273 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71273: 30.0.50; (bounds-of-things-at-point 'string) identify error in js-ts-mode Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 30 May 2024 11:16:01 +0000 Resent-Message-ID: <handler.71273.B71273.171706773824978 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71273 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E5=BC=A0=E6=97=AD?= <cheunghsu@HIDDEN> Cc: 71273 <at> debbugs.gnu.org Received: via spool by 71273-submit <at> debbugs.gnu.org id=B71273.171706773824978 (code B ref 71273); Thu, 30 May 2024 11:16:01 +0000 Received: (at 71273) by debbugs.gnu.org; 30 May 2024 11:15:38 +0000 Received: from localhost ([127.0.0.1]:58354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sCdkw-0006Un-CI for submit <at> debbugs.gnu.org; Thu, 30 May 2024 07:15:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sCdkt-0006UI-Ol; Thu, 30 May 2024 07:15:37 -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 1sCdiY-0000o9-6h; Thu, 30 May 2024 07:13:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LOZdApUaGxLdngzeGZ3EuF90yqNoA3zLYnahV/LuAWo=; b=aGsLV/PcQSzuoCp0U8t+ 8Yoh1YUxFbsL1kvYuVV/R1ahIPN812o0l8upSBuPGg6rj/gIcS3Dr8T2v+tU96vCxdxYFnKVJJdcj BT2DnsZ6fJcDlnDBqYKhuTFOGCWAe0eooMm+Iuv5eoCAcNZmglf5dwecw7cg8yWMSSW8vyGH0USbc CYxoPnjxSFD5najar/k4lwiXMqKDwP6o2mg17MmNxsWtAu/9P9gv+nVPAGtPCnDKWUBA6p64n9iVc x06H8a0Vsconj2ppRdkaSPM64eD651KV6h1sgshOzeFoCx6hJ0I3/PRRC/pQmQNkRAYMuu89sqrTV PJujce7JZREH5g==; Date: Thu, 30 May 2024 14:13:07 +0300 Message-Id: <86r0djr1rw.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) merge 71273 71272 thanks > Date: Thu, 30 May 2024 15:20:19 +0800 > From: 张旭 via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > > > In jsx file and js-ts-mode enabled, when called (bounds-of-things-at-point 'string), > it return wrong position range. e.g. > > function testExample (){ > return ( > <B1main> > <Link to='?type= A jedi'></Link> > </mainB2> > )} > when cursor is at position A, and called (bounds-of-things-at-point > 'string), it will return range (B1 . B2) rather than range of single quote. This is an exact duplicate of bug#71272 that you submitted just a few moments ago. Merging.
Received: (at control) by debbugs.gnu.org; 30 May 2024 11:15:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 30 07:15:39 2024 Received: from localhost ([127.0.0.1]:58356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sCdkw-0006Up-N7 for submit <at> debbugs.gnu.org; Thu, 30 May 2024 07:15:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sCdkt-0006UI-Ol; Thu, 30 May 2024 07:15:37 -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 1sCdiY-0000o9-6h; Thu, 30 May 2024 07:13:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LOZdApUaGxLdngzeGZ3EuF90yqNoA3zLYnahV/LuAWo=; b=aGsLV/PcQSzuoCp0U8t+ 8Yoh1YUxFbsL1kvYuVV/R1ahIPN812o0l8upSBuPGg6rj/gIcS3Dr8T2v+tU96vCxdxYFnKVJJdcj BT2DnsZ6fJcDlnDBqYKhuTFOGCWAe0eooMm+Iuv5eoCAcNZmglf5dwecw7cg8yWMSSW8vyGH0USbc CYxoPnjxSFD5najar/k4lwiXMqKDwP6o2mg17MmNxsWtAu/9P9gv+nVPAGtPCnDKWUBA6p64n9iVc x06H8a0Vsconj2ppRdkaSPM64eD651KV6h1sgshOzeFoCx6hJ0I3/PRRC/pQmQNkRAYMuu89sqrTV PJujce7JZREH5g==; Date: Thu, 30 May 2024 14:13:07 +0300 Message-Id: <86r0djr1rw.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?B?5byg5pet?= <cheunghsu@HIDDEN> In-Reply-To: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#71273: 30.0.50; (bounds-of-things-at-point 'string) identify error in js-ts-mode References: <0501F6C7-94F3-473D-B0BA-46F92F71BD6D@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 71273 <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 (---) merge 71273 71272 thanks > Date: Thu, 30 May 2024 15:20:19 +0800 > From: 张旭 via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > > > In jsx file and js-ts-mode enabled, when called (bounds-of-things-at-point 'string), > it return wrong position range. e.g. > > function testExample (){ > return ( > <B1main> > <Link to='?type= A jedi'></Link> > </mainB2> > )} > when cursor is at position A, and called (bounds-of-things-at-point > 'string), it will return range (B1 . B2) rather than range of single quote. This is an exact duplicate of bug#71272 that you submitted just a few moments ago. Merging.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.