From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65719: [PATCH] Pass restart argument to 'kill-emacs-query-functions' Date: Sun, 15 Oct 2023 07:32:34 -0700 Message-ID: References: <329566cab29d3bdd4cd7f2257ec9f92a@elken.dev> <0817cde8dd8dab055dafe2e8aa3d30d5@elken.dev> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65719@debbugs.gnu.org To: me@elken.dev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 16:34:01 2023 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 1qs2Bt-0000BZ-Tm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 16:34:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qs2BY-0007GJ-35; Sun, 15 Oct 2023 10:33:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs2BW-0007Fp-K9 for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 10:33:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qs2BW-0004BI-BQ for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 10:33:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qs2Bu-0008EJ-Hg for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65719 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65719-submit@debbugs.gnu.org id=B65719.169738038831562 (code B ref 65719); Sun, 15 Oct 2023 14:34:02 +0000 Original-Received: (at 65719) by debbugs.gnu.org; 15 Oct 2023 14:33:08 +0000 Original-Received: from localhost ([127.0.0.1]:53894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs2B1-0008Cz-WF for submit@debbugs.gnu.org; Sun, 15 Oct 2023 10:33:08 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:48224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs2Az-0008CR-Fr for 65719@debbugs.gnu.org; Sun, 15 Oct 2023 10:33:06 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-507a62d4788so1312601e87.0 for <65719@debbugs.gnu.org>; Sun, 15 Oct 2023 07:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697380355; x=1697985155; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=IKbJk8aE+2CfiAXEm2Qd+AQdbzt3eYbCX1nJJs2IGfM=; b=biHXtAnZX+SSjN3lNkIFIAxWj9Wpv9mHy/GApy+Vd4ntphJblBLJb8k6K5uI19ZbN3 tGqCmzG/emWODaISSkpmR1o7Kl9yB5pWOaSO0PClEMM0D+ouGql5MR7aZ+KtTowFAllR nqpXZFWmtSuOkBfo/yZYAzDNobGSfjjnezOztiVq/2G5spVjltxqs7O9QyI5Oo+Pl4S+ vjf42gpSBg34cn12NRV9oWU6erdIJrl+6pqFaDQKR35wKoy4ov/ZN4ISPtLdEb/quqao 0W/bNS8nf6obBEIqRBrP6pXlKqLFipOIHHkoogYbWb7QST6pOFaW9qlOJqdMFNqUbF1G etXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697380355; x=1697985155; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IKbJk8aE+2CfiAXEm2Qd+AQdbzt3eYbCX1nJJs2IGfM=; b=r1856JFzxvQGQpVSYE2w148wAILwH++IikxrcvO5erBIo9DqJb4d8cpNpLjTsJGw9l zNEL3fSBAiqPjRh+6yaAZN5djPs7jg5S1HSxG2jfeZYkaiAlbBQPu/Z1T7Mh1pqmnkeS 0vLzUDUYPMNtmYn0/6XLPzgsSzzuCWsjC46ewzg8BiBr3va5zNWfwhId3SUg8y7a/f17 g8k48sseJm0Gcy4kxaeWv8v2Fwml5nCB965q8BTaCe+vZsAi4oNwty0rHXE5zvxmgSGr GQ53MC2P6qbdhvisyOYqBvcYqxypsKL73IwGALnqPkk9iNLWKAEd8RPJiDTUs7oaPJNW vXAA== X-Gm-Message-State: AOJu0YzUh7kzdQInGfM7x+DaUmqeTgJUs9AZpB8RB+3VZ2wDDBYqVT92 LDZZ2xtAV8u3/ji2/jffC9eaiwzhJ8V/ZY+fqtY9Ln8JSmbFCQ== X-Google-Smtp-Source: AGHT+IFStsaYBCL+cx8WEHW7JxIALCf8ygE1Q3BrjPQKLFY3E/Gj84dmw2MMc03lCVEjacAb5nXJpSt8BI0cAIAb4SI= X-Received: by 2002:a05:6512:32a3:b0:507:b099:749f with SMTP id q3-20020a05651232a300b00507b099749fmr663430lfe.15.1697380354901; Sun, 15 Oct 2023 07:32:34 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 15 Oct 2023 07:32:34 -0700 In-Reply-To: <0817cde8dd8dab055dafe2e8aa3d30d5@elken.dev> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272517 Archived-At: me@elken.dev writes: >> One idea would be to simply introduce a new variable that takes the >> argument, while making the old one obsolete. That would allow people >> to >> slowly migrate over to the new one, without everything suddenly >> breaking >> under their feet. > > How does this patch sound? I think it's the best of both worlds :) Thanks, sounds good to me. Before it can go in, I think it should also be added to the user manual, next to where `kill-emacs-query-functions' is documented. And add the correct "+++" tag to the NEWS entry. Thanks in advance.