From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process owns it Date: Sun, 11 Feb 2018 18:23:49 +0100 Message-ID: <87k1vj5tju.fsf@gmail.com> References: <871shram2i.fsf@gmail.com> <83mv0f1q6t.fsf@gnu.org> <87r2prpl05.fsf@gmail.com> <87zi4fa4ft.fsf@users.sourceforge.net> <838tbz1o8k.fsf@gnu.org> <87mv0f5urq.fsf@gmail.com> <837erj1m46.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1518369761 10562 195.159.176.226 (11 Feb 2018 17:22:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 17:22:41 +0000 (UTC) User-Agent: mu4e 1.0; emacs 25.3.1 Cc: 30421@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 18:22:36 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekvKL-000145-3I for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 18:22:09 +0100 Original-Received: from localhost ([::1]:34165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekvML-0001a9-0V for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 12:24:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekvMC-0001ZC-Oq for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:24:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekvMA-0000XE-44 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:24:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekvMA-0000X1-1B for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekvM9-0004Kn-RQ for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2018 17:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30421 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30421-submit@debbugs.gnu.org id=B30421.151836983916653 (code B ref 30421); Sun, 11 Feb 2018 17:24:01 +0000 Original-Received: (at 30421) by debbugs.gnu.org; 11 Feb 2018 17:23:59 +0000 Original-Received: from localhost ([127.0.0.1]:38551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekvM7-0004KX-F2 for submit@debbugs.gnu.org; Sun, 11 Feb 2018 12:23:59 -0500 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:37866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekvM5-0004KJ-1F for 30421@debbugs.gnu.org; Sun, 11 Feb 2018 12:23:57 -0500 Original-Received: by mail-wm0-f52.google.com with SMTP id v71so5887110wmv.2 for <30421@debbugs.gnu.org>; Sun, 11 Feb 2018 09:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=RQFAQgxBJQdasVFue+eZhcWFyQuzCDrDK3yjpQIQgqY=; b=rvEZ5UMr8Xcq4xECPZgRP6boYmsrRxlb0vL6MirXVDsOwXMbc4G3NwNVzKdmsl4MPs XjI0/DUHE1JizzbTfZxX6FMIkEQrxrD4IZh8ZFQiawPs7joWBiQ7BrrYH4LCP/QVBwjb GvbFrXeQ4YP6ElBPpj748skbqFjUSRt6y6opTw7fKX9LnP4zGkjg9tkcBPI7XzTFrnrh 6Spr+PyKZjNtlm22faUX3XY4hCJUKPFlFSbXzlW0c2mXzkU7plQujlOAgMpUm/02LkTb CuWUm5mCHQ2JgTxTIKmhPYl2651MBpRbLMqhl13RHVQLuJQ8zLO5zqJiOrpZk2eqKiiO 7L8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=RQFAQgxBJQdasVFue+eZhcWFyQuzCDrDK3yjpQIQgqY=; b=oZo1+yIte9HhXErqaKrr9ibsn0WwERXsIauONwntpINz0e7ON0VrkuRey7WSGFe8g9 JOytQ0sarDjYO+33J6G1dszqSY1LD8ebKkZQAmtEMSZXlRb9Q6GUSZPKKbYLzUYjDH+C uWEUSSA7bl/d2mNJkDdoEItvO+YiiWlM3ELDSnD0nWUUg5ZaL/NIgCQmEEi4svMSUuGw Sbfdw+/HcSJHBcDzhlWQ0jcRkxIo3ndVliQtmWK2/Te9NvqkOSnZto6AYYmczVluSllY WV8PGkbUjvhmupkaJZKN1VUTWiLQ3QrCVY5TpsCn3a7pVYVhSIVFp2U2oDV8ftVeYgiH ZYAg== X-Gm-Message-State: APf1xPB735DzTr2iea0ECt9TqVzXU46+0VdFpPqfNFzH1aG4rZhYbl1J RcRqcdTMNrb4cfx+qL0llQe7bg== X-Google-Smtp-Source: AH8x2274HabbzJGGx6dwMLmF+mUsCYEdbV6ZrxhOdxItxNq1AXG3aldAgN+g+anRiFWKov1rO1kS7Q== X-Received: by 10.28.203.142 with SMTP id b136mr1758652wmg.127.1518369831007; Sun, 11 Feb 2018 09:23:51 -0800 (PST) Original-Received: from mimimi (2a01cb040a37a0003a915b0581181238.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:3a91:5b05:8118:1238]) by smtp.gmail.com with ESMTPSA id t2sm3069084wrg.59.2018.02.11.09.23.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 09:23:50 -0800 (PST) In-reply-to: <837erj1m46.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143154 Archived-At: --=-=-= Content-Type: text/plain > Alternatively, don't read desktop until the first client connects, > i.e. do that in a after-make-frame-functions hook. Reading desktop in > daemon mode is problematic for other reasons as well: e.g., GUI frames > cannot be created and GUI features cannot be turned on. That's an excellent suggestions. You are right, it has been troublesome more than a few times. I think both we should mention this in the manual together with `desktop-load-locked-desktop'. Thank you! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlqAfCUACgkQm9z0l6S7 zH/jGQgAoH+z5X4rFqwlFoeVgFBGW+ppgzx13YbsiqEUUM7I1jIP+8DL255DQWsW yOFZZA3tv4aW1yQozMVIsEf3UhCosJLYtco0X/PSD5gjTkcWOIcHw660VPCTakPE 0lRH52VG0rEwgvkEoAGjxeYAcb2E7ICaZwNMEG0HHBmuVThqt32gy2AdGgja55ia 1J+uTjUIzrL/h8XU1lDQSLhsGvNw5znBOE/OdpxXgDhNBTBlTjM6bAOiJb3KBiWb dN4WoOJstj1TMIwsGkHPRtpQpYV8bL1B/+TuqG0mlr+J8tJmfCiKOvlj16ixWeFW bhx1FB+4DaSKsQtkre9co5wtr08HTQ== =Lhao -----END PGP SIGNATURE----- --=-=-=--