all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.belaiche@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: "Vincent Belaïche" <vincentb1@users.sourceforge.net>,
	"Kevin Ryde" <user42_kevin@yahoo.com.au>,
	26169@debbugs.gnu.org
Subject: bug#26169: 25.1; ses.el string cell recalculate message
Date: Wed, 26 Aug 2020 13:54:19 +0200	[thread overview]
Message-ID: <CAPAOBV8930uUBkrd2+hgYB8fhmybwiPs2RKz+9+ULCKPLkJ9VQ@mail.gmail.com> (raw)
In-Reply-To: <87364a4gjy.fsf@gnus.org>

After some thought the extended format string seems better to me, it
could be some separate package as that sort of need is not SES
specific, and SES would check if the package is installed or not and
use extended format strings if the package is installed.
That would be a parameter in the sheet whether is uses extended format
strings. So when you share a sheet using extended format with somebody
else that do not have a extended formats, they would receive some
warning that they need to install the package.
  V.

Le mar. 25 août 2020 à 22:27, Lars Ingebrigtsen <larsi@gnus.org> a écrit :
>
> Vincent Belaïche <vincent.belaiche@gmail.com> writes:
>
> > Or we could have some extended format string, like this:
> >
> > "%?n{%.7g%}%?s{%s%}%?*{%S%}"
> >
> > where whatever is between %?xxxx{ and %} is conditioned by some
> > predicate xxxx that can be n for numberp, s for stringp, and * for
> > "none of those at the same level", and some parser would compile this
> > format string into
> >
> > (cond
> >    ((numberp x) (format "%.7g" x))
> >    ((stringp x) (format "%s" x))
> >    (t (format "%S" x))
>
> Hm...  or it could just be an alist like
>
> ((numberp "%.7g")
>  (stringp "%s")
>  (t "%S"))
>
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-08-26 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-19  5:02 bug#26169: 25.1; ses.el string cell recalculate message Kevin Ryde
2020-08-20 16:22 ` Lars Ingebrigtsen
2020-08-24 14:20   ` Vincent Belaïche
2020-08-24 14:50     ` Vincent Belaïche
2020-08-25 20:27       ` Lars Ingebrigtsen
2020-08-26 11:54         ` Vincent Belaïche [this message]
2020-08-27 13:33           ` Lars Ingebrigtsen

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=CAPAOBV8930uUBkrd2+hgYB8fhmybwiPs2RKz+9+ULCKPLkJ9VQ@mail.gmail.com \
    --to=vincent.belaiche@gmail.com \
    --cc=26169@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=user42_kevin@yahoo.com.au \
    --cc=vincentb1@users.sourceforge.net \
    /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.