help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages


From: LanX
Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages
Date: Thu, 1 Oct 2009 16:18:27 +0200

(This is a fwd to the mailinglist)

Well,did you try it out?

I've spend hours to isolate the problem without any success!

Starting emacs23 with

> emacs-snapshot -debug-init -no-site-file  tst.pl &

doesn't work, while taking emacs22 instead, does highlight the bugs after calling "M-x mode-compile"!

The config .emacs links to debug.el which only (auto)loads the newest versions of mode-compile and cperl-mode.

--------------------------------
lanx@nc10-ubuntu:~$ ll .emacs
lrwxrwxrwx 1 lanx lanx 23 2009-10-01 15:28 .emacs -> .emacs.d/debug/debug.el
lanx@nc10-ubuntu:~$ cat .emacs


(message "loading debug.el")

;--------------------
;        load-path
;--------------------
(normal-top-level-add-to-load-path
 '("~/.emacs.d/debug"))


;--------------------
;    cperl-mode
;--------------------

(load "~/.emacs.d/debug/cperl-mode.el")


;--------------------
;    mode-compile
;--------------------

(autoload 'mode-compile "mode-compile"
  "Command to compile current buffer file based on the major mode" t)

(add-to-list 'auto-mode-alist '("\\.pl\\'" . cperl-mode))




(message "leaving debug.el")lanx@nc10-ubuntu:~$
lanx@nc10-ubuntu:~$ ll .emacs.d/debug/
insgesamt 588
-r-------- 1 lanx lanx 402932 2009-10-01 15:16 cperl-mode.el
-rw-r--r-- 1 lanx lanx    520 2009-10-01 15:22 debug.el
-rw-r--r-- 1 lanx lanx 101476 2009-06-04 14:46 mode-compile.el
-rw-r--r-- 1 lanx lanx  74288 2009-10-01 13:58 mode-compile.elc
lanx@nc10-ubuntu:~$
--------------------------------


mode-compiling a bash file works without problems.





BTW: deleting .emacs and starting with

> emacs-snapshot -debug-init -no-site-file  tst.pl &

leads to a buffer *Local Variables* with the Message
--------------------------------
The local variables list in mode-compile.el
contains values that may not be safe (*).

Do you want to apply it?  You can type
y  -- to apply the local variables list.
n  -- to ignore the local variables list.
!  -- to apply the local variables list, and permanently mark these
      values (*) as safe (in the future, they will be set automatically.)

    outline-regexp : ";; @+"
  * eval : (outline-minor-mode 1)
------------------------------------

But no matter which option I chose the problem remains!



So what am I supposed to try now???


Please note: This is specific to cperl-mode and perl-mode. Bash and python-files compile as expected.


2009/10/1 Peter Dyballa <Peter_Dyballa@web.de>


Am 01.10.2009 um 02:21 schrieb LanX:

The emacs 23 is a snapshot installation  parallel to my "normal" emacs
22, does this lead to conflicts?


No. Check load-path. Maybe re-organise the init files.

--
Greetings

 Pete

Indentation?! I will show you how to indent when I indent your skull!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]