unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: elisp help needed
Date: Thu, 02 Mar 2006 21:50:48 +0900	[thread overview]
Message-ID: <b4m3bi1ggd3.fsf@jpl.org> (raw)
In-Reply-To: 87irqygkzs.fsf@laptop.rdc1.home

>>>>> In <87irqygkzs.fsf@laptop.rdc1.home> Robert D. Crawford wrote:

> I have the following lines in my .emacs file:

> (remove-hook 'w3m-after-cursor-move-hook
>      #'w3m-print-this-url)

> and for some reason, to get it to eval I have to do it by hand every
> time I restart emacs.  I *think* this might be the only code that is not
> being evaled, but I do not know any way to be certain.

I guess it is eval'd before loading w3m.elc.  If so, nothing
will happen.  The best way is to put such things into the
~/.emacs-w3m.el file.  Please consult the emacs-w3m Info manual.
Here's an extract:

2.6 Minimal settings to run emacs-w3m
=====================================
[...]
`Startup File'
     We recommend using the `~/.emacs-w3m' file (which is the default
     value of `w3m-init-file') if you need to twiddle some emacs-w3m
     variables.  This file is similar to `~/.emacs', but is read when
     emacs-w3m starts.  Note that some options shouldn't be modified
     there, for example, `w3m-command'.

  parent reply	other threads:[~2006-03-02 12:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 16:58 elisp help needed Robert D. Crawford
2006-03-01 21:37 ` RD
2006-03-02 11:36   ` Robert D. Crawford
2006-03-02 13:28     ` elisp help needed [solved] Robert D. Crawford
2006-03-04 12:26     ` elisp help needed Tim Cross
2006-03-04 13:57       ` Robert D. Crawford
2006-03-02 12:50 ` Katsumi Yamaoka [this message]
2006-03-02 13:34   ` Robert D. Crawford
  -- strict thread matches above, loose matches on Subject: below --
2003-11-26 22:59 Elisp " Tassilo Horn
2003-11-27  6:29 ` Eli Zaretskii
     [not found] ` <mailman.693.1069918173.399.help-gnu-emacs@gnu.org>
2003-11-27  8:48   ` Tassilo Horn

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=b4m3bi1ggd3.fsf@jpl.org \
    --to=yamaoka@jpl.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).