all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "David Schneider" <goedelsch@gmail.com>
Subject: add-hook problem, file mode specification error?
Date: Thu, 27 Jul 2006 22:00:17 -0400	[thread overview]
Message-ID: <fc9dc85b0607271900m5a3b4509i59ca4ee6524fea9d@mail.gmail.com> (raw)

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:00 UTC|newest]

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

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=fc9dc85b0607271900m5a3b4509i59ca4ee6524fea9d@mail.gmail.com \
    --to=goedelsch@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.