First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 168550
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ulrich Müller <ulm@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
diff Proposed changes to chess-2.0_beta5-r1.ebuild patch Ulrich Müller 2007-02-27 11:20 0000 760 bytes Details | Diff
51chess-gentoo.el Site-init file 51chess-gentoo.el text/plain Ulrich Müller 2007-02-27 11:21 0000 598 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 168550 depends on: Show dependency tree
Show dependency graph
Bug 168550 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-27 11:19 0000
emerge app-emacs/chess-2.0_beta5-r1 installs chess's pixmaps and sounds in
subdirectories of /usr/share/emacs/site-lisp. These directories are
unnecessarily added by Emacs to its load-path.

Proposed fix: Pixmaps should go into /usr/share/pixmaps/chess, sounds into
/usr/share/sounds/chess.

Another issue is that the site-init file does an unconditional "(require
'chess)" where an "autoload" would be sufficient. See commentary in chess.el:

;; To just get a chessboard up, put the following in your .emacs file:
;;   (add-to-list 'load-path "<the path to Emacs Chess>")
;;   (autoload 'chess "chess" "Play a game of chess" t)

Find attached my proposed changes to the ebuild and a new site-init file. It
applies (and I have tested it) with chess-2.0_beta5, too, in case you want to
maintain a separate stable branch.

------- Comment #1 From Ulrich Müller 2007-02-27 11:20:20 0000 -------
Created an attachment (id=111397) [edit]
Proposed changes to chess-2.0_beta5-r1.ebuild

------- Comment #2 From Ulrich Müller 2007-02-27 11:21:14 0000 -------
Created an attachment (id=111398) [edit]
Site-init file 51chess-gentoo.el

------- Comment #3 From Christian Faulhammer 2007-02-27 12:39:24 0000 -------
(In reply to comment #0)
> Find attached my proposed changes to the ebuild and a new site-init file. It
> applies (and I have tested it) with chess-2.0_beta5, too, in case you want to
> maintain a separate stable branch.

 Thanks.  Fixed in CVS.  I won't do the changes for the stable branch, it was
broken for a long time and I wait until Emacs 22 goes stable.

First Last Prev Next    No search results available      Search page      Enter new bug