tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: What is the gain with EMACS_VERSIONS_ACCEPTED ?
Thank you, John and David,
(Is attached patch is enough for emacs24/25 or shall I import
all the changes at
https://github.com/knu/elscreen
?
---
mef%NetBSD.org@localhost
Makoto Fujiwara,
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/elscreen/Makefile,v
retrieving revision 1.22
diff -u -u -r1.22 Makefile
--- Makefile 13 Feb 2015 14:05:07 -0000 1.22
+++ Makefile 7 Jul 2015 13:45:28 -0000
@@ -3,7 +3,7 @@
DISTNAME= elscreen-1.4.6
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/ \
ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/old/
@@ -32,6 +32,7 @@
# Emacs 24 or later is not supported. Try wip/elscreen-current
# instead.
EMACS_VERSIONS_ACCEPTED= \
+ emacs24 emacs25 \
emacs23 emacs23nox \
emacs22 emacs22nox \
emacs21 emacs21nox \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/misc/elscreen/distinfo,v
retrieving revision 1.6
diff -u -u -r1.6 distinfo
--- distinfo 17 Sep 2011 12:02:17 -0000 1.6
+++ distinfo 7 Jul 2015 13:45:28 -0000
@@ -30,3 +30,4 @@
SHA1 (elscreen-wl-0.8.0.tar.gz) = 7735a26755a138354ec169ed85a71d4a5245fa6d
RMD160 (elscreen-wl-0.8.0.tar.gz) = e7a9dacc9ff3513e721848ceeaf8516f008dc724
Size (elscreen-wl-0.8.0.tar.gz) = 1921 bytes
+SHA1 (patch-elscreen_el) = c2b0373107d7f44702a9eb53271ff9bc24ed2a59
Index: patches/patch-elscreen_el
===================================================================
RCS file: patches/patch-elscreen_el
diff -N patches/patch-elscreen_el
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-elscreen_el 7 Jul 2015 13:45:28 -0000
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Try to support emacs24 or later, without this patch, you will get:
+ string-to-number: Symbol's value as variable is void: last-command-char
+
+--- elscreen.el~ 2007-12-30 00:12:05.000000000 +0900
++++ elscreen.el 2015-07-07 22:21:52.000000000 +0900
+@@ -984,7 +984,7 @@
+ (defun elscreen-jump ()
+ "Switch to specified screen."
+ (interactive)
+- (let ((next-screen (string-to-number (string last-command-char))))
++ (let ((next-screen (string-to-number (string last-command-event))))
+ (if (and (<= 0 next-screen) (<= next-screen 9))
+ (elscreen-goto next-screen))))
+ (defalias 'elscreen-jump-0 'elscreen-jump)
Home |
Main Index |
Thread Index |
Old Index