From unknown Tue Jun 17 22:28:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62095: 30.0.50; Compilation wrong error match Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2023 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62095 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62095@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16784551066844 (code B ref -1); Fri, 10 Mar 2023 13:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2023 13:31:46 +0000 Received: from localhost ([127.0.0.1]:54079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pacqX-0001mK-JP for submit@debbugs.gnu.org; Fri, 10 Mar 2023 08:31:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:38780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pacqV-0001mA-A7 for submit@debbugs.gnu.org; Fri, 10 Mar 2023 08:31:44 -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 1pacqS-0001P2-B2 for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 08:31:42 -0500 Received: from sonic314-13.consmr.mail.bf2.yahoo.com ([74.6.132.123]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pacqN-0001so-3Y for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 08:31:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1678455093; bh=Lox/xP8B0X/qJJWCkv4v62LeIRMVx+AkTppvRDnOgr4=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=D0DcPZ9XnlJS9SgCZnr0d7tfqQ8wNw8tqizXr0OTUXqIHCTPo5ULbHC6FpqxVMoMDfRtd/SYX6Y5U8GOoVTicohlXXz069TrthOWl9gw6rR0B2wBJOjRu8AjtsFNxW5eIzoVZjtUF17Ty2j69kdsSvV5gjl1fsBvWm9eYIvfppydaAcSRQPyvT8UMCt4lNrdxNymJurjNSw3gk/PD5yY32Ocezov0+C03DRLkOWTYO1ZQKNDXRi03KqZY/wn+VshROjFn81NSSQMm6B3BU07wo3dmuqtXQv0HmB0nN2+bYBeSXpzS3Nnm0xUlyFcdRE+vms3WZL+fc0v7UWIamGWNQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678455093; bh=y+W4JpD68uJD95a62IY98pofhX6YxNanWXFBDixY4u4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=jCHxiRD10quddy3RdzY/P9gnUUUjl6EWrxwLzrjfr/Iako/kCxOi3fG8s3ipeiXwhfzPNaaeAM+rCxsCxmvYwyeCHymci6E1TILWcMOHF9XISZcboembQFp8oXwlz9V3f3x+FfXf41SR1FXs6gL4avr1jgPfMoLxj671pgtdhTSSoPrVbn/n9XCcE2Fnc0RvqtU0gKxg7tsxKvWuU1r7Z6rITijaWLOH/ZOkkIQwDPFYyFOuKtLsaZA2pWraXqDnihm27ghN8cxihrjZ0jltPlR/TuKTAsFfYNGlZ1TwSIZ6ZkFWoIjU0BShx8LfdMixnGPHlao/xeDFdUauD6d3SA== X-YMail-OSG: bDoS5WIVM1ns0X7VkXQYhTWxxIhpkjFY_p2E.nQsbOlL4rYiEk99WEtj.97zCr1 60TBeBpH5L0DJlJp7YOo_0.Nb8XvOLPwQzxAbIqfdo3Htx0rbcsh8fS1Nusf.3K1kF6ApnbLxeL9 sP.yJofq9TLV.Unz0L_FJW_92XcnFHttYJJC493hT0K44_8rCH8Q040Z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PDhHWu AX8pSMpf8YnQG1UjYr4pQYLmgYoIfxsjJ5P_1bp6kfxC67zR8Ch5.qB2tUd46mkoW8FYm60fnBpr 00zic85h0VL.5Dd6IkVXxIA0YCzydDA0I1N6N4IaZEvmAJMW2JaRGno1F1spUcbTItsHywH1MQng 2OfsIFJuqqXOog31H_msKbIuUNpx_GQQ1EjCmme4AeobSc4cQmrJwXEeVha5erkUnvO7qdXKcldQ I2dHb8r9gduMvK6c29RGagIlVmgll6qpwJpLI84bipC0Pi5g8G3nmy190ZJl83pH1Lo1v3M333GG dacxfpJyYl99YXRh1eheclhVepFrJvcks62knGjuU9JNpHa04.ql_YNCkvEQvC.PKd.39POSAbAo jaE0eg1O2JDqC3xaMYHQu1Y1K63PCs6Q7WK5WSrvNYBxQ19_9KdlxSCYyLVcqaTss37PumpzYfZh dM6UFni5uhjUki_VLwZJX6ogwlADnWV_EvMrJZoKrobblo0aVQa7oLVywTGVoweb9RV6HJb_CKtK hewsclDmtllh_JqeyGtQZMOBaNidhCJidr08xeSGLZseIjhVl6jEIN8zzN8029tESwKGSymg66p9 OduvksGvKFBu6xnYdUniHa_df74STOZSpV5.O..G0821SG9RcVFvs7nz8mEfd5oVDbIQwOxVBfS0 kM_p6uOPABsrMGnM4NPzcqlMefzA2EVxqi1TyNqlVkeSuFnWPUbJXz75p.sYPPWy65sic8Q9_cnT f5bgdRJYAdIMyioRFilad9nFoROy5TaboHNatPZoAb5L0cuz.CZVv7MtNKZf9ZyCTn20CTTqZYrh yZy6U7PZJFZ7JDHpuQ3YWs9Su9X0VHojQZGJW8DIlqGgb4vnaiUcCUCEtLDlUTTyrt.meFMWUvxi dKmptsPnKEoo1sjslJGleA2lRFuoZl1QvegFKxRthXq1WfmC4TY4Kmj.Qb5HOrefkAk2orV6OJpA Y4w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Fri, 10 Mar 2023 13:31:33 +0000 Received: by hermes--production-ir2-5b7d458747-kvll2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4f0737d97346b70a0f2e96a1647cbb89; Fri, 10 Mar 2023 13:31:31 +0000 (UTC) From: Ergus Date: Fri, 10 Mar 2023 14:31:23 +0100 Message-ID: <87o7p068d0.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain References: <87o7p068d0.fsf.ref@aol.com> X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Content-Length: 8319 Received-SPF: pass client-ip=74.6.132.123; envelope-from=spacibba@aol.com; helo=sonic314-13.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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: Using the compilation buffer I get a pattern highlighted but it is not an error. I would like to know which of the patterns in compilation-error-regexp-alist-alist matched this. This is the line that matches: ``` C:\Program Files (x86)\link.exe /ERRORREPORT:QUEUE /OUT:"E:\Repository.dll" /INCREMENTAL /NOLOGO "C:\Users\somefile.lib" user32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG:FASTLINK /PDB:"somefile.pdb" /SUBSYSTEM:CONSOLE /LARGEADDRESSAWARE /OPT:NOREF /OPT:NOICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"somefile" /MACHINE:X86 /SAFESEH:NO /machine:X86 /DLL ``` The highlight goes from the beginning of the line up to /TLBID:1 And I think that compile-mode gets confused by the `/ERRORREPORT + something:1`. If there is some function to find the pattern matching and help on this, please just tell me and I will try to fix it myself. I tried a loop more or less like: (dolist (var compilation-error-regexp-alist) (re-search-forward (car (alist-get var compilation-error-regexp-alist-alist)) nil t)) But it does not match with any pattern, so... no idea In GNU Emacs 30.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.8) of 2023-03-06 built on Ergus Repository revision: 1e5393a57a3bbe3f9167fee59232c2e424afadf2 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json --with-x-toolkit=gtk3 --with-xft --with-modules --with-cairo --with-harfbuzz --with-native-compilation '--program-transform-name=s/^ctags$/ctags.emacs/'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: global-auto-revert-mode: t electric-pair-mode: t flyspell-mode: t company-mode: t flycheck-mode: t diff-hl-margin-mode: t gtags-mode: t repeat-mode: t xterm-mouse-mode: t xclip-mode: t override-global-mode: t winner-mode: t save-place-mode: t delete-selection-mode: t savehist-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t which-key-mode: t eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /mnt/casa/gits/emacs_clones/gtags-mode/gtags-mode hides /home/ergo/.config/emacs/elpa/gtags-mode-1.0/gtags-mode /home/ergo/.config/emacs/elpa/transient-20230304.1149/transient hides /home/ergo/.local/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr autorevert filenotify ffap thingatpt url-parse auth-source url-vars emacsbug message mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair flyspell-correct flyspell ispell company-semantic company-template company-capf company flycheck ansi-color json map find-func dash pcase diff-hl-margin diff-hl-dired citre-lang-fileref citre-tags citre-ctags citre-readtags citre-readtags-tables citre-backend-interface citre-ui-peek color citre-ui-jump citre-common-tag citre-common-util dired-x dired dired-loaddefs diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode cape compat comp comp-cstr warnings icons rx gtags-mode subr-x files-x xref project term/tmux term/xterm xterm init repeat xt-mouse xclip edmacro kmacro use-package-bind-key bind-key simple-16-theme winner ring saveplace delsel savehist easy-mmode display-fill-column-indicator display-line-numbers diminish which-key cl-extra help-mode use-package-diminish use-package-core disp-table info dumb-jump-autoloads highlight-indent-guides-autoloads company-lua-autoloads vundo-autoloads sudo-edit-autoloads cuda-mode-autoloads nginx-mode-autoloads crdt-autoloads company-auctex-autoloads groovy-mode-autoloads flycheck-rust-autoloads string-inflection-autoloads company-c-headers-autoloads tree-sitter-autoloads lice-autoloads lorem-ipsum-autoloads julia-mode-autoloads auctex-autoloads tex-site nasm-mode-autoloads popup-autoloads cape-autoloads company-nginx-autoloads csv-mode-autoloads d-mode-autoloads tsc-autoloads i3wm-config-mode-autoloads ssh-config-mode-autoloads move-dup-autoloads clang-format-autoloads citre-autoloads esup-autoloads slime-autoloads phi-search-autoloads better-shell-autoloads markdown-mode-autoloads gnuplot-autoloads arduino-cli-mode-autoloads flycheck-julia-autoloads which-key-autoloads multiple-cursors-autoloads ibuffer-sidebar-autoloads systemd-autoloads pkgbuild-mode-autoloads neotree-autoloads modern-cpp-font-lock-autoloads company-reftex-autoloads company-autoloads google-c-style-autoloads protobuf-mode-autoloads flymake-nasm-autoloads caml-autoloads arduino-mode-autoloads ede/auto eieio-base cl-seq eieio byte-opt bytecomp byte-compile eieio-core cl-macs gv cl-loaddefs cl-lib sphinx-mode-autoloads f-autoloads lua-mode-autoloads gtags-mode-autoloads mutt-mode-autoloads evil-collection-autoloads annalist-autoloads evil-autoloads goto-chg-autoloads xclip-autoloads diminish-autoloads imenu-list-autoloads paradox-autoloads magit-autoloads git-commit-autoloads with-editor-autoloads avy-zap-autoloads nftables-mode-autoloads deadgrep-autoloads spinner-autoloads s-autoloads ibuffer-vc-autoloads shell-command+-autoloads objed-autoloads iedit-autoloads languagetool-autoloads vterm-toggle-autoloads vterm-autoloads magit-section-autoloads avy-autoloads git-timemachine-autoloads transient-autoloads haskell-mode-autoloads diff-hl-autoloads emamux-autoloads fancy-compilation-autoloads flymake-quickdef-autoloads ibuffer-project-autoloads notmuch-autoloads e2ansi-autoloads face-explorer-autoloads flx-autoloads opencl-mode-autoloads ptemplate-templates-autoloads ptemplate-autoloads git-modes-autoloads compat-autoloads flycheck-autoloads pkg-info-autoloads ibuffer-tramp-autoloads debbugs-autoloads cobol-mode-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads macrostep-autoloads flyspell-correct-autoloads yasnippet-snippets-autoloads yasnippet-autoloads epl-autoloads vdiff-autoloads hydra-autoloads lv-autoloads early-init 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 native-compile emacs) Memory information: ((conses 16 202682 72848) (symbols 48 16121 0) (strings 32 53465 8318) (string-bytes 1 1805657) (vectors 16 28955) (vector-slots 8 564157 50821) (floats 8 198 24495) (intervals 56 864 0) (buffers 984 12))