From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steingold Newsgroups: gmane.emacs.devel Subject: Re: why is "q" bound to `delete-window' instead of `quit-window' in epa-info-mode? Date: Fri, 24 Dec 2021 14:09:22 -0500 Organization: disorganization Message-ID: References: <875yre4zk4.fsf@gnu.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20588"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: emacs-devel@gnu.org Cancel-Lock: sha1:W1eWZgJ9GoxSBadID/NPZhL/zps= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 24 20:11:00 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 1n0pxz-00059a-Ki for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 20:10:59 +0100 Original-Received: from localhost ([::1]:59280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0pxx-0002XA-T4 for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 14:10:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0pwc-0001lK-BB for emacs-devel@gnu.org; Fri, 24 Dec 2021 14:09:34 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:38080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0pwZ-0005hG-Sn for emacs-devel@gnu.org; Fri, 24 Dec 2021 14:09:33 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n0pwW-0003VX-QU for emacs-devel@gnu.org; Fri, 24 Dec 2021 20:09:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:283164 Archived-At: > * Stefan Monnier [2021-12-24 12:13:36 -0500]: > >> Since the initial commit of EasyPG into Emacs (2008-02-08), "q" has been >> bound to `delete-window' instead of `quit-window' in `epa-info-mode-map'. >> Why? > > AFAIK historically there has been very little standardization in this > respect until a decade ago or so, so I tend to assume that all bindings > of `q` to something vaguely similar to `quit-window` re just leftovers > from that era and should be replaced by either a binding to > `quit-window` or inheritance from `special-mode`. I agree in general, but not in this particular case, where the code clearly indicates that the author was fully aware of `quit-window' and went to a huge effort of adding 6 lines of code(!) to change that to `delete-window'. This is why I did not just silently delete those lines and instead asked here. Sorry about not making that clear right away. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2022 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://jij.org https://iris.org.il http://think-israel.org https://ij.org/ To be popular with ladies one has to be smart, handsome & rich. Or to be a cat.