GNU bug report logs -
#14748
emacs: ses.el: ses is not self-documenting
Previous Next
Reported by: era <era+emacsbugs <at> iki.fi>
Date: Sat, 29 Jun 2013 08:15:02 UTC
Severity: minor
Tags: patch
Found in version 24.3
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14748 in the body.
You can then email your comments to 14748 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
era+emacsbugs <at> iki.fi, bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Sat, 29 Jun 2013 08:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
era <era+emacsbugs <at> iki.fi>
:
New bug report received and forwarded. Copy sent to
era+emacsbugs <at> iki.fi, bug-gnu-emacs <at> gnu.org
.
(Sat, 29 Jun 2013 08:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 24.3
Severity: minor
Tags: patch
X-Debbugs-Cc: era+emacsbugs <at> iki.fi
As a long-time user of Emacs, but a total newcomer to SES, I had been
hoping the barrier to entry for new users would have been a little
lower. I was basically unable to do anything useful at all until I had
browsed the better parts of the manual (which as such is good, but
again, not very geared towards new users) way into the "advanced"
chapter.
I have collected some notes in
http://unix.stackexchange.com/questions/81105/ but at this point, my
proposal for a quick and unintrusive fix would amount to the following;
1. Create an (autoloading) alias "spreadsheet-mode" so that ses-mode is
easier to discover (included below).
2. Expand the ses-mode documentation string.
My proposal follows in-line, but please accept this as (a draft for) a
patch against lisp/ses.el starting at line 1888 of the current trunk
version.
;;;###autoload
(defalias 'spreadsheet-mode 'ses-mode)
;;;###autoload
(defun ses-mode ()
"Major mode for Simple Emacs Spreadsheet.
When you invoke SES in a new buffer, it is divided into cells
which you can enter data into. You can navigate the cells with
the arrow keys and add more cells with the tab key. The contents
of these cells can be numbers, text, or Lisp expressions. (To
enter text, enclose it in double quotes.)
In an expression, you can use cell coordinates to refer to the
contents of another cell. For example, you can sum a range of
cells with `(+ A1 A2 A3)'. There are specialized functions like
`ses+' (addition for ranges with empty cells), `ses-average' for
performing calculations on cells, and `ses-range' and `ses-select'
for extracting ranges of cells.
Each cell also has a print function which controls how it is
displayed.
Each SES buffer is divided into a print area and a data area.
Normally, you should simply use SES to look at and manipulate the
print area, and let SES manage the data area outside the visible
region.
See \"ses-example.ses\" (in `data-directory') for an example
spreadsheeet and the Info documentation `(emacs) Ses.'
Notice the separate keymaps for cell editing mode and print mode
specifications, below.
Key definitions:
\\{ses-mode-map}
These key definitions are active only in the print area (the visible
part):
\\{ses-mode-print-map}
These are active only in the minibuffer, when entering or editing a
formula:
\\{ses-mode-edit-map}"
--
If this were a real .signature, it would suck less. Well, maybe not.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Tue, 02 Jul 2013 15:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14748 <at> debbugs.gnu.org (full text, mbox):
era wrote:
> 2. Expand the ses-mode documentation string.
Thank you. Would you be willing to complete an FSF copyright assignment
so that we can apply this patch to Emacs?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Thu, 10 Oct 2013 12:21:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 14748 <at> debbugs.gnu.org (full text, mbox):
On Tue, Jul 2, 2013, at 18:54, Glenn Morris wrote:
> era wrote:
> > 2. Expand the ses-mode documentation string.
> Thank you. Would you be willing to complete an FSF copyright assignment
> so that we can apply this patch to Emacs?
For the record, I finally got the final remaining paperwork from my
employer's solicitor yesterday. Depending on how reliable paper mail is
in your country (I hope the USPS is not affected by the furlough?) you
should have it in a couple of weeks.
/* era */
--
If this were a real .signature, it would suck less. Well, maybe not.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Thu, 10 Oct 2013 14:27:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 14748 <at> debbugs.gnu.org (full text, mbox):
>> > 2. Expand the ses-mode documentation string.
>> Thank you. Would you be willing to complete an FSF copyright assignment
>> so that we can apply this patch to Emacs?
> For the record, I finally got the final remaining paperwork from my
> employer's solicitor yesterday. Depending on how reliable paper mail is
> in your country (I hope the USPS is not affected by the furlough?) you
> should have it in a couple of weeks.
Great, thank you,
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Tue, 15 Oct 2013 14:59:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 14748 <at> debbugs.gnu.org (full text, mbox):
> > 2. Expand the ses-mode documentation string.
> Thank you. Would you be willing to complete an FSF copyright assignment
> so that we can apply this patch to Emacs?
With the paperwork out of the way on my side, I have uploaded a slightly
revised patch to GitHub [0].
[0]: https://github.com/tripleee/emacs
There are two branches with fixes: bug14748 [1] contains the slightly
revised patch from before, and bug14748bis [2] contains a slightly more
intrusive -- and, regrettably, for the time being, untested -- patch for
the Info documentation.
Should I file a separate bug for the latter, or are you prepared to pull
them both in one go?
/* era */
[1]: https://github.com/tripleee/emacs/tree/bug14748
[2]: https://github.com/tripleee/emacs/tree/bug14748bis
--
If this were a real .signature, it would suck less. Well, maybe not.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Tue, 15 Oct 2013 15:38:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 14748 <at> debbugs.gnu.org (full text, mbox):
era eriksson wrote:
> With the paperwork out of the way on my side,
It still needs to be received and acknowledged by the FSF. IIRC they
inform you when this happens - let us know when you hear.
> There are two branches with fixes: bug14748 [1] contains the slightly
> revised patch from before, and bug14748bis [2] contains a slightly more
> intrusive -- and, regrettably, for the time being, untested -- patch for
> the Info documentation.
>
> Should I file a separate bug for the latter, or are you prepared to pull
> them both in one go?
Please do test it, and when you are finished send both patches here.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Thu, 24 Oct 2013 07:17:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 14748 <at> debbugs.gnu.org (full text, mbox):
Looks to me like your assignment is complete.
Could you send the latest versions of the patch(es)?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14748
; Package
emacs
.
(Tue, 19 Nov 2013 18:34:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 14748 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Oct 24, 2013, at 9:16, Glenn Morris wrote:
> Looks to me like your assignment is complete.
> Could you send the latest versions of the patch(es)?
Here goes, sorry for the delay.
I split this into two patches in case you want to review the second in
some more detail. The changes in the second patch are to parts I am
less familiar with.
--
If this were a real .signature, it would suck less. Well, maybe not.
[0001-lisp-ses.el-import-patch-from-bug-report-14748.patch (text/x-patch, attachment)]
[0002-doc-misc-ses.texi-add-whirlwind-intro-and-more-index.patch (text/x-patch, attachment)]
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 20 Nov 2013 08:59:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
era <era+emacsbugs <at> iki.fi>
:
bug acknowledged by developer.
(Wed, 20 Nov 2013 08:59:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 14748-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.4
Thanks. Applied w. tweaks (e.g. the texinfo did not even compile, which
was disappointing.)
(Also; please send things to the bug address rather than just to me.)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 18 Dec 2013 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.