From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6748: 24.0.50; eshell cannot do ls with ansi colors after Wanderlust has been loaded Date: Thu, 02 Sep 2010 02:24:58 -0400 Message-ID: References: <46931.99503.qm@web53206.mail.re2.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283409598 9527 80.91.229.12 (2 Sep 2010 06:39:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 06:39:58 +0000 (UTC) To: 6748-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 02 08:39:56 2010 Return-path: Envelope-to: geb-bug-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 1Or3Sl-0005iE-TP for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Sep 2010 08:39:56 +0200 Original-Received: from localhost ([127.0.0.1]:54470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or3Sl-0000Bf-8K for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Sep 2010 02:39:55 -0400 Original-Received: from [140.186.70.92] (port=36148 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or3Sf-0000BZ-7R for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2010 02:39:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or3Sd-000635-VI for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2010 02:39:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59699) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or3Sd-000630-T7 for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2010 02:39:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Or3DO-0008Sy-Li for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2010 02:24:02 -0400 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Sep 2010 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6748 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6748@debbugs.gnu.org, rgm@gnu.org Original-Received: via spool by 6748-done@debbugs.gnu.org id=D6748.128340859932532 (code D ref 6748); Thu, 02 Sep 2010 06:24:02 +0000 Original-Received: (at 6748-done) by debbugs.gnu.org; 2 Sep 2010 06:23:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or3Ch-0008Sf-91 for submit@debbugs.gnu.org; Thu, 02 Sep 2010 02:23:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or3Cg-0008SZ-4d for 6748-done@debbugs.gnu.org; Thu, 02 Sep 2010 02:23:18 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Or3EJ-0007Ty-D7; Thu, 02 Sep 2010 02:24:59 -0400 X-Spook: Yukon JPL Noriega Commecen IRA North Korea e-bomb digicash X-Ran: ]\ (Daniel Clemente's message of "Wed\, 28 Jul 2010 06\:10\:36 -0700 \(PDT\)") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 02 Sep 2010 02:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39894 Archived-At: Daniel Clemente wrote: > 1. Install package wl-beta in Debian testing. It's version 2.15.9+0.20100525-3 > 2. Use the .emacs I provide below > 3. Run emacs (latest version from Bazaar from 28.m7.2010) > 4. It can't run ls with colors and shows a backtrace (shown below) > 5. Comment the (require 'wl) and run again > 6. Now it runs ls correctly, and with color This is a bug in Wanderlust. Specifically, wl-demo does (eval-when-compile ... (defalias-maybe 'make-extent 'ignore) ...) In your instructions, you add the directory with the uncompiled .el files to load-path, rather than the compiled .elc files (Debian of course keeps them in a separate location). Thus you load the uncompiled wl.el. This requires wl-demo, and gets the uncompiled wl-demo.el. Thus it defines make-extent as an alias for ignore. make-extent is an XEmacs function and should not be defined in Emacs. The fact that is is defined confuses ansi-color-make-extent into thinking it is running on XEmacs, and doing the wrong thing. If you instead add the directory with the compiled lisp files to your load-path, /usr/share/emacs23/site-lisp/wl, you will not see this error. Please report this to whoever maintains Wanderlust. > .emacs: > ------------------------- > (add-to-list 'load-path "/usr/share/emacs/site-lisp/wl/wl") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/semi") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/wl/elmo/") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/flim/") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/apel/") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/wl/utils") > (require 'wl) > > (setq debug-on-error t) > (setq debug-on-signal t) > > (eshell-command "ls --color=auto")