auto-mode file extension regexp too broad

Bug #109853 reported by afoglia
2
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/site-start.d/50xslide.el or /usr/share/doc/xslide/dot_emacs.

(I discovered this while opening files named <main_name>.for_<destination>.tex. xslide gets activated because of the ".fo" in ".for".)

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

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))

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in xslide:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in xslide:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.