[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: |
Sat, 25 May 2013 21:17:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Here is an example "example.ses", if you open it with the current SES it
> will generate an error "Invalid printer" while it used to work --- don't
> remember with which version, but that sort of thing was working one year
> or so ago.
It doesn't work with any of Debian's Emacs-24.1, Emacs-23.4, or
Emacs-22.3. It must have been something different.
> If you take my patch (attached as ses.el.gz) and configure
> ses-enable-local-variables you will have desired printing.
How 'bout:
You add to your .emacs
(defun my-checked-time (x)
(let ((calc-float-format '(fix 1)) (calc-hms-format "%sh %sm %ss"))
(math-format-value x)))
(defun my-tbc-time (x)
(let ((calc-float-format '(fix 1))(calc-hms-format "?? %sh %sm %ss"))
(math-format-value x)))
and then you can use those printer functions in your ses files.
It's simple and safe, and it works without any changes.
Stefan
- SES local variables to define printers, Vincent Belaïche, 2013/05/23
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/24
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/24
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/24
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/25
- Re: SES local variables to define printers,
Stefan Monnier <=
- RE: SES local variables to define printers, Vincent Belaïche, 2013/05/26
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/26
- RE: SES local variables to define printers, Vincent Belaïche, 2013/05/28
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/30
- Re: SES local variables to define printers, Vincent Belaïche, 2013/05/30
- RE: SES local variables to define printers, Vincent Belaïche, 2013/05/30