Article View: gnu.epoch.misc
Article #1142icon-pixmap on new screens
From: Timothy Williams
Date: Tue, 08 Dec 1992 16:14
Date: Tue, 08 Dec 1992 16:14
66 lines
2983 bytes
2983 bytes
I'd like to setup epoch so when I create a new screen via C-z 4 C-f, I get
the same icon-pixmap a defined in my .emacs file by:
(epoch::icon-pixmap (expand-file-name "~/bitmaps/epoch.xbm"))
I got the following reply:
> From: fcaic@wbst845e.xerox.com (Frank Caico)
> In-Reply-To: Timothy Williams's message of Thu, 3 Dec 1992 10:54:11 PST <m0mxLgh-0001aSC@belvoir-ispd2.army.mil>
> Subject: icon-pixmap on new screens
>
> > From: williams@nvl.army.mil (Timothy Williams) Date: Thu, 3 Dec 1992
> > 10:54:11 PST X-Mailer: ELM [version 2.3 PL11]
> >
> > > > if you just want to do what you stated, put this in your .emacs file: >
> > > (epoch::icon-pixmap >
> > (expand-file-name"/usr/local/X11R5/include/bitmaps/epoch.xbm))
> >
> > I already have this in my .emacs file. When I run epoch, the first screen
> > does have the X11 bitmap, but new screens don't.
>
> OK thats right - do this.
>
> (defun set-epoch-icon ()
> (epoch::icon-pixmap
> (expand-file-name"/usr/local/X11R5/include/bitmaps/epoch.xbm)))
>
> (push 'set-epoch-icon *create-screen-alist-hook*)
>
I put this in my .emacs file and I got "Error in init" when I execute
epoch. My .emacs file has the epoch specific stuff inside
;; Editor-specific code follows. First epoch, then emacs code.
(defvar running-epoch (boundp 'epoch::version))
(if running-epoch
;; epoch-only stuff
(progn
.
.
.
(epoch::icon-pixmap (expand-file-name "~/bitmaps/epoch.xbm"))
)
I tried doing
(push '(epoch::icon-pixmap "/home/williams/bitmaps/epoch.xbm")
*create-screen-alist-hook*)
while in my initial epoch screen,
but when I created a new screen I got "Invalid funcion: (epoch::icon-pixmap
"/home/williams/bitmaps/epoch.xbm")
However, if I do
<ESC><ESC>(epoch::icon-pixmap "/home/williams/bitmaps/epoch.xbm")
in a new screen, when I iconify it I get my bitmap.
I know VERY little lisp, and the epoch manual doesn't mention the function
epoch::icon-pixmap. Besides a lisp manual, does there exist an emacs/epoch
programmer's manual?
Thanks in advance for any help.
--
Tim Williams COM: (703) 704-1685
Night Vision & Electro-Optics Directorate DSN: 654-1685
AMSEL-RD-NV-ISP (Williams) FAX: (703) 704-1705
Ft. Belvoir, VA 22060-5677 E-MAIL: williams@nvl.army.mil
Technical Details
Message-ID:
<m0mz7aH-0001aSC@belvoir-ispd2.army.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nvl.ARmy.MIL!williamsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,764b10a2ac7c63b5,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-12-08 12:39:13 PST Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nvl.ARmy.MIL!williams From: williams@nvl.ARmy.MIL (Timothy Williams) Subject: icon-pixmap on new screens Message-ID: <m0mz7aH-0001aSC@belvoir-ispd2.army.mil> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 8 Dec 1992 16:14:53 GMT Lines: 66