From unknown Tue Aug 19 10:03:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2013 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13779@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1361492873313 (code B ref -1); Fri, 22 Feb 2013 00:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2013 00:27:53 +0000 Received: from localhost ([127.0.0.1]:43156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8gUR-00004y-Jv for submit@debbugs.gnu.org; Thu, 21 Feb 2013 19:27:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58607) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8gUM-0008WV-RX for submit@debbugs.gnu.org; Thu, 21 Feb 2013 19:27:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8gT1-0007tg-St for submit@debbugs.gnu.org; Thu, 21 Feb 2013 19:26:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-104.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8gT1-0007tc-PV for submit@debbugs.gnu.org; Thu, 21 Feb 2013 19:26:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8gSy-0003Db-O9 for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 19:26:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8gSt-0007sf-8y for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 19:26:20 -0500 Received: from exprod7og101.obsmtp.com ([64.18.2.155]:50370) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1U8gSs-0007sM-Qp for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 19:26:15 -0500 Received: from mail-wg0-f72.google.com ([74.125.82.72]) (using TLSv1) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKUSa7JF1qatv6hJMDbxH4spA9SwP07uya@postini.com; Thu, 21 Feb 2013 16:26:14 PST Received: by mail-wg0-f72.google.com with SMTP id fg15so137017wgb.7 for ; Thu, 21 Feb 2013 16:26:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:from:to:subject:date:message-id:mime-version :content-type:x-gm-message-state; bh=apJ0XjRpDM3WjNdnVOlYCJl6Bm37eow2JAaNi/9h2qA=; b=n1dF4rNMCBkQ7HRf/agCXpi++QrZegbSiYlugEFQ3U7SztdIuBJMNJZyle3fP7Lusx QvqLf819XVrgTLyDSRkDp0f3plgXNBFzaVsKlzwWeLe+8yioBfKw1yAL3Iq9g8XyT7rA XbtYevFA7VTmhA6nWoFAJB7H+R7GUaSqQ/kwXDlJNSt3flcDLJy9cSAg1Fzw6z9tNdTc UirMC34O9EOtsKk3j4DhA5jeC/X3Sz6E6Rcxe067ATOmW72h+fYhm25c70OxfZpcMccl GI1D7FKXfkoNiuapsMvKkRFeaPWNBzxwI62Me4j1EfouOAxjLn9aS6xH3OY/3atZR8r2 ZwGw== X-Received: by 10.194.103.163 with SMTP id fx3mr45355518wjb.58.1361492772549; Thu, 21 Feb 2013 16:26:12 -0800 (PST) X-Received: by 10.194.103.163 with SMTP id fx3mr45355513wjb.58.1361492772418; Thu, 21 Feb 2013 16:26:12 -0800 (PST) Received: from skwd ([149.241.115.91]) by mx.google.com with ESMTPS id ex1sm591164wib.7.2013.02.21.16.26.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Feb 2013 16:26:11 -0800 (PST) From: Reuben Thomas Date: Fri, 22 Feb 2013 00:26:10 +0000 Message-ID: <87mwuxgpnh.fsf@sc3d.org> MIME-Version: 1.0 Content-Type: text/plain X-Gm-Message-State: ALoCoQmvQfsv7GU99si+saJrfaKa5/RF7NFhF2Yt0skFAcJ1Y5CbJRg6Dxskklcb4epgCDP7dMLMC49Uh1iJ57LDc/UCwAGsBORaJ6JLNRyoSc4EePp/gkZ4ovte1uuVY/iYro5ci4a9YZHPg7/Ziak4ip1C7q5NGpUHs4Fhl1RA8+l4ZGhbxK4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) In flymake-mode.el is the following commented-out line: ;;+(add-hook 'find-file-hook 'flymake-find-file-hook) It has not been touched since 2005, and the commit log then suggests it was merely moved from another place; I can't find any other reference to it in the bzr logs. According to the manual, adding this hook to find-file-hook is the recommended way to activate flymake-mode automatically, and that is never done. Nor can I find a way to turn flymake-mode on automatically with customize; it seems the best I can do is copy the above line, uncommented, into my Emacs initialization file. It is far from obvious that the line above should be uncommented, but if not, maybe it should be removed, and a more user-friendly and standard way of activating flymake-mode automatically added? In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-12-13 on komainu, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11300000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil 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_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Bzr-Log-View Minor modes in effect: diff-auto-refine-mode: t recentf-mode: t show-paren-mode: t server-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t dtrt-indent-mode: t desktop-save-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t tooltip-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x o C-x C-f C-g C-h f f l y m a k e - m o d e C-e C-b C-b C-b C-b C-b C-b C-s f i n d - f i l e - h o o k C-a C-x C-f ~ / S o f r e p o / e m a c s / s i t e l i s p / p r o g f l C-x 1 C-s a d d - h o o k C-a C-n C-n C-n C-x v g C-x 0 C-x v g C-x 0 r C-_ C-x v g f C-x 0 M-< C-x v g C-s a d d - h o o k C-n C-n C-n C-a l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-x o C-a C-p C-n C-SPC C-n M-x r e p o r t - e m a c s - b u g C-g C-g C-g C-x b C-x v l C-x 1 C-s h g o o k o o k C-s C-s C-s C-s C-s C-a C-s C-s C-s C-s M-< C-s f i n d - f i l e - C-s C-s C-s C-a M-> C-a C-e C-b C-b C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a M-> M-x r e p o r t - e m a c s - b u g Recent messages: byte-code: End of buffer [2 times] byte-code: Beginning of buffer [8 times] Mark set Quit [3 times] Mark saved where search started [2 times] Mark set Mark saved where search started Mark set Mark saved where search started Mark set Load-path shadows: /home/rrt/local/share/emacs/site-lisp/browse-kill-ring hides /usr/share/emacs24/site-lisp/emacs-goodies-el/browse-kill-ring /home/rrt/local/share/emacs/site-lisp/dict hides /usr/share/emacs24/site-lisp/emacs-goodies-el/dict /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary-init hides /usr/share/emacs24/site-lisp/dictionary-el/dictionary-init /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary hides /usr/share/emacs24/site-lisp/dictionary-el/dictionary /home/rrt/.emacs.d/elpa/dictionary-1.8.7/link hides /usr/share/emacs24/site-lisp/dictionary-el/link /home/rrt/.emacs.d/elpa/dictionary-1.8.7/connection hides /usr/share/emacs24/site-lisp/dictionary-el/connection /usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs/site-lisp/golang-mode/go-mode-load hides /usr/share/emacs/24.2/site-lisp/golang-mode/go-mode-load /usr/share/emacs/site-lisp/golang-mode/go-mode hides /usr/share/emacs/24.2/site-lisp/golang-mode/go-mode /usr/share/emacs/24.2/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/24.2/site-lisp/cdargs hides /usr/share/emacs/site-lisp/cdargs /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.2/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.2/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.2/lisp/textmodes/flyspell Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils add-log log-view pcvs-util vc-annotate vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher vc-bzr find-func etags latexenc preview prv-emacs tex-buf font-latex latex tex-style misearch multi-isearch m4-mode conf-mode newcomment make-mode pp help-mode view lua-mode nroff-mode autoconf autoconf-mode sh-script executable todoo noutline outline flymake compile comint ansi-color ring inform-mode diff-git diff-mode vc-git cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jka-compr face-remap flyspell ispell smart-quotes auto-dictionary-autoloads c-eldoc-autoloads dictionary-autoloads diff-git-autoloads dired-isearch-autoloads full-ack-autoloads guess-style-autoloads kill-ring-search-autoloads magit-autoloads mv-shell-autoloads tumble-autoloads http-post-simple-autoloads package tabulated-list completing-help recentf tree-widget wid-edit uniquify paren server savehist minibuf-eldef iswitchb icomplete autorevert dtrt-indent desktop cus-start cus-load ropemacs pymacs warnings url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp gnus-util password-cache url-vars mm-util mail-prsvr tex dbus xml regexp-opt remember user-site-loaddefs advice advice-preload yasnippet help-fns derived edmacro kmacro easymenu assoc cl muse-autoloads go-mode-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode preview-latex tex-site auto-loads time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- http://rrt.sc3d.org/ From unknown Tue Aug 19 10:03:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 May 2013 13:28:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13779@debbugs.gnu.org Received: via spool by 13779-submit@debbugs.gnu.org id=B13779.136905646428940 (code B ref 13779); Mon, 20 May 2013 13:28:09 +0000 Received: (at 13779) by debbugs.gnu.org; 20 May 2013 13:27:44 +0000 Received: from localhost ([127.0.0.1]:52693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeQ7r-0007We-8l for submit@debbugs.gnu.org; Mon, 20 May 2013 09:27:44 -0400 Received: from exprod7og129.obsmtp.com ([64.18.2.122]:33029) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1UeQ7m-0007WL-Bs for 13779@debbugs.gnu.org; Mon, 20 May 2013 09:27:40 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]) (using TLSv1) by exprod7ob129.postini.com ([64.18.6.12]) with SMTP ID DSNKUZokp9lcUF2mD9zL3v9c6FnI8A0Y32Au@postini.com; Mon, 20 May 2013 06:27:05 PDT Received: by mail-lb0-f180.google.com with SMTP id r10so2793641lbi.25 for <13779@debbugs.gnu.org>; Mon, 20 May 2013 06:27:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=2Ke06Q9EjE8IulZwRe/SxEj69w9Iw2Z1pNi+MlOnSl0=; b=X1uaUk4kBiBfzQHxhU7ODpdsxMvRdPbvWWWdmTA2W40+nE0roYVc1nYt7C8WE6JtTO jMARHdQlbfqwbT69f8/JHr++Cwabkj1bhQXqthSA3pKBXm+2KFvz/PdqyMJAOasHcSHL YJu8eSdjNe3FwfcmFfAr7RSbV4KcxhrucKfCKsOlynHzzsx4LWj3QBvE1QI+s0xcD2WL 77BQGh6qfFFOwNmea68Y3YwtLcVSoaQl9BN0+4ufFv2ECZBnTlEKcvN1Ed1VfQ6bTekE SELfeGdRmeDdonyCNpBccjQNZM07gZchLLkwSiWOuDysi3INWAVkKwpSJuiINv/7t1vE UfYw== X-Received: by 10.152.37.196 with SMTP id a4mr28390435lak.55.1369056423854; Mon, 20 May 2013 06:27:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.37.196 with SMTP id a4mr28390429lak.55.1369056423635; Mon, 20 May 2013 06:27:03 -0700 (PDT) Received: by 10.152.133.74 with HTTP; Mon, 20 May 2013 06:27:03 -0700 (PDT) In-Reply-To: <87mwuxgpnh.fsf@sc3d.org> References: <87mwuxgpnh.fsf@sc3d.org> Date: Mon, 20 May 2013 14:27:03 +0100 Message-ID: From: Reuben Thomas Content-Type: multipart/alternative; boundary=089e01493c8acefc6104dd26496e X-Gm-Message-State: ALoCoQm8t6XKdK2FLZjzMwMPbj6kOnaHLh2MQ4sMYY4RVMmiaUklFEQnhiw7Q5VvRwskEPHRoH/d1KWP3Znqk+JZgET07LxWdzCXpXO3P/peC6r5uEDUjerE4ZCJeRUzupNeTHHjgbMKPnpaf8MXvl59Sgnz5qXkVl+EkfM7M1ek3SVki950geI= X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) --089e01493c8acefc6104dd26496e Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 22 February 2013 00:26, Reuben Thomas wrote: > In flymake-mode.el is the following commented-out line: > > ;;+(add-hook 'find-file-hook 'flymake-find-file-hook) > > It has not been touched since 2005, and the commit log then suggests it > was merely moved from another place; I can't find any other reference to > it in the bzr logs. > > According to the manual, adding this hook to find-file-hook is the > recommended way to activate flymake-mode automatically, and that is > never done. Nor can I find a way to turn flymake-mode on automatically > with customize; it seems the best I can do is copy the above line, > uncommented, into my Emacs initialization file. > > It is far from obvious that the line above should be uncommented, but if > not, maybe it should be removed, and a more user-friendly and standard > way of activating flymake-mode automatically added? > Ping? I've been using this setting in my init file without problems for a while now=85 --=20 http://rrt.sc3d.org --089e01493c8acefc6104dd26496e Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On 2= 2 February 2013 00:26, Reuben Thomas <rrt@sc3d.org> wrote:
In flymake-mode.el is the following commented-out line:

