all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] improving ses-jump for accepting cell names as lowercase
@ 2022-03-08  4:39 andres.ramirez
  2022-03-09 14:09 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: andres.ramirez @ 2022-03-08  4:39 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 62 bytes --]

Hi.

This patch improves ses-jump a little bit.

Best Regards

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ses --]
[-- Type: text/x-patch, Size: 708 bytes --]

diff -u /home/user/downloads/opt_clone/emacs/lisp/ses.el /home/user/downloads/opt_clone/emacs/lisp/ses.el.bak
--- /home/user/downloads/opt_clone/emacs/lisp/ses.el	2022-02-19 16:12:38.757109243 +0000
+++ /home/user/downloads/opt_clone/emacs/lisp/ses.el.bak	2022-03-08 04:28:00.653553511 +0000
@@ -2245,8 +2245,8 @@
 					       ses--named-cell-hashmap)
 				      names)))))
 		 (if (string= s "")
-		     (user-error "Invalid cell name")
-		   (list (intern s)))))
+		     (user-error "Empty cell name")
+		   (list (intern (upcase s))))))
   (let ((rowcol (ses-sym-rowcol sym)))
     (or rowcol (error "Invalid cell name"))
     (if (eq (symbol-value sym) '*skip*)

Diff finished.  Tue Mar  8 04:28:36 2022

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-18 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08  4:39 [PATCH] improving ses-jump for accepting cell names as lowercase andres.ramirez
2022-03-09 14:09 ` Lars Ingebrigtsen
2022-03-09 15:20   ` andrés ramírez
     [not found]     ` <CAPAOBV8G1xtD7dxEOexM8kozfnUPEPnhxDO5nFTB9Q71vBNbhA@mail.gmail.com>
2022-03-10 12:30       ` Vincent Belaïche
2022-03-11 13:32         ` andrés ramírez
2022-03-18 18:42           ` Vincent Belaïche

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.