From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Burton Newsgroups: gmane.emacs.help Subject: Re: yasnippet - snippet ordering Date: Sat, 24 Apr 2010 00:01:07 +0100 Message-ID: <87d3xprcy4.wl%jim@sdf-eu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Apr_24_00:01:07_2010-1" X-Trace: dough.gmane.org 1272064277 14984 80.91.229.12 (23 Apr 2010 23:11:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 23:11:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 24 01:11:15 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5S1j-0002VX-04 for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Apr 2010 01:11:15 +0200 Original-Received: from localhost ([127.0.0.1]:32978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5S1i-0006kK-40 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 19:11:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5S1B-0006jn-Qj for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 19:10:41 -0400 Original-Received: from [140.186.70.92] (port=36572 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5S1A-0006jX-JD for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 19:10:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5S18-0001gj-GJ for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 19:10:40 -0400 Original-Received: from queueout03-winn.ispmail.ntl.com ([81.103.221.33]:61341) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5S17-0001dr-JA for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 19:10:37 -0400 Original-Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100423230123.PARZ5841.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 24 Apr 2010 00:01:23 +0100 Original-Received: from daisy.smtp.ntlworld.com ([81.108.236.92]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100423230113.ZYMJ1008.aamtaout03-winn.ispmail.ntl.com@daisy.smtp.ntlworld.com> for ; Sat, 24 Apr 2010 00:01:13 +0100 In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Cloudmark-Analysis: v=1.1 cv=ZtHxNT4mZm3rCuM0SmWmgWxeBwJsziC8EqOrwwVkrhA= c=1 sm=0 a=F9eaWw1iRVF8YaxyXS0A:9 a=scVaBYsqwFn2MstF-a4A:7 a=kywAQxHYAJ9J4dsSV-Sbba_9wLsA:4 a=CjuIK1q_8ugA:10 a=KZxYK8ZXvOTCnrhGd_AA:9 a=n4hVAaKXw_M-HQKokT1reX7A2Z4A:4 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72815 Archived-At: --Multipart_Sat_Apr_24_00:01:07_2010-1 Content-Type: text/plain; charset=US-ASCII At Fri, 23 Apr 2010 17:28:26 +0200, Gary wrote: > > I'd ask on the official yasnippet group, but it seems to be a closed > (i.e. must use a google a/c to post), so I hope someone here might be > able to give me a clue since I'm sure there must be may yasnippet users. > > Currently when I am offered snippet alternatives they are offered in > what to me are the "wrong" order, for example using a coding style > conflicting with the way I format my code (gnus vs bsd, for example). Is > there any way to specify which order they should be offered, or even > better suppressing some snippets? > As far as I know the only thing currently available is that if you add a file named .yas-skip to a directory in the snippets tree, the whole directory will be ignored. I think that, beyond that, you'd have to add it yourself. When you say you want to suppress some snippets, if you never want to use them you could just remove them altogether? Jim > -- > Gary > --Multipart_Sat_Apr_24_00:01:07_2010-1 Content-Type: text/plain; charset=US-ASCII -- J Burton --Multipart_Sat_Apr_24_00:01:07_2010-1--