From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36296: 26.2; cannot-suspend value on MS Win & resume description Date: Sat, 30 Jan 2021 12:52:44 +0200 Message-ID: <83wnvu8znn.fsf@gnu.org> References: <75a98727-b72d-962c-a4f3-49641cf5c713@gmail.com> <87k0ruwxfz.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mrsebastianurban@gmail.com, 36296@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 30 11:53:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5nsT-0006Aq-Md for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 11:53:17 +0100 Original-Received: from localhost ([::1]:60048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5nsS-0005n7-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 05:53:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5nsE-0005mw-Fa for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5nsE-0000zN-23 for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5nsD-0005wT-WB for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jan 2021 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36296 X-GNU-PR-Package: emacs Original-Received: via spool by 36296-submit@debbugs.gnu.org id=B36296.161200395222804 (code B ref 36296); Sat, 30 Jan 2021 10:53:01 +0000 Original-Received: (at 36296) by debbugs.gnu.org; 30 Jan 2021 10:52:32 +0000 Original-Received: from localhost ([127.0.0.1]:53769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nrj-0005vk-Md for submit@debbugs.gnu.org; Sat, 30 Jan 2021 05:52:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nrg-0005vX-TB for 36296@debbugs.gnu.org; Sat, 30 Jan 2021 05:52:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42244) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5nrb-0000kw-EO; Sat, 30 Jan 2021 05:52:23 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4651 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l5nra-0006HW-Ec; Sat, 30 Jan 2021 05:52:22 -0500 In-Reply-To: <87k0ruwxfz.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 30 Jan 2021 11:06:40 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198926 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 30 Jan 2021 11:06:40 +0100 > Cc: 36296@debbugs.gnu.org > > Sebastian Urban writes: > > > on MS Windows (official build) variable `cannot-suspend' has value > > `nil', while according to this thread on help-gnu-emacs: > > https://lists.gnu.org/archive/html/help-gnu-emacs/2019-0/msg00259.html > > probably should have value `t'. > > PROBLEMS says: > > *** C-z just refreshes the screen instead of suspending Emacs. > > You are probably using a shell that doesn't support job control, even > though the system itself is capable of it. Either use a different shell, > or set the variable 'cannot-suspend' to a non-nil value. > > -------- > > I'm not very familiar with how this works under Windows, but from the > text there, it sounds like it depends on the shell, so Emacs can't > really default the variable to t just based on the OS? Or is this > always the case on Windows (that `C-z' doesn't work?) IMNSHO, this is a subtle bug on MS-Windows that needs to be investigated and fixed; the code looked okay to me last time I looked. I don't have time to work on it, and the feature is very unimportant on MS-Windows, so volunteers and patches are welcome, but documenting this as a "feature" is IMO not TRT.