From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.help Subject: YASnippet expands 'fi' in Shell-script mode Date: Wed, 01 Oct 2014 10:17:40 +0200 Organization: Freie Universitaet Berlin Message-ID: <87fvf8dx0b.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412151626 31636 80.91.229.3 (1 Oct 2014 08:20:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2014 08:20:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 10:20:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZF8z-0000VV-OO for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 10:20:17 +0200 Original-Received: from localhost ([::1]:48343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZF8z-00071I-1x for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 04:20:17 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.uni-berlin.de cfhicvx7zLdJavYZVRPo1wQs2zOQ803VoRPInn7kTo/95h Cancel-Lock: sha1:rlbyyx4W0iX4nb8q9BuOdF70qAw= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:207921 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100195 Archived-At: Hi, Has anyone else come across YASnippet expanding fi to # FIXME: in Shell-script mode? Apparently from Emacs 24.1, all of the programming modes, including Shell-script, derive from prog-mode. However, the current version of YASnippet (20140929) defines the expansion shown above for prog-mode. For sh/bash this seems rather undesirable. Cheers, Loris -- This signature is currently under construction.