From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 19:38:20 2015 Received: (at submit) by debbugs.gnu.org; 26 Aug 2015 23:38:20 +0000 Received: from localhost ([127.0.0.1]:39352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUkGp-0007wo-5J for submit@debbugs.gnu.org; Wed, 26 Aug 2015 19:38:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48295) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUkEZ-0007sC-OL for submit@debbugs.gnu.org; Wed, 26 Aug 2015 19:36:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUkEY-0006IJ-5q for submit@debbugs.gnu.org; Wed, 26 Aug 2015 19:35:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUkEY-0006IF-38 for submit@debbugs.gnu.org; Wed, 26 Aug 2015 19:35:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUkEW-0005rL-S0 for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 19:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUkES-0006Gy-JQ for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 19:35:56 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUkES-0006GW-9N for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 19:35:52 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B356922363 for ; Wed, 26 Aug 2015 19:35:50 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute1.internal (MEProxy); Wed, 26 Aug 2015 19:35:50 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=CF4 uehQubzYsgNIA5HNlDtUSzv8=; b=g8JCT/rB/7xVHPLdWPKdBquvxq6h4CvaNJs lsTzq2mZT1XCua13sZUbkyCl4rpObGsIwMX5mJyE60Ua9zhV6LnnjWEFMOOTLC6n UyY7+DwnW14UkYahbZ7Jd4UN7T0ByzvVjM+SfuVG/m7KdFF8LkJwpGIQZM0pksG8 4lmSPyAs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=CF4uehQubzYsgNIA5HNlDtUSzv8=; b=q2vI8 53tloDtsvUX/FV59xjNvkxGracWn2kd2y6Mn2+zTZE4PlZ/MhvA377tLExe2gCOn qwkcpGNS58KPMio/k9PxsmJl21UZK8qSwFcss9H1J7khzxy5NexyAIZjAmnlsOi9 3k4mT2X5Np0xutfU+9gzsbWY64VszKfBp/79bk= Received: by web2.nyi.internal (Postfix, from userid 99) id 75EA7540075; Wed, 26 Aug 2015 19:35:50 -0400 (EDT) Message-Id: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> X-Sasl-Enc: YqacmzDsJ65vPRX37yMsKO+AAk+WvLydek/cu+pQtcHr 1440632150 From: random832@fastmail.com To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-4500bf93 Subject: 24.5; Daemon leaves Mac OSX App open after closing GUI frame Date: Wed, 26 Aug 2015 19:35:50 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 26 Aug 2015 19:38:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) If I have Emacs (OSX App) started in daemon mode, and then create a GUI frame, e.g. emacsclient -c, an instance of Emacs.app starts, which then does not go away when the frame is closed with C-x C-c. Most menu items, even ones such as "New Frame (C-x 5 2)" that seem like they should make sense without a frame, are unresponsive. The app is also unable to respond to s-q, though it does respond to the "Quit Emacs (Command-Q)" item in the App menu, which C-h k shows as sending rather than a sequence. I'm not sure what behavior should be expected here. In order of my personal preference: 1. Keep the app open, and most menu commands should open a new frame. 2. Somehow (is this possible?) close the app instance without shutting down the daemon process, when there are no frames. 3. Somehow create a separate app instance for each emacsclient -c process. In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org Windowing system distributor `Apple', version 10.3.1344 Configured using: `configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Starting Emacs daemon. When done with this frame, type C-x 5 0 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils server time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 72471 4238) (symbols 48 17293 0) (miscs 40 43 140) (strings 32 10183 4263) (string-bytes 1 271546) (vectors 16 9219) (vector-slots 8 376271 16268) (floats 8 57 68) (intervals 56 173 0) (buffers 960 12)) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 03 10:40:31 2015 Received: (at 21357) by debbugs.gnu.org; 3 Nov 2015 15:40:31 +0000 Received: from localhost ([127.0.0.1]:51617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtdhF-0002CR-Nl for submit@debbugs.gnu.org; Tue, 03 Nov 2015 10:40:30 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37526) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztdgu-0002By-V6 for 21357@debbugs.gnu.org; Tue, 03 Nov 2015 10:40:27 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2C09E20D0E for <21357@debbugs.gnu.org>; Tue, 3 Nov 2015 10:40:08 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 03 Nov 2015 10:40:08 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Y+jQ7nMGgPjJDtPszD0/PA+lbMQ =; b=wkXmwdhhld0XyFU8HZbLXe0E6yvxsB58HztAHTpp3tvsKTm0aIRR+f6G07H 1KImkBgPivXdtFtolvyMslHvjiVP6CaI02pdJL7FpMwU0yP6VQy9rW+8gWJfi2Y3 WxEQzTpoJKWSydXNfqTs5feqiSUJEEMFMHWYJnZgXu4hXzX4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Y+ jQ7nMGgPjJDtPszD0/PA+lbMQ=; b=izeNgb7gUW+gFH64X5UjwhcfE4EmeB3Edr xmhvMF/8y3naEZJzt81A4gapyT8RYuT+kS5ehRcd/7ZMfkr+/ZHrJGsCslKolOS+ sJ3KsXx4iRTKgxC1L75CrhBW0m61I5Q1WOm/ycxSYVfU7HGZVkDz0kPVmxV4el0I Lsv+jUgUk= X-Sasl-enc: icFmhOPbouvNJNPtIYJmwbF/xVRNq3o9l44sYO1GiZQE 1446565207 Received: from Kogasa (c-68-39-146-59.hsd1.in.comcast.net [68.39.146.59]) by mail.messagingengine.com (Postfix) with ESMTPA id B741F680238 for <21357@debbugs.gnu.org>; Tue, 3 Nov 2015 10:40:07 -0500 (EST) From: Random832 To: 21357@debbugs.gnu.org Subject: Bug #21357 is a duplicate of #14619 Date: Tue, 03 Nov 2015 10:39:46 -0500 Message-ID: <87pozr8531.fsf@fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 21357 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Sorry about this, I had not found the original bug when I searched before reporting the bug. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 03 11:04:58 2015 Received: (at 21357) by debbugs.gnu.org; 3 Nov 2015 16:04:58 +0000 Received: from localhost ([127.0.0.1]:51639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zte4w-0002p9-G5 for submit@debbugs.gnu.org; Tue, 03 Nov 2015 11:04:58 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:63176) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zte4b-0002oe-MF for 21357@debbugs.gnu.org; Tue, 03 Nov 2015 11:04:56 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NX800G00XQOXH00@a-mtaout22.012.net.il> for 21357@debbugs.gnu.org; Tue, 03 Nov 2015 18:04:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX800GPSXZMN160@a-mtaout22.012.net.il>; Tue, 03 Nov 2015 18:04:34 +0200 (IST) Date: Tue, 03 Nov 2015 18:04:49 +0200 From: Eli Zaretskii Subject: Re: bug#21357: Bug #21357 is a duplicate of #14619 In-reply-to: <87pozr8531.fsf@fastmail.com> X-012-Sender: halo1@inter.net.il To: Random832 Message-id: <83611jvzku.fsf@gnu.org> References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87pozr8531.fsf@fastmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21357 Cc: 21357@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Random832 > Date: Tue, 03 Nov 2015 10:39:46 -0500 > > > Sorry about this, I had not found the original bug when I searched > before reporting the bug. No need to apologize, but please do merge them. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 03 12:06:01 2015 Received: (at control) by debbugs.gnu.org; 3 Nov 2015 17:06:01 +0000 Received: from localhost ([127.0.0.1]:51688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztf20-0004Qx-Nm for submit@debbugs.gnu.org; Tue, 03 Nov 2015 12:06:00 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39657) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztf1g-0004QR-3c for control@debbugs.gnu.org; Tue, 03 Nov 2015 12:05:40 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 239B621846 for ; Tue, 3 Nov 2015 12:05:39 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 03 Nov 2015 12:05:39 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=HCYAG77O28L2QP4P0R1XE3O8iXQ =; b=eAwCh6RRlaZtLpgsAJ0J5vw3ZOY3LFTDL6Lr1CJ6sHxieSfNvMLcRGzfEV3 lG/deB5UuBQ/ICWY2zATJ4RNr4PS9LYBimSH90xEU62P0dpSB1DCyjDA0yLolZ2t ss+OtpstfQmpUg6o9JEz1mVxrZcU9XxRnMv2oiF80kg2RM6E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=HC YAG77O28L2QP4P0R1XE3O8iXQ=; b=sTtrKlJpmfhqSv1Fx82Lq1EdHvrQIydLV9 1LPkAj96zkT8j6RLHPYdTMoQC3qsjvY+mBHGbwggJP+9UlYsjWaZKcWJX3kBcivi Rxojk39+8IuW3QCar09eIrXT/nlZntQFG59f/SpUTaEOP9oOC0SYSYbhjx8sPJg+ yNnCJzAIQ= X-Sasl-enc: TSI1QZBvjpehOZpUAQfqYj+qKE0e19DHh/XQWFZ/hyDQ 1446570338 Received: from Kogasa (c-68-39-146-59.hsd1.in.comcast.net [68.39.146.59]) by mail.messagingengine.com (Postfix) with ESMTPA id BA13468016C for ; Tue, 3 Nov 2015 12:05:38 -0500 (EST) From: Random832 To: control@debbugs.gnu.org Subject: merge 14619 21357 Date: Tue, 03 Nov 2015 12:05:17 -0500 Message-ID: <87fv0n814i.fsf@fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) merge 14619 21357 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 08:58:19 2021 Received: (at 21357) by debbugs.gnu.org; 16 Aug 2021 12:58:20 +0000 Received: from localhost ([127.0.0.1]:48913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFcBz-0002Ne-E5 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 08:58:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFcBt-0002NL-Ng for 21357@debbugs.gnu.org; Mon, 16 Aug 2021 08:58:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qa7Sqcq+soD55cjc6HyZ18nJJ5W/zo/3pUhJP3DfQ3k=; b=Nnuat93tmuD3s/bB2RrK13m4QD K2pUuVcuOinooiUG3JV4feLMwc3P7s7ee4uXGIsO+6FHFiJ/lcXQNHWDb/kKQ8pdB/oHW1Pju/V3j 9AiW1LfErAIZbYkGmkfyLe8yq2MNvPuwVY2PUbKgOGh8BPzcGoH5jer3hNIKJvupkUHk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFcBi-0004xF-Rq; Mon, 16 Aug 2021 14:58:03 +0200 From: Lars Ingebrigtsen To: random832@fastmail.com Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> Date: Mon, 16 Aug 2021 14:57:58 +0200 In-Reply-To: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> (random's message of "Wed, 26 Aug 2015 19:35:50 -0400") Message-ID: <87lf51bl7t.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: random832@fastmail.com writes: > If I have Emacs (OSX App) started in daemon mode, and then create a > GUI frame, e.g. emacsclient -c, an instance of Emacs.app starts, > which then does not go away when the frame is closed with C-x [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21357 Cc: 21357@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) random832@fastmail.com writes: > If I have Emacs (OSX App) started in daemon mode, and then create a > GUI frame, e.g. emacsclient -c, an instance of Emacs.app starts, > which then does not go away when the frame is closed with C-x C-c. > Most menu items, even ones such as "New Frame (C-x 5 2)" that seem > like they should make sense without a frame, are unresponsive. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Is this problem still present in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 08:58:23 2021 Received: (at control) by debbugs.gnu.org; 16 Aug 2021 12:58:23 +0000 Received: from localhost ([127.0.0.1]:48915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFcC3-0002Nq-UF for submit@debbugs.gnu.org; Mon, 16 Aug 2021 08:58:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFcBx-0002NQ-CC for control@debbugs.gnu.org; Mon, 16 Aug 2021 08:58:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xJ03Q1TFIqOwkDO28BBslPhyJHqCObDkSnJsN7ypeDI=; b=ASo0x77hfOVNF3xS1mjFHDZWHt O0NNTSjV92d3J7DDUI7pw78S3c3aK1PIKqb4WEhjHXLCLMO8QNvbsqcqAT9DGN8UbLVeJv+sO0lBJ NTr4gSGGwqosvoeWEXioSPXxK610w8PKOtP8EwvY4eCYOGszx/PK2+hs4fpNdnR+z8f4=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFcBp-0004xP-HL for control@debbugs.gnu.org; Mon, 16 Aug 2021 14:58:07 +0200 Date: Mon, 16 Aug 2021 14:58:05 +0200 Message-Id: <87k0klbl7m.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21357 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21357 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 21357 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 13:13:18 2021 Received: (at 21357) by debbugs.gnu.org; 16 Aug 2021 17:13:18 +0000 Received: from localhost ([127.0.0.1]:50869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFgAo-0001A8-8Q for submit@debbugs.gnu.org; Mon, 16 Aug 2021 13:13:18 -0400 Received: from outbound.soverin.net ([116.202.126.228]:48059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFgAl-00019u-1o for 21357@debbugs.gnu.org; Mon, 16 Aug 2021 13:13:16 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id A007A3B9; Mon, 16 Aug 2021 17:13:08 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1629133987; bh=cqsbzBXsoSFcmoB86HqfTuMAPcYa3Lh+QaO7qH9l3UQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jOWeJCIhXAmVv0OdRl/4psTqBwj4RR+Psf8XhvTa820jSdXNj216tByG5/aqXCj6i RaPn6SA/tfJ60N/y58bpd8W1dFioATV33fACryqjJK5vxQBuwhG+urlhVfH7H9oMPi JPCZBBqnNal8HIOlR9kpToiKGPPVspHP9oXCpyUfV8bsc/evyVrf0apMtfSp7wkzy7 D+pjL/h2iYLJbk+daKEI1pJ9vtUF0wUTR0g2noAXjYh7gFzTT0gWwXpZlPmM4nIdqG +Ha9jaNrLlLPECEXVxb0tgBl1KP5Hn1LF7h0DQMjVnPeb+Qd+H9pkeCjzcQxmxVmtS tu0xJVuyNxXzA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mFgAZ-000dLJ-4d; Mon, 16 Aug 2021 18:13:03 +0100 Date: Mon, 16 Aug 2021 18:13:03 +0100 From: Alan Third To: Lars Ingebrigtsen Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame Message-ID: Mail-Followup-To: Alan Third , Lars Ingebrigtsen , random832@fastmail.com, 21357@debbugs.gnu.org References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87lf51bl7t.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lf51bl7t.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21357 Cc: random832@fastmail.com, 21357@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 16, 2021 at 02:57:58PM +0200, Lars Ingebrigtsen wrote: > random832@fastmail.com writes: > > > If I have Emacs (OSX App) started in daemon mode, and then create a > > GUI frame, e.g. emacsclient -c, an instance of Emacs.app starts, > > which then does not go away when the frame is closed with C-x C-c. > > Most menu items, even ones such as "New Frame (C-x 5 2)" that seem > > like they should make sense without a frame, are unresponsive. > > (I'm going through old bug reports that unfortunately weren't > resolved at the time.) > > Is this problem still present in recent Emacs versions? As far as I'm aware it is. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 09:38:57 2021 Received: (at control) by debbugs.gnu.org; 18 Aug 2021 13:38:57 +0000 Received: from localhost ([127.0.0.1]:55280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGLmP-0006oA-Aj for submit@debbugs.gnu.org; Wed, 18 Aug 2021 09:38:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGLmJ-0006nm-Pc for control@debbugs.gnu.org; Wed, 18 Aug 2021 09:38:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KJ3dSV4oBK9Kbbk3CL8A5JwOcVyC91l1M0la0eM33xQ=; b=myiryQ/TTJyr0dBOHw8G24Hvd0 dW40YYvDPCHwW6wZ+ifB4MqJZl2LgLzgosOZoysvcnyXm9QVOLbJP4f4iY3wfZPrOYjdRRlnBjqWh 5YOUSVdy6joG1oSzOuLAIC/OJ5Qtjnaou7R5ZTca343JjWpgxEs5bDell+PD3peLYF68=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGLmB-0000QP-T8 for control@debbugs.gnu.org; Wed, 18 Aug 2021 15:38:41 +0200 Date: Wed, 18 Aug 2021 15:38:39 +0200 Message-Id: <8735r6dg9s.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21357 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21357 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 21357 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 25 15:00:35 2021 Received: (at control) by debbugs.gnu.org; 25 Aug 2021 19:00:35 +0000 Received: from localhost ([127.0.0.1]:47871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIy8Z-0004Kh-Fn for submit@debbugs.gnu.org; Wed, 25 Aug 2021 15:00:35 -0400 Received: from outbound.soverin.net ([116.202.126.228]:56699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIy8X-0004KR-0V for control@debbugs.gnu.org; Wed, 25 Aug 2021 15:00:35 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 7249153 for ; Wed, 25 Aug 2021 19:00:26 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1629918026; bh=gUbRHOUUj3jXZtnoWZ3+JK/jYz9TJEw2kTC78a5FY1g=; h=To:From:Subject:Date:From; b=ANPTPBgEH9eryzNF6ezA1qQdff721FwJHMKHykz2q9+JT6Uv4fisSEK0zG7t8hvzq c9s6tiTYbiPY9crUjblBSRrICc5DfAwl94xNqSolzaCMbnnIeJG8TZPOVQ3wMsHMZj oRHKPjlDZLj5/U0iL0wuNt0Nhdmk3rZkupFNLyGDZEfMxytrMU82c68vA19WadxDtl i1a66l9otILe0qkJ6wJ25q1kJkIVEnrlTyPWc4AS29B+jqZanMpTeLcrqKIb4opPM7 dZy9UqXp8nzwmJk5GrA5yxzspf59x1hiYIh8EzQsVkFBqZAme3pyF4GAbu2Tg7fx1+ QzS1iewdr/7SQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mIy8M-000uHJ-Qz for control@debbugs.gnu.org; Wed, 25 Aug 2021 20:00:22 +0100 To: control@debbugs.gnu.org From: Alan Third Subject: control message for bug #14619 Message-Id: Date: Wed, 25 Aug 2021 20:00:22 +0100 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) merge 14619 23586 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 25 16:19:04 2021 Received: (at 21357) by debbugs.gnu.org; 25 Aug 2021 20:19:04 +0000 Received: from localhost ([127.0.0.1]:47946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIzMW-0008Ql-1B for submit@debbugs.gnu.org; Wed, 25 Aug 2021 16:19:04 -0400 Received: from outbound.soverin.net ([116.202.126.228]:42579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIzMU-0008QG-1x for 21357@debbugs.gnu.org; Wed, 25 Aug 2021 16:19:03 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id B69C7261; Wed, 25 Aug 2021 20:18:55 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1629922734; bh=osC1DZWneuJifuDZbmmyb01nVPTnNelekKK8sFkMVho=; h=Date:From:To:Subject:References:In-Reply-To:From; b=f2BJCLURgWXEXj9tIJmpEGQ2L6nW5CxdFmVQOcJZn2rqVzEpxPLhYmZqvPvq7RdjN wBniVHPt/7HATQbnA6kHPlDWP46ExoCWzoMCPJpOX5UFabZ1dSonfnSskR7mRtutPN vAkJKwxGpGQXEWmSvOmCBUz3gxoqTz8q1/mPqUwkh75H2Dg4g7iqkJvMa2xIebQjwz +8AxMDUgtGt/WFpC/xEhZhWGRu7w9QouFQOkYk/S/tKanSexHJY9+N+wN0NEVhRZXz kHtXtp16cfea9mJYhoVCo+0o/5eTwyGGIgJORetPBy5+Rr0EsHhTk9l+81AKUV4jbh MSs4zRCd2URgg== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mIzMJ-000vRS-4j; Wed, 25 Aug 2021 21:18:51 +0100 Date: Wed, 25 Aug 2021 21:18:51 +0100 From: Alan Third To: Lars Ingebrigtsen , random832@fastmail.com, 21357@debbugs.gnu.org Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame Message-ID: Mail-Followup-To: Alan Third , Lars Ingebrigtsen , random832@fastmail.com, 21357@debbugs.gnu.org References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87lf51bl7t.fsf@gnus.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="O0aDWS96krqfKNkg" Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21357 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --O0aDWS96krqfKNkg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 16, 2021 at 06:13:03PM +0100, Alan Third wrote: > On Mon, Aug 16, 2021 at 02:57:58PM +0200, Lars Ingebrigtsen wrote: > > random832@fastmail.com writes: > > > > > If I have Emacs (OSX App) started in daemon mode, and then create a > > > GUI frame, e.g. emacsclient -c, an instance of Emacs.app starts, > > > which then does not go away when the frame is closed with C-x C-c. > > > Most menu items, even ones such as "New Frame (C-x 5 2)" that seem > > > like they should make sense without a frame, are unresponsive. > > > > (I'm going through old bug reports that unfortunately weren't > > resolved at the time.) > > > > Is this problem still present in recent Emacs versions? > > As far as I'm aware it is. The attached patch "fixes" this by hiding the app icon in the dock and removing the menus. It's still possible to create a new frame using emacsclient. There's still a bug when a terminal frame is open and the last GUI frame is closed. I've put the code in ns_delete_terminal, which may not be the best place. Perhaps it should go in the normal frame closing function and check whether there are any remaining open frames. The alternative is to occasionally run the NS run loop even when there are no NS frames open. I don't know how we could do that but it would allow us to leave the menu and dock icon available and operative even without any GUI frames open. -- Alan Third --O0aDWS96krqfKNkg Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Disable-the-NS-app-when-no-frames-are-left-bug-14619.patch" >From 5dd66d7966d32e8c42e12e16b8682c52d4487d81 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Wed, 25 Aug 2021 21:00:07 +0100 Subject: [PATCH] Disable the NS app when no frames are left (bug#14619, bug#21357, bug#23586) * src/nsfns.m (Fx_create_frame): Enable the app. * src/nsterm.m (ns_delete_terminal): Disable the app. --- src/nsfns.m | 5 +++++ src/nsterm.m | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/nsfns.m b/src/nsfns.m index c40367703d..07bcab1816 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1343,6 +1343,11 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side. f->output_data.ns->in_animation = NO; +#ifdef NS_IMPL_COCOA + /* If the app has previously been disabled, start it up again. */ + [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; +#endif + [[EmacsView alloc] initFrameFromEmacs: f]; ns_icon (f, parms); diff --git a/src/nsterm.m b/src/nsterm.m index 1c1f0c8f23..4bdc67c10b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5014,6 +5014,12 @@ static Lisp_Object ns_string_to_lispmod (const char *s) block_input (); +#ifdef NS_IMPL_COCOA + /* Rather than try to clean up the NS environment we can just + disable the app and leave it waiting for any new frames. */ + [NSApp setActivationPolicy:NSApplicationActivationPolicyProhibited]; +#endif + image_destroy_all_bitmaps (dpyinfo); ns_delete_display (dpyinfo); unblock_input (); -- 2.30.2 --O0aDWS96krqfKNkg-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 26 10:00:26 2021 Received: (at 21357) by debbugs.gnu.org; 26 Aug 2021 14:00:26 +0000 Received: from localhost ([127.0.0.1]:49957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJFvd-0001ZO-R9 for submit@debbugs.gnu.org; Thu, 26 Aug 2021 10:00:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJFvb-0001ZB-8W for 21357@debbugs.gnu.org; Thu, 26 Aug 2021 10:00:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RvgV3UIAVTnKOgIKMVrA6YLpiC4XN+3taWxI+66MgN8=; b=MBf0EO9aSz0H+bSF5u1/d0+7Jb 4XryqZXgbJZJuGuSJ7uNBBI/8dnR0Dya58uiP5OG1VQL63rA+xSTGVltyBj8DHXjAdBCuRfbODKLA C77O5yIWP+hgdHlBY+reY9dbsoNTQWhKrDcODkEvEKneqmJH9ZvHnchCHgUYUTKFdwsk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJFvQ-0001UV-Mm; Thu, 26 Aug 2021 16:00:16 +0200 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87lf51bl7t.fsf@gnus.org> Date: Thu, 26 Aug 2021 16:00:12 +0200 In-Reply-To: (Alan Third's message of "Wed, 25 Aug 2021 21:18:51 +0100") Message-ID: <87tujc1f2r.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Alan Third writes: > The attached patch "fixes" this by hiding the app icon in the dock and > removing the menus. It's still possible to create a new frame using > emacsclient. I think that makes sense... Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21357 Cc: random832@fastmail.com, 21357@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alan Third writes: > The attached patch "fixes" this by hiding the app icon in the dock and > removing the menus. It's still possible to create a new frame using > emacsclient. I think that makes sense... > The alternative is to occasionally run the NS run loop even when there > are no NS frames open. I don't know how we could do that but it would > allow us to leave the menu and dock icon available and operative even > without any GUI frames open. I would expect there to be nothing in the dock when running an Emacs daemon (and there's no frames open), but don't really have an opinion on this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 05:27:32 2021 Received: (at 21357) by debbugs.gnu.org; 29 Aug 2021 09:27:32 +0000 Received: from localhost ([127.0.0.1]:55495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKH68-0006b6-MD for submit@debbugs.gnu.org; Sun, 29 Aug 2021 05:27:32 -0400 Received: from outbound.soverin.net ([116.202.126.228]:52797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKH62-0006ao-GE for 21357@debbugs.gnu.org; Sun, 29 Aug 2021 05:27:27 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 2E7B01DC; Sun, 29 Aug 2021 09:27:16 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1630229235; bh=yhP5tQtKVmouQ07BHGbGpx+pencsbWoHzuCoHx8dUXI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U5CmII1pWQ9SkzBnmYM5icQJivsuETdpCwsBY4HX5wbFjQMxQeOEXHUqVnHElYLvm jfe+qoqbuexYSXXH00GfxlGS/zpvJD2D8bmHJiJSvNzg0WgkEQ8EDBWTBO9I4p/Gni l0Tro5LSvtEVQZlju1fA6Dy6xW3Yjso3ZSYgJyl9zB0hKeQ17hQ2Nw1DeIfhOLhCl+ IoYh7eZhsMlaFBm9hocHFZgbJZcOB0ZIdCUBknSFMrsTwf9ts2xPYfz/j+arJRG+lb fs3mCEfvUCOxAf6ggCxwc4nL1W1PdkD4ENALjh6c/fhLkXJ9CLbPIHHE/Wo0/gzMWb 4syNvhMeIgGAg== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mKH5r-0010hI-Ou; Sun, 29 Aug 2021 10:27:11 +0100 Date: Sun, 29 Aug 2021 10:27:11 +0100 From: Alan Third To: Lars Ingebrigtsen Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame Message-ID: Mail-Followup-To: Alan Third , Lars Ingebrigtsen , random832@fastmail.com, 21357@debbugs.gnu.org References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87lf51bl7t.fsf@gnus.org> <87tujc1f2r.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tujc1f2r.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21357 Cc: random832@fastmail.com, 21357@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Aug 26, 2021 at 04:00:12PM +0200, Lars Ingebrigtsen wrote: > Alan Third writes: > > > The attached patch "fixes" this by hiding the app icon in the dock and > > removing the menus. It's still possible to create a new frame using > > emacsclient. > > I think that makes sense... Since I don't think we're likely to get anyone testing this on the strength of this bug report, I've pushed it to master and we can wait and see if anyone has any comments. > > The alternative is to occasionally run the NS run loop even when there > > are no NS frames open. I don't know how we could do that but it would > > allow us to leave the menu and dock icon available and operative even > > without any GUI frames open. > > I would expect there to be nothing in the dock when running an Emacs > daemon (and there's no frames open), but don't really have an opinion on > this. I reckon that many Mac users would expect if they run an application (in the normal way, not daemon mode) and close all the windows the application menu and dock icon will still work, allowing them to open new windows and so on. I don't think it's unreasonable for the app to just quit, though. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 10:57:55 2021 Received: (at 21357-done) by debbugs.gnu.org; 9 Oct 2021 14:57:55 +0000 Received: from localhost ([127.0.0.1]:53935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZDnO-0007zA-Se for submit@debbugs.gnu.org; Sat, 09 Oct 2021 10:57:55 -0400 Received: from outbound.soverin.net ([116.202.126.228]:55659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZDnK-0007yt-7H for 21357-done@debbugs.gnu.org; Sat, 09 Oct 2021 10:57:52 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 1FC84E3; Sat, 9 Oct 2021 14:57:43 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1633791462; bh=Pq8jlo3sIqTyRvZfRe3xaWiC0C1NF0YoxezD/3KRDN0=; h=Date:From:To:Subject:References:In-Reply-To:From; b=hxGzNJ3q13cZ0F9ivqd4nAZPoCN67ZkFvZI/HpPYuz8x60SMPQRT3Pm2bVaIAPK6F gCsOZkQjlgXWznJaaQabllwxpgj/d4BrMH/r0/gdKcvvQLL2G+lXsn+SnhspYCzJfk KuqJ/XpSjy7UnsBIkRBP5PEVyMxF4o7v21jo6ajD87Cnd+l34uvKFhnGqqJaardrae 9vLzNQNWe2PQkA32b9ldf8mfDoWO2gwrQK8lwe7EdpWj4IkzdWa0XKqFh2oEYKj4tv 2JIq4lbgA2MAYeypJWH4Zr+QuhZSbHKVNQvcqVMhEotPGe9UWCQ6lq0uFzwot5kK6q V4b+k//Hnq5hg== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mZDn9-000CUZ-6g; Sat, 09 Oct 2021 15:57:39 +0100 Date: Sat, 9 Oct 2021 15:57:39 +0100 From: Alan Third To: Lars Ingebrigtsen , random832@fastmail.com, 21357-done@debbugs.gnu.org Subject: Re: bug#21357: 24.5; Daemon leaves Mac OSX App open after closing GUI frame Message-ID: Mail-Followup-To: Alan Third , Lars Ingebrigtsen , random832@fastmail.com, 21357-done@debbugs.gnu.org References: <1440632150.3684.367076905.44E7CC0C@webmail.messagingengine.com> <87lf51bl7t.fsf@gnus.org> <87tujc1f2r.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21357-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sun, Aug 29, 2021 at 10:27:11AM +0100, Alan Third wrote: > On Thu, Aug 26, 2021 at 04:00:12PM +0200, Lars Ingebrigtsen wrote: > > Alan Third writes: > > > > > The attached patch "fixes" this by hiding the app icon in the dock and > > > removing the menus. It's still possible to create a new frame using > > > emacsclient. > > > > I think that makes sense... > > Since I don't think we're likely to get anyone testing this on the > strength of this bug report, I've pushed it to master and we can wait > and see if anyone has any comments. It's been over a month with no complaints, so I'm closing this bug report. -- Alan Third From unknown Fri Jun 20 07:18:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Nov 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator