<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/php-mode/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/php-mode/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/php-mode/support-requests/</id><updated>2013-07-07T03:10:17.808000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>top-level indentation is wacky</title><link href="https://sourceforge.net/p/php-mode/support-requests/15/" rel="alternate"/><published>2013-07-07T03:10:17.808000Z</published><updated>2013-07-07T03:10:17.808000Z</updated><author><name>Nathan Phillip Brink</name><uri>https://sourceforge.net/u/ohnobinki/</uri></author><id>https://sourceforge.net258e5b4dbab2596895a43c4268c3bb1705961820</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I put the following code in:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class="nv"&gt;$dir&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;dirname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;__FILE__&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nx"&gt;DIRECTORY_SEPARATOR&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
                         &lt;span class="k"&gt;require_once&lt;/span&gt; &lt;span class="nv"&gt;$dir&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="s1"&gt;'config.php'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The indentation for lines following my &lt;code&gt;$dir =&lt;/code&gt; line seems to be based on where the &lt;code&gt;.&lt;/code&gt; shows up in the &lt;code&gt;$dir =&lt;/code&gt; line. My current workaround is to put everything into a block, like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nv"&gt;$dir&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;dirname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;__FILE__&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="nx"&gt;DIRECTORY_SEPARATOR&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;require_once&lt;/span&gt; &lt;span class="nv"&gt;$dir&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="s1"&gt;'config.php'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Why does the behaviour I show in the first example happen? Are there any other workarounds than to put my global code in a block (which just looks wrong and is changing code to suite the editor instead of the other way around. In fact, I haven’t checked yet, but it may possibly mess with global scope...)?&lt;/p&gt;
