From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.help Subject: Re: elisp help needed Date: Thu, 02 Mar 2006 21:50:48 +0900 Organization: Emacsen advocacy group Message-ID: References: <87irqygkzs.fsf@laptop.rdc1.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141418897 1165 80.91.229.2 (3 Mar 2006 20:48:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 20:48:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 21:48:17 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFHC8-0002Gt-Hx for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 21:48:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFHC7-0004u5-Eq for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 15:48:11 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-X-Trace: individual.net WbKK/The1/+MHzVQ/BKY1wCIHE6KDPSnWRLw8havqXbOaE99E= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:m1kWg0foWbycaC9tmo+H8x9vuyY= Original-Xref: shelby.stanford.edu gnu.emacs.help:137871 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33504 Archived-At: >>>>> 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'.