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#44202: [PATCH] Add variable to control confirmation of help-mode-revert-buffer Date: Sun, 25 Oct 2020 11:42:13 -0700 Message-ID: References: <87lffu9zye.fsf@gnus.org> <87a6wa8d1w.fsf@gnus.org> 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="20998"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44202@debbugs.gnu.org To: Lars Ingebrigtsen , Kevin Foley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 19:43:11 2020 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 1kWkz0-0005MS-8F for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 19:43:10 +0100 Original-Received: from localhost ([::1]:56636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWkyz-0004zH-BL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 14:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWkys-0004y3-Oy for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 14:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWkys-0000HE-EW for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWkys-0003R9-AB for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 14:43: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, 25 Oct 2020 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44202-submit@debbugs.gnu.org id=B44202.160365134113157 (code B ref 44202); Sun, 25 Oct 2020 18:43:02 +0000 Original-Received: (at 44202) by debbugs.gnu.org; 25 Oct 2020 18:42:21 +0000 Original-Received: from localhost ([127.0.0.1]:37645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWkyD-0003Q9-Kr for submit@debbugs.gnu.org; Sun, 25 Oct 2020 14:42:21 -0400 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:42447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWkyB-0003Pv-Io for 44202@debbugs.gnu.org; Sun, 25 Oct 2020 14:42:20 -0400 Original-Received: by mail-ed1-f52.google.com with SMTP id v19so7114146edx.9 for <44202@debbugs.gnu.org>; Sun, 25 Oct 2020 11:42:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=3GibSml9NSPHXj1UstddlAesnxjoQoYG2fW/fN4HhEA=; b=UfL16Ru21wEaCvXXLeEc2bhLME7kJbRg48d95FPwxT2ajHmrSLZResXvoQtCKve9ro ZqrPngs3Jw6PUlO/9PrZjmql/U4+uRL+/DKcE6z7BU84IFoUK3Z1PkMBpivqydIrDuVC egMeR/yzcZBSBJtEhTZ18Q3QEmWVsyCOGuwjLUfxiZ+bkcWDVs0Eub03BHPJZKDWao7a ex7wWw3NFglk0v75psCXmKGjUqhU2wsHdxUJPWrZ0FF8IBlDR45QfpHdg75Gv672VSzM kcuZ7sKSu3co4XXz3JvG95F9vIAADIiDbBh11WdmOkTcPQcbHqyhPkJWC6h9iJEiFVvg exgA== X-Gm-Message-State: AOAM5316PI2fjpF3OkYPkQAwJNWjyEp4ReEwsT9AMm25kSNhi71q6m5p jjskiABj/TM0UzNpVQF+NCU7nztE/bX3M1L2xiQ= X-Google-Smtp-Source: ABdhPJyfR9UuOboqpy0H/4mjqrgvtQ/l2M0gY6hpUVAF3gy84GJ+Xv9rouU/l9hog7KvFx08xa1bbSX3jUnpiQRU9Vw= X-Received: by 2002:a05:6402:3133:: with SMTP id dd19mr12825420edb.100.1603651333692; Sun, 25 Oct 2020 11:42:13 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 25 Oct 2020 11:42:13 -0700 In-Reply-To: <87a6wa8d1w.fsf@gnus.org> 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" Xref: news.gmane.io gmane.emacs.bugs:191529 Archived-At: Lars Ingebrigtsen writes: > But... I think it would be helpful if help-mode-revert-buffer (and > other similar functions) did heed that variable -- then there'd be one > simple way to control all this. Agreed. It would seem logical to just be able to say: (add-to-list 'revert-without-query "\\`\\*Help\\*\\'") > Or even perhaps have revert-buffer look at that variable and do the > right thing instead of punting to revert-buffer--default. > > That is, it would look at file names for buffers visiting files, and > buffer names for other buffers. If we could get `revert-buffer' to handle this, it seems to me that it would be even better.