From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/0 Description of problem: The code in site-start.d/php-mode-init.el uses a bad regexp for auto-mode-alist, unlike the code in php-mode.el. What it does is match the *regexp* ".php" causing any file name that contains any character and then "php" to load in php mode. The pattern should escape the dot and have an end-of-text anchor: "\\.php\\'". Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. open any file like foophp.c Actual Results: File got opened in php mode. Expected Results: Should have been C mode. Additional info: I mailed once saying that there are many examples of bad elisp code in the RedHat rpms.
Fixed in emacs-21.2-11