all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Van Dusen <cavandusen@gmail.com>
To: Luca Ferrari <fluca1978@infinito.it>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: C-M-h not working properly for PHP class
Date: Tue, 2 Jul 2013 04:58:59 -0500	[thread overview]
Message-ID: <8DFD9FD1-E5D4-400E-93AA-42C19DE4E2C4@gmail.com> (raw)
In-Reply-To: <CAKoxK+4aHZEVuvc-8ft9OJTqCXu+EXUbc4nNakyTXRn88t+Jig@mail.gmail.com>


On Jul 2, 2013, at 2:27 AM, Luca Ferrari <fluca1978@infinito.it> 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 https://github.com/ejmr/php-mode
(not sure if this is the same one from melba) uses mark-defun exactly because c-mark-defun 
doesn't recognize classes.

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

hth,
Chris.




  reply	other threads:[~2013-07-02  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28  7:11 C-M-h not working properly for PHP class Luca Ferrari
2013-06-29 11:54 ` Chris Van Dusen
     [not found]   ` <CAKoxK+6WUkmCMz5TnoEw=+xhqgZTuRMxnB1uB6mQ_HP+n7mHZw@mail.gmail.com>
2013-07-02  7:27     ` Luca Ferrari
2013-07-02  9:58       ` Chris Van Dusen [this message]
2013-07-03  6:23         ` Luca Ferrari
2013-07-02 10:57       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8DFD9FD1-E5D4-400E-93AA-42C19DE4E2C4@gmail.com \
    --to=cavandusen@gmail.com \
    --cc=fluca1978@infinito.it \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.