all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unset keybindings from major and minor modes
@ 2021-05-01 20:46 michael-franzese
  2021-05-01 21:24 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: michael-franzese @ 2021-05-01 20:46 UTC (permalink / raw)
  To: emacs-devel

I would find it useful if there was the equivalent of unset-key that
unsets a keybinding for a particular major or minor-mode, leaving the
keybinding intact for the remaining modes.

  (global-unset-key KEY)
  (local-unset-key KEY)







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unset keybindings from major and minor modes
  2021-05-01 20:46 Unset keybindings from major and minor modes michael-franzese
@ 2021-05-01 21:24 ` Andreas Schwab
  2021-05-01 21:37   ` michael-franzese
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2021-05-01 21:24 UTC (permalink / raw)
  To: michael-franzese; +Cc: emacs-devel

On Mai 01 2021, michael-franzese@gmx.com wrote:

> I would find it useful if there was the equivalent of unset-key that
> unsets a keybinding for a particular major or minor-mode, leaving the
> keybinding intact for the remaining modes.

Bind it to #'undefined.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unset keybindings from major and minor modes
  2021-05-01 21:24 ` Andreas Schwab
@ 2021-05-01 21:37   ` michael-franzese
  0 siblings, 0 replies; 3+ messages in thread
From: michael-franzese @ 2021-05-01 21:37 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

I would need more assistance

> Sent: Sunday, May 02, 2021 at 9:24 AM
> From: "Andreas Schwab" <schwab@linux-m68k.org>
> To: michael-franzese@gmx.com
> Cc: emacs-devel@gnu.org
> Subject: Re: Unset keybindings from major and minor modes
>
> On Mai 01 2021, michael-franzese@gmx.com wrote:
>
> > I would find it useful if there was the equivalent of unset-key that
> > unsets a keybinding for a particular major or minor-mode, leaving the
> > keybinding intact for the remaining modes.
>
> Bind it to #'undefined.

Would need some more details to implement what you are saying.

> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-01 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-01 20:46 Unset keybindings from major and minor modes michael-franzese
2021-05-01 21:24 ` Andreas Schwab
2021-05-01 21:37   ` michael-franzese

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.