GNU bug report logs - #26169
25.1; ses.el string cell recalculate message

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Sun, 19 Mar 2017 05:03:01 UTC

Severity: minor

Found in version 25.1

Full log


Message #17 received at 26169 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vincent Belaïche <vincent.belaiche <at> gmail.com>
Cc: Vincent Belaïche <vincentb1 <at> users.sourceforge.net>,
 Kevin Ryde <user42_kevin <at> yahoo.com.au>, 26169 <at> debbugs.gnu.org
Subject: Re: bug#26169: 25.1; ses.el string cell recalculate message
Date: Tue, 25 Aug 2020 22:27:29 +0200
Vincent Belaïche <vincent.belaiche <at> 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




This bug report was last modified 4 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.