all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help with speedbar and tags in PHP mode?
@ 2007-10-30 18:34 n8vo
  2007-11-02 22:23 ` n8vo
  0 siblings, 1 reply; 2+ messages in thread
From: n8vo @ 2007-10-30 18:34 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, I'm pretty new to emacs, and I am having much trouble getting
functions and methods in PHP files to appear in the tag hierarchy in
my speedbar.  I can get it to work for other languages (Perl, C and
Lisp at least), but the best I've been able to blunder up for a PHP
file, if I open the file and explicitly enter php-mode (instead of a
MMM mode) is one tag, for the class:

[-] Dp.php
1: {-} Classes
2:  > Dp

But it doesn't show any of the methods inside the class, or any tags
inside other files in the directory structure.

The *Messages* buffer shows this is happening for most PHP files
Fetching etags... [2 times]
Sorry, no support for a file of that extension

my .emacs file has these explicit settings from the Customize menus:
 '(php-mode-speedbar-open t)
 '(php-speedbar-config nil)
 '(speedbar-load-hook nil)
 '(speedbar-show-unknown-files t)
 '(speedbar-supported-extension-expressions (quote (".php" ".pac"
".js" "\\.\\(inc\\|php[s34]?\\)" ".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\
\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java"
".f\\(90\\|77\\|or\\)?" ".ada" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py"
".g" ".s?html" ".ma?k" "[Mm]akefile\\(\\.in\\)?")))
 '(speedbar-track-mouse-flag t)
 '(speedbar-use-imenu-flag t)
 '(speedbar-verbosity-level 10)


I've scoured the wiki and stared at speedbar.el, but I can't figure
out why it's not working.
>From what I understand, it should be using imenu and never getting to
the part where it says "no support for a file of that extension"....

Versions:
 Windows XP with cygwin
 23.0.0.1 (i386-mingw-nt5.1.2600)
 php-mode 1.2.0 (from http://php-mode.sourceforge.net)
 xml/sgml/mmm/etc webdev mode as described in " Emacs WebDev
Environment" by Darren Brierton at (http://www.dzr-web.com/people/
darren/projects/emacs-webdev/#mmm)

Can anyone help me or ask clarifying questions to point me in the
right direction?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with speedbar and tags in PHP mode?
  2007-10-30 18:34 Help with speedbar and tags in PHP mode? n8vo
@ 2007-11-02 22:23 ` n8vo
  0 siblings, 0 replies; 2+ messages in thread
From: n8vo @ 2007-11-02 22:23 UTC (permalink / raw)
  To: help-gnu-emacs

I haven't got any responses on this question yet-- can anyone help me
get further?

Here are the most salient details:

On Oct 30, 10:34 am, n8vo <nvonna...@gmail.com> wrote:
> Hi, I'm pretty new to emacs, and I am having much trouble getting
> functions and methods in PHP files to appear in the tag hierarchy in
> my speedbar.  I can get it to work for other languages (Perl, C and
> Lisp at least), but the best I've been able to blunder up for a PHP
> file, if I open the file and explicitly enter php-mode (instead of a
> MMM mode) is one tag, for the class:
>
> [-] Dp.php
> 1: {-} Classes
> 2:  > Dp
>
> But it doesn't show any of the methods inside the class, or any tags
> inside other files in the directory structure.
>
> The *Messages* buffer shows this is happening for most PHP files
> Fetching etags... [2 times]
> Sorry, no support for a file of that extension

>From what I understand, it should be using imenu and never getting to
> the part where it says "no support for a file of that extension"....


> Can anyone help me or ask clarifying questions to point me in the
> right direction?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-02 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 18:34 Help with speedbar and tags in PHP mode? n8vo
2007-11-02 22:23 ` n8vo

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.