unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64456: Incorrect behavior of check-parens
@ 2023-07-03 18:41 Andrey Pudov
  2023-07-04 11:32 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Pudov @ 2023-07-03 18:41 UTC (permalink / raw)
  To: 64456

[-- Attachment #1: Type: text/plain, Size: 27502 bytes --]

From: Andrey Pudov <mail@andreypudov.com>
To: bug-gnu-emacs@gnu.org
Subject: 28.2; Incorrent behavior of check-parens
--text follows this line--

The following code snippet causes a problem with check-parens:

(defconst jetbrains-ligature-mode--ligatures
   '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
     "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
     "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
     "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
     "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
     "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
     "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
     "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
     ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
     "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
     "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
     "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
     "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
     "&="))

An error message:
Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 37, line_no: 75, input_x: 37, input_line_no: 75 }



In GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
 of 2022-09-12 built on armbob.lan
Windowing system distributor 'Apple', version 10.3.2299
System Description:  macOS 13.4

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS
TOOLKIT_SCROLL_BARS ZLIB

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

Major mode: ELisp/d

Minor modes in effect:
  git-gutter-mode: t
  parinfer-rust-mode: t
  eros-mode: t
  highlight-quoted-mode: t
  highlight-numbers-mode: t
  hl-todo-mode: t
  whitespace-mode: t
  vi-tilde-fringe-mode: t
  display-line-numbers-mode: t
  highlight-indent-guides-mode: t
  flycheck-popup-tip-mode: t
  +emacs-lisp-non-package-mode: t
  flyspell-lazy-mode: t
  flyspell-mode: t
  copilot-mode: t
  outline-minor-mode: t
  rainbow-delimiters-mode: t
  save-place-mode: t
  global-so-long-mode: t
  global-git-commit-mode: t
  shell-dirtrack-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  recentf-mode: t
  which-key-mode: t
  savehist-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  vertico-mode: t
  marginalia-mode: t
  volatile-highlights-mode: t
  gcmh-mode: t
  winner-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  undo-fu-session-global-mode: t
  undo-fu-session-mode: t
  undo-fu-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  doom-modeline-mode: t
  solaire-global-mode: t
  treemacs-project-follow-mode: t
  persp-mode: t
  treemacs-filewatch-mode: t
  treemacs-follow-mode: t
  treemacs-git-mode: t
  treemacs-fringe-indicator-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  delete-selection-mode: t
  projectile-mode: t
  ns-auto-titlebar-mode: t
  +popup-mode: t
  override-global-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  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
  window-divider-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/apu/.emacs.d/.local/straight/build-28.2/jsonrpc/jsonrpc hides /Applications/Development/Emacs.app/Contents/Resources/lisp/jsonrpc
/Users/apu/.emacs.d/.local/straight/build-28.2/transient/transient hides /Applications/Development/Emacs.app/Contents/Resources/lisp/transient
/Users/apu/.emacs.d/.local/straight/build-28.2/xref/xref hides /Applications/Development/Emacs.app/Contents/Resources/lisp/progmodes/xref
/Users/apu/.emacs.d/.local/straight/build-28.2/project/project hides /Applications/Development/Emacs.app/Contents/Resources/lisp/progmodes/project
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-exp hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-emacs-lisp hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/apu/.emacs.d/.local/straight/build-28.2/org/oc hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/oc
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-css hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-lob hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-irc hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-forth hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-macs hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-version hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-version
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-scheme hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-C hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-capture hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-ref hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-clojure hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-mouse hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-ctags hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-entities hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-archive hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-screen hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-bibtex hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-haskell hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-table hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-eww hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-man hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-man
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-org hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-num hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-plot hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-rmail hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-awk hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-groovy hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-octave hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-faces hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/apu/.emacs.d/.local/straight/build-28.2/org/oc-biblatex hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/oc-biblatex
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-colview hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-R hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-refile hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-refile
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-timer hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-mobile hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-fortran hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-shell hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-perl hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-sqlite hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/apu/.emacs.d/.local/straight/build-28.2/org/oc-basic hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/oc-basic
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-sed hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-list hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-ruby hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-eval hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-habit hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-clock hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-goto hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-html hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-src hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-lisp hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-eshell hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-ditaa hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-pcomplete hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-lint hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-latex hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-sass hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-tangle hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-calc hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-java hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-icalendar hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-icalendar
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-mhe hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-attach-git hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-attach-git
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-md hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-beamer hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-element hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-element
/Users/apu/.emacs.d/.local/straight/build-28.2/org/oc-natbib hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/oc-natbib
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-protocol hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-gnuplot hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-tempo hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-latex hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-w3m hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-id hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-man hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-doi hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-doi
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-feed hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-julia hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-julia
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-lua hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-table hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-ocaml hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/apu/.emacs.d/.local/straight/build-28.2/org/oc-csl hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/oc-csl
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-gnus hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-indent hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-lilypond hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-matlab hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-datetree hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-docview hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-python hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-makefile hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-makefile
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-duration hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-duration
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-agenda hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-dot hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-js hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-publish hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-inlinetask hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-org hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-keys hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-core hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-compat hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-odt hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-info hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-plantuml hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-eshell hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-ascii hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-loaddefs hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-loaddefs
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-koma-letter hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-koma-letter
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-maxima hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ol-bbdb hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-macro hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-sql hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-attach hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-processing hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-processing
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ox-texinfo hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-crypt hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/apu/.emacs.d/.local/straight/build-28.2/org/org-footnote hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/apu/.emacs.d/.local/straight/build-28.2/org/ob-comint hides /Applications/Development/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/apu/.emacs.d/.local/straight/build-28.2/map/map hides /Applications/Development/Emacs.app/Contents/Resources/lisp/emacs-lisp/map
/Users/apu/.emacs.d/.local/straight/build-28.2/eldoc/eldoc hides /Applications/Development/Emacs.app/Contents/Resources/lisp/emacs-lisp/eldoc

