bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] Re: 11.84; old latex-toolbar can't be used


From: Reiner Steib
Subject: [Bug-AUCTeX] Re: 11.84; old latex-toolbar can't be used
Date: Mon, 28 Jan 2008 20:09:38 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

[ The following message is a courtesy copy of an article that has
  been posted to news:gmane.emacs.auctex.bugs as well. ]

On Mon, Jan 28 2008, Uwe Brauer wrote:

>>>>>> "Reiner" == Reiner Steib <address@hidden> writes:
>
>    > On Sun, Jan 27 2008, Uwe Brauer wrote:
>    >> Debugger entered--Lisp error: (malformed-list 
> "/usr/lib/xemacs-21.4.19/etc/")
>    >> locate-file("tex.xpm" "/usr/lib/xemacs-21.4.19/etc/" "")
>    >> locate-library("tex.xpm" t "/usr/lib/xemacs-21.4.19/etc/")
>    >> toolbarx-find-image("tex")
>    >> toolbarx-xemacs-image-properties("tex")
>
>    > What it the value of `toolbarx-image-path'?  Did you set it manually,
>    > or did the AUCTeX (or it's configure script) set it?
>
> The latter. Here is the value, it is a list!

I'm puzzled about this.  The backtrace says that it passes a single
directory ("/usr/lib/xemacs-21.4.19/etc/) instead of a list of
directories (like `load-path') to `locate-library'.  `locate-library'
passes it to `locate-file'.  AUCTeX only uses `locate-library' in
`toolbarx-find-image' were the path comes from `toolbarx-image-path':

(defvar toolbarx-image-path
  (nconc
   (delq nil (mapcar #'(lambda(x)
                         (and (member
                               (file-name-nondirectory
                                (directory-file-name x))
                               '("toolbar" "images"))
                              ;;(file-directory-p x)
                              x))
                     load-path))
   (list data-directory))
  "This is where toolbarx finds its images.")

> A clarification. I am talking here about the old
> ;;; latex-toolbar.el --- XEmacs LaTeX toolbar

I am aware of this.  But your backtrace didn't give any hint to me
that the problem is related to `latex-toolbar.el'.  If it would have,
I would have proposed to complain to it's maintainer, not to AUCTeX.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]