[PATCH] ecasound.el: fix regexp to match ewf files
Alessandro Ghedini <[email protected]>
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <20120510110025.GA12290@PC-Ale> |
Hi,
attached is a trivial patch that fixes the regexp inside ecasound.el which
matches *.ewf files. The patch basically replaces "$" with "\\'" to match an
end of string instead of a newline as per the example at [0].
Also, when bytecompiling it, I get:
> ecasound.el:974:1:Warning: !! The file uses old-style backquotes !!
> This functionality has been obsolete for more than 10 years already
> and will be removed soon. See (elisp)Backquote in the manual
Though, not being an elisp expert, I can't tell what needs to be fixed.
Cheers
[0] http://www.gnu.org/software/emacs/manual/html_node/elisp/Auto-Major-Mode.html
--
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
0001-ecasound.el-fix-regexp-to-match-ewf-files.patch
(text/x-diff, 765 B)
From d4a9543be341fafd1518d067a5d34f84b0a69413 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini <[email protected]> Date: Wed, 9 May 2012 15:04:05 +0200 Subject: [PATCH] ecasound.el: fix regexp to match ewf files --- ecatools/ecasound.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecatools/ecasound.el b/ecatools/ecasound.el index 6458b97..304f52b 100644 --- a/ecatools/ecasound.el +++ b/ecatools/ecasound.el @@ -2432,7 +2432,7 @@ This is done using the ecasound-cop widget." (save-buffer)) (ecasound "*Ecasound-ewf Player*"))) -(add-to-list 'auto-mode-alist (cons "\\.ewf$" 'ecasound-ewf-mode)) +(add-to-list 'auto-mode-alist (cons "\\.ewf\\'" 'ecasound-ewf-mode)) ;; Local variables: ;; mode: outline-minor -- 1.7.10
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPq5/FAAoJEK+lG9bN5XPLkvcQAII76/QhFHEb7wXy+XmcRlYr 0yT3EAucMr2j9rg+1DxTQCSe1iVEhqxSFlrRaO2z5Ad7zv08CgBWgxR9CrhfWVie 1+cuedC1+vPji6QL9qQqxF3eHSAeA3y2wXg4goFmTGIkHxylpO2jBK8RhxrUcTog cAgjERWx8wTosigQfFpcw3OtsCas1/frthR/ik+cMtLbjl6Zzuv45e50slTr6Jku BR62DocyD0DyYOBXCOwJa1MuMk9N+rA42F1j6rhY1NchnkDaSCUb3qfGpLysptAS bgEP8Pmm9RYzl3mbkhwmnVqwC8PrsW8PO60/RS02TFuK23cEdcWXz87xaKIH2Shn ILNjAt3DPkEwwhidn8XpUO+iqyUfp2cKV5Ilyx3Egi/OHS9UvwkT4YGOgQulFO6R h+5FxYqwe+iVZ8oNQu+QrqJ5GYBUniyhrSDchISOnEaIm5ZeY/sBuJ2Y/pgs9uK8 vrguuv7Zyosj5EgO0mHLj+RhfL7V1bwTFCpLuBXf5JgBm20hIwFinTnzmXw9m7hm S3gPcvTGiQ7HIsV1CS4gFvWc+2ZEsYBKWACQKcPLrZg3PZ7lZBHg3h8sJjJ8+C4S kdA8xpssbnB7otuHuigRoQS6r6Oz96Oq7WdwaT6+PVhjvde4A4v0P4zceqKroIts qWUkIFsM6//6Rx9shrOj =9T+B -----END PGP SIGNATURE-----