all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: ses
Date: Mon, 04 Jan 2010 10:34:56 -0500	[thread overview]
Message-ID: <jwvmy0t51z2.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.585.1262458799.18930.help-gnu-emacs@gnu.org

> Got a minute to explain an SES spreadsheet?

You may get a bit disappointed: SES is a very primitive spreadsheet, so
some of the features you're asking for simply don't exist.

>   - name cell A `Date' and right align it?

Not sure what you mean by "name".  You can set its value to "Date" (a
string) or to `Date' (a symbol), so that's what will be printed at
that spot.  Depending on whether you use a string or a symbol, it will
either be right aligned or left-aligned, so, the answer to your question
may be:

   ' D a t e RET

>   - name cell A1  `Expense' and left align it?

That would then be:

   " E x p e n s e RET

>     (or can one do both of the above in two lines in cell A?)

No, SES doesn't handle multi-line cells.

>   - enter today's date in cell B?

There's no such automatic facility in SES.  You'll have to define
a corresponding function for that.

>   - make column A auto-fit and data right-aligned beneath the
>     right-aligned column name?

There's no "auto-fit" feature.
Numbers are right-aligned, so the alignment might just work.  Note that
the alignment is fairly naive, e.g. it doesn't know how to align on the
decimal ".".

>   - (assuming I can then add subsequent dates by inserting new columns
>     in the future,) name cell C `Subtotal' and enter a formula for that
>     column that adds the amounts of the row?

Something like:

  = (apply 'ses+ (ses-range A2 A20)) RET


-- Stefan


       reply	other threads:[~2010-01-04 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.585.1262458799.18930.help-gnu-emacs@gnu.org>
2010-01-04 15:34 ` Stefan Monnier [this message]
2010-01-05 17:05   ` ses Enrico Indiogine
2010-01-05 18:43   ` ses Sean Sieger
2010-01-02 18:59 ses Sean Sieger
2010-01-02 19:07 ` ses Sean Sieger

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=jwvmy0t51z2.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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.