=A0 =A0 =A0 ;;+(add-hook 'find-file-hook 'flymake-find-file-hook)
It has not been touched since 2005, and the commit log then suggests it
was merely moved from another place; I can't find any other reference t= o
it in the bzr logs.

According to the manual, adding this hook to find-file-hook is the
recommended way to activate flymake-mode automatically, and that is
never done. Nor can I find a way to turn flymake-mode on automatically
with customize; it seems the best I can do is copy the above line,
uncommented, into my Emacs initialization file.

It is far from obvious that the line above should be uncommented, but if not, maybe it should be removed, and a more user-friendly and standard
way of activating flymake-mode automatically added?
Ping? I've been using this setting in my init file without= problems for a while now=85

--
http://rrt.sc3d.org
--089e01493c8acefc6104dd26496e-- From unknown Tue Aug 19 10:03:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 May 2013 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13779@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13690602718595 (code B ref -1); Mon, 20 May 2013 14:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2013 14:31:11 +0000 Received: from localhost ([127.0.0.1]:52995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeR7G-0002EV-7S for submit@debbugs.gnu.org; Mon, 20 May 2013 10:31:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59273) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeR7A-0002DO-Uj for submit@debbugs.gnu.org; Mon, 20 May 2013 10:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeR6V-0003t9-PQ for submit@debbugs.gnu.org; Mon, 20 May 2013 10:30:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeR6V-0003sz-Kv for submit@debbugs.gnu.org; Mon, 20 May 2013 10:30:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeR6Q-0001xN-TS for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 10:30:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeR6M-0003pz-1j for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 10:30:18 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:52275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeR6L-0003pe-HF for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 10:30:13 -0400 Received: from [192.168.178.21] (brln-4db9f36c.pool.mediaWays.net [77.185.243.108]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LgL5M-1UApR11bXg-00oJg9; Mon, 20 May 2013 16:30:11 +0200 Message-ID: <519A3410.30902@easy-emacs.de> Date: Mon, 20 May 2013 16:32:48 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 References: <87mwuxgpnh.fsf@sc3d.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:JlprwZw88SAFAY/B98Al6oUr+3F65Bch9iWRN0CnH0h mn1F+GWkM5N1sBn5Lsm6ZPfCXQBQR9MSy05uS+pAD96/cIDSID 95p15Bo2kJlYM0FCJiMzjUjiVYREaKEDVGXq4wHeajPCrFLHN0 lYb6Nqnw9cIuJjNVMKJ9daPJ4wfUZNoD7tXaAjyJEcBkv3/E1H YGJ+Xx0b9zSaSkRgvxOWJWld6RyCJfLn2/eHPxxEBtZoV6hxI8 aEnbd8YgKxVnNBl20ueOHTlu4K0cgzeh2UrUQyFxxULtTWCa4q exi4gbzR9D469UdZNK/TnzyY8SxMTN+ZtYxqD1m8qq9DBv1h9q wCjCXZ1gaacnJCI/MMJiGWs3iqb5joRYrb9Iqrhck X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 20.05.2013 15:27, schrieb Reuben Thomas: > On 22 February 2013 00:26, Reuben Thomas wrote: > >> In flymake-mode.el is the following commented-out line: >> >> ;;+(add-hook 'find-file-hook 'flymake-find-file-hook) >> >> It has not been touched since 2005, and the commit log then suggests it >> was merely moved from another place; I can't find any other reference to >> it in the bzr logs. >> >> According to the manual, adding this hook to find-file-hook is the >> recommended way to activate flymake-mode automatically, and that is >> never done. Nor can I find a way to turn flymake-mode on automatically >> with customize; it seems the best I can do is copy the above line, >> uncommented, into my Emacs initialization file. >> >> It is far from obvious that the line above should be uncommented, but if >> not, maybe it should be removed, and a more user-friendly and standard >> way of activating flymake-mode automatically added? >> > > Ping? I've been using this setting in my init file without problems for a > while now… > GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 M-x flymake-mode RET toggles it right from the spot. Andreas From unknown Tue Aug 19 10:03:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Aug 2014 21:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13779@debbugs.gnu.org Received: via spool by 13779-submit@debbugs.gnu.org id=B13779.140718923932222 (code B ref 13779); Mon, 04 Aug 2014 21:54:01 +0000 Received: (at 13779) by debbugs.gnu.org; 4 Aug 2014 21:53:59 +0000 Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEQCc-0008Nd-MG for submit@debbugs.gnu.org; Mon, 04 Aug 2014 17:53:59 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:42980) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEQCa-0008NM-0I for 13779@debbugs.gnu.org; Mon, 04 Aug 2014 17:53:57 -0400 Received: by mail-la0-f44.google.com with SMTP id e16so48765lan.3 for <13779@debbugs.gnu.org>; Mon, 04 Aug 2014 14:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J+caLxYy+SzGG+cDpc+5pYfoHli60PeGxkNurlu7Y1U=; b=H8cLQQWBu+Q+fIEmF23eICRqDHgMBjC8Pe45mknDDh3iZtzlFmPC+1spRmlvx8OxpO Rl79WSpkPAlc/WkW1/JTUuUMi8/RcpykUtv3eL+FjQ0t+Vg6u8GyC848iNNPzygo24B1 QVyQYn3GWOXXeCtbdDYTkbuTPU6meTPrz/K0g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=J+caLxYy+SzGG+cDpc+5pYfoHli60PeGxkNurlu7Y1U=; b=d2Qut9EZgdRUG4FyuEW8qcgYgOJtog4SEBrGYVFv1QAn3GoMNOvREMKfsgKMTHpBZ7 osZk/3hTBr/hFH5iRcjvw7C9YjjyPoLAs5KhAlmXOBsNPL1TuR0hbXVipYh5i/074iid XUIoD9SB0Gm6F7r0LhFP0qhuIJe29vCRRpG8vwNtO0aaAZ37K+vi14ZDOotbJaoJcFwR g6Q/7cf59dUYsWWX7u0OogevN3lMDRY8JcPYBM0DImJwzs6VcQvtxoC6liS53Cc1Y5rs hFfgS36kX9j8rLAw4ywvEKQYSeAWwRIqzWkCY9s3TRiw1NwTNWTEXv/z1+8I+bJS6JTg s36Q== X-Gm-Message-State: ALoCoQlnsgBic/FxLwD9QbsEAtFq7MYf+ZD9pw7EzgHc1lcl1FvHYY/ErJBUMeelOCFSu0EI7GW6 MIME-Version: 1.0 X-Received: by 10.152.236.43 with SMTP id ur11mr5786450lac.74.1407189229661; Mon, 04 Aug 2014 14:53:49 -0700 (PDT) Received: by 10.152.246.10 with HTTP; Mon, 4 Aug 2014 14:53:49 -0700 (PDT) In-Reply-To: References: <87mwuxgpnh.fsf@sc3d.org> Date: Mon, 4 Aug 2014 22:53:49 +0100 Message-ID: From: Reuben Thomas Content-Type: multipart/alternative; boundary=001a11345e0e2a84c404ffd4c6b6 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11345e0e2a84c404ffd4c6b6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20 May 2013 14:27, Reuben Thomas wrote: > > Ping? I've been using this setting in my init file without problems for a > while now=E2=80=A6 > Unfortunately, I never saw Andreas R=C3=B6hler's reply of later that day. H= e wrote: > GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 > > M-x flymake-mode RET > > toggles it right from the spot. This is true, but I don't see how it addresses my question (and I'm not quite sure what "toggles it right from the spot" means). I asked about the line: ;;+(add-hook 'find-file-hook 'flymake-find-file-hook) in the source. Should it be removed? Or uncommented? For me, adding it to my global Emacs configuration works fine, suggesting it can indeed be uncommented, so that when flymake-mode is turned on, it is activated automatically in new buffers. Also, currently there seems to be no way of customizing flymake-mode to be on from startup, which itself would seem to require a new customization. --=20 http://rrt.sc3d.org --001a11345e0e2a84c404ffd4c6b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 2= 0 May 2013 14:27, Reuben Thomas <rrt@sc3d.org> wrote:

