summaryrefslogtreecommitdiff
path: root/lisp/ses.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Ooops... undo changes of ↵Vincent Belaïche2011-12-191-95/+14
| | | | 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature addition.
* Fix typos.Juanma Barranquero2011-12-111-90/+91
|
* The overall change is to add cell renaming, that isVincent Belaïche2011-12-111-14/+95
| | | | | | | | | | | | | | | | setting fancy names for cell symbols other than name matching "\\`[A-Z]+[0-9]+\\'" regexp . (ses-create-cell-variable): New defun. (ses-relocate-formula): Relocate formulas only for cells the symbols of which are not renamed, i.e. symbols whose names do not match regexp "\\`[A-Z]+[0-9]+\\'". (ses-relocate-all): Relocate values only for cells the symbols of which are not renamed. (ses-load): Create cells variables as the (ses-cell ...) are read, in order to check row col consistency with cell symbol name only for cells that are not renamed. (ses-replace-name-in-formula): New defun. (ses-rename-cell): New defun.
* Spelling fixes.Paul Eggert2011-12-041-1/+1
|
* Spelling fixes.Paul Eggert2011-11-221-2/+2
|
* Spelling fixes.Paul Eggert2011-11-191-2/+2
|
* Spelling fixes.Paul Eggert2011-11-171-3/+3
|
* Spelling fixes.Paul Eggert2011-11-111-1/+1
|
* * lisp/ses.el (row, col): Declare dynamic variables honestly.Glenn Morris2011-06-291-4/+2
|
* Silence ses.el compilation.Glenn Morris2011-06-291-8/+12
| | | | | | * lisp/ses.el (top-level): Require cl when compiling. (ses-set-localvars): Fix error statement. Call it at compile time to silence a storm of warnings.
* (ses-destroy-cell-variable-range): Fix heading comment convention.Vincent Belaïche2011-06-271-8/+10
| | | | (ses-call-printer): Does not pass an empty string to formatter when the cell is empty to keep from barking printer Calc math-format-value.
* (ses-relocate-range): Keep rest of arguments for ses-range.Vincent Belaïche2011-06-271-9/+122
| | | | | (ses--clean-!, ses--clean-_): New functions. (ses-range): Add configurability of readout order, and conversion to Calc vector.
* (ses-repair-cell-reference-all): New function.Vincent Belaïche2011-06-271-0/+70
| | | | | (ses-cell-symbol): Set macro as safe, so that it can be used in formulas.
* Update cycle detection algorithm.Vincent Belaïche2011-06-271-81/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | (ses-localvars): Add ses--Dijkstra-attempt-nb and ses--Dijkstra-weight-bound, and initial values thereof when applicable. (ses-set-localvars): New function. (ses-make-cell): Add property-list as a cell element. (ses-cell-property-get-fun, ses-cell-property-get) (ses-cell-property-delq-fun, ses-cell-property-set-fun) (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun): New functions. (ses-cell-property-set, ses-cell-property-pop) (ses-cell-property-get-handle): New macro. (ses-cell-property-handle-car, ses-cell-property-handle-setcar): New aliases, used for code readability. (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for cycle detection. (ses-self-reference-early-detection): New defcustom. (ses-formula-references): Robustify against self-refering cells. (ses-mode): Use ses-set-localvars. (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt before lauching the update processing. (ses-initialize-Dijkstra-attempt): New function. (ses-recalculate-cell): Update for cycle detection based on Dijkstra algorithm.
* Fix commenting and indenting convention.Vincent Belaïche2011-06-271-235/+241
|
* Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.Juanma Barranquero2011-06-251-5/+0
| | | | | | | | | | * allout.el (allout-unload-function): Pass -1 to `allout-mode'. * proced.el (proced-unload-function): * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove. * ses.el (ses-unload-function): * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
* Refill some long/short copyright headers.Glenn Morris2011-01-261-2/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-1/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * gnus/nnheader.el (nnheader-find-file-noselect):Stefan Monnier2009-08-281-1/+1
| | | | | | | | | | | | | | | | | | * gnus/mm-util.el (mm-insert-file-contents): * org/org-html.el (org-export-as-html): * org/org-docbook.el (org-export-as-docbook): * textmodes/reftex.el (reftex-get-file-buffer-force): * progmodes/verilog-mode.el (verilog-batch-execute-func): * emulation/viper.el (viper-go-away, viper-set-hooks): * emacs-lisp/re-builder.el (re-builder-unload-function): * emacs-lisp/bytecomp.el (byte-compile-file): * ses.el (ses-unload-function): * hexl.el (hexl-find-file): * files.el (normal-mode): * ehelp.el (with-electric-help): * autoinsert.el (auto-insert-alist): * arc-mode.el (archive-mode): Use (default-value 'major-mode) instead of default-major-mode.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+2
|
* * ses.el (ses-goto-print): Use move-to-column rather thanJonathan Yavner2008-05-151-8/+31
| | | | | | | | | | | forward-char. (ses-print-cell): Use string-width, truncate-string-to-width, delete-region rather than length, substring, delete-char. (ses-setup): Set inhibit-point-motion-hooks to t. Calculate position by actually moving point rather than just using unibyte character length. (ses-mode): Set indent-tabs-mode to nil. (ses-center): Use string-width rather than length.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-11-091-1/+14
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
| * (ses-unload-function): New function.Juanma Barranquero2007-10-301-1/+14
| |
| * (ses-calculate-cell): Don't evaluate unsafe formulae.Glenn Morris2007-09-231-2/+3
| |
* | Make `ses--symbolic-formulas' a safe local variable.Jonathan Yavner2007-10-251-4/+17
| | | | | | | | | | | | | | (ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees). (ses-recalculate-cell): Deal with point being just beyond end of data area (why does this happen?) (ses-set-curcell): Ditto. (ses-column-letter): Handle columns beyond 702. Code written by Gareth Rees.
* | (ses-calculate-cell): Don't evaluate unsafe formulae.Glenn Morris2007-09-231-2/+3
|/
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (ses-cleanup): Prevent Emacs from spuriously checking if theStefan Monnier2007-07-231-3/+8
| | | | underlying file is uptodate.
* (ses-call-printer): Fix typo in docstring.Juanma Barranquero2007-06-061-3/+3
|
* (ses-mode): Doc fix.Glenn Morris2007-03-071-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (ses-call-printer-return): Improve previous doc fix.Glenn Morris2006-11-111-1/+1
|
* (ses-call-printer-return): Doc fix (Nil -> nil).Glenn Morris2006-11-101-1/+1
|
* Make undo of "insert row" work by keeping markers for data-area and ↵Jonathan Yavner2006-09-291-44/+57
| | | | parameters-area.
* * ses.el (defadvice undo-more): Delete this defadvice. The undoJonathan Yavner2006-05-261-39/+42
| | | | | | | | | | | | | | overrides will now be done a different way. (ses-set-parameter): Reapply this function for undo. (ses-set-header-row): Reconstruct header row during undo. (ses-widen): New function. (ses-goto-data, ses-reconstruct-all): Use new function. (ses-command-hook): Widen buffer during undo, before unupdating the cells. (ses-insert-row, ses-delete-row): Widen buffer during undo. (ses-load, ses-header-row): Permit empty (zero-row) spreadsheets. (ses-read-cell): Avoid stupid warning for RET RET on a cell whose formula hasn't been executed yet.
* (ses-read-cell): Provide a default value.Stefan Monnier2006-01-231-14/+13
|
* 2005-09-25 Romain Francoise <romain@orebokech.com>Romain Francoise2005-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dired-aux.el (dired-copy-file-recursive): * dired.el (dired-delete-file): * ediff-mult.el (ediff-dir-diff-copy-file): * ediff-util.el (ediff-test-save-region): * forms.el (forms-mode): * ido.el (ido-file-internal, ido-delete-file-at-head): * log-edit.el (log-edit-done): * ses.el (ses-yank-resize): * play/gomoku.el (gomoku-human-plays, gomoku) (gomoku-human-resigns, gomoku-prompt-for-other-game) (gomoku-offer-a-draw): * play/landmark.el (lm-human-resigns, lm): * net/eudcb-ldap.el (eudc-ldap-check-base): * play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game): * progmodes/ebrowse.el (ebrowse-find-pattern): * progmodes/idlw-shell.el (idlwave-shell-set-bp-check): * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer): End `yes-or-no-p' and `y-or-n-p' prompts with question mark and space. * vc.el (vc-delete-file): * play/gomoku.el (gomoku-terminate-game, gomoku) (gomoku-prompt-for-move, gomoku-human-takes-back): * play/landmark.el (lm-human-takes-back, lm-prompt-for-move) (lm-start-robot, lm-human-plays): Remove extraneous spaces in messages.
* Message format spec fixes (1)Deepak Goel2005-09-181-2/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (ses): Finish `defgroup' description with period.Juanma Barranquero2005-07-041-7/+7
| | | | | (ses-column-widths, ses-print-cell, ses-adjust-print-width, ses-center): "?\ " -> "?\s".
* (ses-call-printer): Fix spellings.Juanma Barranquero2005-06-211-1/+1
|
* (ses-load): Follow error conventions.Juanma Barranquero2005-06-141-1/+1
|