[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nethack-el-devel] nethack-el and CVS emacs
From: |
Istvan Marko |
Subject: |
[Nethack-el-devel] nethack-el and CVS emacs |
Date: |
Sun, 09 Mar 2003 23:24:41 -0800 |
While I am at it, here are two problems I came across while using
nethack-el with recent Emacs builds from CVS. Both are related to
recent gamegrid.el versions:
1. gamegrid-initialize-display sets cursor-type to nil. Actually this
is not necessarily a bug but I like the highlight on @ that the
active cursor gives. Workaround:
diff -u -b -B -r1.83 nethack-api.el
--- nethack-api.el 9 Mar 2003 04:25:28 -0000 1.83
+++ nethack-api.el 10 Mar 2003 07:06:29 -0000
@@ -511,7 +511,8 @@
(dotimes (j nh-map-width)
(insert-image nh-empty-tile))
(insert (propertize "\n" 'face 'nethack-map-tile-face))))
- (gamegrid-init (make-vector 256 nil))
+ (let (cursor-type)
+ (gamegrid-init (make-vector 256 nil)))
(gamegrid-init-buffer nh-map-width
nh-map-height
? )))))
2. If gamegrid-use-glyphs is set to t (which is the default) an
overlay is placed on the whole buffer:
>From gamegrid-init-buffer:
...
(when (eq gamegrid-display-mode 'glyph)
(overlay-put (make-overlay (point-min) (point-max))
'face gamegrid-face))
...
This prevents regular nethack-el color faces from working.
Workaround: (setq gamegrid-use-glyphs nil)
--
Istvan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nethack-el-devel] nethack-el and CVS emacs,
Istvan Marko <=