From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: M-x cperl-indent-region: why error "no comment syntax is defined"? Date: 4 Apr 2006 14:19:56 -0400 Organization: PANIX -- Public Access Networks Corp. Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1144176042 3594 80.91.229.2 (4 Apr 2006 18:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2006 18:40:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 04 20:40:41 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQqS9-0006Hv-UZ for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 20:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQqS9-0006IG-Bi for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 14:40:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!panix3.panix.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.perl.misc Original-Lines: 50 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader2.panix.com 1144174797 27812 166.84.1.3 (4 Apr 2006 18:19:57 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 4 Apr 2006 18:19:57 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:138542 comp.lang.perl.misc:579412 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34161 Archived-At: (I cross-post this in hope that eg ilya or other guru might see it sooner. Plus ANY respondees will see posts from ALL respondees. (yes, I know there is a religious-issue about cross-posting :-( )) M-x cperl-indent-region: why error "no comment syntax is defined"? ----- Heading-lines of /.../cvs-emacs--6apr05/lisp/progmodes/cperl-mode.el: ;;; cperl-mode.el --- Perl code editing commands for Emacs ;; Copyright (C) 1985,86,87,91,92,93,94,95,96,97,98,99,2000,03,2004,2005 ;; Free Software Foundation, Inc. ;; Author: Ilya Zakharevich and Bob Olson ;; Maintainer: Ilya Zakharevich ;; Keywords: languages, Perl ;; This file is part of GNU Emacs. (I could find no version-number in the file, but the line-numbers via egrep -n could indicate the version): ---------------- an egrep on 'comment-start': ./progmodes/cperl-mode.el:1466: (make-local-variable 'comment-start) ./progmodes/cperl-mode.el:1467: (setq comment-start "# ") ./progmodes/cperl-mode.el:1472: (make-local-variable 'comment-start-skip) ./progmodes/cperl-mode.el:1473: (setq comment-start-skip "#+ *") ./progmodes/cperl-mode.el:1654: (let ((comment-start "#")) ./progmodes/cperl-mode.el:1661: (let ((comment-start "#")) ---- FWIW (probably nothing), I not-much-later got this error: File mode specification error: (void-variable mode-require-final-newline) keyboard-quit: Quit cperl-mode: Symbol's value as variable is void: mode-require-final-newline [2 times] Mark set Thanks, David