[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] auctex 11.82 and carbon xemacs
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] auctex 11.82 and carbon xemacs |
Date: |
Fri, 17 Mar 2006 18:55:57 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
* Thomas A. Schmitz (2006-03-17) writes:
>> Then it is probably due to preview-latex adding its button to the tool
>> bar. Can you provoke the error by inserting
>>
>> (let ((tb (cdadar (specifier-spec-list default-toolbar 'global))))
>> (set-specifier default-toolbar (append tb (list (car tb)))
>> (current-buffer)))
>>
>> into the *scratch* buffer and typing `C-j' with point after the last
>> parenthesis?
>
> OK, when I do that, I get this output:
>
> (let ((tb (cdadar (specifier-spec-list default-toolbar 'global))))
> (set-specifier default-toolbar (append tb (list (car tb)))
> (current-buffer)))
> ([toolbar-file-icon toolbar-open t "Open a file"] [toolbar-folder-
No error, I assume? Do you get an additional "Open" button in the
tool bar?
What happens if you evaluate the following statement in a freshly
started XEmacs?
(progn
(require 'preview)
(require 'prv-xemacs)
(let ((icon (vector (list (preview-filter-specs preview-tb-icon-specs))
#'preview-at-point t "foo"))
(tb (cdadar (specifier-spec-list default-toolbar 'global))))
(set-specifier default-toolbar (append tb (list icon)) (current-buffer))))
In my case (recent CVS XEmacs 21.5) there is no error and a new button
appears in the tool bar. It's empty, however, because the respective
image cannot be found. I don't know if this is just my installation
which is broken or if other people can confirm this. The following
hackish code makes a button with an image appear in my case:
(progn
(require 'preview)
(require 'prv-xemacs)
(let* ((preview-datadir (concat (file-name-directory
(locate-library "preview"))
"../../etc/auctex"))
(icon (vector (list (preview-filter-specs preview-tb-icon-specs))
#'preview-at-point t "foo"))
(tb (cdadar (specifier-spec-list default-toolbar 'global))))
(set-specifier default-toolbar (append tb (list icon)) (current-buffer))))
You can evaluate the above with `C-x C-e' instead of `C-j' because the
return value is not so important at the moment.
--
Ralf
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, (continued)
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Thomas A. Schmitz, 2006/03/17
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/16
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Thomas A. Schmitz, 2006/03/17
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/16
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Thomas A. Schmitz, 2006/03/16
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/17
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Thomas A. Schmitz, 2006/03/17
- Re: [AUCTeX] auctex 11.82 and carbon xemacs,
Ralf Angeli <=
- Message not available
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/18
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Thomas A. Schmitz, 2006/03/18
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/20
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, David Kastrup, 2006/03/18
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/20
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, David Kastrup, 2006/03/18
- Re: [AUCTeX] auctex 11.82 and carbon xemacs, Ralf Angeli, 2006/03/18