[Top][All Lists]

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

[AUCTeX-devel] Re: Some tool bar changes

From: Reiner Steib
Subject: [AUCTeX-devel] Re: Some tool bar changes
Date: Fri, 04 Aug 2006 17:02:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Thu, Aug 03 2006, Miguel V. S. Frasson wrote:

> On 8/2/06, Reiner Steib <address@hidden> wrote:
>> Hm, `next-error' also uses `:visible' and I seem to recall that
>> `toolbar-x.el' is supposed to skip incompatible properties.  Yes...
>> Probably we could use an additional ":enable (not TeX-PDF-mode)" to
>> disable (!= invisible) the icon for XEmacs.
> The better for both in this case is to use
>     (file :image "dvips"
>       :command (TeX-command "File" 'TeX-master-file -1)
>       :insert (not TeX-PDF-mode)
>       :help (lambda (&rest ignored)
>               (TeX-bar-help-from-command-list "File")))
> since TeX-PDF-mode already refreshes the toolbar on its hook and the
> :insert property would do its job correctly.
> For the next error button, if it is possible to refresh the toolbar
> everytime that the error flag is toggled, then we could use the
> :insert property as well, improving the toolbar in XEmacs.

Feel free to install this changes.

(I don't even have a working AUCTeX/XEmacs combination here to test.)

BTW, now that you're back, you might also at my recent changes WRT to
the tool bar.

See <>
and this ChangeLog entry:

| 2006-07-27  Reiner Steib  <address@hidden>
|       * tex-bar.el (TeX-bar-TeX-buttons, TeX-bar-LaTeX-buttons): Improve
|       wording.
|       * doc/changes.texi: Add bug fixes.  Add TeX tool bar.
|       * doc/auctex.texi (Running TeX and friends): Add
|       TeX-enable-toolbar.
|       * tex-bar.el: Copy of tool bar stuff from LaTeX-*.
|       (TeX-bar-TeX-buttons, TeX-bar-TeX-all-button-alists)
|       (TeX-bar-TeX-button-alist): New variables.
|       (TeX-bar-TeX-buttons, TeX-install-toolbar): New funtions.
|       (TeX-tool-bar-button-definitions): New custom group
|       * tex.el (TeX-enable-toolbar): New variable.
|       (TeX-maybe-install-toolbar): New function.
|       (TeX-plain-tex-mode): Add `TeX-maybe-install-toolbar'.

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

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