From: Lars Ingebrigtsen <larsi@gnus.org>
To: edgar@openmail.cc
Cc: 56630@debbugs.gnu.org, Noam Postavsky <npostavs@users.sourceforge.net>
Subject: bug#56630: (yasnippet) how to disable TAB <tab> C-i?
Date: Tue, 26 Jul 2022 14:07:08 +0200 [thread overview]
Message-ID: <8735eo3wnn.fsf@gnus.org> (raw)
In-Reply-To: <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> (edgar@openmail.cc's message of "Sun, 24 Jul 2022 17:07:31 +0000")
edgar@openmail.cc writes:
> Unfortunately, not. This does not work either:
>
> (with-eval-after-load 'yasnippet
>
> (setq yas-snippet-dirs
> (list "~/.emacs.d/snippets/"))
> (yas--load-snippet-dirs)
> ;; allow to insert a snippet within a snippet
> (setq yas-triggers-in-field t)
> ;; Change trigger key
> (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))
Looking at yasnippet.el, I don't see any obvious reason why that
shouldn't work. Perhaps Noam has some comments; added to the CCs.
next prev parent reply other threads:[~2022-07-26 12:07 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 [this message]
2022-07-31 22:32 ` Noam Postavsky
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735eo3wnn.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56630@debbugs.gnu.org \
--cc=edgar@openmail.cc \
--cc=npostavs@users.sourceforge.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).