all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 56630@debbugs.gnu.org
Subject: bug#56630: (yasnippet) how to disable TAB <tab> C-i?
Date: Sun, 24 Jul 2022 17:07:31 +0000	[thread overview]
Message-ID: <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> (raw)
In-Reply-To: <87v8ro1cfn.fsf@gnus.org>

On 2022-07-23 08:05, Lars Ingebrigtsen wrote:
> I'm not familiar with use-package or the syntax it uses for keymaps, 
> but
> does
> 
>    (:map
>     yas-minor-mode-map
>     ("TAB" . nil)
>     ([(tab)] . nil)
> 
> fix the issue?

Hi Lars,

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))

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  





  reply	other threads:[~2022-07-24 17: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 [this message]
2022-07-26 12:07     ` Lars Ingebrigtsen
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

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

  git send-email \
    --in-reply-to=3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=56630@debbugs.gnu.org \
    --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.