1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Jonathan Yavner
c0c30dd15f * ses.el (ses-goto-print): Use move-to-column rather than
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.
2008-05-15 19:24:57 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Juanma Barranquero
7981ad6baa (ses-unload-function): New function. 2007-10-30 00:21:42 +00:00
Jonathan Yavner
4eb3897c84 Make `ses--symbolic-formulas' a safe local variable.
(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.
2007-10-25 20:12:26 +00:00
Glenn Morris
66ba97ee97 (ses-calculate-cell): Don't evaluate unsafe formulae. 2007-09-23 01:08:25 +00:00
Glenn Morris
ec894ac2ea (ses-calculate-cell): Don't evaluate unsafe formulae. 2007-09-23 01:07:23 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Stefan Monnier
ae59e88846 (ses-cleanup): Prevent Emacs from spuriously checking if the
underlying file is uptodate.
2007-07-23 21:49:42 +00:00
Juanma Barranquero
5e29464c2b (ses-call-printer): Fix typo in docstring. 2007-06-06 21:57:34 +00:00
Glenn Morris
e27dad25bb (ses-mode): Doc fix. 2007-03-07 08:46:02 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
f1a0e330d6 (ses-call-printer-return): Improve previous doc fix. 2006-11-11 04:00:37 +00:00
Glenn Morris
61e1d1ca4f (ses-call-printer-return): Doc fix (Nil -> nil). 2006-11-10 09:09:37 +00:00
Jonathan Yavner
ddd1c21447 Make undo of "insert row" work by keeping markers for data-area and parameters-area. 2006-09-29 02:42:39 +00:00
Jonathan Yavner
bd93e3e1aa * ses.el (defadvice undo-more): Delete this defadvice. The undo
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.
2006-05-26 17:39:06 +00:00
Stefan Monnier
1e3b6bec72 (ses-read-cell): Provide a default value. 2006-01-23 22:04:36 +00:00
Romain Francoise
ce5a3ac01e 2005-09-25 Romain Francoise <romain@orebokech.com>
* 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.
2005-09-24 23:26:28 +00:00
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
51616cd510 (ses): Finish `defgroup' description with period.
(ses-column-widths, ses-print-cell, ses-adjust-print-width, ses-center):
"?\ " -> "?\s".
2005-07-04 02:27:03 +00:00
Juanma Barranquero
d0f6a32f46 (ses-call-printer): Fix spellings. 2005-06-21 13:39:59 +00:00
Juanma Barranquero
e20bb6294d (ses-load): Follow error conventions. 2005-06-14 15:20:47 +00:00
Lute Kamstra
859540e3fc (ses-mode): Use run-mode-hooks. 2005-05-26 13:10:29 +00:00
Jonathan Yavner
eedeacb307 (undo-more): restore defadvice, but only the part that allows changes
outside the restricted area of the buffer.
2005-02-20 05:02:54 +00:00
Kim F. Storm
63f3351cc0 (ses-create-cell-variable-range)
(ses-destroy-cell-variable-range, ses-reset-header-string)
(ses-set-with-undo, ses-unset-with-undo, ses-aset-with-undo)
(ses-insert-row): Fix format of apply undo entries.
2005-01-31 22:47:40 +00:00
Richard M. Stallman
137e400204 (undo-more): defadvice deleted.
(ses-begin-change): Doc fix.
2005-01-29 17:31:32 +00:00
Stefan Monnier
7c018923b0 (ses-dotimes-msg): Remove macro. Use `dotimes-with-progress-reporter' instead. 2005-01-19 23:46:31 +00:00
Stefan Monnier
4c759a327f (copy-region-as-kill): Deactivate mark. 2005-01-02 01:20:14 +00:00
Stefan Monnier
58cf70d3fd Add coding cookie. Fix up docstrings, follow new commenting conventions.
(ses-header-line-menu): Fix missing variable rename for header-row.
(ses-cell-size): Remove.
(ses-make-cell): New function.
(ses-cell, ses-insert-row, ses-insert-column): Use it.
(ses-calculate-cell): Remove unused var `symbol'.
(ses-narrowed-p): New function.
(ses-goto-data, undo-more, ses-reconstruct-all): Use it.
(ses-initial-file-trailer): Change ;;; to ;; for local vars.
(ses-load, ses-reconstruct-all): Adjust string search accordingly.
(ses-setup): Use restore-buffer-modified-p.
(ses-cleanup): Remove unused var `end'.
(ses-header-string-left-offset): Remove.
(ses-create-header-string): Adjust to new behavior of `align-to'.
Truncate excessively large fields to preserve alignment.
(ses-reconstruct-all): Remove unused var `refs'.
(ses-read-cell-printer): Remove unused var `prompt'.
(ses-delete-row): Remove unused var `pos'.
(ses-delete-column): Remove unused var `new'.
2004-11-22 01:21:07 +00:00
Jonathan Yavner
c21c3d8966 Typo fix: "ses--column-widths" => "ses--col-widths" 2004-05-04 16:15:16 +00:00
Stefan Monnier
e9c8c8e7e6 (ses-read-number): Move to subr.el.
(ses-set-header-row): Use read-number.
2004-03-26 14:50:41 +00:00
Jonathan Yavner
94be2532a7 Delete function ses-build-load-map and distribute its functions to
defconst's for the three maps.  Add menus.  Use "ses--" prefixes for
buffer-local variables.  Use (point-min) instead of 1, even when we know the
buffer is unnarrowed.  New function ses-read-number duplicates some code
from interactive "N" spec.
2004-02-14 23:56:51 +00:00
Jonathan Yavner
9e2d29b605 Changes suggested by Stefan Monnier to truncate decimal places if print format too large for column width. 2004-01-30 08:02:57 +00:00
Jonathan Yavner
100eda14f0 Increase ses-initial-column-width to 14, so it will play well with default
printer of "%.7g" for extreme values like "-1.234567e+07".
2004-01-29 06:51:03 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Jonathan Yavner
df961c06b1 Updated contact address. 2003-07-25 04:59:09 +00:00
Jonathan Yavner
125366f860 Fix header-line when scrollbar is on left and/or fringe isn't one char wide. 2003-02-02 19:16:23 +00:00
Jonathan Yavner
7ed9159a5c New major mode "SES" for spreadsheets.
New function (unsafep X) determines whether X is a safe Lisp form.
New support module testcover.el for coverage testing.
2002-09-28 18:45:56 +00:00