From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: C-M-h not working properly for PHP class Date: Tue, 2 Jul 2013 09:27:07 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372750041 13708 80.91.229.3 (2 Jul 2013 07:27:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2013 07:27:21 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 09:27:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Utuzi-00027o-KY for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 09:27:22 +0200 Original-Received: from localhost ([::1]:50864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utuzh-0001m8-TS for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 03:27:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtuzV-0001k6-9a for help-gnu-emacs@gnu.org; Tue, 02 Jul 2013 03:27:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtuzU-0003de-9Z for help-gnu-emacs@gnu.org; Tue, 02 Jul 2013 03:27:09 -0400 Original-Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:41821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtuzU-0003dQ-4J for help-gnu-emacs@gnu.org; Tue, 02 Jul 2013 03:27:08 -0400 Original-Received: by mail-we0-f169.google.com with SMTP id n57so4066043wev.0 for ; Tue, 02 Jul 2013 00:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=DRUhUuGOEFyaV9KwwW4YM6RkN5rfG0ml6J53y/0oUTo=; b=zd0IzI68PkpbdIcJ4oc2JjhKvYhTPiKTBtW7Qmfdo4Ggca9TS28LyrVMRy1SRfKfoe ZoLmEGV9C2PtN1hy3BAp3CsQARlkofwzk6iTJpGY1b+nVwwV1b5rsyqainAq+TE65IzW 8LnRK2i/UkhmFUoqidIAuyHv30/XgFGarRcpKZm6MYJNqpoX0kYZQAWLoxYewyYm6UsD imhiuIS2ETdAel/csxyTmZoVhrrIBbv8K4s2/rBJ8rjkPczmVJv4HrmLFxGpu2VniZjn sFhRgwpO12FTiyMDg9QpD0+gmVZKYHPmJQbBqk+HY6iitaaR/UyQ8S1p7wyXP0OPrvfP flaA== X-Received: by 10.181.13.106 with SMTP id ex10mr14432423wid.16.1372750027051; Tue, 02 Jul 2013 00:27:07 -0700 (PDT) Original-Received: by 10.194.8.39 with HTTP; Tue, 2 Jul 2013 00:27:07 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: Q39LsgUKmj6kmrlpLlKFB7l9H_Y X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91901 Archived-At: (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 wrote: > On Sat, Jun 29, 2013 at 1:54 PM, Chris Van Dusen 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