all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.