From unknown Sat Aug 16 20:56:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56630 <56630@debbugs.gnu.org> To: bug#56630 <56630@debbugs.gnu.org> Subject: Status: (yasnippet) how to disable TAB C-i? Reply-To: bug#56630 <56630@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:56:56 +0000 retitle 56630 (yasnippet) how to disable TAB C-i? reassign 56630 emacs submitter 56630 edgar@openmail.cc severity 56630 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 11:30:06 2022 Received: (at submit) by debbugs.gnu.org; 18 Jul 2022 15:30:06 +0000 Received: from localhost ([127.0.0.1]:51859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDShC-0000Nn-FK for submit@debbugs.gnu.org; Mon, 18 Jul 2022 11:30:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:56766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDSh9-0000Nc-15 for submit@debbugs.gnu.org; Mon, 18 Jul 2022 11:30:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDSh8-0004ID-SR for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 11:30:02 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:46615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDSh6-0001GY-FB for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 11:30:02 -0400 Received: (qmail 20197 invoked from network); 18 Jul 2022 15:29:55 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 18 Jul 2022 15:29:55 +0000 Received: (qmail 24562 invoked from network); 18 Jul 2022 15:29:19 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 18 Jul 2022 15:29:19 -0000 Received: (qmail 23993 invoked from network); 18 Jul 2022 15:29:02 -0000 Received: by simscan 1.4.0 ppid: 23989, pid: 23991, t: 0.0071s scanners:none Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 18 Jul 2022 15:29:02 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Jul 2022 15:29:37 +0000 From: edgar@openmail.cc To: bug-gnu-emacs@gnu.org Subject: (yasnippet) how to disable TAB C-i? Message-ID: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> X-Sender: edgar@openmail.cc User-Agent: Roundcube Webmail/1.3.17 X-Remote-Browser: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 X-Originating-IP: [2a03:e600:100::26] Received-SPF: pass client-ip=146.59.185.152; envelope-from=edgar@openmail.cc; helo=smtp152.vfemail.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, as per: https://github.com/joaotavora/yasnippet, I am sending an e-mail to you to ask for help. I really like yasnippets, because it makes my workflow more productive, but I have not been able to disable the autocompletion with the TAB key: * What I have tried (use-package yasnippet :defer t :commands (yas-minor-mode) :bind (:map yas-minor-mode-map ("TAB" . nil) ("" . nil) ;; Expand with C-c m ;; (how?? yas--direct-{keymaps,org-mode}) ("C-c m". yas-expand) ;; Change C-S-i to navigate back ("ESC TAB" . yas-prev-field) :map esc-map ;; Disable this to enable C-S-i to navigate back ;; (previously defined in bindings.el) ("\t" . nil))) (with-eval-after-load 'yasnippet (setq yas-snippet-dirs (list "~/snippets/")) (yas--load-snippet-dirs) ;; allow to insert a snippet within a snippet (setq yas-triggers-in-field t) ;; Testing (above) ;; ;; 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 "") nil) ) * Current behaviour 1. I launch a snippet with C-c m 2. Inside, I type the name of another snippet, for clarity, assume it is tuk 3. I type [TAB], C-i 4. tuk gets expandedtuk * Expected behaviour 1. I launch a snippet with C-c m 2. Inside, I type the name of another snippet, for clarity, assume it is tuk 3. I type [TAB], C-i 4. I get out of ttukhe first snippet (tuk does not get expanded). tuk is this: # -*- mode: snippet -*- # name: latex-inline # key: tuk # expand-env: ((yas-indent-line 'fixed)) # -- \\($1\\)$0 How do I configure yasnippet so that snippets get expended with C-c m *only*? Thanks! ------------------------------------------------- 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! From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 11:33:05 2022 Received: (at submit) by debbugs.gnu.org; 18 Jul 2022 15:33:05 +0000 Received: from localhost ([127.0.0.1]:51864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDSk5-0000U0-4e for submit@debbugs.gnu.org; Mon, 18 Jul 2022 11:33:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:59836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDSk3-0000Tp-CY for submit@debbugs.gnu.org; Mon, 18 Jul 2022 11:33:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDSk3-0007MM-6n for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 11:33:03 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:38617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDSk1-0001vW-3U for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 11:33:02 -0400 Received: (qmail 20281 invoked from network); 18 Jul 2022 15:32:59 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 18 Jul 2022 15:32:59 +0000 Received: (qmail 32994 invoked from network); 18 Jul 2022 15:32:24 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 18 Jul 2022 15:32:24 -0000 Received: (qmail 32414 invoked from network); 18 Jul 2022 15:32:07 -0000 Received: by simscan 1.4.0 ppid: 32404, pid: 32410, t: 0.1074s scanners:none Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 18 Jul 2022 15:32:07 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Jul 2022 15:32:41 +0000 From: edgar@openmail.cc To: bug-gnu-emacs@gnu.org Subject: Re: (yasnippet) how to disable TAB C-i? In-Reply-To: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> Message-ID: X-Sender: edgar@openmail.cc User-Agent: Roundcube Webmail/1.3.17 X-Remote-Browser: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 X-Originating-IP: [2a03:e600:100::26] Received-SPF: pass client-ip=146.59.185.152; envelope-from=edgar@openmail.cc; helo=smtp152.vfemail.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Of course: - yasnippet-snippets 20220401.1534 c5bf4c4085aa61b9c07563de89f7aacc2a357db5 - GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-28 On 2022-07-18 15:29, edgar@openmail.cc wrote: > Hello, > > as per: https://github.com/joaotavora/yasnippet, I am sending an > e-mail to you to ask for help. > > I really like yasnippets, because it makes my workflow more > productive, but I have not been able to disable the autocompletion > with the TAB key: > > * What I have tried > (use-package yasnippet :defer t :commands (yas-minor-mode) > :bind > (:map > yas-minor-mode-map > ("TAB" . nil) > ("" . nil) > ;; Expand with C-c m > ;; (how?? yas--direct-{keymaps,org-mode}) > ("C-c m". yas-expand) > ;; Change C-S-i to navigate back > ("ESC TAB" . yas-prev-field) > :map > esc-map > ;; Disable this to enable C-S-i to navigate back > ;; (previously defined in bindings.el) > ("\t" . nil))) > > (with-eval-after-load 'yasnippet > (setq yas-snippet-dirs (list "~/snippets/")) > (yas--load-snippet-dirs) > ;; allow to insert a snippet within a snippet > (setq yas-triggers-in-field t) > ;; Testing (above) > ;; ;; 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 "") nil) > ) > > * Current behaviour > 1. I launch a snippet with C-c m > 2. Inside, I type the name of another snippet, for clarity, assume it > is tuk > 3. I type [TAB], C-i > 4. tuk gets expandedtuk > > * Expected behaviour > 1. I launch a snippet with C-c m > 2. Inside, I type the name of another snippet, for clarity, assume it > is tuk > 3. I type [TAB], C-i > 4. I get out of ttukhe first snippet (tuk does not get expanded). > > tuk is this: > # -*- mode: snippet -*- > # name: latex-inline > # key: tuk > # expand-env: ((yas-indent-line 'fixed)) > # -- > \\($1\\)$0 > > How do I configure yasnippet so that snippets get expended with C-c m > *only*? Thanks! ------------------------------------------------- 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! From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 11:34:22 2022 Received: (at 56630) by debbugs.gnu.org; 18 Jul 2022 15:34:22 +0000 Received: from localhost ([127.0.0.1]:51868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDSlJ-0000Vw-LK for submit@debbugs.gnu.org; Mon, 18 Jul 2022 11:34:22 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:59297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDSlH-0000Vo-Ek for 56630@debbugs.gnu.org; Mon, 18 Jul 2022 11:34:20 -0400 Received: (qmail 20316 invoked from network); 18 Jul 2022 15:34:18 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 18 Jul 2022 15:34:18 +0000 Received: (qmail 36375 invoked from network); 18 Jul 2022 15:33:43 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 18 Jul 2022 15:33:43 -0000 Received: (qmail 35625 invoked from network); 18 Jul 2022 15:33:26 -0000 Received: by simscan 1.4.0 ppid: 35620, pid: 35622, t: 0.1086s scanners:none Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 18 Jul 2022 15:33:25 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Jul 2022 15:34:00 +0000 From: edgar@openmail.cc To: 56630@debbugs.gnu.org Subject: Fwd: Re: (yasnippet) how to disable TAB C-i? In-Reply-To: References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> Message-ID: X-Sender: edgar@openmail.cc User-Agent: Roundcube Webmail/1.3.17 X-Remote-Browser: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 X-Originating-IP: [2a03:e600:100::26] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56630 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) -------- Original Message -------- Subject: Re: (yasnippet) how to disable TAB C-i? Date: 2022-07-18 15:32 From: edgar@openmail.cc To: bug-gnu-emacs@gnu.org Of course: - yasnippet-snippets 20220401.1534 c5bf4c4085aa61b9c07563de89f7aacc2a357db5 - GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-28 On 2022-07-18 15:29, edgar@openmail.cc wrote: > Hello, > > as per: https://github.com/joaotavora/yasnippet, I am sending an > e-mail to you to ask for help. > > I really like yasnippets, because it makes my workflow more > productive, but I have not been able to disable the autocompletion > with the TAB key: > > * What I have tried > (use-package yasnippet :defer t :commands (yas-minor-mode) > :bind > (:map > yas-minor-mode-map > ("TAB" . nil) > ("" . nil) > ;; Expand with C-c m > ;; (how?? yas--direct-{keymaps,org-mode}) > ("C-c m". yas-expand) > ;; Change C-S-i to navigate back > ("ESC TAB" . yas-prev-field) > :map > esc-map > ;; Disable this to enable C-S-i to navigate back > ;; (previously defined in bindings.el) > ("\t" . nil))) > > (with-eval-after-load 'yasnippet > (setq yas-snippet-dirs (list "~/snippets/")) > (yas--load-snippet-dirs) > ;; allow to insert a snippet within a snippet > (setq yas-triggers-in-field t) > ;; Testing (above) > ;; ;; 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 "") nil) > ) > > * Current behaviour > 1. I launch a snippet with C-c m > 2. Inside, I type the name of another snippet, for clarity, assume it > is tuk > 3. I type [TAB], C-i > 4. tuk gets expandedtuk > > * Expected behaviour > 1. I launch a snippet with C-c m > 2. Inside, I type the name of another snippet, for clarity, assume it > is tuk > 3. I type [TAB], C-i > 4. I get out of ttukhe first snippet (tuk does not get expanded). > > tuk is this: > # -*- mode: snippet -*- > # name: latex-inline > # key: tuk > # expand-env: ((yas-indent-line 'fixed)) > # -- > \\($1\\)$0 > > How do I configure yasnippet so that snippets get expended with C-c m > *only*? Thanks! ------------------------------------------------- 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! From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 04:05:44 2022 Received: (at 56630) by debbugs.gnu.org; 23 Jul 2022 08:05:44 +0000 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFA8t-0002Lb-SM for submit@debbugs.gnu.org; Sat, 23 Jul 2022 04:05:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFA8r-0002LK-VM for 56630@debbugs.gnu.org; Sat, 23 Jul 2022 04:05:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Jxi1kQZH02OFlCKihOiTmKV0JiVY2LUACpdqy5Zlj0M=; b=L/76260yxpTQ6vh/MVwysxR0BQ zLnA8wESB28qAi6FS1cIhsLRMSJHxVNdFg6yjhOljqVCuYIPfMFIOC7TaJDZejWYUmoKSW4Z6A1Pl dNpVYdImZewiBFlCmK6Eor8i91j/iorPV3V+o6yBYwYM3D7obP3xShy1GlMuLB3ZGVc8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFA8j-000085-03; Sat, 23 Jul 2022 10:05:35 +0200 From: Lars Ingebrigtsen To: edgar@openmail.cc Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? In-Reply-To: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> (edgar@openmail.cc's message of "Mon, 18 Jul 2022 15:29:37 +0000") References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> X-Now-Playing: Tuxedomoon's _Subterranean Modern_: "Waterfront Seat" Date: Sat, 23 Jul 2022 10:05:32 +0200 Message-ID: <87v8ro1cfn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: edgar@openmail.cc writes: > I really like yasnippets, because it makes my workflow more > productive, but I have not been able to disable the autocompletion > with the TAB key: > > * What I have tried > (use-package yasnippet [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56630 Cc: 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) edgar@openmail.cc writes: > I really like yasnippets, because it makes my workflow more > productive, but I have not been able to disable the autocompletion > with the TAB key: > > * What I have tried > (use-package yasnippet :defer t :commands (yas-minor-mode) > :bind > (:map > yas-minor-mode-map > ("TAB" . nil) > ("" . nil) 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 04:05:49 2022 Received: (at control) by debbugs.gnu.org; 23 Jul 2022 08:05:49 +0000 Received: from localhost ([127.0.0.1]:43229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFA8z-0002Ly-3a for submit@debbugs.gnu.org; Sat, 23 Jul 2022 04:05:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFA8v-0002LO-3m for control@debbugs.gnu.org; Sat, 23 Jul 2022 04:05:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bRn3DEMv9stexyqRSYO5pRS5Pd8LVBbdiMQTQZXk37w=; b=plq1Jnlha+6xzSyQPnkCncZ/Ss w2Z2mUvjJ0wGZOmpMGIUTdg+6I76lL9RBdUcSmm5uf5Yie3zZduRzoK0EnJrHX86PgeCL6sAaCjH0 Qb+xUyBYtDwAcf2JoqYiucXsz1HnKThIFZkARH3aa2KS1pyNsuUVCnVFIfkQzR/ze3g0=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFA8n-00008C-9Q for control@debbugs.gnu.org; Sat, 23 Jul 2022 10:05:39 +0200 Date: Sat, 23 Jul 2022 10:05:36 +0200 Message-Id: <87tu781cfj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56630 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56630 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56630 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 13:07:57 2022 Received: (at 56630) by debbugs.gnu.org; 24 Jul 2022 17:07:57 +0000 Received: from localhost ([127.0.0.1]:48576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFf5B-0003DR-5n for submit@debbugs.gnu.org; Sun, 24 Jul 2022 13:07:57 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:43623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFf55-0003DG-9a for 56630@debbugs.gnu.org; Sun, 24 Jul 2022 13:07:55 -0400 Received: (qmail 18250 invoked from network); 24 Jul 2022 17:07:48 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 24 Jul 2022 17:07:48 +0000 Received: (qmail 17162 invoked from network); 24 Jul 2022 17:07:13 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Jul 2022 17:07:13 -0000 Received: (qmail 16816 invoked from network); 24 Jul 2022 17:06:56 -0000 Received: by simscan 1.4.0 ppid: 16812, pid: 16814, t: 0.0048s scanners:none Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 24 Jul 2022 17:06:56 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 24 Jul 2022 17:07:31 +0000 From: edgar@openmail.cc To: Lars Ingebrigtsen Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? In-Reply-To: <87v8ro1cfn.fsf@gnus.org> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> <87v8ro1cfn.fsf@gnus.org> Message-ID: <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> X-Sender: edgar@openmail.cc User-Agent: Roundcube Webmail/1.3.17 X-Remote-Browser: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 X-Originating-IP: [2405:8100:8000:5ca1::229:7a74] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56630 Cc: 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 "") 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! From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 08:07:24 2022 Received: (at 56630) by debbugs.gnu.org; 26 Jul 2022 12:07:24 +0000 Received: from localhost ([127.0.0.1]:52437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJLP-0000QI-UZ for submit@debbugs.gnu.org; Tue, 26 Jul 2022 08:07:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJLK-0000Pw-J4 for 56630@debbugs.gnu.org; Tue, 26 Jul 2022 08:07:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RAozCXEg8BvH8yGyS4zCMsP7+Ozu+v8dAfG117ibfZM=; b=Cm1MI9ik+s5FXQrW045W1d+2YL f9S2MPvEqNdQp5jqTTMrlZwpi5Rt4N20t1MfIYAvS8W4eNFxXDoJnzboUdS01wKGJbkZD2Up++CnB ISfmz+iETRHo07sIoGxsJekm25roxy+OE5VvfDbHU2/xTu0+0ZDv6h0uKqsrp5YHBVAw=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGJLB-0005v6-NT; Tue, 26 Jul 2022 14:07:11 +0200 From: Lars Ingebrigtsen To: edgar@openmail.cc Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? In-Reply-To: <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> (edgar@openmail.cc's message of "Sun, 24 Jul 2022 17:07:31 +0000") References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> <87v8ro1cfn.fsf@gnus.org> <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVTW2R6foE2P0ic pK4cIyn///9GHbZRAAAAAWJLR0QF+G/pxwAAAAlwSFlzAAAewgAAHsIBbtB1PgAAAAd0SU1FB+YH GgsrF3i7rpsAAAGgSURBVDjLhZQBkqQgDEU/cQ4A7QVSGQ7QjnuAXYr7n2l/Ajh211RNbEvN4/8E lEbK8AMKwLLBlCdQ8BbqWeZ3ICHl8sB2HPtxPktWKSkNQSrlmdN5nkcJ1xWFsR+HX+6mZqIvz3FE PFIRQDRB1WY0siReKrm3KtoklFYT4U8M6iPHScKUcPSopK3ZxPDBIrV3+nhuerVQBLCo3RYBS1DU OiWmNwm6A2uUhH0n8IOgmrcFB+HE4H0n6G5F0KMoc858ZJ2KBYLNhGi+AT8DUKLVgYb/iGXRo1+/ ad/ASR3gVRFkXK78BNU0vNp3kQXqeGwxkR8ASR/kHdhyewM6y7cJ3nqJO/PFBZbC31bzxY+ZcxHn OI13ZXMRf4wJ7DfQ6uvM+5qG3BSlZMZ6TGmLSOjINyD7vu0eJ6JbWRaP+LLZtKKP72tZYWyCmOAd dN+1Y3/4Ct6AJ+vVbrsAv5u6+vNNWVZXf2PzCU3AzhhfE/zjPTeecRelAH+WgptdppXnz49VnAAy /hYCXEtE/f7Ynuc5wPMCm0uAPQ/JBepnFEfJ/wEvdsKLrmplhQAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMi0wNy0yNlQxMTo0MzoyMyswMDowMIflMIgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDct MjZUMTE6NDM6MjMrMDA6MDD2uIg0AAAAAElFTkSuQmCC X-Now-Playing: Neil Young's _After The Gold Rush_: "Birds" Date: Tue, 26 Jul 2022 14:07:08 +0200 Message-ID: <8735eo3wnn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 snip [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56630 Cc: 56630@debbugs.gnu.org, Noam Postavsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 "") 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 18:33:20 2022 Received: (at 56630) by debbugs.gnu.org; 31 Jul 2022 22:33:20 +0000 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 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 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) MIME-Version: 1.0 References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> <87v8ro1cfn.fsf@gnus.org> <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> <8735eo3wnn.fsf@gnus.org> In-Reply-To: <8735eo3wnn.fsf@gnus.org> From: Noam Postavsky Date: Sun, 31 Jul 2022 18:32:51 -0400 Message-ID: Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 56630 Cc: edgar@openmail.cc, 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 01 16:00:41 2022 Received: (at 56630) by debbugs.gnu.org; 1 Aug 2022 20:00:41 +0000 Received: from localhost ([127.0.0.1]:41693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIbaj-00020b-CM for submit@debbugs.gnu.org; Mon, 01 Aug 2022 16:00:41 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:41915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIbae-00020N-DP for 56630@debbugs.gnu.org; Mon, 01 Aug 2022 16:00:39 -0400 Received: (qmail 17552 invoked from network); 1 Aug 2022 20:00:34 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 1 Aug 2022 20:00:34 +0000 Received: (qmail 72965 invoked from network); 1 Aug 2022 19:59:59 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Aug 2022 19:59:59 -0000 Received: (qmail 72322 invoked from network); 1 Aug 2022 19:59:42 -0000 Received: by simscan 1.4.0 ppid: 72311, pid: 72313, t: 0.0992s scanners:none Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 1 Aug 2022 19:59:42 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_a906001957c38fd15153f46153b2c0c6" Date: Mon, 01 Aug 2022 20:00:17 +0000 From: edgar@openmail.cc To: Noam Postavsky Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? In-Reply-To: References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@openmail.cc> <87v8ro1cfn.fsf@gnus.org> <3c6ccde173b1fb4c64c81f14f24fc52d@openmail.cc> <8735eo3wnn.fsf@gnus.org> Message-ID: <950baf34d569b8c9a610221ef3c9d26e@openmail.cc> X-Sender: edgar@openmail.cc User-Agent: Roundcube Webmail/1.3.17 X-Remote-Browser: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 X-Originating-IP: [2405:8100:8000:5ca1::d:609a] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56630 Cc: Lars Ingebrigtsen , 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=_a906001957c38fd15153f46153b2c0c6 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2022-07-31 22:32, Noam Postavsky wrote: > 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. Thanks, I think that I had sent this: "GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-28" yasnippet 20200604.246 org 20210929 just in case, (yas-about) "yasnippet (version 0.14.0-snapshot20200604.246) -- pluskid/joaotavora/npostavs" (org-version) 9.4.6 I am also attaching an org file which may serve to show a minimal (not-working) configuration. ------------------------------------------------- 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! --=_a906001957c38fd15153f46153b2c0c6 Content-Transfer-Encoding: base64 Content-Type: application/x-gzip; name=init.org.gz Content-Disposition: attachment; filename=init.org.gz; size=1081 H4sICL0v6GICA2luaXQub3JnAO1YzXLbNhA+m0+xI2dGZBNKdXtoytTNpE4OPju3JNOC5IpEBQI0 AUpWPH6NPkYeKk/SBUBSoqrG1vSQTMe82Fjs/367XOr0acZqw5VM4EryukYDCy4wOH2aYsHl77rJ YNHKnFUoDROQGCYLgTA3VT3XXmKumiKuVI7zVKhsCUnOG0iqJf2pYYM6ADiF+LsYLE8CnZSluBtJ uhNwou68xI09einL8t65cus47m6fnN0FJwBPvrc3KPOOTh7TwfobBK8VapDKwFo1S1hzUwKTG1AL MCXCQgmh1lwWkCm54EXbMJsAF7eGsGklMA3nWLFMQ3wNsfDRcsnNDHcPFPd5RIaHFF4SlTPBP241 wtkol05rLLiux6nslScN6lYY675EijBs8LrlDcK0ZtmSFRhZYvd/zHt7njzwthrjXf6dM2xYVwC6 AHjxAhKUum32L5IcF9jAwMVao4RiOfwx8E1hXaJ0hLjiUjUOBFPgGjImBOa9bKtttm0JKmRSJ7Di DBiUSi1BNZBuiAObnhugNKbWyXzukjXThjzHm6ykdOEsU9Wczc+eP//5J+8nESomc6rc2I/IX6dc ej/CpGI1jHliIlkwhZO3r36bwAwkF5En/GJY+usuiTx7c1OTJQ+oiziDqqOHpVq/fOl0xwR6zEx8 Sygm5fpZ3xt3nV4nN5k5ZnT6eu0XLkBSfBVzMIr6YsULZhBSit8Lv7m6gM5TK183uIoXHEUeRTsx os76wEjta65ZSjAzJdWF1KJ0x383YwOymrlqtdgA4YBLzIFLsLmkSmoCahfNe9OnyHkQ2tTEuGIi ZguDTewQM90iy3up0Vy7ADqyTZp2CqkxDExGw2XSx+bSaxWOxKIBoLarbUBcEpgM4asfNNYp8n4g 7DlhGl4U2GjqJp9MMIPSriYdix1NXtgnJabzAURBuExzoErzSeThc4SMRUfkUjbA4wHS70KCa/QB uuc4oxZR0fFivkOiTszLsTyPXVtPe9y7o62tuxesSnMGIcHnhNL7KjN8ZbG3RcjJyX4fW2gFXf0L oVICl+/vwJVIZzS/s9J3JVl1b5mgL3A3IcntPzt9W9ei3XfGPVP8h8cp/nWmuK/941x5nCv/y7ny 4+Nc+ba3ww5gowWxp413RE89uCYOVw/cFHsDh5bFQdeX98VexXEr46D8uK1xG98DFsfes9Hu+F+H PAzPtzPrvzy6YPTsTDDYew7Ps32urzPdOqg7lDhV5w6y52DfG0QRYvgOj5Jh1OENq2qBAX3ke109 IXhL3+csVSv0vweAB70mh6gozkpoP+Ft4/jxaO2W2KD7sq8V8VmSw48X1jRqD5ge/6bw+a9Pd0Hw z18TBr8uF7BRLZTcwDvqpg9gbT4DOvYesoIRPkIXbckMXMKaSRPN7rGcivts/w0qGdYXohEAAA== --=_a906001957c38fd15153f46153b2c0c6-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 30 06:37:40 2022 Received: (at control) by debbugs.gnu.org; 30 Aug 2022 10:37:40 +0000 Received: from localhost ([127.0.0.1]:34881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSycm-0001nb-CY for submit@debbugs.gnu.org; Tue, 30 Aug 2022 06:37:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSycl-0001nK-C3 for control@debbugs.gnu.org; Tue, 30 Aug 2022 06:37:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xxNJDcbjdybtSz6NwiB2V/rQogYY4FkRKxouM93Seno=; b=phmzMBfKRHGLCADt84M6HqyHdW BUDUCreTqJlXoATeEKnxqq5pZVSL6Fs94BUWh3o67SCFN1eTzbJLPWP7MAfKBfYe9GZKTDHFbBdyZ lIE1E6J7z+7jvzZCVVYCbwCTaqHK2hEub2nxtFDDcIw4uXx2xAd4R1AkDS/7OvfzgnEI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSycd-0006tT-OZ for control@debbugs.gnu.org; Tue, 30 Aug 2022 12:37:33 +0200 Date: Tue, 30 Aug 2022 12:37:31 +0200 Message-Id: <87wnaq9fv8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56630 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56630 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56630 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 12:24:30 2022 Received: (at 56630) by debbugs.gnu.org; 8 Nov 2022 17:24:30 +0000 Received: from localhost ([127.0.0.1]:38112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osSKr-0006V5-Nc for submit@debbugs.gnu.org; Tue, 08 Nov 2022 12:24:30 -0500 Received: from latitanza.investici.org ([82.94.249.234]:31015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osPIJ-0001TB-V7 for 56630@debbugs.gnu.org; Tue, 08 Nov 2022 09:09:41 -0500 Received: from 2.mail-backend.investici.org (unknown [10.0.0.12]) by latitanza.investici.org (Postfix) with ESMTP id 4N692p1LZLzGp0T; Tue, 8 Nov 2022 14:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1667916578; bh=SP4ZOIIfIIbnvS3Yr+QfTGFrBh72PTPYdPby4IecyxU=; h=Date:From:To:Cc:Subject:From; b=p7Nq+Ughjk0RJATGplJg6VnpXxPgBuQdaxtKEd3SfF2G/J4lREUUyzXdO+zNjTY3p +BT5PTb1MiJGHDk6ku28Zm9lHIOii2ebI8J902afWcgAp8ipeIWj32VUWQSQbZsiAK QieHBYipm0BCWkVThQt661aHTMTqms6fkdV4kQSo= Received: from 2.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: edgar@inventati.org) by 2.mail-backend.investici.org (Postfix) with ESMTPA id 4N692n6d0Fz2xFT; Tue, 8 Nov 2022 14:09:37 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 08 Nov 2022 14:09:37 +0000 From: edgar To: Noam Postavsky Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? User-Agent: Roundcube Webmail Message-ID: <4c539d1346282acef8766240ad0e5659@cryptolab.net> X-Sender: edgarlux@cryptolab.net Content-Type: multipart/mixed; boundary="=_9ab3ec3a7ee9653bd7a5400da7c0694c" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 56630 X-Mailman-Approved-At: Tue, 08 Nov 2022 12:24:27 -0500 Cc: Lars Ingebrigtsen , 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --=_9ab3ec3a7ee9653bd7a5400da7c0694c Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I tried to send the e-mail below on 2022-08-01 20:00, but apparently it is not here (I'm blaming my other e-mail provider): https://mail.gnu.org/archive/html/bug-gnu-emacs/2022-07/msg02612.html On 2022-07-31 22:32, Noam Postavsky wrote: 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. Thanks, I think that I had sent this: "GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-28" yasnippet 20200604.246 org 20210929 just in case, (yas-about) "yasnippet (version 0.14.0-snapshot20200604.246) -- pluskid/joaotavora/npostavs" (org-version) 9.4.6 I am also attaching an org file which may serve to show a minimal (not-working) configuration. --=_9ab3ec3a7ee9653bd7a5400da7c0694c Content-Transfer-Encoding: base64 Content-Type: application/gzip; name=init.org.gz Content-Disposition: attachment; filename=init.org.gz; size=1081 H4sICL0v6GICA2luaXQub3JnAO1YzXLbNhA+m0+xI2dGZBNKdXtoytTNpE4OPju3JNOC5IpEBQI0 AUpWPH6NPkYeKk/SBUBSoqrG1vSQTMe82Fjs/367XOr0acZqw5VM4EryukYDCy4wOH2aYsHl77rJ YNHKnFUoD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DhV5w6y52DfG0QRYvgOj5Jh1OENq2qBAX3ke109 IXhL3+csVSv0vweAB70mh6gozkpoP+Ft4/jxaO2W2KD7sq8V8VmSw48X1jRqD5ge/6bw+a9Pd0Hw z18TBr8uF7BRLZTcwDvqpg9gbT4DOvYesoIRPkIXbckMXMKaSRPN7rGcivts/w0qGdYXohEAAA== --=_9ab3ec3a7ee9653bd7a5400da7c0694c Content-Transfer-Encoding: base64 Content-Type: text/plain; name="Re bug#56630 (yasnippet) how to disable TAB tab C-i .eml" Content-Disposition: attachment; filename="Re bug#56630 (yasnippet) how to disable TAB tab C-i .eml"; size=3630 TUlNRS1WZXJzaW9uOiAxLjANCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOw0KIGJvdW5k YXJ5PSI9X2E5MDYwMDE5NTdjMzhmZDE1MTUzZjQ2MTUzYjJjMGM2Ig0KRGF0ZTogTW9uLCAwMSBB dWcgMjAyMiAyMDowMDoxNyArMDAwMA0KRnJvbTogZWRnYXJAb3Blbm1haWwuY2MNClRvOiBOb2Ft IFBvc3RhdnNreSA8bnBvc3RhdnNAdXNlcnMuc291cmNlZm9yZ2UubmV0Pg0KQ2M6IExhcnMgSW5n ZWJyaWd0c2VuIDxsYXJzaUBnbnVzLm9yZz4sIDU2NjMwQGRlYmJ1Z3MuZ251Lm9yZw0KU3ViamVj dDogUmU6IGJ1ZyM1NjYzMDogKHlhc25pcHBldCkgaG93IHRvIGRpc2FibGUgVEFCIDx0YWI+IEMt aT8NCkluLVJlcGx5LVRvOiA8Q0FNLXRWLV9heE9TPTByZGNOQ01XbUN1OFBicXh6Vms4amlGdjUt TkM9U0o0REwzUzFnQG1haWwuZ21haWwuY29tPg0KUmVmZXJlbmNlczogPDdjOWQ3NTIxZjYxZTQy YjU2YWM5ZmU2YWViMmFlZDVhQG9wZW5tYWlsLmNjPg0KIDw4N3Y4cm8xY2ZuLmZzZkBnbnVzLm9y Zz4gPDNjNmNjZGUxNzNiMWZiNGM2NGM4MW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 8 Nov 2022 17:24:31 +0000 Received: from localhost ([127.0.0.1]:38114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osSKs-0006VC-O4 for submit@debbugs.gnu.org; Tue, 08 Nov 2022 12:24:31 -0500 Received: from confino.investici.org ([93.190.126.19]:23711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osPIp-0001UO-7X for 56630@debbugs.gnu.org; Tue, 08 Nov 2022 09:10:11 -0500 Received: from 2.mail-backend.investici.org (unknown [10.0.0.12]) by confino.investici.org (Postfix) with ESMTP id 4N693P2xsJz10mx; Tue, 8 Nov 2022 14:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1667916609; bh=rIoQl6b26xS0Kfq4FM434W/d3WxmzHRdTTS2IbpIHFA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IjXgTJyXxa4MUTrLx71YNeQAKz+mcrbvD2uYV13UJRKiE4wzPexujcapyorMlLMSe l5CmmJoQr8C49DVAG817Ggd60Kgc5dPMbmnK2JOPPRFsoKA0V/8mWnPBftmk7J2fwY Nyy3LBjgOwN/xQW0ryulfqmhJs3Rf4KCsdp/a+gk= Received: from 2.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: edgar@inventati.org) by 2.mail-backend.investici.org (Postfix) with ESMTPA id 4N693P0pz1z2xFT; Tue, 8 Nov 2022 14:10:09 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 08 Nov 2022 14:10:08 +0000 From: edgar To: Noam Postavsky Subject: Re: bug#56630: (yasnippet) how to disable TAB C-i? In-Reply-To: <4c539d1346282acef8766240ad0e5659@cryptolab.net> References: <4c539d1346282acef8766240ad0e5659@cryptolab.net> User-Agent: Roundcube Webmail Message-ID: <4dfae574e6088b8ad71b2f6574797d64@cryptolab.net> X-Sender: edgarlux@cryptolab.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56630 X-Mailman-Approved-At: Tue, 08 Nov 2022 12:24:27 -0500 Cc: Lars Ingebrigtsen , 56630@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2022-11-08 14:09, edgar wrote: > I tried to send the e-mail below on 2022-08-01 20:00, but apparently > it is not here (I'm blaming my other e-mail provider): > https://mail.gnu.org/archive/html/bug-gnu-emacs/2022-07/msg02612.html > > On 2022-07-31 22:32, Noam Postavsky wrote: > > 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. > > > Thanks, I think that I had sent this: > > "GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, > cairo version 1.17.6) > of 2022-04-28" > yasnippet 20200604.246 > org 20210929 > > just in case, > (yas-about) > "yasnippet (version 0.14.0-snapshot20200604.246) -- > pluskid/joaotavora/npostavs" > > (org-version) > 9.4.6 > > I am also attaching an org file which may serve to show a minimal > (not-working) configuration. I hope that I am not ahead of myself, but this seems to be working (autoload 'yas-minor-mode "yasnippet") (autoload 'yas-expand "yasnippet") (with-eval-after-load 'yasnippet ;; Default directories to look for snippets (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 "") nil) (define-key global-map [remap yas-next-field-or-maybe-expand] 'yas-next-field)) (add-hook 'org-mode-hook (lambda () ;; Activate yasnippet (yas-minor-mode) ;; Add the latex snippets (yas-activate-extra-mode 'latex-mode)))