From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: w3m-el-snapshot installation Date: Sat, 26 Mar 2011 22:26:48 +0100 Message-ID: <874o6pwp2f.fsf@web.de> References: <8739mc3830.fsf@engels.HistoricalMaterialism.info> <87y64212kz.fsf@engels.HistoricalMaterialism.info> Reply-To: michael_heerdegen@web.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301174787 24665 80.91.229.12 (26 Mar 2011 21:26:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2011 21:26:27 +0000 (UTC) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 26 22:26:23 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3b02-0007RR-TC for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Mar 2011 22:26:23 +0100 Original-Received: from localhost ([127.0.0.1]:42481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3b02-0006Ox-9l for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Mar 2011 17:26:22 -0400 Original-Received: from [140.186.70.92] (port=40416 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3azh-0006Os-GI for help-gnu-emacs@gnu.org; Sat, 26 Mar 2011 17:26:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3azg-0001Yg-Bw for help-gnu-emacs@gnu.org; Sat, 26 Mar 2011 17:26:01 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:49413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3azg-0001Yc-09 for help-gnu-emacs@gnu.org; Sat, 26 Mar 2011 17:26:00 -0400 Original-Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 893F318A7A02C for ; Sat, 26 Mar 2011 22:25:57 +0100 (CET) Original-Received: from [89.204.153.138] (helo=snow) by smtp05.web.de with asmtp (WEB.DE 4.110 #2) id 1Q3azc-0003xF-00 for help-gnu-emacs@gnu.org; Sat, 26 Mar 2011 22:25:56 +0100 In-Reply-To: <87y64212kz.fsf@engels.HistoricalMaterialism.info> (Haines Brown's message of "Sat, 26 Mar 2011 08:35:56 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Sender: michael_heerdegen@web.de X-Provags-ID: V01U2FsdGVkX19MtljYfI8+Xh1w8iNHV77l06JXczgdtttIUyWB j0bN2Q1mOhgZBvWDPTTs+X7wcqfdTZR0K8gHJ6tW+rZiHzcmN7 7M14b72aroyToDGkKHFA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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:80451 Archived-At: Haines, > When I try to run the w3m command in an emacs session without any init > file, I get "[no match]". I assume you mean emacs -q. (for emacs -Q, this would be normal). > However, if in dired I do "! w3m", it does not > complain and displays a text file. Not sure of the significance of > this. Is there both an internal and an external w3m command? w3m is a stand-alone browser. "w3m-el" and "w3m-el-snapshot" provide the interface for using it from Emacs. > I find w3m .el files in /usr/share/emacs/site-list/w3m, but no relevant > files elsewhere, whether they be .el or .elc. Then at least the el source files were installed. I think it's normal that these are not used, since your Emacs searches for the byte compiled files in another directory. >> Use M-x locate-library w3m RET to check if your emacs uses the right >> w3m library. > > Interesting. "No library w3m in search path". I could not infer from the > w3m-el-shapshot package description that w3m requires libraries. In Emacs-speak, every Emacs Lisp file is called a "library". This just means that Emacs can't find any file named "w3m". If you get this for emacs -q, then indeed there's something wrong with your installation. > It seems that I have a broken w3m snapshot installation, for it did not > install libraries, and it did not create the /usr/share/emacs23/w3m > directory to hold elc files. Is that your impression as well? My impression is that the installation script (on my host this is "/usr/lib/emacsen-common/packages/install/w3m-el-snapshot") failed to byte compile the el source files, dunno why. I would suggest to purge the "w3m-el-snapshot" package (key _ in aptitude), and install it again. Please watch the output. Does it say something about byte-compiling? > I also find that I do not have w3m-el installed, although my impression > is that installing w3m-el-snapshot should install it, replacing an an > older version. However, w3m-el-snaphot does not specify what old version > is incompatible and what new version replaces it. In any case, I don't > have it. > > I installed w3m-el-snapshot with aptitude. Should I have first removed > the w3m and perhaps w3m-el packages before trying to install > w3m-el-snapshot? No. If you have successfully installed "w3m-el-snapshot" with aptitude, it should work. No matter what you did before etc. (It is only important that you use the original Debian installation of Emacs, and not a version you've built yourself.) "w3m-el-snapshot" depends on "w3m" and conflicts with "w3m-el" (at least for my Debian testing). That means, if you install "w3m-el-snapshot", "w3m" will be installed automatically, and "w3m-el" must be removed if it is currently installed. As far as I know, aptitude does not allow to perform any action that would break these rules, so you never get an inconsistent state of package dependencies. Regards, Michael.