diff options
| author | Jim Blandy | 1992-03-12 03:48:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-03-12 03:48:12 +0000 |
| commit | 70ee42f75d671390dfd0c33243e5e93b8fb9570d (patch) | |
| tree | 976460bc28da3cda85639757cae7612f2f4e21b9 | |
| parent | 03759fe00303a19cff5ce1cd1d6408c97ce2c929 (diff) | |
| download | emacs-70ee42f75d671390dfd0c33243e5e93b8fb9570d.tar.gz emacs-70ee42f75d671390dfd0c33243e5e93b8fb9570d.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/mail/sendmail.el | 13 | ||||
| -rw-r--r-- | src/eval.c | 8 | ||||
| -rw-r--r-- | src/indent.c | 11 |
3 files changed, 24 insertions, 8 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 709f4d880a7..c22d7d85c07 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;; Mail sending commands for Emacs. | 1 | ;; Mail sending commands for Emacs. |
| 2 | ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | ;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | ;; This file is part of GNU Emacs. | 4 | ;; This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -173,6 +173,7 @@ C-c C-v mail-sent-via (add a sent-via field for each To or CC)." | |||
| 173 | (define-key mail-mode-map "\C-c?" 'describe-mode) | 173 | (define-key mail-mode-map "\C-c?" 'describe-mode) |
| 174 | (define-key mail-mode-map "\C-c\C-f\C-t" 'mail-to) | 174 | (define-key mail-mode-map "\C-c\C-f\C-t" 'mail-to) |
| 175 | (define-key mail-mode-map "\C-c\C-f\C-b" 'mail-bcc) | 175 | (define-key mail-mode-map "\C-c\C-f\C-b" 'mail-bcc) |
| 176 | (define-key mail-mode-map "\C-c\C-f\C-f" 'mail-fcc) | ||
| 176 | (define-key mail-mode-map "\C-c\C-f\C-c" 'mail-cc) | 177 | (define-key mail-mode-map "\C-c\C-f\C-c" 'mail-cc) |
| 177 | (define-key mail-mode-map "\C-c\C-f\C-s" 'mail-subject) | 178 | (define-key mail-mode-map "\C-c\C-f\C-s" 'mail-subject) |
| 178 | (define-key mail-mode-map "\C-c\C-t" 'mail-text) | 179 | (define-key mail-mode-map "\C-c\C-t" 'mail-text) |
| @@ -436,11 +437,19 @@ the user from the mailer." | |||
| 436 | (progn (mail-position-on-field "to") | 437 | (progn (mail-position-on-field "to") |
| 437 | (insert "\nBCC: ")))) | 438 | (insert "\nBCC: ")))) |
| 438 | 439 | ||
| 440 | (defun mail-fcc () | ||
| 441 | "Add a new FCC field, with file name completion." | ||
| 442 | (interactive) | ||
| 443 | (expand-abbrev) | ||
| 444 | (or (mail-position-on-field "fcc" t) ;Put new field after exiting FCC. | ||
| 445 | (mail-position-on-field "to")) | ||
| 446 | (insert "\nFCC: " (read-file-name "Folder carbon copy: "))) | ||
| 447 | |||
| 439 | (defun mail-position-on-field (field &optional soft) | 448 | (defun mail-position-on-field (field &optional soft) |
| 440 | (let (end | 449 | (let (end |
| 441 | (case-fold-search t)) | 450 | (case-fold-search t)) |
| 442 | (goto-char (point-min)) | 451 | (goto-char (point-min)) |
| 443 | (search-forward (concat "\n" mail-header-separator "\n")) | 452 | (search-forward (concat "^" mail-header-separator "\n")) |
| 444 | (setq end (match-beginning 0)) | 453 | (setq end (match-beginning 0)) |
| 445 | (goto-char (point-min)) | 454 | (goto-char (point-min)) |
| 446 | (if (re-search-forward (concat "^" (regexp-quote field) ":") end t) | 455 | (if (re-search-forward (concat "^" (regexp-quote field) ":") end t) |
diff --git a/src/eval.c b/src/eval.c index e82fba1559e..a030ff8b700 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Evaluator for GNU Emacs Lisp interpreter. | 1 | /* Evaluator for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1837,7 +1837,11 @@ Thus, (funcall 'cons 'x 'y) returns (x . y).") | |||
| 1837 | goto done; | 1837 | goto done; |
| 1838 | 1838 | ||
| 1839 | default: | 1839 | default: |
| 1840 | error ("funcall: this number of args not handled."); | 1840 | |
| 1841 | /* If a subr takes more than 6 arguments without using MANY | ||
| 1842 | or UNEVALLED, we need to extend this function to support it. | ||
| 1843 | Until this is done, there is no way to call the function. */ | ||
| 1844 | abort (); | ||
| 1841 | } | 1845 | } |
| 1842 | } | 1846 | } |
| 1843 | if (XTYPE (fun) == Lisp_Compiled) | 1847 | if (XTYPE (fun) == Lisp_Compiled) |
diff --git a/src/indent.c b/src/indent.c index f87ca13192a..977383d3b40 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Indentation functions. | 1 | /* Indentation functions. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -344,10 +344,13 @@ and if COLUMN is in the middle of a tab character, change it to spaces.") | |||
| 344 | and scan through it again. */ | 344 | and scan through it again. */ |
| 345 | if (!NILP (force) && col > goal && c == '\t' && prev_col < goal) | 345 | if (!NILP (force) && col > goal && c == '\t' && prev_col < goal) |
| 346 | { | 346 | { |
| 347 | int old_point; | ||
| 348 | |||
| 347 | del_range (point - 1, point); | 349 | del_range (point - 1, point); |
| 348 | Findent_to (make_number (col - 1)); | 350 | Findent_to (make_number (goal), Qnil); |
| 349 | insert_char (' '); | 351 | old_point = point; |
| 350 | goto retry; | 352 | Findent_to (make_number (col), Qnil); |
| 353 | SET_PT (old_point); | ||
| 351 | } | 354 | } |
| 352 | 355 | ||
| 353 | /* If line ends prematurely, add space to the end. */ | 356 | /* If line ends prematurely, add space to the end. */ |