Received: (at 71853-done) by debbugs.gnu.org; 20 Jul 2024 09:50:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 20 05:50:36 2024 Received: from localhost ([127.0.0.1]:51778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sV6jc-0008F9-JX for submit <at> debbugs.gnu.org; Sat, 20 Jul 2024 05:50:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sV6ja-0008Ep-Ag for 71853-done <at> debbugs.gnu.org; Sat, 20 Jul 2024 05:50:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sV6jU-0003Az-Ql; Sat, 20 Jul 2024 05:50:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Mjio0Jq1N0B3KP2LJ2aqy9V2m5bRPOG/p+pVRWypYPQ=; b=QF//i4uOVxiz F5lQJd7znn/PZm7Bl48bWeYQQoLMMGl77jOnAHZWTiFZRg3bgolOHf8w7Lvs1FRZ/tbp6e8exG+QE u1+TcOt6lq9C0OxM9tQu6pWSM+mw16IWtiCLDZI+9B/FF5OOnZ1I9oabc6XN/Ly2p556cBFmS0zEz VC+cpWUcr6mnckGLl81tMrzdBy9g8nMSgm36ASpmxI9x/tTu86t2r8DLcf5v/mQM8j8dl/QXAtGoX Q7FdX20oYbciOZFV7CnUCCB7OGl6LQMJcA1tsJ/3Lv0IeSgnF5H/GZ/XxLG/qNYgfM+pRicqXIl6p RDhHdRIzuAAmqzj57rz30A==; Date: Sat, 20 Jul 2024 12:50:26 +0300 Message-Id: <86zfqccrz1.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: tze.chian.kam@HIDDEN In-Reply-To: <86bk3dade5.fsf@HIDDEN> (message from Eli Zaretskii on Thu, 04 Jul 2024 09:18:26 +0300) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <86o77gc6f5.fsf@HIDDEN> <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> <86h6d6bu8d.fsf@HIDDEN> <CABodVWWc5xdTixO54GdWL1wLNdwytxAcdEhUvjJRMayXSJ8N3w@HIDDEN> <86bk3dade5.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853-done Cc: 71853-done <at> debbugs.gnu.org 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 (---) > Cc: 71853 <at> debbugs.gnu.org > Date: Thu, 04 Jul 2024 09:18:26 +0300 > From: Eli Zaretskii <eliz@HIDDEN> > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > Date: Thu, 4 Jul 2024 14:30:15 +1000 > > Cc: 71853 <at> debbugs.gnu.org > > > > > From: Eli Zaretskii > > > Date: Wed, 03 Jul 2024 14:17:06 +0300 > > > > > > I guess our detection of MSYS applications needs some update? Can you > > > show the list of DLLs that your MSYS2 python.exe depends on? If you > > > have GNU Binutils installed, the following command should show that: > > > > > > objdump -x /path/to/python.exe | fgrep "DLL Name" > > > > libpython3.11.dll > > KERNEL32.dll > > msvcrt.dll > > If this is the MSYS2 Python, the one you cannot interrupt, I guess > some recent change in Python for Windows causes this problem. Because > my Python is older and I don't have this problem. No further comments in two weeks, so I'm now closing this bug.
Tze Chian Kam <tze.chian.kam@HIDDEN>
:Eli Zaretskii <eliz@HIDDEN>
:Received: (at 71853) by debbugs.gnu.org; 4 Jul 2024 06:18:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 04 02:18:52 2024 Received: from localhost ([127.0.0.1]:41285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPFnw-0003O6-90 for submit <at> debbugs.gnu.org; Thu, 04 Jul 2024 02:18:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sPFnu-0003Nt-Jw for 71853 <at> debbugs.gnu.org; Thu, 04 Jul 2024 02:18:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sPFnj-0007Us-Qd; Thu, 04 Jul 2024 02:18:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lP7PYvwR9Do3X5VQnlD5tPhKUukIoG+w0pBXfLhX+Og=; b=Udqg+TtIlqqR mNGH3U0MMWl9qCIurumr1z5nIBx5YcvS7ijOB7I4oyaEoHxybu824DJ0jB4gWce5Cd2NteLw7OOFz hMKW5UlPVNAMxM7KgZUDPCHGP8CzSFSUl3uUblXJHjQ2Iq0MnUsjE1+TK/IhotLVuQi5jp0+DaO4c 0RQEwRXQ7R9GDbnQ0pLkwvI2SZfruZ2pFs8BQzFWyxEONhMDfwRzzNvC5bLcv11Lfh8+J8Jgrh1Ex tRlrcIVDXfMOFbmxf8diVak+tp4ccJcoU0FxjpV4qqhU6xU8TcOyX+6KO72iYU89dU2EzbmD7oULm /ihRtlliJ+J6aRhEUm3GfA==; Date: Thu, 04 Jul 2024 09:18:26 +0300 Message-Id: <86bk3dade5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWWc5xdTixO54GdWL1wLNdwytxAcdEhUvjJRMayXSJ8N3w@HIDDEN> (message from Tze Chian Kam on Thu, 4 Jul 2024 14:30:15 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <86o77gc6f5.fsf@HIDDEN> <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> <86h6d6bu8d.fsf@HIDDEN> <CABodVWWc5xdTixO54GdWL1wLNdwytxAcdEhUvjJRMayXSJ8N3w@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Thu, 4 Jul 2024 14:30:15 +1000 > Cc: 71853 <at> debbugs.gnu.org > > > From: Eli Zaretskii > > Date: Wed, 03 Jul 2024 14:17:06 +0300 > > > > I guess our detection of MSYS applications needs some update? Can you > > show the list of DLLs that your MSYS2 python.exe depends on? If you > > have GNU Binutils installed, the following command should show that: > > > > objdump -x /path/to/python.exe | fgrep "DLL Name" > > libpython3.11.dll > KERNEL32.dll > msvcrt.dll If this is the MSYS2 Python, the one you cannot interrupt, I guess some recent change in Python for Windows causes this problem. Because my Python is older and I don't have this problem.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 4 Jul 2024 04:31:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 04 00:31:35 2024 Received: from localhost ([127.0.0.1]:41186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPE87-0000Bv-6J for submit <at> debbugs.gnu.org; Thu, 04 Jul 2024 00:31:35 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:55531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sPE85-0000Bn-8g for 71853 <at> debbugs.gnu.org; Thu, 04 Jul 2024 00:31:33 -0400 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-58b447c51bfso202227a12.2 for <71853 <at> debbugs.gnu.org>; Wed, 03 Jul 2024 21:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720067430; x=1720672230; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qxnXJSXUQ667ZmazRV56IFZXLYrVxlrZ8GjPDmrG/lg=; b=SOpYkU6WZnvU2RysjG6K1EZ4us7ZCupbATNHywSrLgRq3VUjKE11tJaZyZJ7zJC6FU 3pG9MIf8xljAdoVZzIqotVgD28nWqF+7gIzmnooE1EDttMOtkGuLAHgliFctz6zOCcAv un0zYjM/9cMmh/cqwBhSKZXFEDDf9t5rMCAXsB7vTP80CL8tpGKnwHOZEFIUGb8MhlID 2BUMt2dTMDV1yRQcELVF98mC+zyiREmDIbTwkMM+1SbTeIRLlxGVLSujCe1Kv4dABA/s 2EV8vi015zhIS24YkAY/4XiTk2crvHKm/HwVUAU7bXE7/Yq7JQmHF3gY2BXNdm6Mr74X Q+sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720067430; x=1720672230; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qxnXJSXUQ667ZmazRV56IFZXLYrVxlrZ8GjPDmrG/lg=; b=qIeaymbYrNwq9IQwuaNr31eY2kYg8lmNAgGpdkdAywMXcnrRITQ15olj5i/UWRiu4c qk1qpDdDa4P/JL00bn+BXDRTab5g5UTvyu/l+f81P2Z+6/9EKbgfu9rMt82a3bI9BFW2 l5vwrWO7KqR91Fswauq2h7zm59KmRFNavB0C298KXtvM/tTGovhWdEVNc86hshev/+5s bg27LZ/9wsvNSCnxskEZvG4JF9tFH9B4X64EOXUCJKMrx6Rl1NV/o75NqvAQT5z1k+26 koaaC9DbHPicRx4QC4YFanpkJLOz9ww983iuyMMJ86DabbdfdkubUntvvxv6zhTbGk9D GjJQ== X-Gm-Message-State: AOJu0Yz5xiI3tBF1s9IJs/vL7Qby2E62akNlLCKY4z9D17xQyDm14co7 nD1U5Fl3qdqfsXMymW2lA+gyEoB3GwpS82AUZ584zK8du7pMnD/jyD1zSaE/IwHFIsCrS7X+I8y mUz8MeOP064cW/SRMP6u1O7bcgdI= X-Google-Smtp-Source: AGHT+IF9Yjz+wFxH/fHx6ioIo41+wd4LYP8gvt5E4kVIPa5LivIvRuqMEQBn87QpbYTx1y0blLymRq5mWWZBIj2RgIY= X-Received: by 2002:a05:6402:5110:b0:58c:6edf:d5d2 with SMTP id 4fb4d7f45d1cf-58e5965f36dmr268610a12.15.1720067429881; Wed, 03 Jul 2024 21:30:29 -0700 (PDT) MIME-Version: 1.0 References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <86o77gc6f5.fsf@HIDDEN> <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> <86h6d6bu8d.fsf@HIDDEN> In-Reply-To: <86h6d6bu8d.fsf@HIDDEN> From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Thu, 4 Jul 2024 14:30:15 +1000 Message-ID: <CABodVWWc5xdTixO54GdWL1wLNdwytxAcdEhUvjJRMayXSJ8N3w@HIDDEN> Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (-) > From: Eli Zaretskii > Date: Wed, 03 Jul 2024 14:17:06 +0300 > > I guess our detection of MSYS applications needs some update? Can you > show the list of DLLs that your MSYS2 python.exe depends on? If you > have GNU Binutils installed, the following command should show that: > > objdump -x /path/to/python.exe | fgrep "DLL Name" libpython3.11.dll KERNEL32.dll msvcrt.dll > So, bottom line, I see no bug here, only known limitations of handling > sub-processes on MS-Windows. Thanks for your help.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 3 Jul 2024 11:17:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 07:17:19 2024 Received: from localhost ([127.0.0.1]:38979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOxzD-00031m-7V for submit <at> debbugs.gnu.org; Wed, 03 Jul 2024 07:17:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOxzB-00031Z-Fz for 71853 <at> debbugs.gnu.org; Wed, 03 Jul 2024 07:17:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sOxz3-0007T7-2v; Wed, 03 Jul 2024 07:17:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QbsqKKntX8lVlpUtNsVP9qpsGRtnK82dqKRYzab7rK0=; b=Z7P8iLJkQbp1 f/MyQO3sisvNIxUK3EZXFqQJQ5LAGEB4qsH9Q30r0UzKapGusYWMpMqyb6sbuSebTHL25VXOQ0yvm BSYQSw1PtGCYMFXnfqlDQbIxR20Y7TjKjHEP3Qi6oIGC1aqkw1ze7Pxb/16chvom5XbtJNS+Gm1Cc acC6vvmdcP7pMjq67EDC7S9fS3VYZ2mZPKqPKEtINp9fYTNSNkVsma2GmR/gR/TL5tIRSdFntgqn8 cdTgZHn+EapNAzyQA2U8Vou46593KENrtyNTjQRi+1uCjLjmcZsWZB18xK1c+4BL/VhpJiIDuSvlL QTYBZKLNVdBhEw88SIGy0Q==; Date: Wed, 03 Jul 2024 14:17:06 +0300 Message-Id: <86h6d6bu8d.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> (message from Tze Chian Kam on Wed, 3 Jul 2024 13:26:32 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <86o77gc6f5.fsf@HIDDEN> <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Wed, 3 Jul 2024 13:26:32 +1000 > Cc: 71853 <at> debbugs.gnu.org > > > > It is a MSYS2 build of Python. > > > > So it's not a native Windows executable, I think, and this could well > > explain what you see. What does typing the below display? > > > > M-: (w32-application-type (executable-find "python")) RET > > I get "w32-native". I guess our detection of MSYS applications needs some update? Can you show the list of DLLs that your MSYS2 python.exe depends on? If you have GNU Binutils installed, the following command should show that: objdump -x /path/to/python.exe | fgrep "DLL Name" > > Also, does setting w32-start-process-share-console to a non-nil value > > help with interrupting the MSYS2 Python? > > Yes, it does. So I guess that version of Python is incompatible with the default method of interrupting sub-processes that Emacs on Windows uses. It is known that some programs need such a special handling on Windows. > > Some kind of buffering problem, I guess? Try invoking "python -u" to > > get unbuffered stdout. > > This will work. However, I tested on another C program and the problem > still occurs, meaning that my Emacs is buffering everything for some > reason. It isn't Emacs, it's the OS. Emacs on Windows uses pipes to talk to sub-processes, and pipes are buffered. You need to fflush in your program. This is a known issue without any general solution. So, bottom line, I see no bug here, only known limitations of handling sub-processes on MS-Windows.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 3 Jul 2024 03:27:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 02 23:27:55 2024 Received: from localhost ([127.0.0.1]:38285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOqex-00044a-Ca for submit <at> debbugs.gnu.org; Tue, 02 Jul 2024 23:27:55 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:54643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sOqeu-00044J-Qv for 71853 <at> debbugs.gnu.org; Tue, 02 Jul 2024 23:27:54 -0400 Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-58b966b41fbso1818126a12.1 for <71853 <at> debbugs.gnu.org>; Tue, 02 Jul 2024 20:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719977205; x=1720582005; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=J6GR5+i+ISq0P5Mllpm6F/BvA68Xr+jLC/mA3ZXd7dk=; b=CGoVT6GNVnveTU2MB5GV11l9H7K/0qe0ws1Ja6BvLKtGS/lKvFYj9H9GHyvGd/2Quk AwsYjsg/0dQAshIZW/rfX8SXQaK77tzs5qRK/6LnUexR5bZ1U4wZ71uvrwJFH/KosXUK V2EaiJPU53hcUJ/Odvx4Vvra7gm76A76PmTeHC8t69gSxbntUSig4+YizIwHao1CZdoe z0ybsQBn5/SYfgC7/JjLcJYWnCRtvnmIXDWMXLdgAXIgoC3clFkqm3JUIwTuUgo64Mas DXqKpatei4unAM2U/tbrLln/fnbueAj5t6Dklv0aeRDdl5v51sAFL7y4SsesJHUR008I 9NIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719977205; x=1720582005; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J6GR5+i+ISq0P5Mllpm6F/BvA68Xr+jLC/mA3ZXd7dk=; b=L9lIOTNitqEOHyW+OIDOQKBrfkziEftTBFff5QIScIzPm4cIiYm7H73ZoVmLz6ICb9 /Oiacz33FfsYNwQG3hOLq+9hqtXiJmF5HFwRR80MMv4GL/JjTPoJqpJy9nOVmI9ssXCe aSyyd6Hs6ATx6ksBDNX1ZZ8vhxoiwf1ep5RTk2uC5i5MMWTX6UCWnRgY4AfM7hEXqown JbevwjJYJe/bMc1R8r6WrKe5F7+JkdAbqfAnl1epRkUphVOcwdYTkDnQ0o96Oa/KFyHi jkEHY+NR9OwqXi7RSUw/hngoBijGNRSnrXp663JDfk8q7silaW7HfJPtOjL4lOkCMj3j KU+g== X-Gm-Message-State: AOJu0YyTSQm2KQWXoG8PPNwcexK35uXElkDrm0MF1Co9dwyZovgWx+Tg ffCSbijQLmOjPiUO5PGoqgVjkAOziHTxIPLq+xF7xZPEd6izxidGv0xwn3Pl6fvOrIzKwVUKN+C f1y9hyerZTZf9JhN9ed2BVh0Wkdw= X-Google-Smtp-Source: AGHT+IFHxiUsdGn/tm852+zT2EGGmg6732CX1au9Ggit6u0LsnFPqxCW8XiAWNgdcUlV03w8gHHma/uTiVMghBXUhQk= X-Received: by 2002:a05:6402:1ec1:b0:57c:8022:a3db with SMTP id 4fb4d7f45d1cf-5879f0cbe78mr7245280a12.6.1719977204963; Tue, 02 Jul 2024 20:26:44 -0700 (PDT) MIME-Version: 1.0 References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <86o77gc6f5.fsf@HIDDEN> In-Reply-To: <86o77gc6f5.fsf@HIDDEN> From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Wed, 3 Jul 2024 13:26:32 +1000 Message-ID: <CABodVWVOx3tUPDodvqGWeAY_G0+GfHeGtTmnohb26305nc6U=Q@HIDDEN> Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (-) > From: Eli Zaretskii > Date: Tue, 02 Jul 2024 15:41:34 +0300 > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > Date: Tue, 2 Jul 2024 16:26:32 +1000 > > Cc: 71853 <at> debbugs.gnu.org > > > > > From: Eli Zaretskii > > > Date: Mon, 01 Jul 2024 14:27:09 +0300 > > > > > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > > > Date: Mon, 1 Jul 2024 12:53:51 +1000 > > > > Cc: 71853 <at> debbugs.gnu.org > > > > > > > > > > Sorry, I used a Python file: > > > > > > ``` > > > > > > import time > > > > > > > > > > > > while True: > > > > > > print("active") > > > > > > sleep(1) > > > > > > ``` > > > > > > > > > > And how exactly did you invoke this? Please show the complete > > > > > command you typed at the prompt of "M-x compile", because trying > > > > > to reproduce this (see below) I could't. > > > > > > > > I did "M-x compile RET python loop.py RET". Also, when running this > > > > program, it does not output anything in the *compilation* buffer ("active" > > > > is not printed every second). > > > > > > The fact that it doesn't print "active" is already a sign of some > > > problem. > > > > > > Where did you download your Python from? Is it a native Windows > > > executable, or something else, like Cygwin or MSYS2 build of Python? > > > > It is a MSYS2 build of Python. > > So it's not a native Windows executable, I think, and this could well > explain what you see. What does typing the below display? > > M-: (w32-application-type (executable-find "python")) RET I get "w32-native". > Also, does setting w32-start-process-share-console to a non-nil value > help with interrupting the MSYS2 Python? Yes, it does. > > I just tested with Emacs in my global path (so I can launch Emacs from > > Powershell/Command Prompt) and it "C-c C-k' works (using native > > Windows Python) but I still can't see the prints before killing the process. > > Some kind of buffering problem, I guess? Try invoking "python -u" to > get unbuffered stdout. This will work. However, I tested on another C program and the problem still occurs, meaning that my Emacs is buffering everything for some reason. Here is my test file: ``` #include <stdio.h> #include <unistd.h> int main() { for (int i = 0; i < 5; ++i) { printf("%d\n", i); sleep(1); } return 0; } ```
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 2 Jul 2024 12:43:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 02 08:43:31 2024 Received: from localhost ([127.0.0.1]:36215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOcr5-0007oZ-9U for submit <at> debbugs.gnu.org; Tue, 02 Jul 2024 08:43:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOcr3-0007oJ-50 for 71853 <at> debbugs.gnu.org; Tue, 02 Jul 2024 08:43:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sOcqw-0000ru-NK; Tue, 02 Jul 2024 08:43:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eTsUoEXx2J/GzIcd5hOKXr7UyHBjJFuPNulxbug0z0g=; b=V0kn1o6BeIQd NpeN8X0Svd5jQRdPLb/F74LEiEY8tRupVgiMGDbvZxIaadSYR+OWErE6+4dTYR4IUkh5MVr7ZHwN9 osTMtT1o4ksTAW513UOQXc+dW29yhNK4DSRVvcgUMbOrAsGhGgJcixmYglog1A8lE1/AHa2KejYoA bfv/gRY6JwMlXpwy1vQwtb044GBYBybma6gwyOpUGUA+QtAc/Fd57DH7xh24zDWHQsUddEhEbwY8Q fP9h8mkSBTkA6XcGo6fauko8PMSLc864LR5znbCG7U9gYTyUVLxoiRG/u8xcPsNq23e+dGRqM0oN+ Gfeh+KGAlMJTxYOzlKHM0g==; Date: Tue, 02 Jul 2024 15:43:19 +0300 Message-Id: <86msn0c6c8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWXtRB-+-a89yT8vYgz2oW9ZNo1t=DKZx6yLEw1tLCx7zw@HIDDEN> (message from Tze Chian Kam on Tue, 2 Jul 2024 16:36:38 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> <CABodVWXtRB-+-a89yT8vYgz2oW9ZNo1t=DKZx6yLEw1tLCx7zw@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Tue, 2 Jul 2024 16:36:38 +1000 > Cc: 71853 <at> debbugs.gnu.org > > > From: Tze Chian Kam > > Date: Tue, 2 Jul 2024 16:26:32 +1000 > > > > > From: Eli Zaretskii > > > Date: Mon, 01 Jul 2024 14:27:09 +0300 > > > > > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > > > Date: Mon, 1 Jul 2024 12:53:51 +1000 > > > > Cc: 71853 <at> debbugs.gnu.org > > > > > > > > > > Sorry, I used a Python file: > > > > > > ``` > > > > > > import time > > > > > > > > > > > > while True: > > > > > > print("active") > > > > > > sleep(1) > > > > > > ``` > > > > > > > > > > And how exactly did you invoke this? Please show the complete > > > > > command you typed at the prompt of "M-x compile", because trying > > > > > to reproduce this (see below) I could't. > > > > > > > > I did "M-x compile RET python loop.py RET". Also, when running this > > > > program, it does not output anything in the *compilation* buffer ("active" > > > > is not printed every second). > > > > > > The fact that it doesn't print "active" is already a sign of some > > > problem. > > > > > > Where did you download your Python from? Is it a native Windows > > > executable, or something else, like Cygwin or MSYS2 build of Python? > > > > It is a MSYS2 build of Python. > > > > I just tested with Emacs in my global path (so I can launch Emacs from > > Powershell/Command Prompt) and it "C-c C-k' works (using native > > Windows Python) but I still can't see the prints before killing the process. > > I can see the prints if I do "print("active", flush=True)". Does that mean > there is a flushing problem on my Emacs? Something like that, yes. But I don't understand why it happens for you with "emacs -Q" and the native Windows Python; it doesn't happen for me.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 2 Jul 2024 12:41:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 02 08:41:48 2024 Received: from localhost ([127.0.0.1]:36210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOcpP-0007lp-Pd for submit <at> debbugs.gnu.org; Tue, 02 Jul 2024 08:41:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOcpN-0007lX-4r for 71853 <at> debbugs.gnu.org; Tue, 02 Jul 2024 08:41:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sOcpG-0000bP-Ml; Tue, 02 Jul 2024 08:41:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kGUIsJnPLYp82duqe30iSypWZGLP95osAp/qwSbWLlA=; b=GekkMRwLcg9M pdwBxx3323q6qUw9BiyWBJbd1kYueLpnqTSnyNhJnI7g7+BxODe0se6UOBmoMLz/Y2vfgh/9DfSZI NNeQd57Sv3p2xngFY0cA8BXTd02KN1TrSox9KQztZwS/G1DrkuLpKHbyHTQniMiboWbQyZAISrERh 22MlBYSQcAr7v+2xA1bk2CxczjpZH4RP4OnuETF5lFCSjWWeYDYJKvbj7QG9gxfNRU56u4XpX/zpG jskX4SSHTJR3MJoHYUQJdcTDIOEaOEFh7US6IjQkxEunqTsyb7ryV27ZbgqGkeP8jjDCzYai9NaRy 1zXtmv2uOpG0VA4Zk8fYgQ==; Date: Tue, 02 Jul 2024 15:41:34 +0300 Message-Id: <86o77gc6f5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> (message from Tze Chian Kam on Tue, 2 Jul 2024 16:26:32 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Tue, 2 Jul 2024 16:26:32 +1000 > Cc: 71853 <at> debbugs.gnu.org > > > From: Eli Zaretskii > > Date: Mon, 01 Jul 2024 14:27:09 +0300 > > > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > > Date: Mon, 1 Jul 2024 12:53:51 +1000 > > > Cc: 71853 <at> debbugs.gnu.org > > > > > > > > Sorry, I used a Python file: > > > > > ``` > > > > > import time > > > > > > > > > > while True: > > > > > print("active") > > > > > sleep(1) > > > > > ``` > > > > > > > > And how exactly did you invoke this? Please show the complete > > > > command you typed at the prompt of "M-x compile", because trying > > > > to reproduce this (see below) I could't. > > > > > > I did "M-x compile RET python loop.py RET". Also, when running this > > > program, it does not output anything in the *compilation* buffer ("active" > > > is not printed every second). > > > > The fact that it doesn't print "active" is already a sign of some > > problem. > > > > Where did you download your Python from? Is it a native Windows > > executable, or something else, like Cygwin or MSYS2 build of Python? > > It is a MSYS2 build of Python. So it's not a native Windows executable, I think, and this could well explain what you see. What does typing the below display? M-: (w32-application-type (executable-find "python")) RET Also, does setting w32-start-process-share-console to a non-nil value help with interrupting the MSYS2 Python? > I just tested with Emacs in my global path (so I can launch Emacs from > Powershell/Command Prompt) and it "C-c C-k' works (using native > Windows Python) but I still can't see the prints before killing the process. Some kind of buffering problem, I guess? Try invoking "python -u" to get unbuffered stdout.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 2 Jul 2024 06:37:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 02 02:37:54 2024 Received: from localhost ([127.0.0.1]:35654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOX9G-0006cY-AV for submit <at> debbugs.gnu.org; Tue, 02 Jul 2024 02:37:54 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:42437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sOX9E-0006cP-7P for 71853 <at> debbugs.gnu.org; Tue, 02 Jul 2024 02:37:52 -0400 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-57cbc66a0a6so1745046a12.1 for <71853 <at> debbugs.gnu.org>; Mon, 01 Jul 2024 23:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719902210; x=1720507010; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pbcMiFVIcC8FhRaW+s4a30wywUIjY2pWE0nefMjlgd4=; b=GsO6DTnW5zl3CTpvmPbfhgdtsI53z8bPJ5VeiCEZWjXC+44WEb+z5Wy2VMRBYiROS9 XKUMWRtpL35eGZkfHP2x5bGhduf84T5Bna4ZIhciGcl9dnz4N/vrOkzvef5KR/xqclqg GUA56q/47bD2ih1qTFIdU/6aeLB+lKkt/91L6fUoLXJ8Bo8OifRnbRsv1UasnF153lWg WHZ6uZdLhpxANQm0rH0A+4lwXLztKG8r2R1WAk7yZxwPhWLT8+BTLlWqFN+4QKqG+/7M BVxZRgMl/WG+OokJsCiRVjC3ujuS/s1jepYN8DXPqNib5mO86P8kjQo3nIJxu9rOeGSr jWng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719902210; x=1720507010; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pbcMiFVIcC8FhRaW+s4a30wywUIjY2pWE0nefMjlgd4=; b=vdl7StSwrdTy2Y42PJWdiVEOhz3ZWNJFAUzwjicPuAQPzDIrinQOWe7qrhgyzShE7C TdgOjja0dfc8Anl/UNd6guu1rtqL10ZUS4MhOz7sUs/tE9cMEwQudzlkeWNJ6CG5JTR0 nhZiLKqvmCorjB2OZzCY1zwsJVq2o0C7la/+XBFDNt+78NZTsVXemogvzT7/07rLqZs+ rd9OOQB9SMUUSkRHFI1m/cpRDUjrcXEWkwW/XTPy4uX6BYbn/cdX+SWPCn7YbKSCa6Qp U+Eo/o6dIlXNQGmXv8wt4yX/DVCNBMQCVtzvFyGT+a481rKwU6SE9E/1yL8XCIa7K3+O zsQA== X-Gm-Message-State: AOJu0YxIk6qVeN6gI/SR4FqQXXjsV83sbwMGUxWQV4cvCS4Mbv8nJRG6 al8aH4amtu1HubPD3tWbOp7xW3PoakIkjS7riAuj+WouFeaeKAa/t9ehpFfUvQ2Q8884ggJ0Q8b 8Ziux5RompZ1/NzOtgxLIpsaK4sY= X-Google-Smtp-Source: AGHT+IFen3iuoXBsJmsaorgLJ/bqINcoZj5v9r59YQnGJ7jLAauuETm5lOP5U9KJKP28Dp0qAKvUJQIW2efToL+2geQ= X-Received: by 2002:a05:6402:34d1:b0:57d:455:d395 with SMTP id 4fb4d7f45d1cf-5865bc2e538mr8817998a12.7.1719902210062; Mon, 01 Jul 2024 23:36:50 -0700 (PDT) MIME-Version: 1.0 References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> In-Reply-To: <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Tue, 2 Jul 2024 16:36:38 +1000 Message-ID: <CABodVWXtRB-+-a89yT8vYgz2oW9ZNo1t=DKZx6yLEw1tLCx7zw@HIDDEN> Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (-) > From: Tze Chian Kam > Date: Tue, 2 Jul 2024 16:26:32 +1000 > > > From: Eli Zaretskii > > Date: Mon, 01 Jul 2024 14:27:09 +0300 > > > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > > Date: Mon, 1 Jul 2024 12:53:51 +1000 > > > Cc: 71853 <at> debbugs.gnu.org > > > > > > > > Sorry, I used a Python file: > > > > > ``` > > > > > import time > > > > > > > > > > while True: > > > > > print("active") > > > > > sleep(1) > > > > > ``` > > > > > > > > And how exactly did you invoke this? Please show the complete > > > > command you typed at the prompt of "M-x compile", because trying > > > > to reproduce this (see below) I could't. > > > > > > I did "M-x compile RET python loop.py RET". Also, when running this > > > program, it does not output anything in the *compilation* buffer ("active" > > > is not printed every second). > > > > The fact that it doesn't print "active" is already a sign of some > > problem. > > > > Where did you download your Python from? Is it a native Windows > > executable, or something else, like Cygwin or MSYS2 build of Python? > > It is a MSYS2 build of Python. > > I just tested with Emacs in my global path (so I can launch Emacs from > Powershell/Command Prompt) and it "C-c C-k' works (using native > Windows Python) but I still can't see the prints before killing the process. I can see the prints if I do "print("active", flush=True)". Does that mean there is a flushing problem on my Emacs?
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 2 Jul 2024 06:27:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 02 02:27:54 2024 Received: from localhost ([127.0.0.1]:35630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOWza-0006IU-Jf for submit <at> debbugs.gnu.org; Tue, 02 Jul 2024 02:27:54 -0400 Received: from mail-ed1-f49.google.com ([209.85.208.49]:58794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sOWzX-0006IC-JH for 71853 <at> debbugs.gnu.org; Tue, 02 Jul 2024 02:27:52 -0400 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-58ba3e38027so186633a12.1 for <71853 <at> debbugs.gnu.org>; Mon, 01 Jul 2024 23:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719901605; x=1720506405; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Xua2P1pyKGqQXxYIpCuT4pQ8UtX9jdoXwgwqZ70Mdfc=; b=hIN/OMyky9Q5WEkxuARWzO8ZEy8Z7g11yAmeBZwou8+Q0vbI1tP6AcpAyk0m223QxD PUOeM07ykKZwdo9oN922n7RAsnuGyCgMEpAJAVH7rAQtokxsGJ2w6745vhrX7WWHdUDm Bh/CIJxEqYGeQNSaiADgoPL2PUoqCi64hYxghFQ7wauBgyMENL0+pGab3v64MGFY1I+G HhAz7jpCnnThQEG/nYg9kSDIGCWff3iaLlS2Pf6zU+b5XpwfaM5tQ3wv0Ut9xTVM3PQb XwW8nxIK8Ixsz5geheBwbGlZyzB0cpIFBLSI5HKtGD55lXkQ0P3Hr159KV6cA8VM9fG1 0wIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719901605; x=1720506405; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xua2P1pyKGqQXxYIpCuT4pQ8UtX9jdoXwgwqZ70Mdfc=; b=gVqsjkF+jL72oyxKEHZpnbzdWmC8P5NXdLsJv/2E/s1HdVnJoYcj46n2JCfOpAK44G f3VSACBi67OqncnQX/gmUelTgF0WllsjUxIL7rIQUU5Ce53KotCDQ/dQbxawohw1POR7 BZ9JqwIfU9n/PfoD64HNkPbnxltDcUDoHTO3VLhlpwLcdtjOvsAMimQjFpBU4XhT7YKS 23BVaKE3VamMl/vqfHNg1146t+tiCy3rFhBN+xYGhUjC6ud+Q6LOtIhuT18wk53X7Gvv HEpuIPJZwiv9hUaMgGiDZPlQNdrDC9JwtCZdWD40XcSajTr28s4lkCAIEyzydGKyRsEm hWxQ== X-Gm-Message-State: AOJu0Yyg8GT1TKw/16HN0MivbOkiOAjZt9JZ7lTfVcK2aOKrgALlgT/w PITq2j5/LQBrfdPqpy/qJAwhqGOFiWW5VQyTIJ46q+bsQ+Lp7xj6SVHUTg9Fgu+VuY02tX5Tw/A FzUx35zCEZD7kuQ4xS/TT7LTqk5o= X-Google-Smtp-Source: AGHT+IHCdwn9HuPFz2RqfiynIDIzl+iRRxaVo6q0m+UJrhA7ijKkchVqy9E2cEbfmuPqwOyj6rSRPT9QoViSJNzGg5Y= X-Received: by 2002:a05:6402:280a:b0:57c:c2b6:176d with SMTP id 4fb4d7f45d1cf-587a0919595mr6843967a12.32.1719901604397; Mon, 01 Jul 2024 23:26:44 -0700 (PDT) MIME-Version: 1.0 References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> <86h6d9fj3m.fsf@HIDDEN> In-Reply-To: <86h6d9fj3m.fsf@HIDDEN> From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Tue, 2 Jul 2024 16:26:32 +1000 Message-ID: <CABodVWUL-Hhk+AJ3Sw6PdrF+K_+e6aMRTOEh_6wacn6B47EgXA@HIDDEN> Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (-) > From: Eli Zaretskii > Date: Mon, 01 Jul 2024 14:27:09 +0300 > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > Date: Mon, 1 Jul 2024 12:53:51 +1000 > > Cc: 71853 <at> debbugs.gnu.org > > > > > > Sorry, I used a Python file: > > > > ``` > > > > import time > > > > > > > > while True: > > > > print("active") > > > > sleep(1) > > > > ``` > > > > > > And how exactly did you invoke this? Please show the complete > > > command you typed at the prompt of "M-x compile", because trying > > > to reproduce this (see below) I could't. > > > > I did "M-x compile RET python loop.py RET". Also, when running this > > program, it does not output anything in the *compilation* buffer ("active" > > is not printed every second). > > The fact that it doesn't print "active" is already a sign of some > problem. > > Where did you download your Python from? Is it a native Windows > executable, or something else, like Cygwin or MSYS2 build of Python? It is a MSYS2 build of Python. I just tested with Emacs in my global path (so I can launch Emacs from Powershell/Command Prompt) and it "C-c C-k' works (using native Windows Python) but I still can't see the prints before killing the process.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 1 Jul 2024 11:27:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 01 07:27:19 2024 Received: from localhost ([127.0.0.1]:60294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOFBn-0005uD-FL for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 07:27:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOFBl-0005tw-15 for 71853 <at> debbugs.gnu.org; Mon, 01 Jul 2024 07:27:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sOFBf-0007q3-2m; Mon, 01 Jul 2024 07:27:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UGHb6Z7M2pACMoRIF+q/Z7P6Z23r03jmXFrq7TjQML8=; b=qTM6jdBTJVJz GjPN1ScATNb6pJ//ERQdAhTbjIUwcotI7TRzBWA/3kMojfKvBGUkjX3snhjAHZETltYbcDdgfaMAA yTSNMWa2GuWHRgUBERKLREGrCA8ojFrpA4hiuEzVVsoovN/xhrfNPX1H+R2WecARxbfnhaOdf6mCd fdc9pS4BCF+nZld1SXcW850aGNtgcD3x0eg9yoLNvZwLFy32O1YSMbt825b10hIOS0YiKPIJUOKxY k8hK0iUfebdVelXDx/fnLGO713+nXbTZyvE583SLxlcNQ01IxOXeGj4t/utOScMusQEo4X4AbpwUD 3ctEj4oS3zMYgWrgAjpUiQ==; Date: Mon, 01 Jul 2024 14:27:09 +0300 Message-Id: <86h6d9fj3m.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> (message from Tze Chian Kam on Mon, 1 Jul 2024 12:53:51 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Mon, 1 Jul 2024 12:53:51 +1000 > Cc: 71853 <at> debbugs.gnu.org > > > > Sorry, I used a Python file: > > > ``` > > > import time > > > > > > while True: > > > print("active") > > > sleep(1) > > > ``` > > > > And how exactly did you invoke this? Please show the complete > > command you typed at the prompt of "M-x compile", because trying > > to reproduce this (see below) I could't. > > I did "M-x compile RET python loop.py RET". Also, when running this > program, it does not output anything in the *compilation* buffer ("active" > is not printed every second). The fact that it doesn't print "active" is already a sign of some problem. Where did you download your Python from? Is it a native Windows executable, or something else, like Cygwin or MSYS2 build of Python?
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 1 Jul 2024 05:41:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 01 01:41:36 2024 Received: from localhost ([127.0.0.1]:59774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sO9nD-0005Lj-H4 for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 01:41:36 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:44152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sO7CF-0000Qi-2K for 71853 <at> debbugs.gnu.org; Sun, 30 Jun 2024 22:55:15 -0400 Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-57d203d4682so2845653a12.0 for <71853 <at> debbugs.gnu.org>; Sun, 30 Jun 2024 19:55:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719802448; x=1720407248; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tyBk7Zut0BEdBL1YnjanZX4liQSpLN4gBPcH7q3DdIc=; b=bSuiYOx/opODlV3/M9GWYdEZ1fe2W6+2UPqdYEGt+NGfo5lq7OrvPaNYUWLgMzCbUJ 6v9G1orpqXYOiavFhAlzsM3X1uVhJJtyIDpYEEMMGGou+Muwb+xJePj/itzayFvYJPyB NCMyNGdQoJGEjHTtgagCk94JWW5EvJwnMt97f3fcWMpDARz9wEgNNArGMYkbg88zrlK1 eZ6nilPk3q7M3Iou4Fu164ar+K+vhCvBWJlTufI2pT5vyOLUhxKeJqVZZ1W5B3s4XHs+ lHfKXCJWbNAtzIlW+P9qQlTyYCx8AUodNBnBDQw7H1xkZnAdK1P6rCrb029PQG9rqNqq jnsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719802448; x=1720407248; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tyBk7Zut0BEdBL1YnjanZX4liQSpLN4gBPcH7q3DdIc=; b=VSizKapM8gOrEMavc6tjrrrpo2TkE74XFjBAYjZl54ii6fWGNpylBhIXsckfO7zc+c C4895FFfaLyG/DtsyUbqzy2QrbkpLQr5YjGmSPg7b7XLgLabtENKYd+/NYGAuNfPIXRy SMH68mYFDD2GVgR9vhxNlJru+6X3hksr+wuISoxz3DL8O37Qk/EYVe4qObp4lbcq/Y7y IanXXoHkKM3u6tI0zbUeyQimStej4CBJKuYvHv/d+AXa10JSoWN8IS5JViUd/LhNy9Hs E23ZZTWoMLSHvgMfbzpRkFeM3JrwQK2xnBLrhAp0b5de5SaDCBBc9VeNUXWUnUQqlbVO o4IQ== X-Gm-Message-State: AOJu0YzIEZS7tBDdZDQAtMZueytJH+PIuOgtagYXG37jFnCkKvScyanp ig70vIDNMBvZdzz3cSUWaygEBEya3cbvmDrAiuZxNYugW1puxQOUbpNa5GNVZ5qNJgIYRakFG0k jIPh4m6sy0h8jTYXg9p6Vvx0UvsAFyxHc X-Google-Smtp-Source: AGHT+IG81jiXQx54pJJYwZMi9kzC/KxXqx4/4lUjYIKfz/Ymi9+2oDFdgcpt2j153tXXSk1U+8wvGF+orA++wEGsZgw= X-Received: by 2002:a05:6402:2116:b0:57d:1e27:65ea with SMTP id 4fb4d7f45d1cf-587a0635e7amr2994114a12.34.1719802448239; Sun, 30 Jun 2024 19:54:08 -0700 (PDT) MIME-Version: 1.0 References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> <86zfr2fhb5.fsf@HIDDEN> In-Reply-To: <86zfr2fhb5.fsf@HIDDEN> From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Mon, 1 Jul 2024 12:53:51 +1000 Message-ID: <CABodVWWo_UFxbOB4FDyGM4N=ftp1RYTQnsqPedEmZ0BxLawsog@HIDDEN> Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71853 X-Mailman-Approved-At: Mon, 01 Jul 2024 01:41:33 -0400 Cc: 71853 <at> debbugs.gnu.org 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 (-) > From: Eli Zaretskii > Date: Sun, 30 Jun 2024 20:53:34 +0300 > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > Date: Mon, 1 Jul 2024 01:58:30 +1000 > > > > > From: Eli Zaretskii > > > Date: Sun, 30 Jun 2024 12:07:06 +0300 > > > Please show the exact file you used as the compilation command, > > > because I cannot reproduce this with a few programs I tried, see > > > below. > > > > Sorry, I used a Python file: > > ``` > > import time > > > > while True: > > print("active") > > sleep(1) > > ``` > > And how exactly did you invoke this? Please show the complete > command you typed at the prompt of "M-x compile", because trying > to reproduce this (see below) I could't. I did "M-x compile RET python loop.py RET". Also, when running this program, it does not output anything in the *compilation* buffer ("active" is not printed every second). > Also, can you interrupt the same program if you run it from the > Windows command prompt window and then type Ctrl-C? Yes. > I tried to run this program (without knowing how exactly did you do > that). Here's what I did: > > . saved this program to a file loop.py > . in "emacs -Q" typed the Emacs command > > M-x compile RET python loop.py RET > > I then got an error: > > python loop.py > active > Traceback (most recent call last): > File "loop.py", line 5, in <module> > sleep(1) > NameError: name 'sleep' is not defined > > Compilation exited abnormally with code 1 at Sun Jun 30 > 20:47:35, duration 0.12 s Sorry for the wrong program. On Mon, 1 Jul 2024 at 03:53, Eli Zaretskii <eliz@HIDDEN> wrote: > > [Please use Reply All to reply, to keep the bug tracker CC'ed.] > > > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > > Date: Mon, 1 Jul 2024 01:58:30 +1000 > > > > > From: Eli Zaretskii > > > Date: Sun, 30 Jun 2024 12:07:06 +0300 > > > Please show the exact file you used as the compilation command, > > > because I cannot reproduce this with a few programs I tried, see > > > below. > > > > Sorry, I used a Python file: > > ``` > > import time > > > > while True: > > print("active") > > sleep(1) > > ``` > > And how exactly did you invoke this? Please show the complete command > you typed at the prompt of "M-x compile", because trying to reproduce > this (see below) I could't. > > Also, can you interrupt the same program if you run it from the > Windows command prompt window and then type Ctrl-C? > > I tried to run this program (without knowing how exactly did you do > that). Here's what I did: > > . saved this program to a file loop.py > . in "emacs -Q" typed the Emacs command > > M-x compile RET python loop.py RET > > I then got an error: > > python loop.py > active > Traceback (most recent call last): > File "loop.py", line 5, in <module> > sleep(1) > NameError: name 'sleep' is not defined > > Compilation exited abnormally with code 1 at Sun Jun 30 20:47:35, duration 0.12 s > > I then modified the program as follows: > > import time > > while True: > print("active") > time.sleep(1) > > and ran the same compilation command again, then typed C-c C-k into > the compilation buffer. The result: > > python loop.py > active > active > active > active > active > Traceback (most recent call last): > File "loop.py", line 5, in <module> > time.sleep(1) > KeyboardInterrupt > > Compilation interrupt at Sun Jun 30 20:49:10, duration 4.37 s > > which is what I would expect. > > My Python is version 3.4.4, for native MS-Windows, installed from > python.org. > > So bottom line: it works for me, even with your test program. I'm > puzzled why it doesn't work for you.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 30 Jun 2024 17:53:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 13:53:46 2024 Received: from localhost ([127.0.0.1]:59040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sNykD-000635-PM for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 13:53:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sNykB-00062n-6J for 71853 <at> debbugs.gnu.org; Sun, 30 Jun 2024 13:53:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sNyk5-000115-Mp; Sun, 30 Jun 2024 13:53:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HhEwX8LpwgkFMv/6sfi4gOmHeKCbGJO1M5cq7JKMoRQ=; b=QgYlWmXXYPqp Dtik3uaEkexDxGqkebSkIE2UEjj9qhj4pTjSZLNJ/RxBaSO92eF2q2MWY1R6vFA8dl+Jcz/iX3+Dh kb6a1SukU1DdQc3TtPgcuaiTq/GfhGggArC/Gvxi2VGBTb/XF7O5JIkon8Zo73sLat5cUUoPcOIoc NhDe2Td3vZgGLlCzHaCozDtS5qigL5CJwkVsb4XzmtMf/lNICewEtsKg5hDVUvl2WyfHNR20QY1ts Mc41NEwWv4v4ueBLHTFwTjtZ7/NA0aXvEGwL/QamC7aN7i8wKO5R8qO0d4ana0NMXngvxXu1Thjsv 9wiD9BCF1l/Ax73UqRNZNA==; Date: Sun, 30 Jun 2024 20:53:34 +0300 Message-Id: <86zfr2fhb5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> (message from Tze Chian Kam on Mon, 1 Jul 2024 01:58:30 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> <86plryhk91.fsf@HIDDEN> <CABodVWXdfXUhjhJNb13hcndALq+7A+L8VBODod7vBbD77DW5Vg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) [Please use Reply All to reply, to keep the bug tracker CC'ed.] > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Mon, 1 Jul 2024 01:58:30 +1000 > > > From: Eli Zaretskii > > Date: Sun, 30 Jun 2024 12:07:06 +0300 > > Please show the exact file you used as the compilation command, > > because I cannot reproduce this with a few programs I tried, see > > below. > > Sorry, I used a Python file: > ``` > import time > > while True: > print("active") > sleep(1) > ``` And how exactly did you invoke this? Please show the complete command you typed at the prompt of "M-x compile", because trying to reproduce this (see below) I could't. Also, can you interrupt the same program if you run it from the Windows command prompt window and then type Ctrl-C? I tried to run this program (without knowing how exactly did you do that). Here's what I did: . saved this program to a file loop.py . in "emacs -Q" typed the Emacs command M-x compile RET python loop.py RET I then got an error: python loop.py active Traceback (most recent call last): File "loop.py", line 5, in <module> sleep(1) NameError: name 'sleep' is not defined Compilation exited abnormally with code 1 at Sun Jun 30 20:47:35, duration 0.12 s I then modified the program as follows: import time while True: print("active") time.sleep(1) and ran the same compilation command again, then typed C-c C-k into the compilation buffer. The result: python loop.py active active active active active Traceback (most recent call last): File "loop.py", line 5, in <module> time.sleep(1) KeyboardInterrupt Compilation interrupt at Sun Jun 30 20:49:10, duration 4.37 s which is what I would expect. My Python is version 3.4.4, for native MS-Windows, installed from python.org. So bottom line: it works for me, even with your test program. I'm puzzled why it doesn't work for you.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 71853) by debbugs.gnu.org; 30 Jun 2024 09:09:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 05:09:26 2024 Received: from localhost ([127.0.0.1]:55100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sNqYo-0001yq-F4 for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:09:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sNqYn-0001yb-1I; Sun, 30 Jun 2024 05:09:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sNqWa-0001Vk-Jk; Sun, 30 Jun 2024 05:07:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yLq3flUeOx7kP4EorVfjlh4ocPsGcxrPyI4abgzxsPM=; b=USa5IsuL/6/B 5lIXyrvvV2t/4/mlRJHuFF8iepaU3Q1VliQp2cQRukXqBUnRwLtmc8j1EF+uBV2oEem+XUf0buas8 IEMH6LTyK//I+HSWDezpK1MlP5qHYWa4fRm5J2HEpRaOnmOt37wIbrYe5U1WmZnv+zRGLQZnXwTfl UmXXWLN0ASo23kYAq33lTWo1uqETIZm+f7RRm2eQ1JsIo8DNNiwQkjqw7RHSX2E8JMndEeBZwyo7z fpe1GeNs98MqoRqJeRAyJTi/da+oRfrcl5ONTcmpXbjaQzB2wH7v92oXtObokiETTF+TekbvT34Kd 1cCcZl1VbpK2J1xD19QpnA==; Date: Sun, 30 Jun 2024 12:07:06 +0300 Message-Id: <86plryhk91.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Tze Chian Kam <tze.chian.kam@HIDDEN> In-Reply-To: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> (message from Tze Chian Kam on Sun, 30 Jun 2024 12:57:11 +1000) Subject: Re: bug#71853: 29.4; `kill-compilation` does not kill compilation process on Windows References: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71853 Cc: 71853 <at> debbugs.gnu.org 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 (---) tags 71853 moreinfo thanks > From: Tze Chian Kam <tze.chian.kam@HIDDEN> > Date: Sun, 30 Jun 2024 12:57:11 +1000 > > Steps to reproduce: > 1) Open Emacs with `-q`. > 2) Run a trivial file with an infinite loop with `M-x compile` Please show the exact file you used as the compilation command, because I cannot reproduce this with a few programs I tried, see below. > Expected outcome: > Should be able to kill the process with `M-x kill-compilation` or > `C-c C-k`. > > Actual outcome: > `C-c C-k` is ignored and `M-x kill-compilation` is ran but does not > stop the process. I tried this with several commands and it worked for me with all of them. Here are the commands I tried: . sleep 20 . ping -t SOME-EXISTING-SITE . a batch file which does this: @echo off :again ping -n 1 SOME-EXISTING-SITE sleep 60s goto again In all three cases, I get the same expected result in the *compilation* buffer: Compilation interrupt at Sun Jun 30 11:58:49, duration 4.44 s (with the time and the "duration" values changing as appropriate). So I suspect the problem is with some specific command/program or a group of programs that behave in a specific way. Thus the request to show which program you used in your case. (Just to be sure: you typed "C-c C-k" from the *compilation* buffer, yes? If you want to interrupt the compilation process from another buffer, you need to invoke kill-compilation by name, via M-x.) > For now, I have a workaround to advice `compile` to interactive mode > (comint) and killing the process with `C-c C-\`. Is this a Windows > problem or my setup? Not clear yet; more info is needed.
bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 07:17:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 03:17:10 2024 Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sNoo9-0007EW-Uu for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 03:17:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:40612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tze.chian.kam@HIDDEN>) id 1sNkku-00028i-7r for submit <at> debbugs.gnu.org; Sat, 29 Jun 2024 22:57:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tze.chian.kam@HIDDEN>) id 1sNkks-0005Wg-EV for bug-gnu-emacs@HIDDEN; Sat, 29 Jun 2024 22:57:31 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tze.chian.kam@HIDDEN>) id 1sNkkp-0008IE-Tq for bug-gnu-emacs@HIDDEN; Sat, 29 Jun 2024 22:57:29 -0400 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5858e973ef5so1043137a12.0 for <bug-gnu-emacs@HIDDEN>; Sat, 29 Jun 2024 19:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719716245; x=1720321045; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9xz1klE8dbfWWVmc1mo5iYah2Pt6JKIyj0oERa9MdIw=; b=iOKaVR8QvJWL1/6aZf+YshgLWJal8WknZVbrb7u3oalGSRzupgX2fuZymJ3mOQiyUS FmcX3VKtzK3AHwV1PRUVW3EkMcLHYwW+YReEV9kX/7lz3TRpCzjAI0piQv3H6cJ2vIFL 2UsrCiwEPQk88wSx88GQXaj7Nz4RPo0kY2v1SQOl8SeK9IQNTkOw++SJS3BW0JyaVPZQ yS5KTSFbdW5RsZyNLSAZzhco4JtQYMaOUs5SyagUgNttU7vwE7BeRDlQrhg1HwgqMFjw YY8feqL3FEjovc1miiLq6YeU199h8qI4D8PeMk/MWxb/gTxGA26Q4Y2Df/fJq0jCx84B SSWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719716245; x=1720321045; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9xz1klE8dbfWWVmc1mo5iYah2Pt6JKIyj0oERa9MdIw=; b=Bdzom1lDMo18FmDztQ1nR71cKtQKeYBzO58J4stUiteRivEwmTPLrPBDpVt5OfKXCy lbggb4NFdNMXzb3dK+QPGNcnGRnxLCYWD5dQpwFVpWfNixwepj9fPmwUUF4o7GuTSMF/ Nm6ThsL4rTC6NiC1ndQJuebQdv6eTZiEYkhwoVSlZoYPMxCi2hcM9WPB/jrHMx7jmIo5 PtOeBJk4UkTTbDQwG6HFGLvc5QMDMWI6hB6okTUfPdOIVp8oTKEwJZ2996fUJ8zg3ctD wCUbN2CFXpmJOJarn+hsAHdSO10BXMm0N1c19PJqAIqRo44LhaWKCjbV2LDYpNf/f7kS gQdA== X-Gm-Message-State: AOJu0YwTxZCAm7bFXuyLsy+zO1vog5tQGVuBOGF1SEpkw0lGCBV3NoLy VwjGfIBuYE58NFBkrPMjFZGas3w5rSoHbL5zx4KxGTuoSBmmQZ1LVRzVE0YNsCU9Bg4eX9Nfl1M 7ZmzA446qZCryKP2ofC+aC5zwq921fKhc X-Google-Smtp-Source: AGHT+IETy9v4yBtvugCqSV+D1TWNGZpwWAvVLVDsYcAfInpHJyu8qgxIeTdh/d2S+FORGQ0SNFB4DUN0qMjx/pPZcV4= X-Received: by 2002:a05:6402:d05:b0:57c:5874:4f5c with SMTP id 4fb4d7f45d1cf-587a0822c5bmr1854074a12.32.1719716245276; Sat, 29 Jun 2024 19:57:25 -0700 (PDT) MIME-Version: 1.0 From: Tze Chian Kam <tze.chian.kam@HIDDEN> Date: Sun, 30 Jun 2024 12:57:11 +1000 Message-ID: <CABodVWVHLEPKZ9W+-D5uo2d-YtvmrFJjawmOR2BjWOqeyUaJnw@HIDDEN> Subject: 29.4; `kill-compilation` does not kill compilation process on Windows To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="000000000000ea0ddc061c12a378" Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=tze.chian.kam@HIDDEN; helo=mail-ed1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 30 Jun 2024 03:17:08 -0400 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 (--) --000000000000ea0ddc061c12a378 Content-Type: text/plain; charset="UTF-8" Steps to reproduce: 1) Open Emacs with `-q`. 2) Run a trivial file with an infinite loop with `M-x compile` Expected outcome: Should be able to kill the process with `M-x kill-compilation` or `C-c C-k`. Actual outcome: `C-c C-k` is ignored and `M-x kill-compilation` is ran but does not stop the process. For now, I have a workaround to advice `compile` to interactive mode (comint) and killing the process with `C-c C-\`. Is this a Windows problem or my setup? In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-06-24 built on fv-az1388-367 Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4529) Configured using: 'configure --prefix=/mingw64 --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-modules --without-dbus --without-compress-install --with-tree-sitter --with-native-compilation=aot 'CFLAGS=-march=nocona -msahf -mtune=generic -O2 -pipe -fstack-protector-strong -fno-optimize-sibling-calls -Wno-error=implicit-function-declaration' CPPFLAGS=-D__USE_MINGW_ANSI_STDIO=1 'LDFLAGS= -lpthread'' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Python Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-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: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date files-x shell pcomplete compile text-property-search python project byte-opt pcase treesit comint ansi-osc ring cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib ansi-color rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 seq 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 oclosure cl-preloaded button loaddefs theme-loaddefs 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 w32notify w32 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1087889 397416) (symbols 48 8942 4) (strings 32 27579 6087) (string-bytes 1 2338937) (vectors 16 20075) (vector-slots 8 394227 86836) (floats 8 42 93) (intervals 56 490863 319) (buffers 984 13)) --000000000000ea0ddc061c12a378 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Steps to reproduce:<br>1) Open Emacs with `-q`.<br>2) Run = a trivial file with an infinite loop with `M-x compile`<br><br>Expected out= come:<br>Should be able to kill the process with `M-x kill-compilation` or<= br>`C-c C-k`.<br><br>Actual outcome:<br>`C-c C-k` is ignored and `M-x kill-= compilation` is ran but does not<br>stop the process.<br><br>For now, I hav= e a workaround to advice `compile` to interactive mode<br>(comint) and kill= ing the process with `C-c C-\`. Is this a Windows<br>problem or my setup?<b= r><div><br></div><div>In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 20= 24-06-24 built on<br>=C2=A0fv-az1388-367<br>Windowing system distributor &#= 39;Microsoft Corp.', version 10.0.19045<br>System Description: Microsof= t Windows 10 Pro (v10.0.2009.19045.4529)<br><br>Configured using:<br>=C2=A0= 'configure --prefix=3D/mingw64 --host=3Dx86_64-w64-mingw32<br>=C2=A0--b= uild=3Dx86_64-w64-mingw32 --with-modules --without-dbus<br>=C2=A0--without-= compress-install --with-tree-sitter<br>=C2=A0--with-native-compilation=3Dao= t 'CFLAGS=3D-march=3Dnocona -msahf<br>=C2=A0-mtune=3Dgeneric -O2 -pipe = -fstack-protector-strong<br>=C2=A0-fno-optimize-sibling-calls -Wno-error=3D= implicit-function-declaration'<br>=C2=A0CPPFLAGS=3D-D__USE_MINGW_ANSI_S= TDIO=3D1 'LDFLAGS=3D -lpthread''<br><br>Configured features:<br= >ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY<b= r>W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF<br>TOOLKIT_SCROLL_B= ARS TREE_SITTER WEBP XPM ZLIB<br><br>Important settings:<br>=C2=A0 value of= $LANG: en_US.UTF-8<br>=C2=A0 locale-coding-system: cp1252<br><br>Major mod= e: Python<br><br>Minor modes in effect:<br>=C2=A0 shell-dirtrack-mode: t<br= >=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 eldoc-mode= : t<br>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2= =A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode:= t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br= >=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 line-num= ber-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composition-mod= e: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: t<b= r><br>Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort ma= il-extr emacsbug message mailcap yank-media puny dired<br>dired-loaddefs rf= c822 mml mml-sec password-cache epa derived epg rfc6068<br>epg-config gnus-= util mm-decode mm-bodies mm-encode mail-parse rfc2231<br>mailabbrev gmm-uti= ls mailheader sendmail rfc2047 rfc2045 ietf-drums<br>mm-util mail-prsvr mai= l-utils time-date files-x shell pcomplete compile<br>text-property-search p= ython project byte-opt pcase treesit comint<br>ansi-osc ring cl-loaddefs co= mp comp-cstr warnings icons subr-x rx cl-seq<br>cl-macs gv cl-extra help-mo= de bytecomp byte-compile cl-lib ansi-color<br>rmc iso-transl tooltip cconv = eldoc paren electric uniquify ediff-hook<br>vc-hooks lisp-float-type elisp-= mode mwheel dos-w32 ls-lisp disp-table<br>term/w32-win w32-win w32-vars ter= m/common-win tool-bar dnd fontset image<br>regexp-opt fringe tabulated-list= replace newcomment text-mode lisp-mode<br>prog-mode register page tab-bar = menu-bar rfn-eshadow isearch easymenu<br>timer select scroll-bar mouse jit-= lock font-lock syntax font-core<br>term/tty-colors frame minibuffer nadvice= seq simple cl-generic<br>indonesian philippine cham georgian utf-8-lang mi= sc-lang vietnamese<br>tibetan thai tai-viet lao korean japanese eucjp-ms cp= 51932 hebrew greek<br>romanian slovak czech european ethiopic indian cyrill= ic chinese<br>composite emoji-zwj charscript charprop case-table epa-hook<b= r>jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs<b= r>theme-loaddefs faces cus-face macroexp files window text-properties<br>ov= erlay sha1 md5 base64 format env code-pages mule custom widget keymap<br>ha= shtable-print-readable backquote threads w32notify w32 multi-tty<br>make-ne= twork-process native-compile emacs)<br><br>Memory information:<br>((conses = 16 1087889 397416)<br>=C2=A0(symbols 48 8942 4)<br>=C2=A0(strings 32 27579 = 6087)<br>=C2=A0(string-bytes 1 2338937)<br>=C2=A0(vectors 16 20075)<br>=C2= =A0(vector-slots 8 394227 86836)<br>=C2=A0(floats 8 42 93)<br>=C2=A0(interv= als 56 490863 319)<br>=C2=A0(buffers 984 13))<br></div></div> --000000000000ea0ddc061c12a378--
Tze Chian Kam <tze.chian.kam@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#71853
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.