Ping? I've been using this setting in my ini= t file without problems for a while now=E2=80=A6

Unfo= rtunately, I never saw Andreas R=C3=B6hler's reply of later that day. H= e wrote:
=C2=A0
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05
M-x flymake-mode RET

toggles it right from the spot.

This is true, but I don&= #39;t see how it addresses my question (and I'm not quite sure what &qu= ot;toggles it right from the spot" means). I asked about the line:

=C2=A0=C2=A0 =C2=A0 =C2=A0 ;;+(add-hook 'find-file-hook 'flymak= e-find-file-hook)

in the source. Should it be removed? Or uncommented? For m= e, adding it to my global Emacs configuration works fine, suggesting it can= indeed be uncommented, so that when flymake-mode is turned on, it is activ= ated automatically in new buffers. Also, currently there seems to be no way= of customizing flymake-mode to be on from startup, which itself would seem= to require a new customization.
--001a11345e0e2a84c404ffd4c6b6-- From unknown Tue Aug 19 10:03:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Aug 2021 01:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Reuben Thomas Cc: 13779@debbugs.gnu.org Received: via spool by 13779-submit@debbugs.gnu.org id=B13779.16296823981933 (code B ref 13779); Mon, 23 Aug 2021 01:34:01 +0000 Received: (at 13779) by debbugs.gnu.org; 23 Aug 2021 01:33:18 +0000 Received: from localhost ([127.0.0.1]:40092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHypy-0000V7-Bt for submit@debbugs.gnu.org; Sun, 22 Aug 2021 21:33:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHypu-0000Uh-33 for 13779@debbugs.gnu.org; Sun, 22 Aug 2021 21:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=Rg6qVEgxG9Nkw7LJ7IBOjIit2JOkKSYj4n/ZypYTc34=; b=dSAzMeON1MSPwnk+eHeRAbIwOp /c16ZaE02FLv+Y1joTvOL6/ldYJtDxZF7jLNwC3/NT5h6apVJicTMl1eQ45Hp/P2dTnXWnltSVGeD Og40AuMA3h6NPNlQCCEMQxklSDRIr5C/WXYIADp+MLY8z5J+LsCSBpwdJSWJC4kD8haY=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHypi-0005fy-Qx; Mon, 23 Aug 2021 03:33:06 +0200 From: Lars Ingebrigtsen References: <87mwuxgpnh.fsf@sc3d.org> Date: Mon, 23 Aug 2021 03:33:02 +0200 In-Reply-To: (Reuben Thomas's message of "Mon, 4 Aug 2014 22:53:49 +0100") Message-ID: <87sfz1t06p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Reuben Thomas writes: > This is true, but I don't see how it addresses my question (and I'm not quite > sure what "toggles it right from the spot" means). I asked about the line: > > ;;+(add-hook 'find-file-hook 'flymake-f [...] 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Reuben Thomas writes: > This is true, but I don't see how it addresses my question (and I'm not q= uite > sure what "toggles it right from the spot" means). I asked about the line: > > ;;+(add-hook 'find-file-hook 'flymake-find-file-hook) > > in the source. Should it be removed? Or uncommented? (I'm going through old bug reports that unfortunately weren't resolved at the time.) This was apparently further reworked in commit 94a88c1ae98b1bf7ab80ae9cdd4d6e16b36597ef Author: Jo=C3=A3o T=C3=A1vora AuthorDate: Tue Sep 26 00:45:46 2017 +0100 New Flymake API variable flymake-diagnostic-functions and the uncommented line has now been removed (and the hook function is no longer documented). So I guess that's been decided now, and I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 21:33:22 2021 Received: (at control) by debbugs.gnu.org; 23 Aug 2021 01:33:22 +0000 Received: from localhost ([127.0.0.1]:40094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHyq2-0000VI-KM for submit@debbugs.gnu.org; Sun, 22 Aug 2021 21:33:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHypx-0000Uo-Lc for control@debbugs.gnu.org; Sun, 22 Aug 2021 21:33:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DuhwMAIK85RVgEqox5sERkBgeK+inDUIsI/qdhpMeVI=; b=IxcmTRnQnIjdOZ7nbeskuYT3wU SKJf+Cwz1chEOP9LGjw8HINamUYynXJqRqsRb3d17hn1uMtxlSxp3oq9fcqB5Av2Mtn2y7zs8vHDs BYEABEhm+ffpJE3/cvEMmGMHWEjmc1EZ036XstTmFELyFl+5rSOhAaPUfOkGoaJJW2w8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHypp-0005g8-Sp for control@debbugs.gnu.org; Mon, 23 Aug 2021 03:33:11 +0200 Date: Mon, 23 Aug 2021 03:33:09 +0200 Message-Id: <87r1elt06i.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13779 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: close 13779 quit 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-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 13779 quit