From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Delente Newsgroups: gmane.emacs.help Subject: tex-mode-hook not working anymore? Date: Mon, 18 Mar 2013 12:49:29 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1363631740 11731 80.91.229.3 (18 Mar 2013 18:35:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 18:35:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 19:36:04 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 1UHeug-0006EB-2y for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 19:36:02 +0100 Original-Received: from localhost ([::1]:38842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeEI-0001Vr-Mn for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 13:52:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHYZI-0007kO-O9 for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 07:49:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHYZH-0006z6-FH for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 07:49:32 -0400 Original-Received: from mail-wg0-f52.google.com ([74.125.82.52]:54563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHYZH-0006wS-5n for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 07:49:31 -0400 Original-Received: by mail-wg0-f52.google.com with SMTP id 15so3937060wgd.7 for ; Mon, 18 Mar 2013 04:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=6RNg/a9AleO1FMbbRt+L5NSQE8aZ4kpw0DTtI2I4IdU=; b=ytwRkqdfCNHrvLuXqc1nqxuVOATjWnjyaNCYzIMoIsP0B4rF/z69xS2u+RGzylqjvS VjWD3X7LEkkXm3B2HA08lqx/xcyuLTLgOILQzYXtC2LjbVisiqVdHOnTKNt1elvEHnnU E3My7pNK/2fHrdMurmqi08DtCx6d9ajmPyFpmSD4e9JoVE6cuNwA6XS0CjrprM94Bf0j j8JggVnEMbo/jSIwA33ouc6gXPqvxa0hrPRpcy2Pt7vhhWnMt3fbsE8OLgBXxWuTdd89 tsCu0uFJU9UMEW21ufQUGhDMs6T1J4/JgX9RXn4f8vEBo9gI0QHw6Hmw7Zy4m8T+iUd3 zybw== X-Received: by 10.180.74.131 with SMTP id t3mr5995467wiv.23.1363607369871; Mon, 18 Mar 2013 04:49:29 -0700 (PDT) Original-Received: by 10.194.39.167 with HTTP; Mon, 18 Mar 2013 04:49:29 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.52 X-Mailman-Approved-At: Mon, 18 Mar 2013 13:50:58 -0400 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:89587 Archived-At: Hello. This is with GNU Emacs 24.2.1. I have set tex-mode-hook to add keyboard shortcuts to custom elisp functions in my .emacs: (add-hook 'tex-mode-hook '(lambda () (define-key tex-mode-map [?\C-,] 'insere-une-virgule) (define-key tex-mode-map [?\M-\(] 'comment-region) ...etc. )) However, it stopped working today. When I hit one of my shortcuts, I get "undefined" in the minibuffer. How can I restore it? Thanks. -- F. Delente