From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philippe Delavalade Newsgroups: gmane.emacs.help Subject: Re: perl mode Date: Thu, 3 Oct 2013 18:19:47 +0200 Message-ID: <20131003161947.GA3715@messier31> References: <524c0c3f$0$2267$426a34cc@news.free.fr> <524c5484$0$2328$426a34cc@news.free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380817216 7081 80.91.229.3 (3 Oct 2013 16:20:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 16:20:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 18:20:19 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 1VRldN-0002rG-HB for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 18:20:13 +0200 Original-Received: from localhost ([::1]:44250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRldN-0001j7-0H for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 12:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRld6-0001hF-8U for help-gnu-emacs@gnu.org; Thu, 03 Oct 2013 12:20:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRlcz-0006uJ-Vu for help-gnu-emacs@gnu.org; Thu, 03 Oct 2013 12:19:56 -0400 Original-Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:45706 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRlcz-0006uA-PN for help-gnu-emacs@gnu.org; Thu, 03 Oct 2013 12:19:49 -0400 Original-Received: from messier31 ([92.143.80.200]) by mwinf5d06 with ME id YgKn1m00M4KJu6L03gKnjX; Thu, 03 Oct 2013 18:19:48 +0200 Original-Received: by messier31 (Postfix, from userid 1000) id 249B47FD5B; Thu, 3 Oct 2013 18:19:47 +0200 (CEST) Content-Disposition: inline In-Reply-To: <524c5484$0$2328$426a34cc@news.free.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.125 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:93816 Archived-At: Le mercredi 02 octobre à 19:14, Damien Wyart a écrit : > * Philippe Delavalade in gnu.emacs.help: > > So I add the following line, based on the manual > > (setq cperl-default-style "C++") > > > I have no error or warning when entering emacs but it does not work. > > You should use something like this: > > (add-hook 'cperl-mode-hook (lambda() (cperl-set-style "C++"))) Many thanks, it's fine now ; I mean : fine for me :-) -- Ph. Delavalade