&lt;p&gt;I am running php-mode-1.5.0 on emacs-24.3.1.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Does not color indented lines</title><link href="https://sourceforge.net/p/php-mode/support-requests/14/" rel="alternate"/><published>2003-09-11T23:17:29Z</published><updated>2003-09-11T23:17:29Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net77452a63bdcacec882bb7a439d52cc30eb44b1bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I just installed php-mode 1.0.4 on GNU Emacs 21.2.1. &lt;br /&gt;
The  non-indented lines have things colored correctly,&lt;br /&gt;
while the indented lines do NOT.&lt;/p&gt;
&lt;p&gt;Does anyone know why?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;--julie&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Speedbar Issues - no functions</title><link href="https://sourceforge.net/p/php-mode/support-requests/13/" rel="alternate"/><published>2003-07-09T21:35:10Z</published><updated>2003-07-09T21:35:10Z</updated><author><name>Chris Morris</name><uri>https://sourceforge.net/u/mechtonia/</uri></author><id>https://sourceforge.netb7cbf086ea79718b8a2470aaebe472dd4b6e24d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using php-mode v.1.0.4 I do not see my functions or&lt;br /&gt;
classes in the speedbar nor in the menubar via the&lt;br /&gt;
imenu-add-menubar-index. Does this work for others? I&lt;br /&gt;
have seen several post stating that speedbar does work&lt;br /&gt;
with php files but I have yet to see any claim that&lt;br /&gt;
functions and classes are visible in the speedbar.&lt;/p&gt;
&lt;p&gt;I have php-speedbar-config set to t and I do see all of&lt;br /&gt;
my.php files in the speedbar.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>here docs</title><link href="https://sourceforge.net/p/php-mode/support-requests/12/" rel="alternate"/><published>2003-06-05T22:09:04Z</published><updated>2003-06-05T22:09:04Z</updated><author><name>Sol Mumey</name><uri>https://sourceforge.net/u/smumey/</uri></author><id>https://sourceforge.neta2762a0e646f678f1858e1b14811021669c3c457</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;php mode 1.04 does not seem to recognize here docs&lt;br /&gt;
properly.  It will try to inden lines with in the here&lt;br /&gt;
doc, and will not resume indentation after the here doc&lt;br /&gt;
is closed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Make foreach equivalent to for with resp. to indentation</title><link href="https://sourceforge.net/p/php-mode/support-requests/11/" rel="alternate"/><published>2003-05-21T08:13:42Z</published><updated>2003-05-21T08:13:42Z</updated><author><name>Nils Rennebarth</name><uri>https://sourceforge.net/u/nilsr/</uri></author><id>https://sourceforge.netc8a1c97862246e68746338b0b33412dfe7914a4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;amp;quot;for&amp;amp;quot; is recognized as starting a new block, just as&lt;br /&gt;
&amp;amp;quot;while&amp;amp;quot; and &amp;amp;quot;if&amp;amp;quot;.&lt;br /&gt;
&amp;amp;quot;foreach&amp;amp;quot; should be equivalent to &amp;amp;quot;for&amp;amp;quot; as far as&lt;br /&gt;
indentation is concerned,&lt;br /&gt;
it is not however, the syntax engine handles a foreach&lt;br /&gt;
block like a &lt;br /&gt;
function call&lt;/p&gt;
&lt;p&gt;E.g, when I enter&lt;br /&gt;
for ($i=0; $i&amp;amp;lt;10; $i++)&lt;br /&gt;
and then hit the '{' key, a newline is inserted&lt;br /&gt;
automatically&lt;br /&gt;
afterwars and the indentation level is increased by one.&lt;/p&gt;
&lt;p&gt;When I enter&lt;br /&gt;
foreach($a as $k=&amp;amp;gt;$v)&lt;br /&gt;
however and hit the '{' key, a newline is inserted&lt;br /&gt;
before the brace,&lt;br /&gt;
another afterwards and the indentation levels is&lt;br /&gt;
increased by&lt;br /&gt;
two.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>html indent</title><link href="https://sourceforge.net/p/php-mode/support-requests/10/" rel="alternate"/><published>2003-04-12T23:28:12Z</published><updated>2003-04-12T23:28:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net892a9cdade4f0232542cadbe5845009199bcb51e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How can I indent html when using php-mode?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>all lines are underlined</title><link href="https://sourceforge.net/p/php-mode/support-requests/9/" rel="alternate"/><published>2003-04-02T16:17:05Z</published><updated>2003-04-02T16:17:05Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netb4ee0f79b94c3dcdb51167e37f7ae9f37ef66fce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm wondering why all the lines in all my php files are&lt;br /&gt;
underlined with a red line. It's unaesthetic.&lt;/p&gt;
&lt;p&gt;Is there a problem in my .emacs file ? I'm using emacs&lt;br /&gt;
21.3.50.1&lt;/p&gt;
&lt;p&gt;I've join a screenshot.&lt;/p&gt;
&lt;p&gt;Hope that somebody will be able to help me&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;A french emacs newbie&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>speedbar support still flaky?!?</title><link href="https://sourceforge.net/p/php-mode/support-requests/8/" rel="alternate"/><published>2003-02-25T14:41:46Z</published><updated>2003-02-25T14:41:46Z</updated><author><name>Karsten Dambekalns</name><uri>https://sourceforge.net/u/k-fish/</uri></author><id>https://sourceforge.net96491b58972a372420074037233facbf90eab0f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Great to see a new release. Anyway, I still have&lt;br /&gt;
problems with speedbar support.&lt;/p&gt;
&lt;p&gt;I can use it to navigate just fine, but when I unfold&lt;br /&gt;
an entry in the pseebar window, I get either&lt;br /&gt;
- no results (but a Scanning buffer message)&lt;br /&gt;
- or no results (but a extension not supported message)&lt;/p&gt;
&lt;p&gt;So I can't look &amp;amp;quot;into&amp;amp;quot; files to see classes, functions&lt;br /&gt;
or variables defined in them, like I'd like to. Is this&lt;br /&gt;
supposed to work this way (so I'm expecting too much),&lt;br /&gt;
or does something not work the way it should?&lt;/p&gt;
&lt;p&gt;Using GNU EMacs 21.2.2 with speedbar 0.13a-5 on Debian.&lt;/p&gt;
&lt;p&gt;From *Messages*, first and second case described above:&lt;br /&gt;
-------------&lt;br /&gt;
...&lt;br /&gt;
Scanning buffer for index (  0%)&lt;br /&gt;
Scanning buffer for index (100%)&lt;br /&gt;
...&lt;br /&gt;
Scanning buffer for index (  0%)&lt;br /&gt;
Scanning buffer for index ( 97%)&lt;br /&gt;
Fetching etags... [2 times]&lt;br /&gt;
Sorry, no support for a file of that extension&lt;br /&gt;
...&lt;br /&gt;
-------------&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>function name (not definition) coloring does not work</title><link href="https://sourceforge.net/p/php-mode/support-requests/7/" rel="alternate"/><published>2003-02-22T00:00:17Z</published><updated>2003-02-22T00:00:17Z</updated><author><name>adoram</name><uri>https://sourceforge.net/u/adoram/</uri></author><id>https://sourceforge.netcf250e3b1f0eb9888f4d310a6aefe206d9762bfa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I just upgraded my php-mode 0.96 to 1.02 on Emacs &lt;br /&gt;
20.7.1&lt;br /&gt;
References to functions were highlighted in blue in &lt;br /&gt;
version 0.96, but they are not now.&lt;br /&gt;
I can't figure out why.&lt;/p&gt;
&lt;p&gt;Can you please help ?&lt;/p&gt;
&lt;p&gt;Thanks, Adoram&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to make the &amp;lt;? act like a { ?</title><link href="https://sourceforge.net/p/php-mode/support-requests/6/" rel="alternate"/><published>2002-06-20T18:06:44Z</published><updated>2002-06-20T18:06:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6362b4b61d115613a90535845e1ca38274f6dae9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was wondering if there was a way to make the char &lt;br /&gt;
string &amp;amp;quot;&amp;amp;lt;?&amp;amp;quot; act the same way as the &amp;amp;quot;{&amp;amp;quot;. The reason for &lt;br /&gt;
this is that I like the code inside the &amp;amp;lt;? to be indented &lt;br /&gt;
as if it was the &amp;amp;quot;{&amp;amp;quot;. Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>