Re: Removing \M-s binding
Kazuhiro Ito <[email protected]> Wed, 24 Jul 2019 10:00:44 +0900
| Newsgroups | gmane.mail.wanderlust.general |
|---|---|
| Message-ID | <86muh41c1v.wl--xmue__12753.1547843077$1563930152$gmane$org@d1.dion.ne.jp> |
> In wl-folder-mode-map, \M-s is bound to wl-save. However, this conflicts > with Emacs's binding for search-map; e.g., \M-s o is bound to occur. > > Since wl-save is already bound to \C-x \C-s, I wonder if the \M-s binding > could simply be removed in WL. (Just a matter of deleting line 212 in > wl-folder.el.) I don't know why wl-save has two key bindings, but I think we can simply remove M-s binding to wl-save. > (If that's not desirable for some reason, how can I remove the binding in > wl-folder-mode-map in a way that maintains the search-map binding? I > suppose I can't just set it to nil. I tried with local-unset-key, but it > didn't work.) As far as I tested, M-x local-unset-key RET M-s in Folder mode can remove M-s key binding to wl-save. > Relatedly, \M-s is bound to wl-summary-stick (a very useful command) in > wl-summary-mode-map. If WL's bindings should not override Emacs's general > bindings (and I think they shouldn't), perhaps that binding should be > changed too. You are right except the case Wanderlust intendedly override. The point is that which key should be bound to wl-summary-stick. If there is no suggestion, I'm going to bind M-S to wl-summary-stick. -- Kazuhiro Ito