From unknown Fri Aug 22 01:03:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default 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: To: 10256@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132345508228425 (code B ref -1); Fri, 09 Dec 2011 18:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2011 18:24:42 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 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 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 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 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 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= Received: by 10.204.130.6 with SMTP id q6mr4477977bks.10.1323454699789; Fri, 09 Dec 2011 10:18:19 -0800 (PST) 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) Message-ID: <4EE250E9.8060706@gmail.com> Date: Fri, 09 Dec 2011 19:18:17 +0100 From: Manuel =?UTF-8?Q?G=C3=B3mez?= User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 From unknown Fri Aug 22 01:03:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Manuel =?UTF-8?Q?G=C3=B3mez?= Subject: bug#10256: closed (Re: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default) Message-ID: References: <4EE250E9.8060706@gmail.com> X-Gnu-PR-Message: they-closed 10256 X-Gnu-PR-Package: emacs Reply-To: 10256@debbugs.gnu.org Date: Fri, 09 Dec 2011 19:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1323460682-4278-1" This is a multi-part message in MIME format... ------------=_1323460682-4278-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10256: 23.1; Speedbar does not display GNAT Ada files by default which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10256@debbugs.gnu.org. --=20 10256: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10256 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1323460682-4278-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10256-done) by debbugs.gnu.org; 9 Dec 2011 19:57:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ6Z7-00015s-SX for submit@debbugs.gnu.org; Fri, 09 Dec 2011 14:57:06 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ6Z5-00015k-Ip for 10256-done@debbugs.gnu.org; Fri, 09 Dec 2011 14:57:04 -0500 Received: by pbbb4 with SMTP id b4so360298pbb.3 for <10256-done@debbugs.gnu.org>; Fri, 09 Dec 2011 11:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=MPPZ1PdMaaAm6qA4HFSSFzDSFnlp7eHQDReyOnuFaF8=; b=Y7/Po103T66yKRWbYvgGbU06pcn6HIKI+2y1bo49dPgJV/Snk188Geh6x6B1fDud0a j5pITaMEC9enKfpHmV0zAmJPf5++O7NkznfoT7hcXDNRY4MLXe9NWgvLOCjLEfpY7izi qUtl2hYuYieOnWD1wkkusqvgGwkKZjwydgXg8= Received: by 10.68.212.68 with SMTP id ni4mr9370897pbc.44.1323460566248; Fri, 09 Dec 2011 11:56:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.202.11 with HTTP; Fri, 9 Dec 2011 11:55:24 -0800 (PST) In-Reply-To: <4EE250E9.8060706@gmail.com> References: <4EE250E9.8060706@gmail.com> From: Juanma Barranquero Date: Fri, 9 Dec 2011 20:55:24 +0100 Message-ID: Subject: Re: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default To: =?UTF-8?Q?Manuel_G=C3=B3mez?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 10256-done Cc: 10256-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) > This is a patch for this simple change: > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(".ada" ".p[lm]" ".tcl" ".m"= ".scm" ".pm" ".py" ".g" > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(".ad[asb]" ".p[lm]" ".tcl" = ".m" ".scm" ".pm" ".py" ".g" Committed in revno:106645, thanks. =C2=A0 =C2=A0 Juanma ------------=_1323460682-4278-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Dec 2011 18:24:42 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 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 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 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 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 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= Received: by 10.204.130.6 with SMTP id q6mr4477977bks.10.1323454699789; Fri, 09 Dec 2011 10:18:19 -0800 (PST) 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) Message-ID: <4EE250E9.8060706@gmail.com> Date: Fri, 09 Dec 2011 19:18:17 +0100 From: =?ISO-8859-1?Q?Manuel_G=F3mez?= User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.1; Speedbar does not display GNAT Ada files by default Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 ------------=_1323460682-4278-1-- From unknown Fri Aug 22 01:03:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2011 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10256@debbugs.gnu.org Cc: lekktu@gmail.com Received: via spool by 10256-submit@debbugs.gnu.org id=B10256.13235038135137 (code B ref 10256); Sat, 10 Dec 2011 07:57:01 +0000 Received: (at 10256) by debbugs.gnu.org; 10 Dec 2011 07:56:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZHng-0001Ko-MV for submit@debbugs.gnu.org; Sat, 10 Dec 2011 02:56:53 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZHne-0001Kh-Qc for 10256@debbugs.gnu.org; Sat, 10 Dec 2011 02:56:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RZHmf-0006O0-Fs; Sat, 10 Dec 2011 02:55:49 -0500 From: Glenn Morris References: <4EE250E9.8060706@gmail.com> X-Spook: Axis of Evil bce COSCO Crowell Albania oil lynch Commecen X-Ran: Jd_]vwo943B$>N;'eoi#FPIi)z^i-~s4Ldl>sH3,uUq,d: X-Hue: yellow X-Attribution: GM Date: Sat, 10 Dec 2011 02:55:49 -0500 In-Reply-To: (Juanma Barranquero's message of "Fri, 9 Dec 2011 20:55:24 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) >> - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(".ada" ".p[lm]" ".tcl" ".m= " ".scm" ".pm" ".py" ".g" >> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(".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) From unknown Fri Aug 22 01:03:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10256: 23.1; Speedbar does not display GNAT Ada files by default Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2011 14:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 10256@debbugs.gnu.org Received: via spool by 10256-submit@debbugs.gnu.org id=B10256.13235267815284 (code B ref 10256); Sat, 10 Dec 2011 14:20:01 +0000 Received: (at 10256) by debbugs.gnu.org; 10 Dec 2011 14:19:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZNm8-0001NB-T0 for submit@debbugs.gnu.org; Sat, 10 Dec 2011 09:19:41 -0500 Received: from mail-pz0-f44.google.com ([209.85.210.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZNm6-0001N0-Tq for 10256@debbugs.gnu.org; Sat, 10 Dec 2011 09:19:39 -0500 Received: by dajz8 with SMTP id z8so3771485daj.3 for <10256@debbugs.gnu.org>; Sat, 10 Dec 2011 06:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=4nkKXD68dh6i/vaMawVvvCeZ9R6XLVBgA9yBS5F9Jnw=; b=gGOgTTpTWzTOp61JqkleMYmx04Cp/IVv5vy5C3xE0xVUWAtyRQy30GtpVMPVQ/4nn0 l8aQxwe/4Kf0L6ahjIrZM5fRuo/luAU0/hKY1FeRw1+HZShCgj1UsK0yB8pQ5zITxqEj t96x6M8cP0nXPVlWnJADwutNii2mPUbioVwHo= Received: by 10.68.74.41 with SMTP id q9mr15505058pbv.129.1323526717168; Sat, 10 Dec 2011 06:18:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.202.11 with HTTP; Sat, 10 Dec 2011 06:17:55 -0800 (PST) In-Reply-To: References: <4EE250E9.8060706@gmail.com> From: Juanma Barranquero Date: Sat, 10 Dec 2011 15:17:55 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Sat, Dec 10, 2011 at 08:55, Glenn Morris wrote: > 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. Good idea. > There are other ada entries in auto-mode-alist, are these relevant? > > =C2=A0("\\.ad[bs].dg\\'" . ada-mode) These are "expanded sources", generated by GNAT: `-gnatD[=3Dnn]' When used in conjunction with `-gnatG', this switch causes the expanded source, as described above for `-gnatG' to be written to files with names `xxx.dg', where `xxx' is the normal file name, instead of to the standard output file. For example, if the source file name is `hello.adb', then a file `hello.adb.dg' will be written. The debugging information generated by the `gcc' `-g' switch will refer to the generated `xxx.dg' file. This allows you to do source level debugging using the generated code which is sometimes useful for complex code, for example to find out exactly which part of a complex construction raised an exception. This switch also suppress generation of cross-reference information (see `-gnatx') since otherwise the cross-reference information would refer to the `.dg' file, which would cause confusion since this is not the original source file. =C2=A0 =C2=A0 Juanma