X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: joaotavora@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Sun, 05 Jun 2022 20:24:02 +0000 Resent-Message-ID: <handler.55811.B.16544605956927 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55811 <at> debbugs.gnu.org Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16544605956927 (code B ref -1); Sun, 05 Jun 2022 20:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2022 20:23:15 +0000 Received: from localhost ([127.0.0.1]:33589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nxwmI-0001ne-CL for submit <at> debbugs.gnu.org; Sun, 05 Jun 2022 16:23:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:38058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nxwmC-0001nS-Mo for submit <at> debbugs.gnu.org; Sun, 05 Jun 2022 16:23:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <monnier@HIDDEN>) id 1nxwmC-0001BR-G8 for bug-gnu-emacs@HIDDEN; Sun, 05 Jun 2022 16:23:08 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <monnier@HIDDEN>) id 1nxwm8-0007rS-PQ for bug-gnu-emacs@HIDDEN; Sun, 05 Jun 2022 16:23:07 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3344B4413F0 for <bug-gnu-emacs@HIDDEN>; Sun, 5 Jun 2022 16:23:03 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 11F494413E1 for <bug-gnu-emacs@HIDDEN>; Sun, 5 Jun 2022 16:23:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654460580; bh=0hthi8j1oorkUGXqKi12p0CnRLn96DA8E8g0VaSsH7k=; h=From:To:Subject:Date:From; b=UwN76OWtQlheZ4H2FUC9NIV/f0a7Wiysy6cVVwpoLBlRaVsWBpF1GrhYDC4yV+vOf b0HSpBTbTKtXT5mVLUXtp2AZkhgHGFJBiOHFIpQLc5vdYuW9Rvoz43xyIDPO7Ijq7n l2horEDLsADB3Bbbdmdcc2q9Hb6zhFivCMqjmg6/2mVVp3kAhxdckDlDepvw0HuSFX yYl2wuLfJbxYdbRx1W83QUCBK+/Fq7zE2GzLDoqs9kFhzksHZXIQqvqXv8TSLIlD6B p4RhB5ucCFGrj0ShGAOFOylp2d0gWftuFME0PsZ5QAXhHYiq9iOOlPb68Pdw/ZS8Vi lceM/thsYYlFw== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7681120494 for <bug-gnu-emacs@HIDDEN>; Sun, 5 Jun 2022 16:22:59 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Date: Sun, 05 Jun 2022 16:22:49 -0400 Message-ID: <jwv4k0y97xi.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@HIDDEN; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -2.3 (--) Package: Emacs Version: 29.0.50 As the title says, if you enable `flymake-mode` in an ELisp file with a `no-byte-compile: t` in its file-local variables you don't get any diagnostics from the compiler (you do still get diagnostics from checkdoc, admittedly). I think `no-byte-compile` only means that we should load the `.el` file and not generate a `.elc` file and it shouldn't mean that we should refrain from asking the byte-compiler what is its opinion about the quality of this code. Stefan In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-05-27 built on pastel Repository revision: 0217902f8b8f1611fec87f4874edbbf485120f9b Repository branch: work Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure -C --enable-checking --enable-check-lisp-object-type --with-modules --with-cairo --with-tiff=ifavailable 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign' PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: csv-field-index-mode: t shell-dirtrack-mode: t server-mode: t electric-pair-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t global-compact-docstrings-mode: t url-handler-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/monnier/src/emacs/nongnu/packages/geiser-kawa/geiser-kawa-autoloads hides /home/monnier/src/emacs/nongnu/packages/geiser-kawa/elisp/geiser-kawa-autoloads /home/monnier/src/emacs/nongnu/packages/geiser/geiser-autoloads hides /home/monnier/src/emacs/nongnu/packages/geiser/elisp/geiser-autoloads /home/monnier/src/emacs/nongnu/packages/arduino-mode/ob-arduino hides /home/monnier/src/emacs/nongnu/packages/org-contrib/lisp/ob-arduino /home/monnier/src/emacs/nongnu/packages/org-contrib/org-contrib-autoloads hides /home/monnier/src/emacs/nongnu/packages/org-contrib/lisp/org-contrib-autoloads /home/monnier/src/emacs/nongnu/packages/magit/magit-section-pkg hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/magit-section-pkg /home/monnier/src/emacs/nongnu/packages/magit/git-commit-autoloads hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/git-commit-autoloads /home/monnier/src/emacs/nongnu/packages/magit/magit-pkg hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/magit-pkg /home/monnier/src/emacs/nongnu/packages/magit/git-commit-pkg hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/git-commit-pkg /home/monnier/src/emacs/nongnu/packages/magit/magit-section-autoloads hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/magit-section-autoloads /home/monnier/src/emacs/nongnu/packages/magit/magit-autoloads hides /home/monnier/src/emacs/nongnu/packages/magit/lisp/magit-autoloads /home/monnier/src/emacs/nongnu/packages/pdf-tools/pdf-tools-autoloads hides /home/monnier/src/emacs/nongnu/packages/pdf-tools/lisp/pdf-tools-autoloads /home/monnier/src/emacs/nongnu/packages/php-mode/php-mode-autoloads hides /home/monnier/src/emacs/nongnu/packages/php-mode/lisp/php-mode-autoloads /home/monnier/src/emacs/nongnu/packages/jade-mode/sws-mode hides /home/monnier/src/emacs/nongnu/packages/stylus-mode/sws-mode /home/monnier/src/emacs/nongnu/packages/jade-mode/jade-mode hides /home/monnier/src/emacs/nongnu/packages/stylus-mode/jade-mode /home/monnier/src/emacs/nongnu/packages/jade-mode/stylus-mode hides /home/monnier/src/emacs/nongnu/packages/stylus-mode/stylus-mode /home/monnier/src/emacs/nongnu/packages/subed/subed-autoloads hides /home/monnier/src/emacs/nongnu/packages/subed/subed/subed-autoloads /home/monnier/src/emacs/nongnu/packages/with-editor/with-editor-autoloads hides /home/monnier/src/emacs/nongnu/packages/with-editor/lisp/with-editor-autoloads /home/monnier/src/emacs/elpa/packages/bbdb/bbdb-autoloads hides /home/monnier/src/emacs/elpa/packages/bbdb/lisp/bbdb-autoloads /home/monnier/src/emacs/nongnu/packages/paredit/test hides /home/monnier/src/emacs/elpa/packages/easy-kill/test /home/monnier/src/emacs/elpa/packages/emacspeak/emacspeak-autoloads hides /home/monnier/src/emacs/elpa/packages/emacspeak/lisp/emacspeak-autoloads /home/monnier/src/emacs/elpa/packages/embark-consult/embark-consult hides /home/monnier/src/emacs/elpa/packages/embark/embark-consult /home/monnier/src/emacs/elpa/packages/embark-consult/embark hides /home/monnier/src/emacs/elpa/packages/embark/embark /home/monnier/src/emacs/elpa/packages/embark-consult/embark-org hides /home/monnier/src/emacs/elpa/packages/embark/embark-org /home/monnier/src/emacs/elpa/packages/embark-consult/avy-embark-collect hides /home/monnier/src/emacs/elpa/packages/embark/avy-embark-collect /home/monnier/src/emacs/nongnu/packages/paredit/test hides /home/monnier/src/emacs/elpa/packages/pq/test /home/monnier/src/emacs/elpa/packages/realgud-lldb/cask-install hides /home/monnier/src/emacs/elpa/packages/realgud-trepan-ni/cask-install /home/monnier/src/emacs/elpa/packages/realgud-lldb/cask-install hides /home/monnier/src/emacs/elpa/packages/realgud/cask-install /home/monnier/src/emacs/elpa/packages/srht/srht-autoloads hides /home/monnier/src/emacs/elpa/packages/srht/lisp/srht-autoloads /home/monnier/src/emacs/elpa/packages/taxy/taxy-magit-section hides /home/monnier/src/emacs/elpa/packages/taxy-magit-section/taxy-magit-section /home/monnier/src/emacs/elpa/packages/transient/transient-autoloads hides /home/monnier/src/emacs/elpa/packages/transient/lisp/transient-autoloads /home/monnier/src/emacs/elpa/packages/transient/lisp/transient hides /home/monnier/src/emacs/work/lisp/transient /home/monnier/src/emacs/nongnu/packages/lua-mode/lua-mode hides /home/monnier/src/emacs/work/lisp/progmodes/lua-mode /home/monnier/src/emacs/elpa/packages/emacspeak/lisp/tetris hides /home/monnier/src/emacs/work/lisp/play/tetris /home/monnier/src/emacs/nongnu/packages/org-contrib/lisp/ox-koma-letter hides /home/monnier/src/emacs/work/lisp/org/ox-koma-letter /home/monnier/src/emacs/nongnu/packages/org-contrib/lisp/ol-man hides /home/monnier/src/emacs/work/lisp/org/ol-man /home/monnier/src/emacs/nongnu/packages/org-contrib/lisp/ob-julia hides /home/monnier/src/emacs/work/lisp/org/ob-julia /home/monnier/src/emacs/work/lisp/keymap hides /home/monnier/src/emacs/work/lisp/emacs-lisp/keymap /home/monnier/.emacs.d/elpa/hyperbole-8.0.0/set hides /home/monnier/src/emacs/work/lisp/emacs-lisp/set /home/monnier/src/emacs/elpa/packages/crisp/crisp hides /home/monnier/src/emacs/work/lisp/obsolete/crisp /home/monnier/src/emacs/elpa/packages/landmark/landmark hides /home/monnier/src/emacs/work/lisp/obsolete/landmark Features: (sml-mode emms-source-file locate emms emms-compat eev-wrap eev-template0 eev-env eepitch eev-multiwindow ielm buttercup ert buttercup-compat descr-text csv-mode beancount cus-edit cus-start cus-load autoconf autoconf-mode sh-script epa-file bindat markdown-mode bbdb-com bbdb bbdb-site timezone make-mode rfc2104 mailalias smtpmail textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check pp shadow sort mail-extr emacsbug rect sm-c-mode drupal/emacs-drush drupal/etags etags fileloop xref reposition mm-archive url-dav url-http-ntlm ntlm hmac-md5 hex-util md4 network-stream url-cache url-http url-gw nsm reftex-ref reftex-cite reftex-parse dabbrev tuareg speedbar imenu ezimage dframe skeleton tuareg-compat tuareg-opam smie caml-types caml-help find-file dired-aux drupal/ispell drupal/eldoc drupal/autoinsert drupal-mode cc-styles cc-align cc-engine cc-langs cc-vars cc-defs sql dired-x view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-french org-journal org-crypt cal-iso diary-lib diary-loaddefs cal-move html5-schema 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 reftex-dcr reftex reftex-loaddefs reftex-vars tex-mode latexenc org-eldoc org-element avl-tree generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi 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 org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat advice org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs gitignore-mode conf-mode ffap cl-print debug backtrace find-func vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-got vc-annotate vc-dir ewoc shortdoc gnutls mule-util magit-utils crm dash log-edit message sendmail yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived 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 whitespace pulse color display-line-numbers bug-reference edmacro kmacro smerge-mode cl-extra wgrep executable copyright shell drupal/pcomplete pcomplete files-x grep autoload misearch multi-isearch vc-fossil vc-backup log-view pcvs-util vc diff vc-git diff-mode vc-dispatcher filecache autorevert filenotify raku-detect server time-date flymake-proc flymake project compile text-property-search comint ansi-color warnings noutline outline easy-mmode flyspell ispell checkdoc lisp-mnt thingatpt load-dir elec-pair reveal autoinsert savehist minibuf-eldef disp-table compact-docstrings ede/auto eieio-base geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring proof-site proof-autoloads slime-autoloads sly-autoloads rx cl-seq engrave-faces gnu-elpa-features realgud-recursive-autoloads finder-inf compat 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 cl-macs gv pcase eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt bytecomp byte-compile cl-loaddefs cl-lib 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 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 button loaddefs oclosure cl-preloaded 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 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 1240648 196783) (symbols 48 46340 117) (strings 32 226460 23555) (string-bytes 1 8179239) (vectors 16 202898) (vector-slots 8 4464083 548777) (floats 8 1703 1486) (intervals 56 128360 2956) (buffers 992 267))
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: Stefan Monnier <monnier@HIDDEN> Subject: bug#55811: Acknowledgement (29.0.50; No flymake diagnostics for no-byte-compile files) Message-ID: <handler.55811.B.16544605956927.ack <at> debbugs.gnu.org> References: <jwv4k0y97xi.fsf@HIDDEN> X-Gnu-PR-Message: ack 55811 X-Gnu-PR-Package: emacs Reply-To: 55811 <at> debbugs.gnu.org Date: Sun, 05 Jun 2022 20:24: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. As you requested using X-Debbugs-CC, your message was also forwarded to Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> (after having been given a bug report number, if it did not have one). 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 55811 <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 55811: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55811 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 05 Jun 2022 20:34:02 +0000 Resent-Message-ID: <handler.55811.B55811.16544612137953 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55811 <at> debbugs.gnu.org Cc: Stefan Monnier <monnier@HIDDEN>, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.16544612137953 (code B ref 55811); Sun, 05 Jun 2022 20:34:02 +0000 Received: (at 55811) by debbugs.gnu.org; 5 Jun 2022 20:33:33 +0000 Received: from localhost ([127.0.0.1]:33605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nxwwG-00024C-NP for submit <at> debbugs.gnu.org; Sun, 05 Jun 2022 16:33:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nxwwE-00023z-Su for 55811 <at> debbugs.gnu.org; Sun, 05 Jun 2022 16:33:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oQmyt150h8dImZ13pAElKMXOvp0anbA8yF9hohL1BT4=; b=tq12LCRkmiy6fFOTNsJuesUXxN uR9qZcxUAeNZYHfgbzcZ3qMAh/GQvTTRP7py+BpTFAJ9IZwTIqWmwGioja4AN4TbMPZkhLfqinjFs qkKX4+pFWcEyYAK25IFocMPzRT5sRSq0BrUAQcZQR4iqjfu7oHwINEMXkUnq4aJvPJeM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nxww4-0006Ic-61; Sun, 05 Jun 2022 22:33:22 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUmIyBCPjvb2NWC fnxaVlP///8D7NzBAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGBRQfBGVPloYAAAFbSURBVDjLxZJh bsMwCIVBywHMxgmcHGCNfYBSc/8zDezUsdto2r9RVVX5DLxnAxhzbJFV1EOgBj5iB3QNkhIF6IEl 9hIhog50j2NJA8t9mYCXWLPl2z5AvdWabXIFd5YExKcq5bU2Kxl0ULXxTjZFAmQXxynWKatmQFcZ 6o+pKmmPJcUtnEobUH2sJHo7U82lTSs5IN/G0whkPenLhpGcWcKjK6uD45owcB/mALwCUcMyXKSp NxGWV9ZJGnFzi+S+wwQomD+XGF4qiOr1eQmegFmFWKjmazwtstm3b7DjXivHs1cgyAp2shY8RxgQ A/IEw3B/OlUwhqO/CiSpXwaeirGuWdE63J2EXqBtAQ8wjHBiPuq6jdbtv7Dt87SHHTmcL8rTbf11 zpOWtmwCr31Y057f0q0m5Yv8aPa3wKuMXB793OgC2NPtG73nP2J79Cls02DJfgF/kPbf8QN9MkfQ q5Pp+wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNi0wNVQyMDozMTowNCswMDowMKZIlPYAAAAl dEVYdGRhdGU6bW9kaWZ5ADIwMjItMDYtMDVUMjA6MzE6MDQrMDA6MDDXFSxKAAAAAElFTkSuQmCC X-Now-Playing: Nils Petter =?UTF-8?Q?Molv=C3=A6r's?= _Solid Ether_: "Ligotage" Date: Sun, 05 Jun 2022 22:33:19 +0200 In-Reply-To: <jwv4k0y97xi.fsf@HIDDEN> (Stefan Monnier via's message of "Sun, 05 Jun 2022 16:22:49 -0400") Message-ID: <87k09u26ls.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > I think `no-byte-compile` only means that we should load the `.el` file > and not generate a `.elc` file and it shouldn't mean that we should > refrain from asking the byte-compiler what is its opin [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (---) Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > I think `no-byte-compile` only means that we should load the `.el` file > and not generate a `.elc` file and it shouldn't mean that we should > refrain from asking the byte-compiler what is its opinion about the > quality of this code. I stumbled onto a related thing earlier tonight -- I said `M-x byte-compile-file RET RET' and then it did nothing -- because of the no-byte-compile. I'm not sure whether I agree with that -- if I've explicitly asked Emacs to do it, I think that should override the cookie. Or at least issue a message of some sort. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 05 Jun 2022 23:10:01 +0000 Resent-Message-ID: <handler.55811.B55811.165447057122627 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165447057122627 (code B ref 55811); Sun, 05 Jun 2022 23:10:01 +0000 Received: (at 55811) by debbugs.gnu.org; 5 Jun 2022 23:09:31 +0000 Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nxzNC-0005ss-W4 for submit <at> debbugs.gnu.org; Sun, 05 Jun 2022 19:09:31 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nxzN8-0005sc-1a for 55811 <at> debbugs.gnu.org; Sun, 05 Jun 2022 19:09:30 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 37D13808D4; Sun, 5 Jun 2022 19:09:20 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EA93980722; Sun, 5 Jun 2022 19:09:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654470558; bh=yuFwZksfPuxtc6lG0ukAYiOskQ/6FRl2v0cozEzCMCM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LSkYuzbzp0nC13pS7Fvp8jqVpPCXOwo9yk/lAJUJLgq8+3A1KPskbv9Eo8Zh63zz6 +0kb3mfADhb3sbWKEXlmczQqrK+BWEWD2s26ha1niqOecCZ4h3JhxES6mx/pcs7oAh TB+SPJ0qEpbh3/AB00dWA3g0m31cbrV6aOSkP24C+Qe8bLegWzpJK6lNJjZypDed3Y Wkx6Bjc2dgCdfATVbSiyBp6FxgzQYwBsy/2mKLbu33H2CyhqrbMlgTlbQKcYdv7ATA +e+K0K7Imzb98AcyFVlycQqZJse5TnUDn1Z5dlw10nM5Ng1Nn1t3sN70VDx8aVH8eV RWbVeflp44LRw== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7BDA1204BA; Sun, 5 Jun 2022 19:09:18 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> Date: Sun, 05 Jun 2022 19:09:17 -0400 In-Reply-To: <87k09u26ls.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun, 05 Jun 2022 22:33:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.056 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: 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 (---) > I stumbled onto a related thing earlier tonight -- I said `M-x > byte-compile-file RET RET' and then it did nothing -- because of the > no-byte-compile. > > I'm not sure whether I agree with that -- if I've explicitly asked Emacs > to do it, I think that should override the cookie. Or at least issue a > message of some sort. That's a slightly different case from mine: the `no-byte-compile` is often used either because the user really only ever wants to load the `.el` or because the compilation is known to fail (e.g. because it requires macros defined in a package that's not marked as a strict dependency, very common in tests). Generating a `.elc` file explicitly with `M-x byte-compile-file` could be a problem if subsequent "normal" use will fail to update that `.elc` because of the `no-byte-compile`. So, I think `byte-compile-file` should not silently override the `no-byte-compile`. It could prompt to choose between "really compile" and "compile but don't generate the .elc file". Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 06 Jun 2022 12:41:02 +0000 Resent-Message-ID: <handler.55811.B55811.165451924128292 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165451924128292 (code B ref 55811); Mon, 06 Jun 2022 12:41:02 +0000 Received: (at 55811) by debbugs.gnu.org; 6 Jun 2022 12:40:41 +0000 Received: from localhost ([127.0.0.1]:34604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyC2D-0007MG-H1 for submit <at> debbugs.gnu.org; Mon, 06 Jun 2022 08:40:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nyC2B-0007M3-Dg for 55811 <at> debbugs.gnu.org; Mon, 06 Jun 2022 08:40:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zO0vQOtEiO2iP0RkluRqpk4CpOLLoVNPArziKo2n4G0=; b=jcmnYsSdH9mFdkskgxn/kErQQt XGS94rXz1JpNkCcioPmyxmdskYAXYw7Ty0AkQKwzYcESOVqOV1L9pp2XeqtTlJBhLrJEhs8wRS0A/ KaU7sCfcFPlLOhCR7fdeiFgSDVkohpYxKL0rpdgW2WAw6JHQT5yTm0FC0SJnQ1nrYAcc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nyC21-0002bd-Qk; Mon, 06 Jun 2022 14:40:32 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXPy7xOQECIeHid UJn///+ao3MeAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YGBgwWNJLUQEUAAAGxSURBVDjLXZTblcMw CEQxbsCQBgA34N3039sOD3nj6PiD6AoYAQrR/9r0fOcycjEKCz+wy/jkVSBoSxCiAhAOWwpgl4PU AcrFiPb2sAwsLvINOiOAa51Btk7Olr/hIHqkFQvAgleFCk1V8RrASA5p8ECYTJn3uN4ZOMgSQGCF 3ccjlzL2ve0HsIxFqdCYdxrAqWVTgUDYDFV7J69zviJxnAsgglLlLu9Y1aUFqMEkP8o/PK/RMh6q ZCKVsM8iJojVwy8Pl6VqgSyPVHUb2AJ8A6vcdH6EigGsFgPUDNot+yF5u1uuWpUqq5s39Bu0lqpu mqzfAPm1y26dI2LA1vMD+3w0CqOpbd33oJE/A2ePSaTlkc05n4BShvFBfAOeMS0/PbwHLuf+LniG iluuBdfe9b52AL5zcDYa8a+rwO3BA/i6MLKsMkONqUcOfHzkLGPu4vwpAMuJXSEGoVxDqwV4R2pe A4RzANIdyL7FIfWcNcEmEduQqAsa5BZgfXUoHFn3ACBBgAEcMoPme7YlOjme+DGAzt/s5ACDQP/4 j4HgebUsn0XMOq7n7AswdXN0tdbjD0FgXKAO/X3SAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2 LTA2VDEyOjIyOjUyKzAwOjAwkjTvCQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wNlQxMjoy Mjo1MiswMDowMONpV7UAAAAASUVORK5CYII= X-Now-Playing: Hilt's _Stoneman_: "B.I.T.D. (Beer In The District)" Date: Mon, 06 Jun 2022 14:40:29 +0200 In-Reply-To: <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Sun, 05 Jun 2022 19:09:17 -0400") Message-ID: <87h74yx8w2.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> writes: > So, I think `byte-compile-file` should not silently override the > `no-byte-compile`. It could prompt to choose between "really compile" > and "compile but don't generate the .elc file". Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (---) Stefan Monnier <monnier@HIDDEN> writes: > So, I think `byte-compile-file` should not silently override the > `no-byte-compile`. It could prompt to choose between "really compile" > and "compile but don't generate the .elc file". Yup. Or perhaps just issue a message that it's not doing anything -- this is a pretty obscure situation, after all. By the way, do we have a convenient command for "compile but don't generate the .elc file" somewhere? (I feel like I've asked this before, but I've suppressed the memory of the answer.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 06:41:02 +0000 Resent-Message-ID: <handler.55811.B55811.165458403615065 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165458403615065 (code B ref 55811); Tue, 07 Jun 2022 06:41:02 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 06:40:36 +0000 Received: from localhost ([127.0.0.1]:37355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyStI-0003uu-A9 for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 02:40:36 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:45933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1nyStF-0003ue-2M for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 02:40:35 -0400 Received: by mail-wm1-f54.google.com with SMTP id n124-20020a1c2782000000b003972dfca96cso8942942wmn.4 for <55811 <at> debbugs.gnu.org>; Mon, 06 Jun 2022 23:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=keNKtyIX8Bp3gSDrCDy/4d2kYkWXOqkAzK97qYZ3U+s=; b=Lm5FMCaqa4xft/YRxAykiJLjmkQAGAYSaJxUFcyy/7+riscCpZHNjTrr4IPZTtltza ALvwn3IQAE4Wz5ZKvbxBhjeMd2YsmIxZwqYeO4uZfJaHaZczBEaPUyqQsINpp14y/VRl z4GtauanZuQfYk6OOXKc1bWvFxPBo4HE35MMf+qGOo3hgJrGqoUoe34i8P3krFwM7+/7 +J1lVTuj2Z9UL5cl4BfdSyfYug1l1fJpS6qbl80L69AWSi2ODuNHqdQVYQ4TqXZPk/qf RfSaNp7qwa3yS+WrgtlxGLrx5Zc4Gymzal7fX+DHCWAPYEMl+fQ1C23aMgiSXbEXZrOZ Ka5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=keNKtyIX8Bp3gSDrCDy/4d2kYkWXOqkAzK97qYZ3U+s=; b=22vjtTsl+eUMSgcYTJ4hE8+9OEr458akB+iw15cnD0M6B0AhO8hdNW1W9fl6IV7ZJ9 S2nxP3t79C0jmReOdFWNT2VgRV/SXpbs+0RQ7XiwjeWqaXMWjTB82n+TcKsVlb34M+YV 6RFSddLfjOEFqElvln0OqLQkVCgWb66E1K5i51xcfJ+krwayuGebCeemEB7VpFeAWl44 gcLIAUwT+fsB5PF1df/sxWj3np2Twsb4g+7DsNfnW+4jgUMmBPcBl7S8Gdry+2PRa0/E gk8x3vifOlnDBRuIEUtfiuMPmAf89AHJFGOSoDuwFX/XuwwKL9HnUdYVdowi6VoFCO/D 4CVg== X-Gm-Message-State: AOAM530LYPdLF48d5RXQimnw51bWjTHLvDw1ar4y52zAeaPRTn5B/NSX OXap2IiZ5/WIcVbFTrq9wbBrp1zA7t0PrA== X-Google-Smtp-Source: ABdhPJwQx+fiyNoaCzzkugrlsG1fa2ol49DsRk6pMV/SRyoff4gW7OcwbtUw1MwUemK0z34Wv2AQ0g== X-Received: by 2002:a05:600c:3c8f:b0:39b:808c:b5cb with SMTP id bg15-20020a05600c3c8f00b0039b808cb5cbmr27680166wmb.11.1654584026775; Mon, 06 Jun 2022 23:40:26 -0700 (PDT) Received: from krug ([87.196.73.138]) by smtp.gmail.com with ESMTPSA id h1-20020a056000000100b0020c5253d8casm17084108wrx.22.2022.06.06.23.40.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 23:40:26 -0700 (PDT) From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> Date: Tue, 07 Jun 2022 07:41:41 +0100 In-Reply-To: <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Sun, 05 Jun 2022 19:09:17 -0400") Message-ID: <87k09t561m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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: -1.0 (-) Hi Stefan, Stefan Monnier <monnier@HIDDEN> writes: > That's a slightly different case from mine: the `no-byte-compile` is > often used either because the user really only ever wants to load the > `.el` or because the compilation is known to fail (e.g. because it > requires macros defined in a package that's not marked as a strict > dependency, very common in tests). By this you mean that the provider of such macros is not `require`d? Then I don't understand what Flymake's byte-compilation backend could do about this either... As far as I understand it would just red-underline all the unknown macro-using forms, their bodies wouldn't be checked. Is this what you want? To check the rest of the file regardless? Of course you know this -- but just to clarify -- the byte-compilation backend works by launching a Emacs -Q which is asked to byte-compile only a file containing the current buffer's contents. During that byte-compilation nothing more is loaded apart from what is preloaded or explicitly loaded by the file at compile-time (via require or eval-when/and-compile stuff). A related issue is that when there _is_ an explicit require, then the load-path support is pretty poor: only the current directory is added to it. If the `require`'d file lives somewhere else, there's no way to hint that to the byte-comp backend, with a particular load-path. Anyway, maybe you could give small example of such a file containing such a cookie where you think Flymake's "I refuse to lint this" behavior could be improved. Jo=C3=A3o
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 11:48:02 +0000 Resent-Message-ID: <handler.55811.B55811.16546024589971 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.16546024589971 (code B ref 55811); Tue, 07 Jun 2022 11:48:02 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 11:47:38 +0000 Received: from localhost ([127.0.0.1]:38818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyXgP-0002ai-SJ for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 07:47:38 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nyXgK-0002U8-Un for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 07:47:36 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 16F8F4426C5; Tue, 7 Jun 2022 07:47:27 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AC4334426C2; Tue, 7 Jun 2022 07:47:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654602445; bh=xKrQwsob7Ao8KZ4bU5cFneb48ROYpfTnSvbf+PPaIRg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bAofUtW6zsI0Zu3psrfAcn/0is+QRtmZICBeUV24luQ4ObcdWuYgXUfixxvIWd6Z5 apWK6g30UEoIAfbZpvP+U0iWiZ16k5d9HIMecIL5Bz5m+mTBMeJDU2yJCQdvwSM23g P1evfhw4jdsT5lRiw1Yl0uunu51W84FeMr4+jF/N0mFotu4nzyibjZ52wvEFfk+4hK spDLWaJUHpGK3/utMWe02XFa+oGmTTTZJx7Rb69smNpy6z/R1EJeokeWyC9YCtYyiM uwWO0UKCf9twIpJ1Y+LwspSDpBnvucD8bUrPRSJw6mvZVhfjvzxNQPeYi8jTESIQWf ZQ01MmK1UnBbg== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 725281204C5; Tue, 7 Jun 2022 07:47:25 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> Date: Tue, 07 Jun 2022 07:47:24 -0400 In-Reply-To: <87k09t561m.fsf@HIDDEN> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 07 Jun 2022 07:41:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.061 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain KAM_SHORT 0.001 Use of a URL Shortener for very short URL T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: 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 (---) > Of course you know this -- but just to clarify -- the byte-compilation > backend works by launching a Emacs -Q which is asked to byte-compile > only a file containing the current buffer's contents. During that > byte-compilation nothing more is loaded apart from what is preloaded or > explicitly loaded by the file at compile-time (via require or > eval-when/and-compile stuff). This bug-report is about the fact that there is no benefit to obeying `no-byte-compile` in flymake. Not about improving the way the sub-process reproduces a "good" initial state to compile the file (e.g. set up of `load-path` and whatnot). > Anyway, maybe you could give small example of such a file containing > such a cookie where you think Flymake's "I refuse to lint this" behavior > could be improved. A good example are all the files in the [EEV](http://elpa.gnu.org/packages/eev.html) package. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 11:56:01 +0000 Resent-Message-ID: <handler.55811.B55811.165460291110806 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165460291110806 (code B ref 55811); Tue, 07 Jun 2022 11:56:01 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 11:55:11 +0000 Received: from localhost ([127.0.0.1]:38840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyXnj-0002oD-9m for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 07:55:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nyXna-0002nS-Ip for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 07:55:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8LPYpGq6dTddfd6KplOoekr0rN7y7P6OMRg9GH9oo9E=; b=GeBuWL1qyNrNSaVaTMYUQ3J/LZ hBu4SoRP9iStJmpm1OhzL/Mw2Rr2l4BdJYf5kEfs+H3BTEdKCVLAxVAWLU4B5QFz07ev+DtE9d24v YcF78DJFBqoyOxUK0Vc66xF8US1+XLPP8L+xSEJIoZhqTl1S/rzZhQV9te6HOTvFBHZQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nyXnQ-00029f-OG; Tue, 07 Jun 2022 13:54:55 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEUEAgJ3dJSDfJqw kmPCubRbSD+Sb0osHRn////yXTMLAAAAAWJLR0QIht6VegAAAAd0SU1FB+YGBwsdJaZjyJwAAAGT SURBVDjL1VPBbuQgDLW0lTgTTdpzUPYDVjA5TwOTc7Ot4borCrkidah/f01npqp6rrTqU5QQP/z8 bAHA94JsGNTQDZ26wOy6QQIv3GeMzs3QDapfu2FU8zi/E7MawG81EPYr9tX/lamTTeG+6yGaufMV Kz7qX2mI1jjrxiMiE8vtbyXV+KGGsTEBf3+24PwedNboqIEVj+O8Kjk+phzv8xKNTVE7wB0GFIJQ njbv/W6vjEs5Z+glBCFxRXzS0Whj+YkuRSBfQNwRCToZLmGtniyL5etkmLgx7nByS85O6+ShiEKM xFLOHW5sjtxAPCK0MJdHoidnlh824+uz9WkDakzNeasvblqEjftqlhwSsFOqPk8Jo9lvYLXmxFAQ aA1U9YSINac/oOOU4/RQCAgJ0Vha7ypS4Z54H4Yi2CgHMAhOoWabwXUbIaAFKhPlraHzL53XhXcW 7rGINgIeRQ2NKG8SLedBYNMiLgRN6yLFWRzhd9t3nZUo11X5fMDobKhliLODa87F6Zcc4+ZH/O+7 9B3xD0fhnNvs0itgAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTA3VDExOjI5OjM3KzAwOjAw 7SHPgQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wN1QxMToyOTozNyswMDowMJx8dz0AAAAA SUVORK5CYII= X-Now-Playing: Blaine L. Reininger's _Commissions 2 (2)_: "Mombalaya" Date: Tue, 07 Jun 2022 13:54:52 +0200 In-Reply-To: <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Tue, 07 Jun 2022 07:47:24 -0400") Message-ID: <877d5sk7sj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> writes: > This bug-report is about the fact that there is no benefit to > obeying `no-byte-compile` in flymake. Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, you'll get a whole bunch of compilation errors, and you don't want to see those, I think? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (---) Stefan Monnier <monnier@HIDDEN> writes: > This bug-report is about the fact that there is no benefit to > obeying `no-byte-compile` in flymake. Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, you'll get a whole bunch of compilation errors, and you don't want to see those, I think? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 12:02:02 +0000 Resent-Message-ID: <handler.55811.B55811.165460329617362 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165460329617362 (code B ref 55811); Tue, 07 Jun 2022 12:02:02 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 12:01:36 +0000 Received: from localhost ([127.0.0.1]:38866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyXtu-0004UL-SE for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:01:36 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:40828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1nyXtp-0004KB-5T for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:01:33 -0400 Received: by mail-wr1-f52.google.com with SMTP id k16so23855939wrg.7 for <55811 <at> debbugs.gnu.org>; Tue, 07 Jun 2022 05:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=GQxkozSOvG/GIUT0PcwHOQ4GBUbzj5Im8D2iaeCHQC8=; b=YzTD756pHfzhUfBQX3vsQRv2tUWybYT1E+tvEGWq+IvbJMh26VAW+JgEWzNAFm+xVN dkGcBX4GtrASO0hnUIDlwhdyfXoXT/s+9U0HwiM6xPeZW6tiXOpQd4eV9GbNUiO8tYUz AyoErp8i6WGGU6yI/Pm1hKxACsbPEduJRW/XoLED9GXxjJM8Y//njRICPTU9hjLVo4Wp qPDmMfnraCt0t+7v3LwkIBCeO7ywP3Ps7mExfvsNOD/9WWjUBp/PduD9660Jq6y3sr85 phAaQEwovrQXBqbacmzyHjfxQeBOD9w54VUW8c3Q0vs2Woteb+ZNlPWEo1L2RVxP8ct0 WOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=GQxkozSOvG/GIUT0PcwHOQ4GBUbzj5Im8D2iaeCHQC8=; b=x+UOsLI/1jJDkVthC6OOJmB63F3aAG1vOG6AZhRsQvl0OUs4aYip9msKu1EPwzzeq8 sixkPBrPwG+UiRTisXNDaQfJp21oAHH6s6V12jjrTfNuaxoJJMUOT/SttjG53+LVjIaQ AUthFmLLGbu8dzeRSvPDJ0bG+CIkM9CFfFTq1BGd0oy9DeBFmRln8SYqx+MXLXhegILq AM2giB6Iy5h5UCJg/AaPkVL2F11sGU899TB4roR4bL1KjUG4tdHfTCaaWr+R95BHHXaU 1fqLc0XBZsbYUw0Dj4FWIHxt/KDhbqPQH6ehUqtrs0nBMavYzkdFbTG0cDSy4KKRrg/n TASQ== X-Gm-Message-State: AOAM533bBU/vO6UsqLh+DdsInrP/3xzMw6j9K+sD/mIASSC85sdln+3q k9lM1SGnT33ktctuOZK8h8P4iRvUmCEekw== X-Google-Smtp-Source: ABdhPJx9Jy7c0PI8BrkECLNODG2P4ENU9PvsyPgRshH9GD0fFT9K5B8K4kQH6u8l95fN25MPyWjNAw== X-Received: by 2002:adf:f68f:0:b0:216:10c6:b389 with SMTP id v15-20020adff68f000000b0021610c6b389mr17930465wrp.251.1654603282685; Tue, 07 Jun 2022 05:01:22 -0700 (PDT) Received: from krug ([87.196.73.138]) by smtp.gmail.com with ESMTPSA id s1-20020adfea81000000b00210320d9fbfsm21561955wrm.18.2022.06.07.05.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 05:01:22 -0700 (PDT) From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> Date: Tue, 07 Jun 2022 13:02:41 +0100 In-Reply-To: <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Tue, 07 Jun 2022 07:47:24 -0400") Message-ID: <87bkv465r2.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> Of course you know this -- but just to clarify -- the byte-compilation >> backend works by launching a Emacs -Q which is asked to byte-compile >> only a file containing the current buffer's contents. During that >> byte-compilation nothing more is loaded apart from what is preloaded or >> explicitly loaded by the file at compile-time (via require or >> eval-when/and-compile stuff). > > This bug-report is about the fact that there is no benefit to > obeying `no-byte-compile` in flymake. Not about improving the way the > sub-process reproduces a "good" initial state to compile the file > (e.g. set up of `load-path` and whatnot). Sure, I understood. I was just commenting on the fact that the quality of Flymake diagnostics might not be so good/helpful since those diagnostics are likely affected by the same root causes that prevent normal byte compilation anyway. ( Also, on the tangent note about load-path and Flymake, I completely forgot that I added elisp-flymake-byte-compile-load-path some 4 years ago.) >> Anyway, maybe you could give small example of such a file containing >> such a cookie where you think Flymake's "I refuse to lint this" behavior >> could be improved. > > A good example are all the files in the > [EEV](http://elpa.gnu.org/packages/eev.html) package. OK. Try this "100% untested patch" (TM) then: diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 70826b4c3a..b99007c938 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -2152,7 +2152,9 @@ elisp-flymake--batch-compile-for-flymake collected) t))) (unwind-protect - (byte-compile-file file) + (progn + (setq-local no-byte-compile nil) + (byte-compile-file file)) (ignore-errors (kill-buffer byte-compile-log-buffer))) (prin1 :elisp-flymake-output-start)
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 12:13:01 +0000 Resent-Message-ID: <handler.55811.B55811.165460395420974 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: Stefan Monnier <monnier@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.165460395420974 (code B ref 55811); Tue, 07 Jun 2022 12:13:01 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 12:12:34 +0000 Received: from localhost ([127.0.0.1]:38890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyY4Y-0005SD-Fl for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:12:34 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:55260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1nyY4T-0005Rx-Oa for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:12:33 -0400 Received: by mail-wm1-f41.google.com with SMTP id n185so9212569wmn.4 for <55811 <at> debbugs.gnu.org>; Tue, 07 Jun 2022 05:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=hTl4GRKDnbPP/S0aTqFYRd7PZRpizF1QbNuOsqngO9A=; b=WncasemrKiTh6Q3eqTK7d5wiuggXk2LTRPlzo2armg2gEb2PPCDTR7w61HSdnD9H+r Pm5tlwm6HUq0J/dgn9tSYu8EkhYu13I8ntcK/9kCTMwE0jyt2RaxQppPOt0tMQyGZvIs 2oulDb0O3DVJsPJltU7OrLtnSwnOaG9lZm9yxTrYd6BFK+qABLavnrfZjltdnlanF/o3 1JPBjO4JnyWu1XxTnTLr8fkw2KAuGLiRXfr5UNG7neIRKV65P8Sr77RmIi3TQ4P6DC6I O9ntq2RUglJbljKMhUhtvQgrHJ0s3rDyQ0I5cGGoDsIhEXpqEcp0KGC75uXXFroeBQ0J SJuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=hTl4GRKDnbPP/S0aTqFYRd7PZRpizF1QbNuOsqngO9A=; b=2jxNB87ZrHBJSyD2IMefM0/hqEg8TrrMoGBSqdrPOLcEcWmAmuOgu1oeS6xv0OOUnT ObPIfOiX8xBvN7yiVRmv1XS/AN2dnhhnvtUp++2E72HytsU2NkTJ02xvHYruTUXSbFha wBGAynAJOEdM+DBCXJtqjEiHD1DGsB9xSZSv5TvfBMe3XhMxE/GU/c7SkpqHuhE33ahR Qi5sTzTYiQUOPPDyAJp6BbgFToy7LHNC3iSyJfFVlqoosV5IXL0mbDxGkeK5ID/KRPay P2Ia97CGzkXG11mIUqcp6+pGF6LxaTnWd+ji6JQFMstmN+Bg2BK9A7KMxVy8i+ThElA9 rSUw== X-Gm-Message-State: AOAM531SQhbbnIv06X9A9YkrZyNkGBlNOqT+qzuHKX4JgbmpzA9ZOhX0 HbncD9shde5EsnWGcnahNTxOCyS0pB0= X-Google-Smtp-Source: ABdhPJyUe7KHnMfJ+KJ0sAFTe1+CZtfpnb8aKOjVd3FZRwNduvw7d0yDThjJVH4ytUaQQCD9QHb76Q== X-Received: by 2002:a05:600c:a4c:b0:39c:34d0:fd25 with SMTP id c12-20020a05600c0a4c00b0039c34d0fd25mr26504723wmq.172.1654603943442; Tue, 07 Jun 2022 05:12:23 -0700 (PDT) Received: from krug ([87.196.73.138]) by smtp.gmail.com with ESMTPSA id l13-20020a05600c4f0d00b0039c55bc2c97sm3625689wmq.16.2022.06.07.05.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 05:12:23 -0700 (PDT) From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> <877d5sk7sj.fsf@HIDDEN> Date: Tue, 07 Jun 2022 13:13:42 +0100 In-Reply-To: <877d5sk7sj.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 07 Jun 2022 13:54:52 +0200") Message-ID: <877d5s658p.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Stefan Monnier <monnier@HIDDEN> writes: > >> This bug-report is about the fact that there is no benefit to >> obeying `no-byte-compile` in flymake. > > Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, > you'll get a whole bunch of compilation errors, and you don't want to > see those, I think? They could be useful I guess. There are two cases to distinguish here (which is what I failed to clarify before). Perhaps Stefan is thinking of the second. 1. The file has this form: (require 'foo) =20=20=20=20=20=20=20 (fooey-macro (some-shady-stuff-the-byte-comp-could-look-into)) (some-more-shady-stuff) ;; Local Variables: ;; no-byte-compile: t ;; End: and the reason for adding the no-byte-compile cookie is that foo.el can't be found at compile-time. Then I think there is little reason to activate Flymake there. That's because Flymake will halt at the (require 'foo) and not look into the rest of the file. 2. The file is identical but doesn't have the (require 'foo), then, I think Flymake will underline the first form, but carry on looking into other stuff. This is possibly helpful, according to one's own tolerance of signal-to-noise ratio. If some files in case 2 are still unbearably noisy for some, then I think there are existing ways to force Flymake off using buffer-local variables. =20=20=20 Jo=C3=A3o
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 12:35:01 +0000 Resent-Message-ID: <handler.55811.B55811.16546052857192 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.16546052857192 (code B ref 55811); Tue, 07 Jun 2022 12:35:01 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 12:34:45 +0000 Received: from localhost ([127.0.0.1]:38919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyYQ0-0001rv-OJ for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:34:44 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nyYPy-0001rg-Op for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:34:43 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3F4E0100ED7; Tue, 7 Jun 2022 08:34:37 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 79B4C1005FD; Tue, 7 Jun 2022 08:34:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654605275; bh=b/cv6OGnhAvVlTzH0DRPtObbZsjP80xO0wbrzLiJ6H0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iKVCy/dFmxXtuYoc/rMfsYLZ/uSIRJrnf1jQ64ImXADmdkaQ8Rh6/ONYEYHi+ZJl+ kYMSF5tnT6nAFmGQ+dS0Ev53jDhyIA+oCvgZJUOzRSklaoE6mhinPDpnDDaBFR51qI X8Vf4Je0nddDh1rBJQTrGbozDx09/PvaN0EC2k1qyhyCT4zhRCw6maZjBJQUDwNyS4 F9aHO1kqlcchnn1QXkC1Z+khp+w+daR5asuxIBN4s7wVoEvaQ7vMex/zz4c7Mk/Q2I Hx/dtMle6fX3eBzA40aR5T40VByVT+DEmvXh+VZkKnIu0yYe1Zv3NC453mATxCZXAy dbUs4FAjB/FhA== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4718C1202AF; Tue, 7 Jun 2022 08:34:35 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwv5ylclkmu.fsf-monnier+emacs@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> <877d5sk7sj.fsf@HIDDEN> Date: Tue, 07 Jun 2022 08:34:34 -0400 In-Reply-To: <877d5sk7sj.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 07 Jun 2022 13:54:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.043 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: 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 (---) Lars Ingebrigtsen [2022-06-07 13:54:52] wrote: > Stefan Monnier <monnier@HIDDEN> writes: >> This bug-report is about the fact that there is no benefit to >> obeying `no-byte-compile` in flymake. > Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, > you'll get a whole bunch of compilation errors, and you don't want to > see those, I think? Why not? Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 12:43:02 +0000 Resent-Message-ID: <handler.55811.B55811.16546057617934 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.16546057617934 (code B ref 55811); Tue, 07 Jun 2022 12:43:02 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 12:42:41 +0000 Received: from localhost ([127.0.0.1]:38932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyYXh-00023u-3Z for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:42:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nyYXf-00023h-UA for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 08:42:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=htoo4QJTj1y3IEsvlLXyNswMyVZk6cggi3mK8nIdtEQ=; b=fCBqpsRmHgUZpMzRdAavSisk1a x0BrX/Ua92180wWGh7tFENKiBl7O0DeKglViQm75wQe3Xc1i3Ftib/7g7EedGCXR+lEQg2yKtM0nD bWGG8IlkyPVhTr/OXce1hLINCFZRvLqjnWmJW+aP7ftde6hktMwCJk3ym6j9PsBv2dDg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nyYXW-0002du-Fp; Tue, 07 Jun 2022 14:42:32 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> <877d5sk7sj.fsf@HIDDEN> <jwv5ylclkmu.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWZiHhIIiGqm4uh Uzram1H///8bkq2dAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGBwwoMRvHyNIAAAF3SURBVDjLdZKN tYMwCIUx6QChdIA86gBGnECz/0wPUFujlv6cI59www0Ax8CAnIGhSwFaAMKZFKXc5COOb84IIUPX gO4ZYhlL5IGxBQiMTwRMZ5A6QESFsQWqLoJYUKi0+TLVRYnFMT0A1VqlaDoc59C+dQMjc9MpOdBe 1GrkqbJqyEUjTzP3NyAKzfzWs14qpLz6QvpRk9UwbaF/We3sl0ml9zlYI7PHWyZV8Dm8VeC8kogv m5v8C3GQCBKjmLp3IsHxrxHvdQgzy5uBfMFcF3WxbuBQMy/F7XV1KOlrOqHsBWTXuV+SPe9eDfps qxL0rB7TNuBgG5C211Gb0Db4J2dt9lvVcOVuf6cWG9mWYa3wmqRWPj5GuQbYRvodx/2sftxDPOys dLM+4AX2SycQLelr1e4hx0hrnxboAfImLRdwp7yCcgfgB/DVku/cJ1Do41QL3BQ654MtnNz0WkG5 9no4sGit8qW6EDX9HtQ1bEt1u+qhoI1/E69UVoO/kYcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MDYtMDdUMTI6NDA6NDkrMDA6MDAesTCCAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTA3VDEy OjQwOjQ5KzAwOjAwb+yIPgAAAABJRU5ErkJggg== X-Now-Playing: Thick Pigeon's _Miranda Dali_: "Sudan" Date: Tue, 07 Jun 2022 14:42:29 +0200 In-Reply-To: <jwv5ylclkmu.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Tue, 07 Jun 2022 08:34:34 -0400") Message-ID: <877d5sir0q.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> writes: >> Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, >> you'll get a whole bunch of compilation errors, and you don't want to >> see those, I think? > > Why not? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (---) Stefan Monnier <monnier@HIDDEN> writes: >> Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, >> you'll get a whole bunch of compilation errors, and you don't want to >> see those, I think? > > Why not? Because they can't be byte-compiled -- that's why they're marked as such. :-/ (There's a separate bug report about that somewhere.) So we're really using no-byte-compile for two reasons: 1) To say that we don't think it's useful to byte-compile something or 2) because we know that it's impossible. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 07 Jun 2022 13:47:01 +0000 Resent-Message-ID: <handler.55811.B55811.16546096074488 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55811 <at> debbugs.gnu.org Received: via spool by 55811-submit <at> debbugs.gnu.org id=B55811.16546096074488 (code B ref 55811); Tue, 07 Jun 2022 13:47:01 +0000 Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 13:46:47 +0000 Received: from localhost ([127.0.0.1]:39035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyZXj-0001A8-8l for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 09:46:47 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nyZXg-00013M-PQ for 55811 <at> debbugs.gnu.org; Tue, 07 Jun 2022 09:46:45 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EBCB64426DE; Tue, 7 Jun 2022 09:46:38 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AE2D9442673; Tue, 7 Jun 2022 09:46:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654609597; bh=ssCL7fhV3EAu0EeBziS+j2dSZoTVLR7xvFdmo3QdeS0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ctdr+rCyDo7Y3FgQ02HYN+JGWB3cs9Q8tbk+kDdskRkuNVUAiWCMo9yhoz+5+8eAk 4/gxSLsQt1tJKae2xY8lbdx604LXGmOpGMskGO2fBFXEv+WxsZqIa26vf9rkOAzUSO ebkhZctxOmAd9bKyXpyIVgoj2gTp7uuuQ9cm8pp/7GCCllz0GJRCtGmLFF2CgxPeGn QZoJR06OV4m46vOfXFZpNf8O245H8TisOy4/kb7WgLSQz0zJp672yDEHzuCWeBRwjN QqfCe8OgTuG85NZo9TmnbgrIBt7Qj3ar1zLAbJP5HKN7mYnkp0IroGrwJmiRqMlRyW IeaMhtrzyyOUg== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 841CA120204; Tue, 7 Jun 2022 09:46:37 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvo7z4k2pn.fsf-monnier+emacs@HIDDEN> References: <jwv4k0y97xi.fsf@HIDDEN> <87k09u26ls.fsf@HIDDEN> <jwv5ylepvb6.fsf-monnier+emacs@HIDDEN> <87k09t561m.fsf@HIDDEN> <jwv35ggn1gx.fsf-monnier+emacs@HIDDEN> <877d5sk7sj.fsf@HIDDEN> <877d5s658p.fsf@HIDDEN> Date: Tue, 07 Jun 2022 09:46:35 -0400 In-Reply-To: <877d5s658p.fsf@HIDDEN> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 07 Jun 2022 13:13:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.060 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: 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 (---) > 1. The file has this form: > > (require 'foo) > > (fooey-macro (some-shady-stuff-the-byte-comp-could-look-into)) > > (some-more-shady-stuff) > > ;; Local Variables: > ;; no-byte-compile: t > ;; End: > > and the reason for adding the no-byte-compile cookie is that foo.el > can't be found at compile-time. Then I think there is little reason > to activate Flymake there. That's because Flymake will halt at the > (require 'foo) and not look into the rest of the file. BTW, while there is little benefit to having flymake run the byte-compiler here, there is similarly little harm. And the user may then decide to install `foo` to get the rest of the file properly checked. Stefan
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.