Features:
(mailalias mailclient shadow ispell flyspell mail-extr emacsbug sendmail
cus-start cus-load sort misearch multi-isearch anzu org-eldoc toc-org
org-superstar org-appear org-indent diary-lib diary-loaddefs cal-iso
parse-time org-fancy-priorities consult-flycheck consult magit-bookmark
treemacs-bookmarks treemacs-tags bookmark flycheck-cask view
hide-mode-line org-capture magit-todos pcre2el rxt re-builder async
treemacs-magit magit-autoloads 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 which-func magit-diff smerge-mode diff
magit-core magit-autorevert magit-margin magit-transient magit-process
magit-mode git-gutter-fringe fringe-helper git-gutter vc-git diff-mode
vc-dispatcher parinfer-rust-mode parinfer-rust-changes parinfer-rust
parinfer-rust-helper eros highlight-quoted highlight-numbers parent-mode
hl-todo jka-compr auto-minor-mode disp-table whitespace vi-tilde-fringe
display-line-numbers highlight-indent-guides oc-basic ol-bibtex bibtex
iso8601 flycheck-popup-tip popup flyspell-lazy copilot org-alert
org-agenda alert log4e notifications dbus xml gntp smartparens-org
org-yt org-element org-persist xdg org-id org-refile avl-tree 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 cal-menu calendar cal-loaddefs
editorconfig editorconfig-core editorconfig-core-handle
editorconfig-fnmatch jsonrpc warnings rainbow-delimiters saveplace
so-long git-commit magit-git magit-base magit-section crm with-editor
shell pcomplete transient log-edit message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils
gmm-utils mailheader pcvs-util add-log doom-snippets doom-snippets-lib
yasnippet recentf vertico-directory tree-widget wid-edit time-date
cursor-sensor vertico-repeat which-key savehist better-jumper vertico
orderless marginalia etags fileloop generator xref volatile-highlights
server autorevert gcmh winner smartparens-config smartparens-text
smartparens ws-butler undo-fu-session undo-fu flycheck-package
package-lint imenu finder finder-inf doom-packages package browse-url
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source
password-cache url-vars flycheck json map find-func doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
f f-shortdoc shortdoc compat compat-29 dtrt-indent advice
doom-themes-ext-treemacs all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons doom-themes-ext-org solaire-mode face-remap
doom-vibrant-theme doom-themes doom-themes-base org-crypt org-compat
org-version org-macs format-spec treemacs-project-follow-mode
treemacs-persp persp-mode treemacs-projectile treemacs
treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-interface treemacs-persistence treemacs-filewatch-mode
filenotify treemacs-follow-mode treemacs-rendering treemacs-annotations
treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator treemacs-scope eieio eieio-core eieio-loaddefs
pulse color treemacs-faces treemacs-icons treemacs-themes
treemacs-core-utils pfuture inline hl-line ht treemacs-logging
treemacs-customization treemacs-macros s dash delsel projectile project
lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr grep compile text-property-search comint ansi-color ring
ibuf-ext ibuffer ibuffer-loaddefs thingatpt let-alist ns-auto-titlebar
derived use-package-bind-key bind-key edmacro kmacro doom-editor
doom-projects doom-ui easy-mmode doom-keybinds pp cl-extra help-mode seq
byte-opt use-package-core bytecomp byte-compile cconv general rx
doom-start doom-modules cl-seq doom doom-lib cl-macs gv cl-loaddefs
cl-lib pcase jansson dynamic-modules subr-x iso-transl tooltip eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type 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 cl-generic 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 simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads kqueue
cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 919710 169390)
 (symbols 48 68090 11)
 (strings 32 187473 37618)
 (string-bytes 1 5924659)
 (vectors 16 83123)
 (vector-slots 8 1934851 264561)
 (floats 8 2111 1435)
 (intervals 56 9539 15)
 (buffers 992 30))


