From: Luca Ferrari <fluca1978@infinito.it>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: C-M-h not working properly for PHP class
Date: Tue, 2 Jul 2013 09:27:07 +0200 [thread overview]
Message-ID: <CAKoxK+4aHZEVuvc-8ft9OJTqCXu+EXUbc4nNakyTXRn88t+Jig@mail.gmail.com> (raw)
In-Reply-To: <CAKoxK+6WUkmCMz5TnoEw=+xhqgZTuRMxnB1uB6mQ_HP+n7mHZw@mail.gmail.com>
(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?
Thanks,
Luca
On Mon, Jul 1, 2013 at 3:32 PM, Luca Ferrari <fluca1978@infinito.it> wrote:
> On Sat, Jun 29, 2013 at 1:54 PM, Chris Van Dusen <cavandusen@gmail.com> wrote:
>> The built-in mark-defun works for me.
>
> Confirm: it works for me too, while c-mark-function does not work
> always on php source files: within classes it marks everything.
>
> Thanks,
> Luca
next prev parent reply other threads:[~2013-07-02 7:27 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 [this message]
2013-07-02 9:58 ` Chris Van Dusen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKoxK+4aHZEVuvc-8ft9OJTqCXu+EXUbc4nNakyTXRn88t+Jig@mail.gmail.com \
--to=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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).