all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: edgar@openmail.cc, 56630@debbugs.gnu.org
Subject: bug#56630: (yasnippet) how to disable TAB <tab> C-i?
Date: Sun, 31 Jul 2022 18:32:51 -0400	[thread overview]
Message-ID: <CAM-tV-_axOS=0rdcNCMWmCu8PbqxzVk8jiFv5-NC=SJ4DL3S1g@mail.gmail.com> (raw)
In-Reply-To: <8735eo3wnn.fsf@gnus.org>

> edgar@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.





  reply	other threads:[~2022-07-31 22:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 15:29 bug#56630: (yasnippet) how to disable TAB <tab> C-i? edgar
2022-07-18 15:32 ` edgar
2022-07-18 15:34   ` bug#56630: Fwd: " edgar
2022-07-23  8:05 ` bug#56630: " Lars Ingebrigtsen
2022-07-24 17:07   ` edgar
2022-07-26 12:07     ` Lars Ingebrigtsen
2022-07-31 22:32       ` Noam Postavsky [this message]
2022-08-01 20:00         ` edgar
2022-11-08 14:09 ` edgar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-08 14:10   ` edgar via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-_axOS=0rdcNCMWmCu8PbqxzVk8jiFv5-NC=SJ4DL3S1g@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=56630@debbugs.gnu.org \
    --cc=edgar@openmail.cc \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.