aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-07-04 02:27:03 +0000
committerJuanma Barranquero2005-07-04 02:27:03 +0000
commit51616cd510583c9870538ce6d020a8148b80706d (patch)
treefdcc1b051253f537bdeecf704c2b0bc5f5d13dfc
parentb0fa9df702075f05281598099d3d76325ae12135 (diff)
downloademacs-51616cd510583c9870538ce6d020a8148b80706d.tar.gz
emacs-51616cd510583c9870538ce6d020a8148b80706d.zip
(ses): Finish `defgroup' description with period.
(ses-column-widths, ses-print-cell, ses-adjust-print-width, ses-center): "?\ " -> "?\s".
-rw-r--r--lisp/ses.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/ses.el b/lisp/ses.el
index 09f7809752b..bad396bbe94 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -49,7 +49,7 @@
49;;---------------------------------------------------------------------------- 49;;----------------------------------------------------------------------------
50 50
51(defgroup ses nil 51(defgroup ses nil
52 "Simple Emacs Spreadsheet" 52 "Simple Emacs Spreadsheet."
53 :group 'applications 53 :group 'applications
54 :prefix "ses-" 54 :prefix "ses-"
55 :version "21.1") 55 :version "21.1")
@@ -376,7 +376,7 @@ macro to prevent propagate-on-load viruses."
376 ;;print area (excluding the terminating newline) 376 ;;print area (excluding the terminating newline)
377 (setq ses--col-widths widths 377 (setq ses--col-widths widths
378 ses--linewidth (apply '+ -1 (mapcar '1+ widths)) 378 ses--linewidth (apply '+ -1 (mapcar '1+ widths))
379 ses--blank-line (concat (make-string ses--linewidth ? ) "\n")) 379 ses--blank-line (concat (make-string ses--linewidth ?\s) "\n"))
380 t) 380 t)
381 381
382(defmacro ses-column-printers (printers) 382(defmacro ses-column-printers (printers)
@@ -798,7 +798,7 @@ preceding cell has spilled over."
798 (cond 798 (cond
799 ((< len width) 799 ((< len width)
800 ;;Fill field to length with spaces 800 ;;Fill field to length with spaces
801 (setq len (make-string (- width len) ? ) 801 (setq len (make-string (- width len) ?\s)
802 text (if (eq ses-call-printer-return t) 802 text (if (eq ses-call-printer-return t)
803 (concat text len) 803 (concat text len)
804 (concat len text)))) 804 (concat len text))))
@@ -816,7 +816,7 @@ preceding cell has spilled over."
816 maxcol (1+ maxcol))) 816 maxcol (1+ maxcol)))
817 (if (<= len maxwidth) 817 (if (<= len maxwidth)
818 ;;Fill to complete width of all the fields spanned 818 ;;Fill to complete width of all the fields spanned
819 (setq text (concat text (make-string (- maxwidth len) ? ))) 819 (setq text (concat text (make-string (- maxwidth len) ?\s)))
820 ;;Not enough room to end of line or next non-nil field. Truncate 820 ;;Not enough room to end of line or next non-nil field. Truncate
821 ;;if string or decimal; otherwise fill with error indicator 821 ;;if string or decimal; otherwise fill with error indicator
822 (setq sig `(error "Too wide" ,text)) 822 (setq sig `(error "Too wide" ,text))
@@ -906,12 +906,12 @@ printer signaled one (and \"%s\" is used as the default printer), else nil."
906COL=NUMCOLS. Deletes characters if CHANGE < 0. Caller should bind 906COL=NUMCOLS. Deletes characters if CHANGE < 0. Caller should bind
907inhibit-quit to t." 907inhibit-quit to t."
908 (let ((inhibit-read-only t) 908 (let ((inhibit-read-only t)
909 (blank (if (> change 0) (make-string change ? ))) 909 (blank (if (> change 0) (make-string change ?\s)))
910 (at-end (= col ses--numcols))) 910 (at-end (= col ses--numcols)))
911 (ses-set-with-undo 'ses--linewidth (+ ses--linewidth change)) 911 (ses-set-with-undo 'ses--linewidth (+ ses--linewidth change))
912 ;;ses-set-with-undo always returns t for strings. 912 ;;ses-set-with-undo always returns t for strings.
913 (1value (ses-set-with-undo 'ses--blank-line 913 (1value (ses-set-with-undo 'ses--blank-line
914 (concat (make-string ses--linewidth ? ) "\n"))) 914 (concat (make-string ses--linewidth ?\s) "\n")))
915 (dotimes (row ses--numrows) 915 (dotimes (row ses--numrows)
916 (ses-goto-print row col) 916 (ses-goto-print row col)
917 (when at-end 917 (when at-end
@@ -2901,7 +2901,7 @@ columns to include in width (default = 0)."
2901 (let ((printer (or (ses-col-printer col) ses--default-printer)) 2901 (let ((printer (or (ses-col-printer col) ses--default-printer))
2902 (width (ses-col-width col)) 2902 (width (ses-col-width col))
2903 half) 2903 half)
2904 (or fill (setq fill ? )) 2904 (or fill (setq fill ?\s))
2905 (or span (setq span 0)) 2905 (or span (setq span 0))
2906 (setq value (ses-call-printer printer value)) 2906 (setq value (ses-call-printer printer value))
2907 (dotimes (x span) 2907 (dotimes (x span)