unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Eglen <stephen@anc.ed.ac.uk>
Subject: Looking for advice on writing Emacs/XEmacs toolbar support
Date: Fri, 30 Apr 2004 15:58:03 +0100	[thread overview]
Message-ID: <16530.27003.939615.996956@bushmills.inf.ed.ac.uk> (raw)


Does anyone here have any expertise/advice on writing elisp to add
portable (for both Emacs 21 and XEmacs 21) toolbar support to an Emacs
application?  I'm hoping to add a toolbar to the "Emacs Speaks
Statitics" package
(http://www.analytics.washington.edu/statcomp/projects/ess/).  The
code in Emacs 21 (tool-bar.el) looks clear enough, but when I looked a
while ago, XEmacs had a different mechanism for adding a
tool-bar. Since ESS can run on both Emacs and XEmacs, portability is
important.

One option I'm considering is to write a (hopefully) small package
that will abstract away the differences between the Emacs and XEmacs
implementation, which can then be used by other packages.  One
starting point in this direction might be the code from ProofGeneral
(http://proofgeneral.inf.ed.ac.uk) which has code for setting up
toolbars in both Emacs and XEmacs.

I realise this does not directly impact on development of Emacs
itself, so please send replies directly to me rather than the list.

Thanks,
Stephen

             reply	other threads:[~2004-04-30 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-30 14:58 Stephen Eglen [this message]
2004-04-30 19:07 ` Looking for advice on writing Emacs/XEmacs toolbar support Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16530.27003.939615.996956@bushmills.inf.ed.ac.uk \
    --to=stephen@anc.ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).