[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SES case insensitive ses-jump git-pushed
From: |
andrés ramírez |
Subject: |
Re: SES case insensitive ses-jump git-pushed |
Date: |
Tue, 05 Apr 2022 03:33:42 +0000 |
>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
[...]
Stefan> I also see an error when I run `make test/lisp/ses-tests`.
--- /home/user/downloads/opt_clone/emacs/lisp/ses.el.bak 2022-04-04
21:28:04.618636759 -0500
+++ /home/user/downloads/opt_clone/emacs/lisp/ses.el 2022-04-04
21:46:58.978592129 -0500
@@ -113,7 +113,8 @@
:type 'hook)
(defcustom ses-jump-cell-name-function 'upcase
- "Function to process the string passed to function ‘ses-jump’. Set it to
'identity to make no change.
+ "Function to process the string passed to function ‘ses-jump’.
+Set it to 'identity to make no change.
Set it to 'upcase to make cell name change case isensitive.
May return
@@ -124,8 +125,8 @@
:type 'function)
(defcustom ses-jump-prefix-function 'ses-jump-prefix
- "Function that takes the prefix argument passed to function ‘ses-jump’. It
may return the same
-sort of thing as ‘ses-jump-cell-name-function’."
+ "Function that takes the prefix argument passed to function ‘ses-jump’.
+It may return the same sort of thing as ‘ses-jump-cell-name-function’."
:group 'ses
:type 'function)
@@ -2252,7 +2253,8 @@
;; Redisplay and recalculation
;;----------------------------------------------------------------------------
(defun ses-jump-prefix (prefix-int)
- "Convert an integer into a (ROW . COL), by numbering cells starting from 0
from top left to bottom right, going row by row."
+ "Convert an integer into a (ROW . COL), by numbering cells
+starting from 0 from top left to bottom right, going row by row."
(and (>= prefix-int 0)
(< prefix-int (* ses--numcols ses--numrows))
(cons (/ prefix-int ses--numcols) (% prefix-int ses--numcols))))
diff -u /home/user/downloads/opt_clone/emacs/test/lisp/ses-tests.el.bak
/home/user/downloads/opt_clone/emacs/test/lisp/ses-tests.el
--- /home/user/downloads/opt_clone/emacs/test/lisp/ses-tests.el.bak
2022-04-04 22:18:44.688517086 -0500
+++ /home/user/downloads/opt_clone/emacs/test/lisp/ses-tests.el 2022-04-04
22:19:05.801849579 -0500
@@ -22,6 +22,7 @@
;;; Code:
(require 'ert)
+(require 'ert-x)
(require 'ses)
;; Silence byte-compiler.
Diff finished. Mon Apr 4 22:21:23 2022
Diff finished. Mon Apr 4 22:21:23 2022
Best Regards