VM

pixmaps go missing on Aquamacs

Bug #623436 reported by Uday Reddy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Low
Ulrich Müller

Bug Description

David Reitter reports (private email, 24 Aug):

I can see that a toolbar is visible, but it has got not items. Does VM
not provide a toolbar? if not, why not disable it? otherwise, this could be
an Aquamacs bug, so I'd be interested in checking this out. When the toolbar
is turned on, I'm getting an endless list of *Messages* messages:

Cannot find image file `/Users/dr/quit-dn.xpm'
...

Tags: build
Revision history for this message
Uday Reddy (reddyuday) wrote :
Revision history for this message
Uday Reddy (reddyuday) wrote :
Revision history for this message
Uday Reddy (reddyuday) wrote :

Alley Stoughton adds:

I create a subdirectory vm-pixmaps of the site-lisp directory, which
contains the pixmaps directory (including the subdirectory mime), and
then put

   (setq vm-toolbar-pixmap-directory "/Users/stough/Library/Application
Support/Aquamacs Emacs/site-lisp/vm-pixmaps")
   (setq vm-image-directory "/Users/stough/Library/Application Support/Aquamacs
Emacs/site-lisp/vm-pixmaps")

in my .emacs file.

Revision history for this message
Uday Reddy (reddyuday) wrote :

Ah, I see now that if they are put in .../site-lisp/pixmaps, then VM
doesn't need help in finding them.

Alley

Changed in vm:
assignee: nobody → Ulrich Müller (ulm)
Revision history for this message
Alley Stoughton (alley-stoughton) wrote :

Uday,

 > Your configure line says that you have specified a <prefix> directory:
 >
 > $ ./configure --with-emacs=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs --prefix=/Users/dr/Library/Preferences/Aquamacs Emacs --with-lispdir=/Users/dr/Library/Application Support/Aquamacs Emacs/bbdb
 >
 > The images are supposed to go in ${prefix}/share/vm or a pixmaps
 > subdirectory of it. Can you please check
 >
 > - if the pixmaps are there, and
 >
 > - in lisp/vm-autoloads.el, vm-configure-pixmapdir is defined to be
 > this directory.
 >
 > I am guessing that the spaces in your file names might not be ok with
 > all the tools used in the build.

You asked this question of David, but let me answer it for me.

I just ran configure with these arguments:

./configure --prefix=/Users/stough/Library/Application\ Support/Aquamacs\ Emacs/ --with-lispdir=/Users/stough/Library/Application\ Support/Aquamacs\ Emacs/site-lisp

and then did make and make install.

The pixmaps were indeed put in /Users/stough/Library/Application Support/Aquamacs Emacs/share/vm. But vm-autoloads.el
didn't take account of prefix; instead it's using /usr/local as the prefix.

The .info files are put in /Users/stough/Library/Application Support/Aquamacs Emacs/share/info. There wasn't already a dir
file in this directory, so I put one there, added the lines for vm and vm-pcrisis, and added this directory to my INFOPATH. (On the
Mac, making a change to an environment variable in a way so that applications will see the change is doable, but a little bit of
a pain. One edits the property list file ~/.MacOSX/environment.plist.)

The encoding and decoding binaries were put in /Users/stough/Library/Application Support/Aquamacs Emacs/bin. But this isn't on
the PATH when Aquamacs runs; I copied them by hand to /usr/local/bin.

Do you understand why the prefix of /Users/stough/Library/Application Support/Aquamacs Emacs/ didn't make it into
vm-autoloads.el, but did make it into the Makefile in pixmaps?

It would be nice to streamline the process regarding info and bin...

Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.1.93a → 8.1.94a
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.0b → 8.2.1
Uday Reddy (reddyuday)
no longer affects: vm/8.1.x
Uday Reddy (reddyuday)
Changed in vm:
status: Confirmed → Triaged
Uday Reddy (reddyuday)
Changed in vm:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.