[-- Attachment #2: Type: text/html, Size: 42332 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#64456: Incorrect behavior of check-parens
  2023-07-03 18:41 bug#64456: Incorrect behavior of check-parens Andrey Pudov
@ 2023-07-04 11:32 ` Eli Zaretskii
  2023-07-04 12:25   ` Andrey Pudov
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2023-07-04 11:32 UTC (permalink / raw)
  To: Andrey Pudov; +Cc: 64456

> From: Andrey Pudov <mail@andreypudov.com>
> Date: Mon, 3 Jul 2023 18:41:20 +0000
> msip_labels: 
> 
> The following code snippet causes a problem with check-parens:
> 
> (defconst jetbrains-ligature-mode--ligatures 
>    '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
>      "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
>      "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
>      "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
>      "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
>      "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
>      "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
>      "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
>      ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
>      "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
>      "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
>      "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
>      "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
>      "&="))
> 
> An error message:
> Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 37, line_no: 75,
> input_x: 37, input_line_no: 75 }

I cannot reproduce this, neither with Emacs 28.2 nor with the current
emacs-29 branch.  Can you post a more detailed recipe, starting from
"emacs -Q"?

What I did:

  . copied the snippet you posted to a foo.el file
  . visited foo.el from 'emacs -Q"
  . typed "M-x check-parens RET"

This completed without any error messages.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#64456: Incorrect behavior of check-parens
  2023-07-04 11:32 ` Eli Zaretskii
@ 2023-07-04 12:25   ` Andrey Pudov
  2023-07-15  7:48     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Pudov @ 2023-07-04 12:25 UTC (permalink / raw)
  To: Eli Zaretskii, Andrey Pudov; +Cc: 64456@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 2130 bytes --]

Hey Eli,

Thank you for pointing this out to emacs -Q. This problem is definitely related somehow to my own setup. I am not able to reproduce the problem on emacs -Q. Will try to figure out which part of my configuration is causing it. Thank you again!


  *   Andrey

________________________________
From: Eli Zaretskii <eliz@gnu.org>
Sent: Tuesday, July 4, 2023 1:32 PM
To: Andrey Pudov <mail@andreypudov.com>
Cc: 64456@debbugs.gnu.org <64456@debbugs.gnu.org>
Subject: Re: bug#64456: Incorrect behavior of check-parens

> From: Andrey Pudov <mail@andreypudov.com>
> Date: Mon, 3 Jul 2023 18:41:20 +0000
> msip_labels:
>
> The following code snippet causes a problem with check-parens:
>
> (defconst jetbrains-ligature-mode--ligatures
>    '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
>      "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
>      "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
>      "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
>      "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
>      "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
>      "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
>      "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
>      ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
>      "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
>      "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
>      "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
>      "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
>      "&="))
>
> An error message:
> Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 37, line_no: 75,
> input_x: 37, input_line_no: 75 }

I cannot reproduce this, neither with Emacs 28.2 nor with the current
emacs-29 branch.  Can you post a more detailed recipe, starting from
"emacs -Q"?

What I did:

  . copied the snippet you posted to a foo.el file
  . visited foo.el from 'emacs -Q"
  . typed "M-x check-parens RET"

This completed without any error messages.

