all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: "rrandresf@gmail.com" <rrandresf@gmail.com>,
	Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: RE: [PATCH] improving ses-jump for accepting cell names as lowercase
Date: Thu, 10 Mar 2022 12:30:46 +0000	[thread overview]
Message-ID: <PAXPR06MB8093F70FA8801B76EC998581840B9@PAXPR06MB8093.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <CAPAOBV8G1xtD7dxEOexM8kozfnUPEPnhxDO5nFTB9Q71vBNbhA@mail.gmail.com>

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

Hello,

Please note that cells can be renamed and you have auto-completion on renamed cells.

Concerning the letters case, maybe it would be even more flexible if the user had some sort of hook function to pre-process cell names that are not in the renamed cell list, then you could set this function to upcase, but some other setting could allow to enter some coordinate.

Rahter than applying your patch, I can update the code in this way.
   V.
________________________________
De : Vincent Belaïche <vincent.belaiche@gmail.com>
Envoyé : jeudi 10 mars 2022 13:26
À : Vincent Belaïche <vincent.b.1@hotmail.fr>
Objet : Re: [PATCH] improving ses-jump for accepting cell names as lowercase

Le mer. 9 mars 2022 à 16:20, andrés ramírez <rrandresf@gmail.com> a écrit :
>
> Hi. Lars. My comments below.
>
> >>>>> "Lars" == Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>     Lars> andres.ramirez <rrandresf@gmail.com> writes:
>     >> This patch improves ses-jump a little bit.
>
>     Lars> [...]
>
>     >> - (user-error "Invalid cell name") - (list (intern s))))) + (user-error "Empty cell name") +
>     >> (list (intern (upcase s))))))
>
>     Lars> I've never used ses before -- do cells have only upper-case names?
>
> This is my gut feeling. I started using ses a couple of year ago. It
> is really handy having a networked spreadsheet software :). Org-mode
> tables are handy for simple things But for a little bit complex
> calculations ses-mode is paramount.
>
> This code comes from 2002. I think It should be around emacs19 or
> emacs20. At that time it was just the TUI for emacs. Probably at that
> time ses-jump was not so useful as it could be today. I could be
> wrong. But nowadays We have 'display-line-numbers'. So When activating
> display-line-numbers it is simpler to use ses-jump as we have a
> line-number indicator at the left of the frame.
>
> Back to your question. In the past lotus-1-2-3 used to have just
> upper-case names on rows. So probably the answer is Yes.
>
> JIC I am going to Cc the author and the maintainer. Perhaps They could
> tell us about it. I have skimmed the code and have not found the answer.
>
> Also I am sharing a couple of images for giving You a better idea:
> ,---- [ cli ]
> | http://0x0.st/oPDb.png
> `----
>
> ,---- [ lucid ]
> | http://0x0.st/oPDc.png
> `----
>
> Best Regards

[-- Attachment #2: Type: text/html, Size: 3789 bytes --]

  parent reply	other threads:[~2022-03-10 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=PAXPR06MB8093F70FA8801B76EC998581840B9@PAXPR06MB8093.eurprd06.prod.outlook.com \
    --to=vincent.b.1@hotmail.fr \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=rrandresf@gmail.com \
    /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.