[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-M-h not working properly for PHP class

From: Chris Van Dusen
Subject: Re: C-M-h not working properly for PHP class
Date: Tue, 2 Jul 2013 04:58:59 -0500

On Jul 2, 2013, at 2:27 AM, Luca Ferrari <> wrote:

> (Ops...sorry this should have been sent to the list)
> I need a little help to fix the problem with the php-mode. I tried to
> do the following:
> (add-hook 'php-mode-hook
>          (lambda ()
>            (local-set-key  (kbd "C-M h") 'mark-defun ) ) )
> but when I load the php-mode and ask (C-h k) to what is bound C-M h
> Emacs says it is still bound to c-mark-defun.
> What am I missing?

Which php-mode are you using?  The one available from
(not sure if this is the same one from melba) uses mark-defun exactly because 
doesn't recognize classes.

I've found this version of php-mode to be the most complete (and maintained).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]