emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SES local variables to define printers


From: Stefan Monnier
Subject: Re: SES local variables to define printers
Date: Tue, 28 May 2013 00:57:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> - the user would call some ses-define-local-printer interactive command,
>   and would enter some symbol and body 

Not even.  He could just use the normal `p' (ses-read-cell-printer)
command and enter a lambda expression.  In response SES would offer to
give it a name and ask the user what name to use.

> - the symbol to function would be saved in some hashmap or alist, or
>   somthing like that, and saved in some special slot in the sheet, like
>   at the end of the sheet where you can column count and row count, or
>   like in a file local variable (second is probably the simplest, let us
>   not re-invent the wheel).

I'd add it to the file as a (ses-define-local-printer ..) call alongside
the various (ses-cell ...) calls.  But if you want to use a file-local
variable, that's fine as well (tho there might be size-limit issues
with using file-local variables).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]