[-- Attachment #2: Type: text/html, Size: 6001 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#64456: Incorrect behavior of check-parens
  2023-07-04 12:25   ` Andrey Pudov
@ 2023-07-15  7:48     ` Eli Zaretskii
  2023-07-15  8:35       ` Andrey Pudov
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2023-07-15  7:48 UTC (permalink / raw)
  To: Andrey Pudov; +Cc: mail, 64456

Ping!  Any progress here?  Should this bug be closed?

> From: Andrey Pudov <mail@andreypudov.com>
> CC: "64456@debbugs.gnu.org" <64456@debbugs.gnu.org>
> Date: Tue, 4 Jul 2023 12:25:24 +0000
> 
> Hey Eli, 
> 
> Thank you for pointing this out to emacs -Q. This problem is definitely related somehow to my own
> setup. I am not able to reproduce the problem on emacs -Q. Will try to figure out which part of my
> configuration is causing it. Thank you again!
> 
> * Andrey
> 
> ------------------------------------------------------------------------------
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Tuesday, July 4, 2023 1:32 PM
> To: Andrey Pudov <mail@andreypudov.com>
> Cc: 64456@debbugs.gnu.org <64456@debbugs.gnu.org>
> Subject: Re: bug#64456: Incorrect behavior of check-parens 
>  
> > From: Andrey Pudov <mail@andreypudov.com>
> > Date: Mon, 3 Jul 2023 18:41:20 +0000
> > msip_labels: 
> > 
> > The following code snippet causes a problem with check-parens:
> > 
> > (defconst jetbrains-ligature-mode--ligatures 
> >    '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
> >      "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
> >      "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
> >      "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
> >      "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
> >      "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
> >      "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
> >      "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
> >      ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
> >      "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
> >      "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
> >      "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
> >      "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
> >      "&="))
> > 
> > An error message:
> > Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 37, line_no: 75,
> > input_x: 37, input_line_no: 75 }
> 
> I cannot reproduce this, neither with Emacs 28.2 nor with the current
> emacs-29 branch.  Can you post a more detailed recipe, starting from
> "emacs -Q"?
> 
> What I did:
> 
>   . copied the snippet you posted to a foo.el file
>   . visited foo.el from 'emacs -Q"
>   . typed "M-x check-parens RET"
> 
> This completed without any error messages.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#64456: Incorrect behavior of check-parens
  2023-07-15  7:48     ` Eli Zaretskii
@ 2023-07-15  8:35       ` Andrey Pudov
  2023-07-15  9:01         ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Pudov @ 2023-07-15  8:35 UTC (permalink / raw)
  To: Eli Zaretskii, Andrey Pudov; +Cc: 64456@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 2883 bytes --]

Hey Eli,

Please close the issue. It is related to Doom Emacs configuration. Thank you a lot!

Andrey
________________________________
From: Eli Zaretskii <eliz@gnu.org>
Sent: Saturday, July 15, 2023 9:48 AM
To: Andrey Pudov <mail@andreypudov.com>
Cc: mail@andreypudov.com <mail@andreypudov.com>; 64456@debbugs.gnu.org <64456@debbugs.gnu.org>
Subject: Re: bug#64456: Incorrect behavior of check-parens

Ping!  Any progress here?  Should this bug be closed?

> From: Andrey Pudov <mail@andreypudov.com>
> CC: "64456@debbugs.gnu.org" <64456@debbugs.gnu.org>
> Date: Tue, 4 Jul 2023 12:25:24 +0000
>
> Hey Eli,
>
> Thank you for pointing this out to emacs -Q. This problem is definitely related somehow to my own
> setup. I am not able to reproduce the problem on emacs -Q. Will try to figure out which part of my
> configuration is causing it. Thank you again!
>
> * Andrey
>
> ------------------------------------------------------------------------------
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Tuesday, July 4, 2023 1:32 PM
> To: Andrey Pudov <mail@andreypudov.com>
> Cc: 64456@debbugs.gnu.org <64456@debbugs.gnu.org>
> Subject: Re: bug#64456: Incorrect behavior of check-parens
>
> > From: Andrey Pudov <mail@andreypudov.com>
> > Date: Mon, 3 Jul 2023 18:41:20 +0000
> > msip_labels:
> >
> > The following code snippet causes a problem with check-parens:
> >
> > (defconst jetbrains-ligature-mode--ligatures
> >    '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
> >      "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
> >      "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
> >      "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
> >      "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
> >      "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
> >      "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
> >      "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
> >      ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
> >      "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
> >      "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
> >      "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
> >      "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
> >      "&="))
> >
> > An error message:
> > Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 37, line_no: 75,
> > input_x: 37, input_line_no: 75 }
>
> I cannot reproduce this, neither with Emacs 28.2 nor with the current
> emacs-29 branch.  Can you post a more detailed recipe, starting from
> "emacs -Q"?
>
> What I did:
>
>   . copied the snippet you posted to a foo.el file
>   . visited foo.el from 'emacs -Q"
>   . typed "M-x check-parens RET"
>
> This completed without any error messages.

[-- Attachment #2: Type: text/html, Size: 6816 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#64456: Incorrect behavior of check-parens
  2023-07-15  8:35       ` Andrey Pudov
@ 2023-07-15  9:01         ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2023-07-15  9:01 UTC (permalink / raw)
  To: Andrey Pudov; +Cc: mail, 64456-done

> From: Andrey Pudov <mail@andreypudov.com>
> CC: "64456@debbugs.gnu.org" <64456@debbugs.gnu.org>
> Date: Sat, 15 Jul 2023 08:35:52 +0000
> 
> Hey Eli,
> 
> Please close the issue. It is related to Doom Emacs configuration. Thank you a lot!

Thanks, done.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-15  9:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03 18:41 bug#64456: Incorrect behavior of check-parens Andrey Pudov
2023-07-04 11:32 ` Eli Zaretskii
2023-07-04 12:25   ` Andrey Pudov
2023-07-15  7:48     ` Eli Zaretskii
2023-07-15  8:35       ` Andrey Pudov
2023-07-15  9:01         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).