all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages
Date: Thu, 1 Oct 2009 16:18:27 +0200	[thread overview]
Message-ID: <ec36f5050910010718h441ba1c1u9bd018fac9882970@mail.gmail.com> (raw)
In-Reply-To: <ec36f5050910010654s624f703dpea442d11c1b3e48d@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2742 bytes --]

(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!
>
>

[-- Attachment #2: Type: text/html, Size: 3793 bytes --]

  parent reply	other threads:[~2009-10-01 14:18 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 23:36 In emacs 23 compile-mode doesn't recognize (c)perl error messages LanX
2009-10-01  0:21 ` LanX
2009-10-01  8:57   ` Peter Dyballa
     [not found]     ` <ec36f5050910010654s624f703dpea442d11c1b3e48d@mail.gmail.com>
2009-10-01 14:18       ` LanX [this message]
2009-10-01 18:01       ` Peter Dyballa
     [not found]         ` <ec36f5050910011149t13417c4ew7b87f0f7a530c385@mail.gmail.com>
     [not found]           ` <ec36f5050910011152l757db6awf5083c40837563ab@mail.gmail.com>
2009-10-01 19:42             ` Peter Dyballa
2009-10-01 20:01               ` LanX
     [not found]             ` <mailman.7873.1254426168.2239.help-gnu-emacs@gnu.org>
2009-10-01 20:45               ` Ilya Zakharevich
2009-10-01 23:25                 ` Peter Dyballa
     [not found]                 ` <mailman.7883.1254439549.2239.help-gnu-emacs@gnu.org>
2009-10-03  0:25                   ` LanX
2009-10-08 12:41                     ` LanX
2009-10-09  2:09                       ` LanX
2009-10-09  8:42                         ` Peter Dyballa
     [not found]                         ` <mailman.8389.1255077768.2239.help-gnu-emacs@gnu.org>
2009-10-09 12:56                           ` LanX
2009-10-09 13:58                             ` Peter Dyballa
2009-10-09 14:06                               ` LanX
2009-10-09 15:34                                 ` LanX
2009-10-09 22:15                   ` Ilya Zakharevich
2009-10-09 22:54                     ` Lennart Borgman
2009-10-10  8:22                     ` Peter Dyballa
     [not found]                     ` <mailman.8476.1255163312.2239.help-gnu-emacs@gnu.org>
2009-10-10 11:43                       ` LanX
     [not found]                     ` <mailman.8462.1255128901.2239.help-gnu-emacs@gnu.org>
2009-10-10  1:53                       ` LanX
2009-10-30  3:51                         ` Joseph Brenner
2009-10-30  6:04                           ` Stefan Monnier
2009-10-31  1:03                             ` Lennart Borgman
     [not found]                             ` <mailman.9761.1256951018.2239.help-gnu-emacs@gnu.org>
2009-11-03  2:01                               ` Joseph Brenner
2009-11-03  2:44                                 ` Lennart Borgman
2009-11-03  2:11                             ` Joseph Brenner
2009-11-03  2:48                               ` Lennart Borgman
2009-10-15  8:31                       ` Ilya Zakharevich
2009-10-15 16:17                         ` LanX
2009-10-15 23:05                           ` Ilya Zakharevich
2009-10-16  1:23                             ` LanX
2009-10-16 23:36                               ` Ilya Zakharevich
2009-10-17  0:31                                 ` LanX
2009-10-17  7:45                                   ` Ilya Zakharevich
2009-10-19 22:18                                     ` LanX
2009-10-24  6:05                                       ` Ilya Zakharevich
2009-10-24 12:55                                         ` LanX
2009-10-24 18:19                                           ` perl TeXinfo docs emacs Ilya Zakharevich
2009-10-24 19:37                                             ` LanX
2009-10-24 19:41                                               ` LanX
2009-10-25  1:57                                               ` Ilya Zakharevich
2009-10-25 20:28                                                 ` LanX
2009-10-17  2:00                                 ` In emacs 23 compile-mode doesn't recognize (c)perl error messages LanX
2009-10-17  7:48                                   ` Ilya Zakharevich
2009-10-19 22:03                                     ` LanX
2009-10-20 23:45                                       ` Ilya Zakharevich
2009-10-16 15:01                             ` LanX
2009-10-16 15:12                               ` LanX
2009-10-16 23:39                               ` Ilya Zakharevich
     [not found]       ` <mailman.7868.1254420309.2239.help-gnu-emacs@gnu.org>
2009-10-01 20:41         ` Ilya Zakharevich
2009-10-12 22:14 ` LanX
2009-10-13 19:18 ` LanX
2009-10-15  8:24   ` Ilya Zakharevich
2009-10-15  9:09   ` Ilya Zakharevich
2009-10-15 14:44     ` LanX
2009-10-15 15:52       ` LanX
2009-10-15 23:17         ` Ilya Zakharevich
2009-10-15 23:09       ` Ilya Zakharevich
2009-10-16  0:46         ` LanX

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ec36f5050910010718h441ba1c1u9bd018fac9882970@mail.gmail.com \
    --to=lanx.perl@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.