From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#13779: 24.2; How to turn on flymake-mode automatically? Date: Mon, 20 May 2013 14:27:03 +0100 Message-ID: References: <87mwuxgpnh.fsf@sc3d.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493c8acefc6104dd26496e X-Trace: ger.gmane.org 1369056465 24526 80.91.229.3 (20 May 2013 13:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 13:27:45 +0000 (UTC) To: 13779@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 20 15:27:45 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UeQ7s-0001EA-Vj for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2013 15:27:45 +0200 Original-Received: from localhost ([::1]:57133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeQ7s-0003Nn-I3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2013 09:27:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeQ7o-0003Nh-Vi for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 09:27:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeQ7n-0007y8-K1 for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 09:27:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeQ7n-0007y4-Hg for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 09:27:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UeQ8I-0007YL-VQ for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 09:28:11 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 13779-submit@debbugs.gnu.org id=B13779.136905646428940 (code B ref 13779); Mon, 20 May 2013 13:28:09 +0000 Original-Received: (at 13779) by debbugs.gnu.org; 20 May 2013 13:27:44 +0000 Original-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 Original-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 Original-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 Original-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) X-Received: by 10.152.37.196 with SMTP id a4mr28390429lak.55.1369056423635; Mon, 20 May 2013 06:27:03 -0700 (PDT) Original-Received: by 10.152.133.74 with HTTP; Mon, 20 May 2013 06:27:03 -0700 (PDT) In-Reply-To: <87mwuxgpnh.fsf@sc3d.org> X-Gm-Message-State: ALoCoQm8t6XKdK2FLZjzMwMPbj6kOnaHLh2MQ4sMYY4RVMmiaUklFEQnhiw7Q5VvRwskEPHRoH/d1KWP3Znqk+JZgET07LxWdzCXpXO3P/peC6r5uEDUjerE4ZCJeRUzupNeTHHjgbMKPnpaf8MXvl59Sgnz5qXkVl+EkfM7M1ek3SVki950geI= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74414 Archived-At: --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--