pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/xemacs-packages On 21.4, line-move only takes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4db79b19ad1
branches:  trunk
changeset: 458432:f4db79b19ad1
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Wed Sep 15 21:06:42 2021 +0000

description:
On 21.4, line-move only takes one argument.
Patch lisp/xemacs-base/simple-more.el to accomodate.

diffstat:

 editors/xemacs-packages/Makefile                                      |   4 +-
 editors/xemacs-packages/distinfo                                      |   3 +-
 editors/xemacs-packages/patches/patch-lisp_xemacs-base_simple-more.el |  32 ++++++++++
 3 files changed, 36 insertions(+), 3 deletions(-)

diffs (64 lines):

diff -r cdf0385e5453 -r f4db79b19ad1 editors/xemacs-packages/Makefile
--- a/editors/xemacs-packages/Makefile  Wed Sep 15 19:06:24 2021 +0000
+++ b/editors/xemacs-packages/Makefile  Wed Sep 15 21:06:42 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.78 2021/07/21 16:22:50 hauke Exp $
+# $NetBSD: Makefile,v 1.79 2021/09/15 21:06:42 hauke Exp $
 
 DISTNAME=      xemacs-packages
 PKGNAME=       xemacs-packages-1.18
-PKGREVISION=   7
+PKGREVISION=   8
 
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_XEMACS:=${XEMACSPKG_PATH}/}
diff -r cdf0385e5453 -r f4db79b19ad1 editors/xemacs-packages/distinfo
--- a/editors/xemacs-packages/distinfo  Wed Sep 15 19:06:24 2021 +0000
+++ b/editors/xemacs-packages/distinfo  Wed Sep 15 21:06:42 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2019/07/31 14:04:40 hauke Exp $
+$NetBSD: distinfo,v 1.27 2021/09/15 21:06:42 hauke Exp $
 
 SHA1 (xemacs-packages/Sun-1.19-pkg.tar.gz) = de24d0bf78e753e733138c6a2bec0ecf414511e0
 RMD160 (xemacs-packages/Sun-1.19-pkg.tar.gz) = 5f6bec6276f8b5a59ea6532f12c06a474571a274
@@ -520,3 +520,4 @@
 SHA1 (patch-lisp_vc_vc-git.el) = 8b5aa902cc56a256c9c2210b49437bf7929f6e30
 SHA1 (patch-lisp_vc_vc.el) = ec13ecf02b41dca5bb80afc63ee4fb9f0b283a45
 SHA1 (patch-lisp_w3_url.el) = 551e11abffe6df7693003ca2aad5238fbd6c0116
+SHA1 (patch-lisp_xemacs-base_simple-more.el) = 20ccf1afff6b69f33209f179e96822cce8f25a26
diff -r cdf0385e5453 -r f4db79b19ad1 editors/xemacs-packages/patches/patch-lisp_xemacs-base_simple-more.el
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xemacs-packages/patches/patch-lisp_xemacs-base_simple-more.el     Wed Sep 15 21:06:42 2021 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-lisp_xemacs-base_simple-more.el,v 1.1 2021/09/15 21:06:42 hauke Exp $
+
+On 21.4, line-move only takes one argument.
+
+--- lisp/xemacs-base/simple-more.el.orig       2015-12-14 21:30:40.000000000 +0000
++++ lisp/xemacs-base/simple-more.el
+@@ -40,7 +40,11 @@ To ignore intangibility, bind `inhibit-p
+ 
+     ;; Move by lines, if ARG is not 1 (the default).
+     (if (/= arg 1)
+-      (line-move (1- arg) 'noerror))
++      (if (and (featurep 'xemacs)
++               (<= emacs-major-version 21)
++               (<  emacs-minor-version 5)))
++          (line-move (1- arg))
++        (line-move (1- arg) 'noerror))
+ 
+     ;; Move to beginning-of-line, ignoring fields and invisible text.
+     (skip-chars-backward "^\n")
+@@ -78,7 +82,11 @@ If point reaches the beginning or end of
+       (let ((newpos
+            (save-excursion
+              (let ((goal-column 0))
+-               (line-move arg 'noerror)
++               (if (and (featurep 'xemacs)
++                        (<= emacs-major-version 21)
++                        (<  emacs-minor-version 5))
++                   (line-move arg)
++                 (line-move arg 'noerror))
+                (and
+                 ;; With bidi reordering, we may not be at bol,
+                 ;; so make sure we are.



Home | Main Index | Thread Index | Old Index