auto-mode file extension regexp too broad
Bug #109853 reported by
afoglia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xslide (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xslide
The default regexp tests for file extensions to launch xslide is "\\.fo" and "\\.xsl" neither of which perform an end-of-line check. Judging from the other items on my auto-mode-alist, the standard forms of the regexps would be either "\\.fo$" and "\\.xsl$" or "\\.fo'" and "\\.xsl'". I believe the correct file to change is either /etc/emacs/
(I discovered this while opening files named <main_name>
To post a comment you must log in.
I have the same problem. When I open ~/.forward, it tries to load `xslide'. In /etc/emacs/ site-start. d/50xslide. el, it should read more like:
(add-to-list 'auto-mode-alist '("\\.fo\\'" . xsl-mode))
(add-to-list 'auto-mode-alist '("\\.xsl\\'" . xsl-mode))