unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* YASnippet expands 'fi' in Shell-script mode
@ 2014-10-01  8:17 Loris Bennett
  2014-10-01  8:20 ` Loris Bennett
  0 siblings, 1 reply; 2+ messages in thread
From: Loris Bennett @ 2014-10-01  8:17 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: YASnippet expands 'fi' in Shell-script mode
  2014-10-01  8:17 YASnippet expands 'fi' in Shell-script mode Loris Bennett
@ 2014-10-01  8:20 ` Loris Bennett
  0 siblings, 0 replies; 2+ messages in thread
From: Loris Bennett @ 2014-10-01  8:20 UTC (permalink / raw)
  To: help-gnu-emacs

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> 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

It could of course be a subtle recursive joke ... 

-- 
This signature is currently under construction.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-01  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01  8:17 YASnippet expands 'fi' in Shell-script mode Loris Bennett
2014-10-01  8:20 ` Loris Bennett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).