bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10256: 23.1; Speedbar does not display GNAT Ada files by default


From: Glenn Morris
Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default
Date: Sat, 10 Dec 2011 02:55:49 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

>> -             '(".ada" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g"
>> +             '(".ad[asb]" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g"

I think in future this variable should derive from auto-mode-alist in
some way. Eg (car (rassoc 'ada-mode auto-mode-alist)) is equivalent to
the current ada setting. Or there should be a subroutine of
set-auto-mode that returns the mode for a given filename. Otherwise
speedbar-supported-extension-expressions is likely to be out-of-date (eg
the Fortran entries are). speedbar should define the _modes_ it can
support, rather than file extensions.

There are other ada entries in auto-mode-alist, are these relevant?

  ("\\.ad[bs].dg\\'" . ada-mode)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]