all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wenbinye@gmail.com
Subject: Re: add-hook problem, file mode specification error?
Date: 27 Jul 2006 19:44:53 -0700	[thread overview]
Message-ID: <1154054693.447166.145140@i3g2000cwc.googlegroups.com> (raw)
In-Reply-To: <mailman.4569.1154052024.9609.help-gnu-emacs@gnu.org>

What is the result after C-h v perl-mode-hook?

Are you change to cperl-mode?
David Schneider wrote:
> Some time ago I asked how to modify the compile command in emacs, and
> several people were kind enough to help me out with the code:
>
>   (add-hook 'perl-mode-hook
>           (lambda ()
>             (set (make-local-variable 'compile-command)
>                  (concat "perl -w " (buffer-file-name)))))
>
> which I greatly appreciated.  Recently the command has stopped
> working, and I haven't been able to figure out why - perhaps I
> accidentally modified my .emacs file or some other configuration
> issue.    The message  file mode specification error comes up when
> loading my .emacs file - I have not tried to isolate that yet.  I can
> create a compile command for c, but not perl, is there a way to view
> the 'hooks' that are in place for a mode, will add-hook return
> anything to indicate failure?

       reply	other threads:[~2006-07-28  2:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4569.1154052024.9609.help-gnu-emacs@gnu.org>
2006-07-28  2:44 ` wenbinye [this message]
2006-07-28  2:00 add-hook problem, file mode specification error? David Schneider
2006-07-28 15:28 ` Kevin Rodgers

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=1154054693.447166.145140@i3g2000cwc.googlegroups.com \
    --to=wenbinye@gmail.com \
    /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.