From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Damien Wyart Newsgroups: gmane.emacs.help Subject: Re: perl mode Date: Wed, 02 Oct 2013 19:14:43 +0200 Organization: Serveur de News Free Message-ID: <524c5484$0$2328$426a34cc@news.free.fr> References: <524c0c3f$0$2267$426a34cc@news.free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1380734117 14349 80.91.229.3 (2 Oct 2013 17:15:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2013 17:15:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 02 19:15:22 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 1VRQ1A-0006Xx-0E for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Oct 2013 19:15:20 +0200 Original-Received: from localhost ([::1]:37127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRQ19-0005B5-IS for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Oct 2013 13:15:19 -0400 X-Received: by 10.180.208.67 with SMTP id mc3mr12677855wic.1.1380734084954; Wed, 02 Oct 2013 10:14:44 -0700 (PDT) Original-Path: usenet.stanford.edu!gn7no683250wib.1!news-out.google.com!bb9ni24569wib.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp3-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 Original-Lines: 12 Original-NNTP-Posting-Date: 02 Oct 2013 19:14:44 CEST Original-NNTP-Posting-Host: 213.41.244.197 Original-X-Trace: 1380734084 news-4.free.fr 2328 213.41.244.197:52983 Original-X-Complaints-To: abuse@proxad.net Original-Xref: usenet.stanford.edu gnu.emacs.help:201529 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:93799 Archived-At: * 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++"))) -- DW