From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ola x Nilsson Newsgroups: gmane.emacs.bugs Subject: bug#51549: 29.0.50; flymake error when filename contain '%' Date: Mon, 1 Nov 2021 12:52:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6731"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 29.0.50 To: 51549@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 01 12:53:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhVsF-0001XI-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Nov 2021 12:53:12 +0100 Original-Received: from localhost ([::1]:60364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhVsE-000386-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Nov 2021 07:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhVs7-00037G-WC for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 07:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhVs6-0006Jq-CR for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 07:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mhVs6-0005lH-BQ for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ola x Nilsson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Nov 2021 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51549 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.163576753522076 (code B ref -1); Mon, 01 Nov 2021 11:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Nov 2021 11:52:15 +0000 Original-Received: from localhost ([127.0.0.1]:33863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhVrK-0005jz-9w for submit@debbugs.gnu.org; Mon, 01 Nov 2021 07:52:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhVrF-0005jp-Hz for submit@debbugs.gnu.org; Mon, 01 Nov 2021 07:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhVrF-0002dH-9y for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 07:52:09 -0400 Original-Received: from smtp1.axis.com ([195.60.68.17]:40803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhVrB-0006CD-QW for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 07:52:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1635767525; x=1667303525; h=from:to:subject:date:message-id:mime-version; bh=VcP2o+HnVA0jUHOA3G/rlLzYw+z9Gpn80EcT/yF+7Sw=; b=CE61Iuw6ylxyPT6PpXIrfl9qAhhMDCC/jJmi71wS692vnTrRTgRK9zfJ r+a7FQrRaVAqejkGIA2zu4a2KxHc688km+1fQsJ5j6PvrPM7CozI0JzlA FJSsfC86oho3IJBRk0H1PKD2SWDLJae+dXMTMtQJg3lJCdFSGKEheChIJ Q+WevbvcfRNsZ/aUKrAaGbj3q2uDfF3JapSIxxg5sVdqPe4I6LNscYHVg OizgupOUfaxWwehLFdCdiSlfQY5n4EHF8iTENafMk90ECV8QTKnmfPxMX INew+FCGZQ5GLLLXHN47Ga1cL/PTvbMXdHlIMTrRkR+dqy2cDnaM0XcIz A==; Received-SPF: pass client-ip=195.60.68.17; envelope-from=Ola.x.Nilsson@axis.com; helo=smtp1.axis.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218751 Archived-At: Flymake includes the buffer name in `warning-type-format' (see `flymake--log-1'). When the file name - and the buffer name - contain a % character it is very probable that the `format' call in `display-warning' either fails or produce unexpected results. In my case I used a file name arm-trusted-firmware-2.4_%.bbappend with a local flymake backend running a local linter. The local backend uses a process sentinel to process errors and generate flymake diagnostic objects with (flymake-make-diagnostic source beg end type msg) where source is the buffer visiting arm-trusted-firmware-2.4_%.bbappend, bed and end set from `flymake-diag-region' type is :warning and msg is a string with the error message from the linter. In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2021-10-28 built on lnxolani1 Repository revision: cb949963570ad0dbe272109f0245ca21029e2e5c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Configured using: 'configure --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: magit-auto-revert-mode: t checkdoc-minor-mode: t delete-trailing-whitespace-mode: t hes-mode: t desktop-save-mode: t flycheck-mode: t global-git-commit-mode: t which-function-mode: t display-time-mode: t global-auto-revert-mode: t override-global-mode: t shell-dirtrack-mode: t tooltip-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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t Load-path shadows: /home/olani/.emacs.d/elpa-lnxolani1-29.0.50/dpkg-dev-el-20190824.2314/debian-autoloads hides /home/olani/.emacs.d/elpa-lnxolani1-29.0.50/debian-el-20201011.1543/debian-autoloads /home/olani/.emacs.d/elpa-lnxolani1-29.0.50/magit-20210928.1325/magit-section-pkg hides /home/olani/.emacs.d/elpa-lnxolani1-29.0.50/magit-section-20210829.1849/magit-section-pkg /home/olani/.emacs.d/elpa-lnxolani1-29.0.50/transient-20210920.1038/transient hides /usr/local/share/emacs/29.0.50/lisp/transient Features: (shadow emacsbug dabbrev edebug cus-edit loadhist vc-dir ewoc vc-filewise cl-print debug backtrace cus-start cus-load url-http-ntlm ntlm hmac-md5 hex-util md4 url-http url-gw url-cache eww xdg url-queue mm-url gnus nnheader rect magit-bundle magit-patch magit-subtree magit-gitignore magit-imerge ispell macrostep-c cmacexp macrostep eieio-opt speedbar ezimage dframe shortdoc coan-c c-style-axis vc-clearcase trace tq coan-lilypond coan-semc coan-todochiku incdec help-fns hideif hideshow coan-cc cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs coan-gmake make-mode magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok disp-table view pp descr-text coan-magit-gerrit magit-gerrit log-view vc-annotate bitbake-build-dir wid-edit coan-magit-functions mmm-cmds dired-aux coan-dired goto-addr vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs gerrit-buttons magit-extras magit-imenu git-rebase coan-magit magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode vc display-fill-column-indicator shr-color color shr kinsoku svg xml dom misearch multi-isearch gnutls network-stream nsm mailalias qp sort face-remap mail-extr coan cl gee-email gee-gerrit-rest mu4e mu4e-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs mu4e-main mu4e-view cal-menu calendar cal-loaddefs mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils doc-view image-mode exif mu4e-lists mule-util hl-line mu4e-vars mu4e-meta bblint let-alist bitbake generic conf-bitbake-mode bitbake-ff grep find-file bitbake-mmm flycheck-checkbashisms sh-script smie executable mmm-sh-here-doc mmm-mode mmm-univ mmm-class mmm-region bitbake-functions bitbake-compat checkdoc coan-elisp skeleton delete-trailing-whitespace-mode init highlight-escape-sequences woman man pcase anaphora dired-rainbow dired-hacks-utils autoinsert mmm-sample mmm-auto mmm-vars mmm-utils mmm-compat t32-auto coan-list midnight desktop frameset flycheck-flawfinder flycheck-cstyle flycheck find-func python-black reformatter python tramp-sh bug-reference find-dired git-commit with-editor transient server log-edit message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived 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 magit-git magit-section magit-utils crm dash edmacro kmacro gitignore-mode conf-mode flymake-git-whitespace flymake-proc flymake project compile text-property-search thingatpt vc-git diff-mode vc-dispatcher advice coan-29.0.50-autoloads autoload radix-tree lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr whitespace which-func imenu time avoid autorevert filenotify jka-compr use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf coan-system tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec dpkg-dev-el debian-el url-auth info 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 eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode seq gv subr-x byte-opt cl-loaddefs cl-lib bytecomp byte-compile cconv early-init iso-transl tooltip 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 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2351826 196419) (symbols 48 60287 194) (strings 32 373582 28488) (string-bytes 1 11152651) (vectors 16 149160) (vector-slots 8 3218814 467321) (floats 8 645 2556) (intervals 56 169534 4504) (buffers 992 151)) -- Ola x Nilsson