From xemacs-m  Thu Aug 14 20:18:07 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA18888
	for <xemacs-beta@xemacs.org>; Thu, 14 Aug 1997 20:18:05 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.6/8.8.6/Debian/GNU) id SAA02883;
	Thu, 14 Aug 1997 18:18:50 -0700
To: XEmacs BETA <xemacs-beta@xemacs.org>
Subject: [bug] `edit-toolbar.el'
References: <4276.871565027@kocrsw12>
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Thu_Aug_14_18:18:49_1997-1"
Content-Transfer-Encoding: 7bit
From: karlheg@inetarena.com (Karl M. Hegbloom)
Date: 14 Aug 1997 18:18:50 -0700
In-Reply-To: Mike Scheidler's message of "Thu, 14 Aug 1997 08:23:47 -0500"
Message-ID: <87hgcs5jlx.fsf@bittersweet.inetarena.com>
Lines: 58
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta17) - "Bucharest"

--Multipart_Thu_Aug_14_18:18:49_1997-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "mts" == Mike Scheidler <c23mts@eng.delcoelect.com> writes:

    mts> [1 <text/plain>] Here's an updated version of edit-toolbar.el
    mts> that I've been working on recently.  There are still some
    mts> things on the TODO list, but this implements most of the
    mts> basic functionality.

 There's still a problem with `edit-toolbar'.  It asks for filenames
of glyph images, and make the toolbar fine.  But when it saves it, it
writes unreadable specifiers into the .toolbar file.

 Attached below is the .toolbar file created after I press 's',
following do this:

 Press 'a'... as the first glyph, I typed:

/usr/X11R6/include/X11/pixmaps/mini-calc.xpm

 ... and pressed enter several times, to use only that one pixmap for
all states.  For the function, I typed "calc", and for helpstring
"Calculator".

 The button works, but the saved file looks like this:


--Multipart_Thu_Aug_14_18:18:49_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=".toolbar"
Content-Transfer-Encoding: 7bit

(set-specifier default-toolbar '([toolbar-file-icon toolbar-open t "Open a file"] [toolbar-folder-icon toolbar-dired t "View directory"] [toolbar-disk-icon toolbar-save t "Save buffer"] [:style 2D] [toolbar-cut-icon toolbar-cut t "Kill region"] [toolbar-copy-icon toolbar-copy t "Copy region"] [toolbar-paste-icon toolbar-paste t "Paste from clipboard"] [:style 2D] [toolbar-spell-icon toolbar-ispell t "Spellcheck"] [toolbar-compile-icon toolbar-compile t "Compile"] [toolbar-debug-icon toolbar-debug t "Debug"] [:style 2D] [(#<glyph (buffer) #<image-specifier global=(((x) . [xpm :color-symbols (("backgroundToolBarColor" . "burlywood3") ("background" . #<color-specifier global="#ffe2bc" fallback=(((tty) . []) ((x) . "white")) 0x175>) ("foreground" . #<color-specifier global="black" fallback=(((tty) . []) ((x) . "black")) 0x173>)) :file "/usr/X11R6/include/X11/pixmaps/mini-calc.xpm" ...]) ((tty) . [string :data "/usr/X11R6/include/X11/pixmaps/mini-calc.xpm"])) fallback=((nil . [noth!
ing])) 0x13e6>0x13e5>) calc t "Calculator"] [toolbar-mail-icon toolbar-mail t "Mail"] [toolbar-news-icon toolbar-news t "News"] nil [toolbar-info-icon toolbar-info t "Information"]))
--Multipart_Thu_Aug_14_18:18:49_1997-1
Content-Type: text/plain; charset=US-ASCII


 This .toolbar will not load when XEmacs is restarted.

 I think that code needs to be added to write a form into .toolbar
that makes a glyph-set be created before the toolbar is defined...
I'm not sure what the Complete and Right Solution is.

 (now back to the lispref I go.)



--Multipart_Thu_Aug_14_18:18:49_1997-1
Content-Type: text/plain; charset=US-ASCII

mailto:karlheg@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1  Linux 2.0.30+parport AMD K5 PR-133


--Multipart_Thu_Aug_14_18:18:49_1997-1--

