all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: andres.ramirez <rrandresf@gmail.com>
To: emacs-devel@gnu.org
Subject: [PATCH] improving ses-jump for accepting cell names as lowercase
Date: Tue, 08 Mar 2022 04:39:07 +0000	[thread overview]
Message-ID: <86ilspf47o.fsf@gmail.com> (raw)

[-- 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

             reply	other threads:[~2022-03-08  4:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08  4:39 andres.ramirez [this message]
2022-03-09 14:09 ` [PATCH] improving ses-jump for accepting cell names as lowercase 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ilspf47o.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.