From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 11:38:30 2022 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 16:38:30 +0000 Received: from localhost ([127.0.0.1]:53987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4loz-0000bx-SI for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:38:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:44464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4lox-0000br-CG for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:38:28 -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 1p4lox-0005VP-3e for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:38:27 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4lot-00068Q-4Z for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:38:26 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B391C240103 for ; Mon, 12 Dec 2022 17:38:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1670863096; bh=OELrTkr1WDSk3/ZOodSIU16saHGxUjFpX3wsg9WnNBc=; h=From:To:Subject:Date:From; b=LeP59d+BSc29GdigamOgsGdQyD/MqQdtwdyeO/5xdgxC47sENQVP8FmM4C0QJHfrn SPuBCj6A7ZZpB5rhFjiPTJY+O2elQ9mbGsTQBDDmD+Koyx1IlpdkmaEt+QDPZc5pv4 YMOf6r501w1ySwxFnccgo+1is6xLnZzHQBf/FRVSr647YMbriwtOsNkPHoOM0dewaZ B6ausxyAmBB571gA/9uk6Dj+0iVtZ+3/iXjkstVXNXfmv28fJv3LfZ9vZif26uldgS NSPJ6VwY1cj6KkJmmgk6wGFy4KqQLHtokEqbl2dQJx1CJ7L/u2GJRJrCPefKM7oa3z 5CYwGxT4ePOhQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NW6kZ6sKkz6tmf for ; Mon, 12 Dec 2022 17:38:12 +0100 (CET) From: Aleksandr Vityazev To: bug-gnu-emacs@gnu.org Subject: 30.0.50; bug-reference-prog-mode: Error during redisplay with tree-sitter modes Date: Mon, 12 Dec 2022 16:38:10 +0000 Message-ID: <87wn6wh91p.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=avityazev@posteo.org; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, The error was discovered when I was watching https://github.com/zevlg/telega.el. I will add copies of the necessary files from there to reproduce the behavior. 1. mkidr ~/test-project 2. mv test-project 2. Add a .dir-locals.el file with the following content: --8<---------------cut here---------------start------------->8--- ;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") ((nil . ((bug-reference-url-format . "https://github.com/zevlg/telega.el/issues/%s") (bug-reference-bug-regexp . "")))) --8<---------------cut here---------------end--------------->8--- 3. Add Dockerfile file with the following content: --8<---------------cut here---------------start------------->8--- FROM alpine:latest AS builder ARG tdlib_branch=master ARG telega_branch=master CMD ["/bin/bash"] --8<---------------cut here---------------end--------------->8--- 4. with emacs -Q (add-hook 'prog-mode-hook 'bug-reference-prog-mode) 5. C-x C-f ~/test-project/Dockerfile 6. The file will be opened with dockerfile-ts-mode 7. See that syntax highlighting does not work At this time the following should be in the *Messages* buffer: Error during redisplay: (jit-lock-function 1) signaled (invalid-regexp "Unmatched ( or \\(") You can get the same if you add some C file and open it with c-ts-mode. If you open the file in normal c-mode. There are no such errors. I do not see any errors in the regular expression - "". In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) System Description: Guix System Configured using: 'configure CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash --prefix=/gnu/store/lhhh9jsxc05pw24151ibdj8d4j1d8b4j-emacs-rrr-next-30.0.50-29.77d0793 --enable-fast-install --with-pgtk --without-libsystemd --with-tree-sitter --with-xwidgets --with-native-compilation --with-modules --with-cairo --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/akagi/.guix-home/profile/share/emacs/site-lisp:/gnu/store/lhhh9jsxc05pw24151ibdj8d4j1d8b4j-emacs-rrr-next-30.0.50-29.77d0793/share/emacs/30.0.50/lisp value of $EMACSNATIVELOADPATH: /home/akagi/.guix-home/profile/lib/emacs/native-site-lisp value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: telega-adblock-mode: t telega-x-mode: t global-telega-mnz-mode: t telega-root-auto-fill-mode: t telega-active-locations-mode: t telega-patrons-mode: t telega-notifications-mode: t openwith-mode: t skempo-mode: t highlight-defined-mode: t eros-mode: t flymake-mode: t debbugs-browse-mode: t bug-reference-prog-mode: t hl-line-mode: t hl-todo-mode: t page-break-lines-mode: t diff-hl-mode: t pixel-scroll-mode: t fancy-battery-mode: t display-time-mode: t global-so-long-mode: t savehist-mode: t save-place-mode: t reverse-im-mode: t minibuffer-depth-indicate-mode: t electric-pair-mode: t company-posframe-mode: t global-company-mode: t company-mode: t av-compile-mode: t midnight-mode: t global-guix-prettify-mode: t guix-prettify-mode: t project-x-mode: t org-roam-db-autosync-mode: t recentf-mode: t server-mode: t hes-mode: t envrc-global-mode: t envrc-mode: t shell-dirtrack-mode: t global-auto-revert-mode: t prot-vc-git-setup-mode: t marginalia-mode: t vertico-mode: t mood-line-mode: t fnhh-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: 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 abbrev-mode: t Load-path shadows: /gnu/store/qs2hwr0l3nkay905aqz11f6dajq12gwy-emacs-soap-client-3.2.1/share/emacs/site-lisp/soap-client-3.2.1/soap-inspect hides /gnu/store/lhhh9jsxc05pw24151ibdj8d4j1d8b4j-emacs-rrr-next-30.0.50-29.77d0793/share/emacs/30.0.50/lisp/net/soap-inspect /gnu/store/qs2hwr0l3nkay905aqz11f6dajq12gwy-emacs-soap-client-3.2.1/share/emacs/site-lisp/soap-client-3.2.1/soap-client hides /gnu/store/lhhh9jsxc05pw24151ibdj8d4j1d8b4j-emacs-rrr-next-30.0.50-29.77d0793/share/emacs/30.0.50/lisp/net/soap-client Features: (shadow sort av-message mail-extr disass dabbrev org-eldoc oc-basic av-eww find-dired c-ts-mode flymake-cc eglot external-completion array jsonrpc ert consult-xref org-tree-slide org-timer org-clock consult-flymake smerge-mode diff telega-adblock telega-x ol-telega telega-mnz telega-dired-dwim telega-obsolete telega telega-tdlib-events telega-webpage visual-fill-column telega-match telega-root telega-info telega-chat telega-modes telega-company telega-emoji telega-user telega-notifications telega-voip telega-msg telega-tme telega-sticker telega-i18n telega-vvnote bindat telega-ffplay telega-sort telega-filter telega-ins telega-folders telega-inline telega-util telega-media telega-tdlib rainbow-identifiers telega-server telega-core cursor-sensor telega-customize emacsbug av-ispell ispell consult-imenu debug backtrace checkdoc dired-aux dired-x gnus-dired diff-hl-dired pulsar pulse color project-rg rg rg-info-hack rg-menu rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer ibuffer-loaddefs grep av-x av-comm elisp-demos shortdoc cl-print av-ace-window ace-window copyright executable misearch multi-isearch av-vc guix-devel edit-indirect guix-misc guix-ui guix-ui-messages bui bui-list bui-info bui-entry bui-core bui-history bui-button tramp-sh tramp-cmds mule-util autoinsert dockerfile-ts-mode treesit vertico-repeat smtpmail openwith orderless ebdb-message ebdb-gnus gnus-msg ebdb-mua ebdb-com crm ebdb-format ebdb eieio-opt speedbar ezimage dframe eieio-base timezone company-elisp package-lint-flymake package-lint let-alist imenu finder finder-inf lisp-mnt package url-handlers av-skempo skempo skeleton mode-local highlight-defined eros av-company-elisp flymake-guile flymake-proc flymake av-flymake vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs debbugs-browse bug-reference hl-line hl-todo disp-table page-break-lines diff-hl log-view vc-dir ewoc pixel-scroll cua-base fancy-battery battery time so-long savehist saveplace reverse-im quail mb-depth elec-pair company-files company-keywords company-dabbrev-code company-dabbrev company-capf company-ebdb company-posframe posframe company pcase av-compile midnight guix-prettify guix-auto-mode guix-read guix-help-vars guix-repl guix-profiles guix-geiser guix-guile geiser-mode geiser-xref geiser-compile geiser-guile info-look info transient edmacro geiser-debug geiser-repl compile geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit etags fileloop xref project-x project geiser-completion geiser-eval geiser-connection tq geiser-syntax al-scheme scheme geiser-log geiser-popup view guix-external guix-utils bui-utils guix-config guix-build-config guix appt diary-lib diary-loaddefs org-roam-x ucs-normalize org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-attach ob-elixir org-crypt org-tempo tempo ob-clojure ob-scheme geiser-impl help-fns radix-tree geiser-custom geiser-base geiser ob-ledger ob-latex ob-shell ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs org-element org-persist org-id avl-tree generator ol-w3m ol-rmail ol-mhe ol-irc ol-info org-habit av-org-agenda org-agenda org-refile ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win ol-eww eww url-queue shr pixel-fill kinsoku url-file svg dom av-browse-url embark-consult av-consult consult-vertico consult av-recentf recentf tree-widget kmacro bookmark av-embark password-store auth-source-pass with-editor comp comp-cstr server embark ffap avy browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse url-vars mm-url gnus nnheader range ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb 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 russian-holidays cal-menu calendar cal-loaddefs org-version org-compat org-macs emacsql-sqlite advice emacsql emacsql-compiler magit-section compat-27 compat-26 compat compat-macs highlight-escape-sequences envrc inheritenv thingatpt dtache-shell dtache tramp-cache time-stamp tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-osc ansi-color parse-time iso8601 ls-lisp format-spec auth-source cl-seq eieio json map byte-opt bytecomp byte-compile notifications dbus xml autorevert filenotify vc-git diff-mode easy-mmode prot-vc prot-common log-edit message sendmail mailcap yank-media puny dired-subtree dired-hacks-utils dash dired dired-loaddefs rfc822 mml mml-sec password-cache gnus-util text-property-search time-date subr-x mm-decode mm-bodies cus-start mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log vc vc-dispatcher epa-file epa derived epg rfc6068 epg-config av-elisp marginalia vertico-x vertico mood-line cl-extra help-mode smart-hungry-delete warnings nordrrr-theme delsel fnhh cus-edit pp cus-load icons wid-edit company-ebdb-autoloads soap-client-autoloads debbugs-autoloads ebdb-autoloads eieio-core cl-macs gv cl-loaddefs cl-lib transmission-autoloads seriestracker-autoloads youtube-dl-autoloads eenime-autoloads ytel-autoloads emms-autoloads elixir-ts-mode-autoloads inf-elixir-autoloads ob-elixir-autoloads flymake-kondor-autoloads kibit-helper-autoloads anakondo-autoloads spinner-autoloads sesman-autoloads queue-autoloads epl-autoloads pkg-info-autoloads parseclj-autoloads a-autoloads parseedn-autoloads clojure-mode-autoloads cider-autoloads sly-stepper-autoloads popup-autoloads sly-asdf-autoloads eros-autoloads sly-autoloads flymake-guile-autoloads al-scheme-autoloads info-colors-autoloads elisp-demos-autoloads esh-help-autoloads srfi-autoloads git-timemachine-autoloads browse-at-remote-autoloads git-email-autoloads prot-vc-autoloads diff-hl-autoloads password-store-autoloads oauth2-autoloads shikimori-autoloads request-autoloads mastodon-autoloads elpher-autoloads dtache-autoloads vterm-autoloads flymake-shellcheck-autoloads inheritenv-autoloads envrc-autoloads marginalia-autoloads orderless-autoloads vertico-x-autoloads vertico-autoloads highlight-escape-sequences-autoloads highlight-defined-autoloads page-break-lines-autoloads mood-line-autoloads nordrrr-autoloads hl-todo-autoloads multitran-autoloads synosaurus-autoloads adaptive-wrap-autoloads wordnut-autoloads org-roam-extra-autoloads with-editor-autoloads compat-autoloads magit-autoloads pg-autoloads finalize-autoloads emacsql-autoloads emacsql-sqlite3-autoloads org-roam-autoloads russian-holidays-autoloads consult-dir-autoloads consult-autoloads docker-compose-mode-autoloads json-snatcher-autoloads json-mode-autoloads aio-autoloads docker-autoloads company-reftex-autoloads math-symbol-lists-autoloads company-math-autoloads auctex-autoloads tex-site ledger-mode-autoloads eshell-syntax-highlighting-autoloads eshell-prompt-extras-autoloads pcmpl-args-autoloads embark-autoloads f-autoloads eimp-autoloads dired-hacks-autoloads daemons-autoloads cuirass-autoloads magit-popup-autoloads geiser-guile-autoloads geiser-autoloads edit-indirect-autoloads bui-autoloads guix-autoloads rx kv-autoloads esxml-autoloads dash-autoloads nov-el-autoloads osm-autoloads pdf-view-restore-autoloads tablist-autoloads pdf-tools-autoloads org-contrib-autoloads org-tree-slide-autoloads orglink-autoloads telega-contrib-autoloads telega-x-autoloads rainbow-identifiers-autoloads visual-fill-column-autoloads telega-autoloads debase-autoloads discomfort-autoloads csv-mode-autoloads posframe-autoloads company-posframe-autoloads company-autoloads package-lint-autoloads skempo-autoloads simple-httpd-autoloads link-hint-autoloads avy-autoloads ace-window-autoloads pulsar-autoloads project-x-autoloads project-rg-autoloads markdown-mode-autoloads transpose-frame-autoloads yaml-mode-autoloads markup-faces-autoloads adoc-mode-autoloads gcmh-autoloads fancy-battery-autoloads smart-hungry-delete-autoloads async-autoloads move-text-autoloads openwith-autoloads olivetti-autoloads scratch-el-autoloads sudo-edit-autoloads ibuffer-vc-autoloads ctable-autoloads wgrep-autoloads s-autoloads rg-autoloads try-autoloads keycast-autoloads reverse-im-autoloads fnhh-autoloads tmr-autoloads plz-autoloads srht-autoloads eiwc-autoloads av-autoloads guix-emacs early-init xdg rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-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 xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2066116 199464) (symbols 48 72973 32) (strings 32 357850 18552) (string-bytes 1 11646317) (vectors 16 141323) (vector-slots 8 3301045 144818) (floats 8 102365 1040) (intervals 56 29411 9317) (buffers 984 93)) -- Best regards, Aleksandr Vityazev From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 11:54:33 2022 Received: (at 60012) by debbugs.gnu.org; 12 Dec 2022 16:54:33 +0000 Received: from localhost ([127.0.0.1]:54078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4m4X-0000qX-C6 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:54:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4m4V-0000qP-PM for 60012@debbugs.gnu.org; Mon, 12 Dec 2022 11:54:32 -0500 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 ) id 1p4m4Q-00016K-F4; Mon, 12 Dec 2022 11:54:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=4DI20Or77e6KOgahM9bAwzePDPk5JE9JEvRmWatDXks=; b=ALIYV+G9qOwf taCmfFkSAtc6ZyhLT+nVC7RIrR4pFgiCsMWNjGdc3rPPQbwifvv4BObWOcMrJ2qau/ozNSZfsg/fq THB7H7V/AFSxwe39hfLQOmOBrIS8NQTPNpj0Z7oc+jF+C9I1c/HrQSVPS7V5OX/51DGJopetA1WgL DUe02jmMuRQf227aT0odwIgGaGvjSgaT4+lVE5aHe9d6E/cXJvZ2J1QcJuJmHLkKhPZIwqBlJDPJT KwH5+is2Vqk2cVncE/7DAZRFW7AsmN9VFw+phAdlmOZxj5ZBnfoJ/wB48lPMTgGUU5t1HGlJJbLhD wXonIve5mTeV0T34hY+t5g==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4m4P-0001mJ-SZ; Mon, 12 Dec 2022 11:54:26 -0500 Date: Mon, 12 Dec 2022 18:54:28 +0200 Message-Id: <83pmcor29n.fsf@gnu.org> From: Eli Zaretskii To: Aleksandr Vityazev In-Reply-To: <87wn6wh91p.fsf@posteo.org> (message from Aleksandr Vityazev on Mon, 12 Dec 2022 16:38:10 +0000) Subject: Re: bug#60012: 30.0.50; bug-reference-prog-mode: Error during redisplay with tree-sitter modes References: <87wn6wh91p.fsf@posteo.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60012 Cc: 60012@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: -3.3 (---) > From: Aleksandr Vityazev > Date: Mon, 12 Dec 2022 16:38:10 +0000 > > The error was discovered when I was watching > https://github.com/zevlg/telega.el. I will add copies of the necessary > files from there to reproduce the behavior. > > 1. mkidr ~/test-project > 2. mv test-project > 2. Add a .dir-locals.el file with the following content: > > --8<---------------cut here---------------start------------->8--- > ;;; Directory Local Variables > ;;; For more information see (info "(emacs) Directory Variables") > > ((nil . ((bug-reference-url-format . "https://github.com/zevlg/telega.el/issues/%s") > (bug-reference-bug-regexp > . "")))) > --8<---------------cut here---------------end--------------->8--- > > 3. Add Dockerfile file with the following content: > > --8<---------------cut here---------------start------------->8--- > FROM alpine:latest AS builder > ARG tdlib_branch=master > ARG telega_branch=master > CMD ["/bin/bash"] > --8<---------------cut here---------------end--------------->8--- > > 4. with emacs -Q (add-hook 'prog-mode-hook 'bug-reference-prog-mode) > 5. C-x C-f ~/test-project/Dockerfile > 6. The file will be opened with dockerfile-ts-mode > 7. See that syntax highlighting does not work > > At this time the following should be in the *Messages* buffer: > Error during redisplay: (jit-lock-function 1) signaled (invalid-regexp > "Unmatched ( or \\(") > > You can get the same if you add some C file and open it with c-ts-mode. > If you open the file in normal c-mode. There are no such errors. > > I do not see any errors in the regular expression - > "". The error is that the \( part before github is not matches by \). From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 12:07:20 2022 Received: (at 60012-done) by debbugs.gnu.org; 12 Dec 2022 17:07:20 +0000 Received: from localhost ([127.0.0.1]:54145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4mGt-000110-Rh for submit@debbugs.gnu.org; Mon, 12 Dec 2022 12:07:20 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4mGr-00010s-BM for 60012-done@debbugs.gnu.org; Mon, 12 Dec 2022 12:07:18 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3E0B4240106 for <60012-done@debbugs.gnu.org>; Mon, 12 Dec 2022 18:07:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1670864831; bh=riNDoIOxt8o9S4DhW0lYLMy+TB6oG2HLKYse/JQsyFU=; h=From:To:Date:From; b=rwt6qMaD1ViTbObRUSn6rs+1/p7GlOraWP49h7dvPdMx17maNBrgKvyK45JhFiRHu W3V/AU2tj4kToqEtcKWmwFbxXXUNa2FoXgDjgR+mZ0W3mX2XPy3A/seVxOoKWoF+ve jU2MI/I1662KUnRqBco4GAYsSRbKfz7Xrj88+a/piL3zq6BXaOPufV8Qp53GanuzXk 4zxjKy7ng6UhjWbzSwZHcRL01H00hFDKJN2YOCrMYhcqS/dzeBN+D1wsfPu5nPCNGo oITvI5wPV8+R6M+7w074OTKULLeW4FyAi/x1alkUSM9Azl+YKndY0LF8uQ5EdPLBIu XWwGklrOuXohQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NW7My3D4dz6tqy for <60012-done@debbugs.gnu.org>; Mon, 12 Dec 2022 18:07:07 +0100 (CET) From: Aleksandr Vityazev To: 60012-done@debbugs.gnu.org Date: Mon, 12 Dec 2022 17:07:07 +0000 Message-ID: <87sfhkh7pg.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain 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: Sorry about the noise, it's done. -- Best regards, Aleksandr Vityazev Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [185.67.36.66 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [185.67.36.66 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 60012-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 (/) Sorry about the noise, it's done. -- Best regards, Aleksandr Vityazev From unknown Fri Aug 15 15:29:41 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, 10 Jan 2023 12:24:06 +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