Subject: bug#11505: 24.1.50; error when declaring coding on new snippet of yasnipet

From: Glenn Morris <[email-masked]>
Date: Fri, 18 May 2012 12:34:17 -0400

"Denis J. Navas" wrote:

> I created a new snippet for "en dash".  I wrote with utf-8 encoding.
> YASnippet asked for the encoding and somehow I got a list of encodings.
> I searched for utf-8-dos, and when wanted to apply it pointing to it
> with the mouse, Emacs freezed.
>
> I must add that I have applied ErgoEmacs 1.9.3.2 customizations.

I'm sorry, but that is rather vague. Unless you can give a recipe
showing how to reproduce this in a standard Emacs, I doubt anything can
be done.

> File mode specification error: (invalid-regexp "Unmatched ( or \\(")

Seems suspicious.

> Load-path shadows:

So do all these (looks like an unclean installation):

> c:/Documents and
> Settings/Denis/.emacs.d/elpa/undo-tree-0.3.3/undo-tree hides
> c:/Program Files/ErgoEmacs/ergoemacs/../packages/undo-tree
> c:/Program Files/ErgoEmacs/ergoemacs/../packages/python hides
> c:/Program Files/ErgoEmacs/lisp/progmodes/python
> c:/Program Files/ErgoEmacs/lisp/vc hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc
> c:/Program Files/ErgoEmacs/lisp/vc-svn hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-svn
> c:/Program Files/ErgoEmacs/lisp/vc-sccs hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-sccs
> c:/Program Files/ErgoEmacs/lisp/vc-rcs hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-rcs
> c:/Program Files/ErgoEmacs/lisp/vc-mtn hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-mtn
> c:/Program Files/ErgoEmacs/lisp/vc-hooks hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-hooks
> c:/Program Files/ErgoEmacs/lisp/vc-hg hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-hg
> c:/Program Files/ErgoEmacs/lisp/vc-git hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-git
> c:/Program Files/ErgoEmacs/lisp/vc-dispatcher hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-dispatcher
> c:/Program Files/ErgoEmacs/lisp/vc-dir hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-dir
> c:/Program Files/ErgoEmacs/lisp/vc-dav hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-dav
> c:/Program Files/ErgoEmacs/lisp/vc-cvs hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-cvs
> c:/Program Files/ErgoEmacs/lisp/vc-bzr hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-bzr
> c:/Program Files/ErgoEmacs/lisp/vc-arch hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-arch
> c:/Program Files/ErgoEmacs/lisp/vc-annotate hides c:/Program
> Files/ErgoEmacs/lisp/vc/vc-annotate
> c:/Program Files/ErgoEmacs/lisp/smerge-mode hides c:/Program
> Files/ErgoEmacs/lisp/vc/smerge-mode
> c:/Program Files/ErgoEmacs/lisp/pcvs hides c:/Program
> Files/ErgoEmacs/lisp/vc/pcvs
> c:/Program Files/ErgoEmacs/lisp/pcvs-util hides c:/Program
> Files/ErgoEmacs/lisp/vc/pcvs-util
> c:/Program Files/ErgoEmacs/lisp/pcvs-parse hides c:/Program
> Files/ErgoEmacs/lisp/vc/pcvs-parse
> c:/Program Files/ErgoEmacs/lisp/pcvs-info hides c:/Program
> Files/ErgoEmacs/lisp/vc/pcvs-info
> c:/Program Files/ErgoEmacs/lisp/pcvs-defs hides c:/Program
> Files/ErgoEmacs/lisp/vc/pcvs-defs
> c:/Program Files/ErgoEmacs/lisp/log-view hides c:/Program
> Files/ErgoEmacs/lisp/vc/log-view
> c:/Program Files/ErgoEmacs/lisp/log-edit hides c:/Program
> Files/ErgoEmacs/lisp/vc/log-edit
> c:/Program Files/ErgoEmacs/lisp/emerge hides c:/Program
> Files/ErgoEmacs/lisp/vc/emerge
> c:/Program Files/ErgoEmacs/lisp/ediff hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff
> c:/Program Files/ErgoEmacs/lisp/ediff-wind hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-wind
> c:/Program Files/ErgoEmacs/lisp/ediff-vers hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-vers
> c:/Program Files/ErgoEmacs/lisp/ediff-util hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-util
> c:/Program Files/ErgoEmacs/lisp/ediff-ptch hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-ptch
> c:/Program Files/ErgoEmacs/lisp/ediff-mult hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-mult
> c:/Program Files/ErgoEmacs/lisp/ediff-merg hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-merg
> c:/Program Files/ErgoEmacs/lisp/ediff-init hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-init
> c:/Program Files/ErgoEmacs/lisp/ediff-hook hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-hook
> c:/Program Files/ErgoEmacs/lisp/ediff-help hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-help
> c:/Program Files/ErgoEmacs/lisp/ediff-diff hides c:/Program
> Files/ErgoEmacs/lisp/vc/ediff-diff
> c:/Program Files/ErgoEmacs/lisp/diff hides c:/Program
> Files/ErgoEmacs/lisp/vc/diff
> c:/Program Files/ErgoEmacs/lisp/diff-mode hides c:/Program
> Files/ErgoEmacs/lisp/vc/diff-mode
> c:/Program Files/ErgoEmacs/lisp/cvs-status hides c:/Program
> Files/ErgoEmacs/lisp/vc/cvs-status
> c:/Program Files/ErgoEmacs/lisp/compare-w hides c:/Program
> Files/ErgoEmacs/lisp/vc/compare-w
> c:/Program Files/ErgoEmacs/lisp/add-log hides c:/Program
> Files/ErgoEmacs/lisp/vc/add-log
> c:/Program Files/ErgoEmacs/lisp/emacs-lisp/sregex hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/sregex
> c:/Program Files/ErgoEmacs/lisp/textmodes/spell hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/spell
> c:/Program Files/ErgoEmacs/lisp/s-region hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/s-region
> c:/Program Files/ErgoEmacs/lisp/pgg hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg
> c:/Program Files/ErgoEmacs/lisp/pgg-pgp5 hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg-pgp5
> c:/Program Files/ErgoEmacs/lisp/pgg-pgp hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg-pgp
> c:/Program Files/ErgoEmacs/lisp/pgg-parse hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg-parse
> c:/Program Files/ErgoEmacs/lisp/pgg-gpg hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg-gpg
> c:/Program Files/ErgoEmacs/lisp/pgg-def hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pgg-def
> c:/Program Files/ErgoEmacs/lisp/emulation/pc-select hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pc-select
> c:/Program Files/ErgoEmacs/lisp/emulation/pc-mode hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/pc-mode
> c:/Program Files/ErgoEmacs/lisp/patcomp hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/patcomp
> c:/Program Files/ErgoEmacs/lisp/mouse-sel hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/mouse-sel
> c:/Program Files/ErgoEmacs/lisp/mail/mailpost hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/mailpost
> c:/Program Files/ErgoEmacs/lisp/emacs-lisp/lmenu hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/lmenu
> c:/Program Files/ErgoEmacs/lisp/erc/erc-hecomplete hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/erc-hecomplete
> c:/Program Files/ErgoEmacs/lisp/complete hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/complete
> c:/Program Files/ErgoEmacs/lisp/emacs-lisp/cl-compat hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/cl-compat
> c:/Program Files/ErgoEmacs/lisp/play/bruce hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/bruce
> c:/Program Files/ErgoEmacs/lisp/emacs-lisp/assoc hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/assoc
> c:/Program Files/ErgoEmacs/lisp/abbrevlist hides c:/Program
> Files/ErgoEmacs/lisp/obsolete/abbrevlist