From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.help Subject: Re: Graceful Gnus exit on Emacs exit Date: Wed, 22 Apr 2020 07:38:40 -1000 Message-ID: References: <87pnc0vfq2.fsf@osv.gnss.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="55169"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Sergey Organov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 22 19:39:32 2020 Return-path: Envelope-to: geh-help-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 1jRJLP-000EGv-Ml for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 19:39:31 +0200 Original-Received: from localhost ([::1]:55090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRJLO-0007Zo-Pa for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 13:39:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38344) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRJKq-0007Xh-8g for help-gnu-emacs@gnu.org; Wed, 22 Apr 2020 13:38:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRJKo-0007mS-Ia for help-gnu-emacs@gnu.org; Wed, 22 Apr 2020 13:38:56 -0400 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:36319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRJKn-0007ee-Vd for help-gnu-emacs@gnu.org; Wed, 22 Apr 2020 13:38:54 -0400 Original-Received: by mail-ot1-x330.google.com with SMTP id b13so2874642oti.3 for ; Wed, 22 Apr 2020 10:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NzyjXTKNajIEpyOsgGSpHZEdyso5W+wuDHpIzdEFbq0=; b=WO4DimD5A/Z+FkjxJxzlzO37rr5rhHoU3L1UDVhCIIvSrW4XfkElKU+Wp3krL3B5gd m8KPnKCXWg1sqjOldwb0u4cqsuXGgaonb0x45x2minb47lYa7zmSPC+KrGV2E/tefUOD B4lSi2aBYf61D2SHsnsCB2e6JsGekiXBPDA7a2DcJAxgO++C/FDohtLrnx0wcXxEJnNT ec2/zY7rHOQbdoqy20YSQZE2YYIGd3ywHDOi45PYPbpl0ik8/C7P0Lrgh0bN1itHZ7J0 T9kCbaOXWWjGIxtwGHCLH94KwUO1gvvp0f76xgDdAmTtcQTVhKCMxMaICNq0ekXfaHkf jEdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NzyjXTKNajIEpyOsgGSpHZEdyso5W+wuDHpIzdEFbq0=; b=Z2qqF0NYutlwyXshiUarWj7fB3fjLJ2M3i+pobTaqcTdJPAGCKVTR2ghvVEsJW+1Eb 0AriipXauRbF7xFg7USLQtp+aoeuuP6JayYn2sKo/3Tdfy0jjmqucUGtDOtVgYUJ49fM UcJ42GhPvKQsywo7CzaSCwkJd3dMhXRmBW6XIM9J44K+3UmgGASjVKtusQW0Vi+0Szex scV1RXw1lG4LUqnhKL+A86Q0eRYWdls3xwn2EDPkA02zue8JYeCAJxYkVlQahuxUsHiM Cpyz7zKMuDOqAoiDybjMmc4T5EzR/x5XmrLi/p8Ts5M7tRsvENq4yAcoPYyjaA1FnpIf cWHQ== X-Gm-Message-State: AGi0PuYpe6puXN6ZcLfjsJOvfGhn1wBI85GVXQqxIV1urhZg5BoKRRDX RWAH94I5j+y7ZkTcNBKbBP2Z5jS/uma0nzhZmaX6Fg== X-Google-Smtp-Source: APiQypJyDOBygA9Hj0W7UpNjDzCQx8sqYjsq6Djnu4xPAc/Kyfqle8UvGnOnzxOYIv1y6KnT3L4ck4NoBhb7Lb15ktc= X-Received: by 2002:aca:5014:: with SMTP id e20mr71262oib.34.1587577131374; Wed, 22 Apr 2020 10:38:51 -0700 (PDT) In-Reply-To: <87pnc0vfq2.fsf@osv.gnss.ru> Received-SPF: none client-ip=2607:f8b0:4864:20::330; envelope-from=bobnewell@bobnewell.net; helo=mail-ot1-x330.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::330 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122918 Archived-At: > (defun gnus-exit () > "Exit gnus without confirmation and return 't" > (let ((noninteractive 't) > (gnus-expert-user 't) > (gnus-interactive-exit 'quiet)) > (gnus-group-exit) 't)) > > (add-hook 'kill-emacs-hook 'gnus-exit) If it's any consolation, I do what amounts to the exact same thing, including avoiding the prompts. I've noticed one undesirable side effect (and very likely it's just the rest of my setup causing it) ... if I should happen to exit Gnus during my Emacs session, when I terminate Emacs, Gnus starts up again just so it can shut down ! -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB.