GNU bug report logs - #56630
(yasnippet) how to disable TAB <tab> C-i?

Previous Next

Package: emacs;

Reported by: edgar <at> openmail.cc

Date: Mon, 18 Jul 2022 15:31:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: edgar <at> openmail.cc, 56630 <at> debbugs.gnu.org
Subject: bug#56630: (yasnippet) how to disable TAB <tab> C-i?
Date: Sun, 31 Jul 2022 18:32:51 -0400
> edgar <at> openmail.cc writes:

> >   (define-key yas-minor-mode-map (kbd "C-i") nil)
> >   (define-key yas-minor-mode-map (kbd "C-c m") 'yas-expand)
> >   (define-key yas-minor-mode-map [(tab)]        nil)
> >   (define-key yas-minor-mode-map (kbd "TAB")    nil)
> >   (define-key yas-minor-mode-map (kbd "<tab>")  nil))

I think there are some redundancies ((kbd "C-i") == (kbd "TAB") and
(kbd "<tab>") ~= [(tab)]), but yes, that should work. I haven't kept
up with yasnippet maintenance, so possibly there is some failure with
more recent Emacs versions (although I don't see any version numbers
mentioned in the bug report)?

Also, it would be useful to have a fully contained minimal
reproducible example, to eliminate mistakes of the sort where you have
accidentally have an extra unnoticed bit code in your init files which
is messing things up, or the yasnippet part in your config isn't
actually being evaluated for some reason.




This bug report was last modified 2 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.