<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/php-mode/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/php-mode/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/php-mode/bugs/</id><updated>2011-02-15T04:23:47Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title># comments don't highlight properly</title><link href="https://sourceforge.net/p/php-mode/bugs/80/" rel="alternate"/><published>2011-02-15T04:23:47Z</published><updated>2011-02-15T04:23:47Z</updated><author><name>Squid</name><uri>https://sourceforge.net/u/squidsk/</uri></author><id>https://sourceforge.netc62b44ee59742129902d8a5619b680cf5d760cf4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;any comment started with a # gets overridden with the highlighting of any word inside that comment that is covered by another highlighting rule&lt;/p&gt;
&lt;p&gt;e.x. # if the display group is a new group, then&lt;/p&gt;
&lt;p&gt;The 'if', ',' and 'then' are all not coloured as comments.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>E_DEPRECATED and other constants mishighlighted</title><link href="https://sourceforge.net/p/php-mode/bugs/79/" rel="alternate"/><published>2010-09-14T16:10:42Z</published><updated>2010-09-14T16:10:42Z</updated><author><name>Nathan Phillip Brink</name><uri>https://sourceforge.net/u/ohnobinki/</uri></author><id>https://sourceforge.net9504cbbf6ce5be95d6a6e5811573a7dafc0fa047</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;All of the magic constants listed here are not correctly highlighted: &lt;a href="http://docs.php.net/manual/en/language.constants.predefined.php" rel="nofollow"&gt;http://docs.php.net/manual/en/language.constants.predefined.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, E_STRICT and E_DEPRECATED (relatively new constants) are not correctly highglighted.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>php-mode can crash emacs 23.1</title><link href="https://sourceforge.net/p/php-mode/bugs/78/" rel="alternate"/><published>2009-12-22T14:09:44Z</published><updated>2009-12-22T14:09:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net1fd721f0ebc12fc6715a212423af062b9c3bbaa8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PHP-mode-1.5.0's been crashing emacs 23.1. I can trigger this behaviour by entering PHP-mode, then typing&lt;br /&gt;
function test($one,&lt;/p&gt;
&lt;p&gt;at which point the wrist-watch cursor shows up, and emacs is dead.&lt;/p&gt;
&lt;p&gt;I submitted a bug to emacs (5258). See &lt;a href="http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-12/msg00613.html" rel="nofollow"&gt;http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-12/msg00613.html&lt;/a&gt; for a very long abridged backtrace. It looks like the garbage-collector gets stuck in a loop. I'm not familiar with debugging emacs, so I can't suggest what line of elisp is causing the fail. Previous versions of emacs are not affected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PHP keyword not found</title><link href="https://sourceforge.net/p/php-mode/bugs/77/" rel="alternate"/><published>2009-12-18T08:32:17Z</published><updated>2009-12-18T08:32:17Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net72fbd4652d71c686ad9002539a6cb840cfae258d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The switch statement contains php keyword 'default' that is not defined in the php-keywords list&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiline array and fluent interface indentation fails</title><link href="https://sourceforge.net/p/php-mode/bugs/76/" rel="alternate"/><published>2009-12-08T20:38:05Z</published><updated>2009-12-08T20:38:05Z</updated><author><name>trashofmasters</name><uri>https://sourceforge.net/u/trashofmasters/</uri></author><id>https://sourceforge.net04608edf59b12a0df6e1e39c85981d6d4ed0ddaa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry if I posted as Nobody the earlier, this is the first time I'm using this Issue Tracker&lt;/p&gt;
&lt;p&gt;PHP Mode 1.5.0 suffers of different indentation issues related to the PEAR coding standard&lt;br /&gt;
when indenting multiline array definitions, fluent interfaces and function arguments.&lt;/p&gt;
&lt;p&gt;The file attached contains the proper report with examples of actual and expected behaviour.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array and fluent interfaces fails</title><link href="https://sourceforge.net/p/php-mode/bugs/75/" rel="alternate"/><published>2009-12-08T20:32:17Z</published><updated>2009-12-08T20:32:17Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netae4889e8c0a9b7e6d5db7cf4a5a41748e17e4c97</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Indentation fails to follow PEAR coding standards:&lt;/p&gt;
&lt;p&gt;arrays are indented using relative position of opening bracket&lt;br /&gt;
instead of indenting of +4 spaces, thus leading to exceed the&lt;br /&gt;
80 characters limit pretty fast.&lt;/p&gt;
&lt;p&gt;Actual behaviour:&lt;br /&gt;
$longNameForPointLessArray = array(&lt;br /&gt;
0 =&amp;gt; null,&lt;br /&gt;
1 =&amp;gt; array(&lt;br /&gt;
0 =&amp;gt; null&lt;br /&gt;
)&lt;br /&gt;
);&lt;/p&gt;
&lt;p&gt;Expected behaviour:&lt;br /&gt;
$longNameForPointLessArray = array(&lt;br /&gt;
0 =&amp;gt; null,&lt;br /&gt;
1 =&amp;gt; array(&lt;br /&gt;
0 =&amp;gt; null&lt;br /&gt;
)&lt;br /&gt;
);&lt;/p&gt;
&lt;p&gt;When function arguments are spanned across multiple lines they seem&lt;br /&gt;
to suffer from the very same issue.&lt;/p&gt;
&lt;p&gt;A similar issue is present when using fluent interfaces spanned&lt;br /&gt;
over multiple lines. The arrow operators should be aligned in&lt;br /&gt;
a row.&lt;/p&gt;
&lt;p&gt;Actual behaviour:&lt;br /&gt;
$aObject = new Class();&lt;br /&gt;
$aObject-&amp;gt;aMethod()&lt;br /&gt;
-&amp;gt;anotherMethod()&lt;br /&gt;
-&amp;gt;anotherMethod();&lt;/p&gt;
&lt;p&gt;Expected behaviour:&lt;br /&gt;
$aObject = new Class();&lt;br /&gt;
$aObject-&amp;gt;aMethod()&lt;br /&gt;
-&amp;gt;anotherMethod()&lt;br /&gt;
-&amp;gt;anotherMethod();&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PHP-mode uses up to 100% CPU</title><link href="https://sourceforge.net/p/php-mode/bugs/74/" rel="alternate"/><published>2009-11-27T16:13:29Z</published><updated>2009-11-27T16:13:29Z</updated><author><name>Paul Ebermann</name><uri>https://sourceforge.net/u/epaul/</uri></author><id>https://sourceforge.net0a1cd3d49186f27b514d1d0e4db8d26a05b4515a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recently installed PHP-mode (the version with "Modified: 2008-11-04", with the manual for "1.5.0").&lt;br /&gt;
Since then the Emacs uses up to 100% CPU when viewing/editing an PHP file. (It usually starts at a low value like 20% and goes up, sometimes a bit down for a while, depending on the other programs I have.)&lt;/p&gt;
&lt;p&gt;A sample file is this one:&lt;br /&gt;
---&lt;br /&gt;
&amp;lt;?php&lt;/p&gt;
&lt;p&gt;?&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
But even an empty file shows the same symptoms, or the files I regularily work on.&lt;/p&gt;
&lt;p&gt;This is mostly when such a PHP file is in the active buffer, but sometimes also when it is more back in the buffer list. killing the buffer solves the problem, as sometimes also does burying the buffer.&lt;/p&gt;
&lt;p&gt;This should not be this way, I think.&lt;/p&gt;
&lt;p&gt;Here is my Emacs-info:&lt;br /&gt;
GNU Emacs 22.3.1 (i586-suse-linux-gnu, X toolkit, Xaw3d scroll bars)&lt;br /&gt;
of 2008-12-03 on build19&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PHP-mode uses up to 100% CPU</title><link href="https://sourceforge.net/p/php-mode/bugs/73/" rel="alternate"/><published>2009-11-27T15:59:33Z</published><updated>2009-11-27T15:59:33Z</updated><author><name>Paul Ebermann</name><uri>https://sourceforge.net/u/epaul/</uri></author><id>https://sourceforge.netffea7e92020ec7ccd08fe9c1cd58b30744a6c3f1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recently installed PHP-mode (the version with "Modified: 2008-11-04", with the manual for "1.5.0").&lt;br /&gt;
Since then the Emacs uses up to 100% CPU when viewing/editing an PHP file. (It usually starts at a low value like 20% and goes up, sometimes a bit down for a while, depending on the other programs I have.)&lt;/p&gt;
&lt;p&gt;A sample file is this one:&lt;br /&gt;
---&lt;br /&gt;
&amp;lt;?php&lt;/p&gt;
&lt;p&gt;?&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
But even an empty file shows the same symptoms, or the files I regularily work on.&lt;/p&gt;
&lt;p&gt;This is mostly when such a PHP file is in the active buffer, but sometimes also when it is more back in the buffer list. killing the buffer solves the problem, as sometimes also does burying the buffer.&lt;/p&gt;
&lt;p&gt;This should not be this way, I think.&lt;/p&gt;
&lt;p&gt;Here is my Emacs-info:&lt;br /&gt;
GNU Emacs 22.3.1 (i586-suse-linux-gnu, X toolkit, Xaw3d scroll bars)&lt;br /&gt;
of 2008-12-03 on build19&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>switch default case syntax marked as invalid</title><link href="https://sourceforge.net/p/php-mode/bugs/72/" rel="alternate"/><published>2009-09-03T12:51:00Z</published><updated>2009-09-03T12:51:00Z</updated><author><name>ingvar harjaks</name><uri>https://sourceforge.net/u/ingvar-harjaks/</uri></author><id>https://sourceforge.nete16b8e651b22bbaa55302c71d39ba5fe9384d4a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Example:&lt;br /&gt;
switch ($whatever) {&lt;br /&gt;
case 1: break;&lt;br /&gt;
default:&lt;br /&gt;
}&lt;br /&gt;
Then "default" is marked as red - invalid syntax.&lt;/p&gt;
&lt;p&gt;I'm using emacs 23 with php-mode 1.2.0 of 2008-11-04&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>find-tag-noselect doesn't exist in etags.el</title><link href="https://sourceforge.net/p/php-mode/bugs/71/" rel="alternate"/><published>2009-07-25T20:03:59Z</published><updated>2009-07-25T20:03:59Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2713fa098c33eebf2371676c77209c0594486064</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;find-tag-noselect is called but I can't find it anywhere. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>