Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 1 Aug 2022 20:00:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 01 16:00:41 2022 Received: from localhost ([127.0.0.1]:41693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oIbaj-00020b-CM for submit <at> 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 <edgar@HIDDEN>) id 1oIbae-00020N-DP for 56630 <at> 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@HIDDEN To: Noam Postavsky <npostavs@HIDDEN> Subject: Re: bug#56630: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <CAM-tV-_axOS=0rdcNCMWmCu8PbqxzVk8jiFv5-NC=SJ4DL3S1g@HIDDEN> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> <87v8ro1cfn.fsf@HIDDEN> <3c6ccde173b1fb4c64c81f14f24fc52d@HIDDEN> <8735eo3wnn.fsf@HIDDEN> <CAM-tV-_axOS=0rdcNCMWmCu8PbqxzVk8jiFv5-NC=SJ4DL3S1g@HIDDEN> Message-ID: <950baf34d569b8c9a610221ef3c9d26e@HIDDEN> X-Sender: edgar@HIDDEN 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 <larsi@HIDDEN>, 56630 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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@HIDDEN 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--
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 31 Jul 2022 22:33:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 31 18:33:20 2022 Received: from localhost ([127.0.0.1]:38756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oIHUt-0007aA-TW for submit <at> 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 <npostavs@HIDDEN>) id 1oIHUp-0007Zt-2t for 56630 <at> 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 <at> 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@HIDDEN> <87v8ro1cfn.fsf@HIDDEN> <3c6ccde173b1fb4c64c81f14f24fc52d@HIDDEN> <8735eo3wnn.fsf@HIDDEN> In-Reply-To: <8735eo3wnn.fsf@HIDDEN> From: Noam Postavsky <npostavs@HIDDEN> Date: Sun, 31 Jul 2022 18:32:51 -0400 Message-ID: <CAM-tV-_axOS=0rdcNCMWmCu8PbqxzVk8jiFv5-NC=SJ4DL3S1g@HIDDEN> Subject: Re: bug#56630: (yasnippet) how to disable TAB <tab> C-i? To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 56630 Cc: edgar@HIDDEN, 56630 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) > edgar@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 26 Jul 2022 12:07:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 26 08:07:24 2022 Received: from localhost ([127.0.0.1]:52437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oGJLP-0000QI-UZ for submit <at> 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 <larsi@HIDDEN>) id 1oGJLK-0000Pw-J4 for 56630 <at> 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 <larsi@HIDDEN>) id 1oGJLB-0005v6-NT; Tue, 26 Jul 2022 14:07:11 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: edgar@HIDDEN Subject: Re: bug#56630: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <3c6ccde173b1fb4c64c81f14f24fc52d@HIDDEN> (edgar@HIDDEN's message of "Sun, 24 Jul 2022 17:07:31 +0000") References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> <87v8ro1cfn.fsf@HIDDEN> <3c6ccde173b1fb4c64c81f14f24fc52d@HIDDEN> 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@HIDDEN> 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@HIDDEN 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 <at> debbugs.gnu.org, Noam Postavsky <npostavs@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) edgar@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 24 Jul 2022 17:07:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 24 13:07:57 2022 Received: from localhost ([127.0.0.1]:48576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oFf5B-0003DR-5n for submit <at> 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 <edgar@HIDDEN>) id 1oFf55-0003DG-9a for 56630 <at> 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@HIDDEN To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#56630: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <87v8ro1cfn.fsf@HIDDEN> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> <87v8ro1cfn.fsf@HIDDEN> Message-ID: <3c6ccde173b1fb4c64c81f14f24fc52d@HIDDEN> X-Sender: edgar@HIDDEN 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 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 "<tab>") nil)) ------------------------------------------------- This free account was provided by VFEmail.net - report spam to abuse@HIDDEN 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!
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 23 Jul 2022 08:05:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 23 04:05:44 2022 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oFA8t-0002Lb-SM for submit <at> 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 <larsi@HIDDEN>) id 1oFA8r-0002LK-VM for 56630 <at> 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 <larsi@HIDDEN>) id 1oFA8j-000085-03; Sat, 23 Jul 2022 10:05:35 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: edgar@HIDDEN Subject: Re: bug#56630: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> (edgar@HIDDEN's message of "Mon, 18 Jul 2022 15:29:37 +0000") References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> X-Now-Playing: Tuxedomoon's _Subterranean Modern_: "Waterfront Seat" Date: Sat, 23 Jul 2022 10:05:32 +0200 Message-ID: <87v8ro1cfn.fsf@HIDDEN> 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@HIDDEN 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 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) edgar@HIDDEN 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) > ("<tab>" . 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?
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at 56630) by debbugs.gnu.org; 18 Jul 2022 15:34:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 18 11:34:22 2022 Received: from localhost ([127.0.0.1]:51868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oDSlJ-0000Vw-LK for submit <at> 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 <edgar@HIDDEN>) id 1oDSlH-0000Vo-Ek for 56630 <at> 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@HIDDEN To: 56630 <at> debbugs.gnu.org Subject: Fwd: Re: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <e38d321efd83105f4dcbf9aa2097da84@HIDDEN> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> <e38d321efd83105f4dcbf9aa2097da84@HIDDEN> Message-ID: <f17c375dac491d41a23afe4b31e0238f@HIDDEN> X-Sender: edgar@HIDDEN 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) -------- Original Message -------- Subject: Re: (yasnippet) how to disable TAB <tab> C-i? Date: 2022-07-18 15:32 From: edgar@HIDDEN To: bug-gnu-emacs@HIDDEN 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@HIDDEN 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) > ("<tab>" . 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 "<tab>") 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@HIDDEN 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!
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Jul 2022 15:33:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 18 11:33:05 2022 Received: from localhost ([127.0.0.1]:51864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oDSk5-0000U0-4e for submit <at> 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 <edgar@HIDDEN>) id 1oDSk3-0000Tp-CY for submit <at> 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 <edgar@HIDDEN>) id 1oDSk3-0007MM-6n for bug-gnu-emacs@HIDDEN; 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 <edgar@HIDDEN>) id 1oDSk1-0001vW-3U for bug-gnu-emacs@HIDDEN; 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@HIDDEN To: bug-gnu-emacs@HIDDEN Subject: Re: (yasnippet) how to disable TAB <tab> C-i? In-Reply-To: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> References: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> Message-ID: <e38d321efd83105f4dcbf9aa2097da84@HIDDEN> X-Sender: edgar@HIDDEN 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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@HIDDEN 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) > ("<tab>" . 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 "<tab>") 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@HIDDEN 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!
bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Jul 2022 15:30:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 18 11:30:06 2022 Received: from localhost ([127.0.0.1]:51859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oDShC-0000Nn-FK for submit <at> 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 <edgar@HIDDEN>) id 1oDSh9-0000Nc-15 for submit <at> 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 <edgar@HIDDEN>) id 1oDSh8-0004ID-SR for bug-gnu-emacs@HIDDEN; 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 <edgar@HIDDEN>) id 1oDSh6-0001GY-FB for bug-gnu-emacs@HIDDEN; 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@HIDDEN To: bug-gnu-emacs@HIDDEN Subject: (yasnippet) how to disable TAB <tab> C-i? Message-ID: <7c9d7521f61e42b56ac9fe6aeb2aed5a@HIDDEN> X-Sender: edgar@HIDDEN 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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) ("<tab>" . 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 "<tab>") 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@HIDDEN 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!
edgar@HIDDEN
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#56630
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.