From: Glenn Morris <rgm@gnu.org>
To: 10256@debbugs.gnu.org
Cc: lekktu@gmail.com
Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default
Date: Sat, 10 Dec 2011 02:55:49 -0500 [thread overview]
Message-ID: <sn8vmkn9mi.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAAeL0SQqf+zC5hdSgQ+cSyfLumUm-eGJgHDneGw6ByfiyJeUiw@mail.gmail.com> (Juanma Barranquero's message of "Fri, 9 Dec 2011 20:55:24 +0100")
>> - '(".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)
next prev parent reply other threads:[~2011-12-10 7:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-09 18:18 bug#10256: 23.1; Speedbar does not display GNAT Ada files by default Manuel Gómez
2011-12-09 19:55 ` Juanma Barranquero
2011-12-10 7:55 ` Glenn Morris [this message]
2011-12-10 14:17 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sn8vmkn9mi.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=10256@debbugs.gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.