<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/php-mode/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/php-mode/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 07 Jul 2013 03:10:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/php-mode/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>top-level indentation is wacky</title><link>https://sourceforge.net/p/php-mode/support-requests/15/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan Phillip Brink</dc:creator><pubDate>Sun, 07 Jul 2013 03:10:17 -0000</pubDate><guid>https://sourceforge.net258e5b4dbab2596895a43c4268c3bb1705961820</guid></item><item><title>Does not color indented lines</title><link>https://sourceforge.net/p/php-mode/support-requests/14/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 11 Sep 2003 23:17:29 -0000</pubDate><guid>https://sourceforge.net77452a63bdcacec882bb7a439d52cc30eb44b1bf</guid></item><item><title>Speedbar Issues - no functions</title><link>https://sourceforge.net/p/php-mode/support-requests/13/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Morris</dc:creator><pubDate>Wed, 09 Jul 2003 21:35:10 -0000</pubDate><guid>https://sourceforge.netb7cbf086ea79718b8a2470aaebe472dd4b6e24d2</guid></item><item><title>here docs</title><link>https://sourceforge.net/p/php-mode/support-requests/12/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sol Mumey</dc:creator><pubDate>Thu, 05 Jun 2003 22:09:04 -0000</pubDate><guid>https://sourceforge.neta2762a0e646f678f1858e1b14811021669c3c457</guid></item><item><title>Make foreach equivalent to for with resp. to indentation</title><link>https://sourceforge.net/p/php-mode/support-requests/11/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nils Rennebarth</dc:creator><pubDate>Wed, 21 May 2003 08:13:42 -0000</pubDate><guid>https://sourceforge.netc8a1c97862246e68746338b0b33412dfe7914a4b</guid></item><item><title>html indent</title><link>https://sourceforge.net/p/php-mode/support-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How can I indent html when using php-mode?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 12 Apr 2003 23:28:12 -0000</pubDate><guid>https://sourceforge.net892a9cdade4f0232542cadbe5845009199bcb51e</guid></item><item><title>all lines are underlined</title><link>https://sourceforge.net/p/php-mode/support-requests/9/</link><description>&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;</description><pubDate>Wed, 02 Apr 2003 16:17:05 -0000</pubDate><guid>https://sourceforge.netb4ee0f79b94c3dcdb51167e37f7ae9f37ef66fce</guid></item><item><title>speedbar support still flaky?!?</title><link>https://sourceforge.net/p/php-mode/support-requests/8/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karsten Dambekalns</dc:creator><pubDate>Tue, 25 Feb 2003 14:41:46 -0000</pubDate><guid>https://sourceforge.net96491b58972a372420074037233facbf90eab0f7</guid></item><item><title>function name (not definition) coloring does not work</title><link>https://sourceforge.net/p/php-mode/support-requests/7/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">adoram</dc:creator><pubDate>Sat, 22 Feb 2003 00:00:17 -0000</pubDate><guid>https://sourceforge.netcf250e3b1f0eb9888f4d310a6aefe206d9762bfa</guid></item><item><title>how to make the &amp;lt;? act like a { ?</title><link>https://sourceforge.net/p/php-mode/support-requests/6/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 20 Jun 2002 18:06:44 -0000</pubDate><guid>https://sourceforge.net6362b4b61d115613a90535845e1ca38274f6dae9</guid></item></channel></rss>