Received: (at 6967) by debbugs.gnu.org; 25 Oct 2010 21:50:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 17:50:27 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1PAUvz-0002ea-1Y for submit <at> debbugs.gnu.org; Mon, 25 Oct 2010 17:50:27 -0400 Received: from web56807.mail.re3.yahoo.com ([66.196.97.81]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from <stbya@HIDDEN>) id 1PAUvx-0002eU-0j for 6967 <at> debbugs.gnu.org; Mon, 25 Oct 2010 17:50:25 -0400 Received: (qmail 58933 invoked by uid 60001); 25 Oct 2010 21:54:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288043667; bh=y4AeJA0g3DOhmEiQD0KuOfbSOGMfOmCyN73phthSBEk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s3csIIiGg6svr26WZSNN4BaLXgF7wPWS58H51o/Yyl/W1JEbGZsCOGtQMDFXFmLz2BM2funRxb6mZ59C4z241az8qpzTbI9LDy37FR4WtVVTLVJjiI/hOiCvj2EEKQIzNMkSmAesUqvjM/A+uVSEGDCXHYWS9qQTToVpQODNtbY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=S+g0eMo/LsS+JRFSI9okXGfpq9L1rHhPEZlgdGUOeMFszS3mehrEkhA4mo3dJP2SG7bjrFuFxqCxdtWCdt+O8sC91ZndPuysiaN7lA4IiilNJ9b3BX17DQK0GnY9O91ooz8DG294fWV8r9vAlzGHBlChe9Gjw25KPODI+Naodm0=; Message-ID: <369403.57458.qm@HIDDEN> X-YMail-OSG: cT4iWhAVM1lAnY9Hnh3zaWWHgC37pXwfNO.KcmvycsN47fK BJwaFLrHkoMdIYCEdq3cajBYK9tNdwm_5.f98sHAiYvz7El5qR5ZT5ygJe1. Wwdh_sKqAmXxvg5SQJjz_KA.Hqiba3XZnQkZKrVUiaRR.AYTq6L7lpv2nL6s Mf9mnCB9qWinl5pxGOPNCsBoAHc3bw40rvW8va3tbaZLS5DY9mRQrhy4qKql .NKgfvsJYLIT0lzbBVWVwukXzU8mqTixqt.NitJovTnwMBrBMAF5IEk1Rvwv ZqkFY77OzdbrZ6N9CGeTRrjD6M4gZpQ9lvkRkWJis_2aQB3QwzrVMag-- Received: from [209.5.112.166] by web56807.mail.re3.yahoo.com via HTTP; Mon, 25 Oct 2010 14:54:27 PDT X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.284920 Date: Mon, 25 Oct 2010 14:54:27 -0700 (PDT) From: S Boucher <stbya@HIDDEN> Subject: Re: bug#6967: flymake not cleaning after itself (kill-buffer) To: Chong Yidong <cyd@HIDDEN>, "Eric M. Ludlam" <eric@HIDDEN> In-Reply-To: <4CC566E3.4020905@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 6967 Cc: Eric Ludlam <zappo@HIDDEN>, 6967 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.7 (---) =0A> Semantic needs a variant of find-file that puts a buffer=0A> into the = correct mode, which in turn runs the major-mode=0A> hook.=A0 It also needs = to run the mode-local hooks, but=0A> doesn't run miscellaneous other intera= ctive tool hooks.=0A> =0A> I suppose Semantic could also have a pre-find-fi= le hook=0A> that authors of modes like flymake could install a temporary=0A= > uninstall hook into, but that seems kind of strange.=0A=0AA generic flag = that indicates whether it is background find-file should be enough for flym= ake to decide not to run subprocesses, and for other modes to decide based = on this flag.=0A=0AStill, I think that on kill-buffer, flymake should just = kill the process.=0A =0A=0A
owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#6967
; Package emacs
.
Full text available.Received: (at 6967) by debbugs.gnu.org; 25 Oct 2010 16:16:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 12:16:46 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1PAPj3-00084L-R7 for submit <at> debbugs.gnu.org; Mon, 25 Oct 2010 12:16:46 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <monnier@HIDDEN>) id 1PAPj1-00084F-Qs for 6967 <at> debbugs.gnu.org; Mon, 25 Oct 2010 12:16:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQJAJZLxUxFxL/T/2dsb2JhbACgYntyvSGFSASSHw X-IronPort-AV: E=Sophos;i="4.58,236,1286164800"; d="scan'208";a="80629505" Received: from 69-196-191-211.dsl.teksavvy.com (HELO pastel.home) ([69.196.191.211]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 25 Oct 2010 12:20:45 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0EA73A8506; Mon, 25 Oct 2010 12:20:45 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: "Eric M. Ludlam" <eric@HIDDEN> Subject: Re: bug#6967: flymake not cleaning after itself (kill-buffer) Message-ID: <jwviq0qnt54.fsf-monnier+emacs@HIDDEN> References: <696071.46975.qm@HIDDEN> <87eibffr7l.fsf@HIDDEN> <4CC566E3.4020905@HIDDEN> Date: Mon, 25 Oct 2010 12:20:45 -0400 In-Reply-To: <4CC566E3.4020905@HIDDEN> (Eric M. Ludlam's message of "Mon, 25 Oct 2010 07:15:47 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6967 Cc: S Boucher <stbya@HIDDEN>, Chong Yidong <cyd@HIDDEN>, Eric Ludlam <zappo@HIDDEN>, 6967 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.1 (--) > Semantic needs a variant of find-file that puts a buffer into the correct > mode, which in turn runs the major-mode hook. It also needs to run the > mode-local hooks, but doesn't run miscellaneous other interactive > tool hooks. IIUC Semantic visits those files "temporarily" (i.e. it will kill the buffer afterwards, although probably not if the buffer already existed). I think this need is not specific to Semantic, and so we should provide this functionality in files.el. Maybe in a `with-found-file' macro. Stefan
owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#6967
; Package emacs
.
Full text available.Received: (at 6967) by debbugs.gnu.org; 25 Oct 2010 11:11:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 07:11:53 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1PAKy0-0005L5-Cd for submit <at> debbugs.gnu.org; Mon, 25 Oct 2010 07:11:52 -0400 Received: from bird.interbax.net ([75.126.100.114]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <eric@HIDDEN>) id 1PAKxx-0005Kz-H8 for 6967 <at> debbugs.gnu.org; Mon, 25 Oct 2010 07:11:50 -0400 Received: (qmail 3700 invoked from network); 25 Oct 2010 05:15:22 -0700 Received: from static-71-184-83-10.bstnma.fios.verizon.net (HELO ?192.168.1.201?) (71.184.83.10) by interbax.net with SMTP; 25 Oct 2010 05:15:22 -0700 Message-ID: <4CC566E3.4020905@HIDDEN> Date: Mon, 25 Oct 2010 07:15:47 -0400 From: "Eric M. Ludlam" <eric@HIDDEN> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre MIME-Version: 1.0 To: Chong Yidong <cyd@HIDDEN> Subject: Re: bug#6967: flymake not cleaning after itself (kill-buffer) References: <696071.46975.qm@HIDDEN> <87eibffr7l.fsf@HIDDEN> In-Reply-To: <87eibffr7l.fsf@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6967 Cc: S Boucher <stbya@HIDDEN>, Eric Ludlam <zappo@HIDDEN>, 6967 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On 10/24/2010 01:14 PM, Chong Yidong wrote: > S Boucher<stbya@HIDDEN> writes: > >> flymake-kill-buffer-hook does not actually kill the flymake process. >> So, if flymake is used in conjunction with semantic, it gets >> problematic. >> >> When semantic does background parsing, it may find-file/kill-buffer >> for files not already in memory. If semantic proceeds to kill-buffer >> while a flymake process is running, then a window pops up asking >> whether the buffer's process should be killed (because kill-buffer >> asks before killing processes). >> >> It seems like flymake-kill-buffer-hook should kill the buffer, so that >> by the time semantic calls kill-buffer, there won't be a process to >> query about. > > It would be wrong for flymake-kill-buffer-hook to kill the buffer, > because there may be other functions on the hook that may need to > examine the buffer state. > > The problem here seems to be that when Semantic visits files to parse > them, Flymake is enabled when it should not. I'm guessing you are using > flymake-find-file-hook, is that correct? > > Maybe the solution is for Semantic to either avoid using > find-file[-noselect], or detect if Flymake is on and disable it for > files that are only being parsed temporarily. Eric, what do you think? Semantic uses semantic-find-file-noselect which clears out a list of hooks and settings before calling find-file-noselect to avoid problems like this. Semantic needs a variant of find-file that puts a buffer into the correct mode, which in turn runs the major-mode hook. It also needs to run the mode-local hooks, but doesn't run miscellaneous other interactive tool hooks. I suppose Semantic could also have a pre-find-file hook that authors of modes like flymake could install a temporary uninstall hook into, but that seems kind of strange. Eric
owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#6967
; Package emacs
.
Full text available.Received: (at 6967) by debbugs.gnu.org; 24 Oct 2010 17:10:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 24 13:10:45 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1PA45l-0003wf-Dy for submit <at> debbugs.gnu.org; Sun, 24 Oct 2010 13:10:45 -0400 Received: from pantheon-po16.its.yale.edu ([130.132.50.72]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <cyd@HIDDEN>) id 1PA45j-0003wa-R1 for 6967 <at> debbugs.gnu.org; Sun, 24 Oct 2010 13:10:44 -0400 Received: from furball (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by pantheon-po16.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o9OHEgl6007052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 24 Oct 2010 13:14:43 -0400 Received: by furball (Postfix, from userid 1000) id D93851607BF; Sun, 24 Oct 2010 13:14:38 -0400 (EDT) From: Chong Yidong <cyd@HIDDEN> To: S Boucher <stbya@HIDDEN> Subject: Re: bug#6967: flymake not cleaning after itself (kill-buffer) References: <696071.46975.qm@HIDDEN> Date: Sun, 24 Oct 2010 13:14:38 -0400 In-Reply-To: <696071.46975.qm@HIDDEN> (S. Boucher's message of "Wed, 1 Sep 2010 12:19:02 -0700 (PDT)") Message-ID: <87eibffr7l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6967 Cc: Eric Ludlam <zappo@HIDDEN>, 6967 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) S Boucher <stbya@HIDDEN> writes: > flymake-kill-buffer-hook does not actually kill the flymake process. > So, if flymake is used in conjunction with semantic, it gets > problematic. > > When semantic does background parsing, it may find-file/kill-buffer > for files not already in memory. If semantic proceeds to kill-buffer > while a flymake process is running, then a window pops up asking > whether the buffer's process should be killed (because kill-buffer > asks before killing processes). > > It seems like flymake-kill-buffer-hook should kill the buffer, so that > by the time semantic calls kill-buffer, there won't be a process to > query about. It would be wrong for flymake-kill-buffer-hook to kill the buffer, because there may be other functions on the hook that may need to examine the buffer state. The problem here seems to be that when Semantic visits files to parse them, Flymake is enabled when it should not. I'm guessing you are using flymake-find-file-hook, is that correct? Maybe the solution is for Semantic to either avoid using find-file[-noselect], or detect if Flymake is on and disable it for files that are only being parsed temporarily. Eric, what do you think?
owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#6967
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 1 Sep 2010 19:17:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 01 15:17:27 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1OqsoJ-0004Bp-B7 for submit <at> debbugs.gnu.org; Wed, 01 Sep 2010 15:17:27 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stbya@HIDDEN>) id 1OqsoH-0004Bk-IM for submit <at> debbugs.gnu.org; Wed, 01 Sep 2010 15:17:26 -0400 Received: from lists.gnu.org ([199.232.76.165]:60729) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <stbya@HIDDEN>) id 1Oqspu-0006U6-O8 for submit <at> debbugs.gnu.org; Wed, 01 Sep 2010 15:19:06 -0400 Received: from [140.186.70.92] (port=38274 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oqspt-0000Qa-1T for bug-gnu-emacs@HIDDEN; Wed, 01 Sep 2010 15:19:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from <stbya@HIDDEN>) id 1Oqspr-0005FB-L3 for bug-gnu-emacs@HIDDEN; Wed, 01 Sep 2010 15:19:04 -0400 Received: from web56805.mail.re3.yahoo.com ([66.196.97.79]:48472) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from <stbya@HIDDEN>) id 1Oqspr-0005Ew-H2 for bug-gnu-emacs@HIDDEN; Wed, 01 Sep 2010 15:19:03 -0400 Received: (qmail 47228 invoked by uid 60001); 1 Sep 2010 19:19:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283368742; bh=/ZliCqEQxVAr4mFIn34rarnh/jXjhkxTQfWP5u0FUko=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=sGIwN2zDc+9Cv8xGuiYhyRmiLGKFtjfil6U/LlkVcRmWIcR2JDOMWHKaKkQ9Xpp9mLWLI5ELUEoqKCJDJPlHVdV5qv5jRs5P0ntfSeeS8gWY+RnILJhDqYBGkiXMIT5y9s8CZLITrTZBndInrKrd1cBXAJqevST0yk0och6haeo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=c52+KLIFPO1IN5mIMN2cyH2Q/wVHXAeMy04kckWay4rPdPNiveNj05yklTZJPtuVZ88+lsJXdBRLv9Vkx5YazyklV95OagKu6I3MFkArp8MIQP6iaXIBUE/sSISEqCxYX/jV1qCx0CNrXcExXYL9kKVko9u6syivmAwcVYf9TD0=; Message-ID: <696071.46975.qm@HIDDEN> X-YMail-OSG: djzJZUUVM1lJ52PfAx4CvgXRhblFh8N.llWai2prwWAYSxo f9OVoiDcMXqiLWe2GV15oFj9L5hlMCsAEfjx0WEp5RUms0vpiLpUIgC7T1lg KrepGhle6iMQz9yWZnmiJKlB.Jjb507ydEGs8Y6RocRjhoLIb4ap9WVrjS_J knAI.D6VcpBWNr.676ZtLx4OI.o4btG2_4sHcfGz5WUBG0e_D8_uGQUYXfvy iegve0jbJk3M4IqnKNotw084yU5zRIQlw9RUJm.3eBilsf2uZpWYJzwYmIoW qJuP4pI24mymzML2J6T8GGzoPdw-- Received: from [209.5.112.166] by web56805.mail.re3.yahoo.com via HTTP; Wed, 01 Sep 2010 12:19:02 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Wed, 1 Sep 2010 12:19:02 -0700 (PDT) From: S Boucher <stbya@HIDDEN> Subject: flymake not cleaning after itself (kill-buffer) To: bug-gnu-emacs@HIDDEN MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.8 (-----) That's with emacs 23.2 flymake-kill-buffer-hook does not actually kill the flymake process. So, if flymake is used in conjunction with semantic, it gets problematic. When semantic does background parsing, it may find-file/kill-buffer for files not already in memory. If semantic proceeds to kill-buffer while a flymake process is running, then a window pops up asking whether the buffer's process should be killed (because kill-buffer asks before killing processes). It seems like flymake-kill-buffer-hook should kill the buffer, so that by the time semantic calls kill-buffer, there won't be a process to query about.
S Boucher <stbya@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#6967
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.