From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#56630: (yasnippet) how to disable TAB C-i? Date: Sun, 31 Jul 2022 18:32:51 -0400 Message-ID: References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> <87v8ro1cfn.fsf@gnus.org> <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> <8735eo3wnn.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27421"; mail-complaints-to="usenet@ciao.gmane.io" Cc: edgar@openmail.cc, 56630@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 00:34:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIHVx-0006vr-Dh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 00:34:25 +0200 Original-Received: from localhost ([::1]:55750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIHVw-0004kf-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jul 2022 18:34:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIHVa-0004jc-DI for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 18:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIHVa-0000ye-4H for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 18:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIHVZ-0007bS-TO for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 18:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jul 2022 22:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56630-submit@debbugs.gnu.org id=B56630.165930680029154 (code B ref 56630); Sun, 31 Jul 2022 22:34:01 +0000 Original-Received: (at 56630) by debbugs.gnu.org; 31 Jul 2022 22:33:20 +0000 Original-Received: from localhost ([127.0.0.1]:38756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIHUt-0007aA-TW for submit@debbugs.gnu.org; Sun, 31 Jul 2022 18:33:20 -0400 Original-Received: from mail-vs1-f41.google.com ([209.85.217.41]:44973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIHUp-0007Zt-2t for 56630@debbugs.gnu.org; Sun, 31 Jul 2022 18:33:19 -0400 Original-Received: by mail-vs1-f41.google.com with SMTP id s129so1154136vsb.11 for <56630@debbugs.gnu.org>; Sun, 31 Jul 2022 15:33:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=FNQ4IAXcp+scl1M33iFO161XvGPHJWokwbG/UxsmX+I=; b=ObdQlkMB0UgCH2FvorC/z9m8ekl6D/VLAr8WtYPrwyyCr0NNLL3/2U8TXvAW/PVnKa fVdOIaFp5xxu3GJkJivvCJ0/QmWw2f6zISEcuUhVzCKsOU8dxNnoMrRs35ZnPcWNrhdE Zt+dXmwhMc0m/sg6OwbBaQ0nFVxZ/g4JNyojcQQ4KqZb9KGE2r+TumbsLy0Xrp3Ji6ev bdU1b+ghf9xe1KvjUbrQNPL9okA594qt6JO6UjI+32JCb7Ol5ebBvaqvBG8rTsVD2uYO gifhIP5mErU65QRMGFbaheq5biahOu6R/+KhzRi98sWQgeUGMqkSfh35gkoU/P6xFiQG HXFg== X-Gm-Message-State: AJIora89g1Tzq+EKkwpbL/ASsQAIUmzef+ktNDICVxECkf9m1vO3CdRf 2ziNdtDl9D83JuRl68k/B2TQei4qOEETxL/+zeA= X-Google-Smtp-Source: AGRyM1v9+IZfhWTyG+5kkwdRZlvPFiZnV1LkkYW6S5So/CkGVpaEsSUalzsNfucNfqZuE8iijB6P5mx/aNSTvobk8yo= X-Received: by 2002:a05:6102:3d98:b0:358:56d7:6b60 with SMTP id h24-20020a0561023d9800b0035856d76b60mr4650557vsv.82.1659306789431; Sun, 31 Jul 2022 15:33:09 -0700 (PDT) In-Reply-To: <8735eo3wnn.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238370 Archived-At: > 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 "") nil)) I think there are some redundancies ((kbd "C-i") == (kbd "TAB") and (kbd "") ~= [(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.