From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Option to kill `emacs --daemon' when closing the last client frame Date: Thu, 21 Oct 2021 19:58:35 -0700 Message-ID: <46aad0cb-20fb-39a8-6b71-78484a7fcfa0@gmail.com> References: <83h7dbc2sl.fsf@gnu.org> <838rymal1z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3500"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 22 04:59:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mdkmT-0000jb-7u for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Oct 2021 04:59:41 +0200 Original-Received: from localhost ([::1]:54000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdkmR-00016p-B0 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Oct 2021 22:59:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdklX-0000Qp-Fj for emacs-devel@gnu.org; Thu, 21 Oct 2021 22:58:43 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:43840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdklR-0005Su-QI; Thu, 21 Oct 2021 22:58:42 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id y1so1733880plk.10; Thu, 21 Oct 2021 19:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=9127S2Xi3AhPYjEsdtTBRJBnAm2ZpnZ8NRP2ey7X0QA=; b=ZZbD/DvXEyxc98E6wHSZv/fIa8GJXUW8oUvDmow8nygcRhP1XNJALV3F0uBYkkTKDB wnlXVQ+eZAcUVr+K6CeYxpy1HBYooqXyxM33Z1wJgcQxrNHSKoYW06xhlvORaLaHPe5J fsB/MMDIn5LvWdnkqCXzEXonzckEUDx0CjQM9Ktrk8Dcp4o1UAmgCUrQ4ZggWaC828KD dTvF5iGIgKdalv0SoMUC3m1eBzJzyewvophSIZ96Zo4vLgmAUJttchYJ0ps5tmQJZ/en P8oSFVanqX+1yhbBNQBI4SCG+b17pfyVLsca4MxuV7ihSy4VLvJXiibCFea0NjbAPlX6 j/MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9127S2Xi3AhPYjEsdtTBRJBnAm2ZpnZ8NRP2ey7X0QA=; b=03deIFxBp6qwjbdpIRaUfxNpmQ6zaLap0qmGFKDIyYSM5VeOEO6S3efvmxkIaSrp2a lgqPIoNoYZWuvNhAJlpQV4sVxw4y59WbkUBoIjtVmUUT4Vn4sOfCvwb6jI6mZjbVMOhV zZMA4n6uotjfLX07ObehBO9/jiDOuPZIVFp5tVaUmGFblxpi3ds2FzudPUNWkl1OIKNs 41Y8G7AoRXFfbFSc+Egz2OQuQIx0un6pMNOKOf3CeaYhJayTMHUsroSyP0LQRvhLcexB CuDK4eEzoEJMNWXSnwnzT9Fo3jPsBMnURE5JN+gfW9OqSgtp3hRROIvyb/Yv84JUiaW4 8g2g== X-Gm-Message-State: AOAM530iq2kiGZU+dqvnu+J9BSZ/k+cm927WDAiefn8B5AfVi53mWoVM i2t7A0XWhrSJclWiFkJUWx6PzJURAUA= X-Google-Smtp-Source: ABdhPJzdYPwpxpW0jyc9LqsgNqnuu5Q3IUw1977sZSZj29siZ8TtaBOEVK2FqCrAnv8YT7IDqrj04A== X-Received: by 2002:a17:902:e801:b0:13f:255:9db5 with SMTP id u1-20020a170902e80100b0013f02559db5mr8634060plg.23.1634871516072; Thu, 21 Oct 2021 19:58:36 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id p7sm6573596pgn.52.2021.10.21.19.58.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Oct 2021 19:58:35 -0700 (PDT) In-Reply-To: <838rymal1z.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x62a.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, 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277545 Archived-At: On 10/21/2021 12:34 AM, Eli Zaretskii wrote: > We could add a new command to the server-client protocol, and make > emacsclient send this command when invoked with the (hypothetical) new > command-line option. That makes sense. I'll put together a patch, at least to demonstrate how it would work so others can try it. - Jim