From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manuel =?UTF-8?Q?G=C3=B3mez?= Newsgroups: gmane.emacs.bugs Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default Date: Fri, 09 Dec 2011 19:18:17 +0100 Message-ID: <4EE250E9.8060706@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323455234 23358 80.91.229.12 (9 Dec 2011 18:27:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 18:27:14 +0000 (UTC) To: 10256@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 09 19:27:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ5A5-0005c6-GO for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Dec 2011 19:27:09 +0100 Original-Received: from localhost ([::1]:54012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ5A5-0006ry-00 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Dec 2011 13:27:09 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ57B-0006Xe-FE for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:24:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ578-0000UO-JM for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:24:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ578-0000UI-Hh for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:24:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RZ582-0007PC-6i for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel =?UTF-8?Q?G=C3=B3mez?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Dec 2011 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132345508228425 (code B ref -1); Fri, 09 Dec 2011 18:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Dec 2011 18:24:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ57h-0007OP-Kf for submit@debbugs.gnu.org; Fri, 09 Dec 2011 13:24:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ52Y-0007Gk-83 for submit@debbugs.gnu.org; Fri, 09 Dec 2011 13:19:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ51c-0007sk-GY for submit@debbugs.gnu.org; Fri, 09 Dec 2011 13:18:25 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:47931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ51c-0007sg-F2 for submit@debbugs.gnu.org; Fri, 09 Dec 2011 13:18:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ51b-0006I8-5e for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:18:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ51Z-0007sL-Hr for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:18:23 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:56535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ51Z-0007s9-9P for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2011 13:18:21 -0500 Original-Received: by bkbzt12 with SMTP id zt12so3929381bkb.0 for ; Fri, 09 Dec 2011 10:18:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=hW9DTw6Du38S0FR69SKJVsmxjkbFzT+V2CrcpJ0/s7c=; b=Ib4lRopEIrtGmoxvgF5ghRCTls5sra3ckp3Mcc2fNbXHjI70qf2GXcEQgJ9GPmPJ0A yy3gCERLxoaFZraL40b2uVGvMm5FvaGjdNcky4dlDlzJv61mjwMLVyjazgccg+szp81m riKXEXBostDlsnmjhrgEpXjmEDh87rJ+bgo0k= Original-Received: by 10.204.130.6 with SMTP id q6mr4477977bks.10.1323454699789; Fri, 09 Dec 2011 10:18:19 -0800 (PST) Original-Received: from [192.168.1.128] (53.240.78.188.dynamic.jazztel.es. [188.78.240.53]) by mx.google.com with ESMTPS id il2sm11738278bkc.10.2011.12.09.10.18.18 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 10:18:19 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 09 Dec 2011 13:24:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 09 Dec 2011 13:25:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Fri, 09 Dec 2011 13:27:07 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54839 Archived-At: speedbar.el is currently using ".ada" as a known extension. This is the extension used by some Ada compilers, but not GNAT (GCC Ada frontend), that uses ".ads" and ".adb". Given that Emacs comes with ada-mode, which is targeted by default to GNAT, it would make sense to change that to ".ad[asb]", otherwise speedbar does not show the GNAT Ada files until customized. This is a patch for this simple change: --- speedbar.el~ 2011-12-08 12:50:10.000000000 +0100 +++ speedbar.el 2011-12-08 12:49:21.000000000 +0100 @@ -692,7 +692,7 @@ (append '(".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".f\\(90\\|77\\|or\\)?") (if speedbar-use-imenu-flag - '(".ada" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g" + '(".ad[asb]" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g" ;; html is not supported by default, but an imenu tags package ;; is available. Also, html files are nice to be able to see. ".s?html" In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on allspice, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: es_ES.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f m g r C-s P =fa Recent messages: byte-code: End of buffer Mark set Okie dokie.. Refreshing speedbar...done byte-code: Beginning of buffer [4 times] byte-code: End of buffer [3 times] byte-code: Beginning of buffer [3 times] byte-code: End of buffer byte-code: Beginning of buffer [6 times] byte-code: End of buffer byte-code: End of buffer