[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why is "q" bound to `delete-window' instead of `quit-window' in epa-
From: |
Steingold |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
> * Stefan Monnier <zbaavre@veb.hzbagerny.pn> [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.