diff options
| author | Miles Bader | 2004-09-30 01:20:39 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-09-30 01:20:39 +0000 |
| commit | ed1ae069fd2c8652f6cec917ba94f5f95546cdd7 (patch) | |
| tree | 59b7c3c4d32d5da944e3d135e653974240d72bbf /lisp | |
| parent | da39f3418de1cbfd09f62f526991d4977af657b1 (diff) | |
| parent | 14e20e1309c68b214db1b6d3c369a2c2bdaeb4e2 (diff) | |
| download | emacs-ed1ae069fd2c8652f6cec917ba94f5f95546cdd7.tar.gz emacs-ed1ae069fd2c8652f6cec917ba94f5f95546cdd7.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-48
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-581
Fix exec-shield autoconf test
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-582
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-584
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-585
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-586
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-38
Update from CVS
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 31 | ||||
| -rw-r--r-- | lisp/diff-mode.el | 9 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 32 | ||||
| -rw-r--r-- | lisp/newcomment.el | 9 | ||||
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 5 |
6 files changed, 73 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 187fc607c27..0ed8630d850 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2004-09-29 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * textmodes/paragraphs.el (forward-paragraph): Avoid | ||
| 4 | args-out-of-range error when point winds up at the beginning of | ||
| 5 | the buffer and hard newlines are enabled. | ||
| 6 | |||
| 7 | * newcomment.el (comment-multi-line): Doc fix. | ||
| 8 | |||
| 9 | 2004-09-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 10 | |||
| 11 | * diff-mode.el (diff-file-header-re): Tighten up regexp a tiny bit. | ||
| 12 | (diff-fixup-modifs): Catch unified-diff file-headers. | ||
| 13 | |||
| 1 | 2004-09-28 Stefan <monnier@iro.umontreal.ca> | 14 | 2004-09-28 Stefan <monnier@iro.umontreal.ca> |
| 2 | 15 | ||
| 3 | * dired.el (dired-view-command-alist): Use more efficient regexps. | 16 | * dired.el (dired-view-command-alist): Use more efficient regexps. |
| @@ -35,8 +48,8 @@ | |||
| 35 | (pr-version): New version number (6.8.1). | 48 | (pr-version): New version number (6.8.1). |
| 36 | (pr-ps-file-using-ghostscript): Use make-temp-file instead of | 49 | (pr-ps-file-using-ghostscript): Use make-temp-file instead of |
| 37 | make-temp-name. | 50 | make-temp-name. |
| 38 | (pr-delete-file): Check if file exists before deleting it. Reported by | 51 | (pr-delete-file): Check if file exists before deleting it. |
| 39 | Lennart Borgman <lennart.borgman.073@student.lu.se>. | 52 | Reported by Lennart Borgman <lennart.borgman.073@student.lu.se>. |
| 40 | 53 | ||
| 41 | 2004-09-26 Stefan <monnier@iro.umontreal.ca> | 54 | 2004-09-26 Stefan <monnier@iro.umontreal.ca> |
| 42 | 55 | ||
| @@ -48,21 +61,19 @@ | |||
| 48 | 2004-09-26 Dan Nicolaescu <dann@ics.uci.edu> | 61 | 2004-09-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 49 | 62 | ||
| 50 | * term.el (term-ansi-at-eval-string, term-ansi-default-fg) | 63 | * term.el (term-ansi-at-eval-string, term-ansi-default-fg) |
| 51 | (term-ansi-default-bg, term-ansi-current-temp): Delete unused | 64 | (term-ansi-default-bg, term-ansi-current-temp): Delete unused vars. |
| 52 | vars. | ||
| 53 | (map): Bind S-prior, S-next and S-insert. | 65 | (map): Bind S-prior, S-next and S-insert. |
| 54 | (term-mode): Set `indent-tabs-mode' to nil. | 66 | (term-mode): Set `indent-tabs-mode' to nil. |
| 55 | (term-paste): New function to be bound to S-insert. | 67 | (term-paste): New function to be bound to S-insert. |
| 56 | (term-send-del, term-send-backspace): Change the strings sent. | 68 | (term-send-del, term-send-backspace): Change the strings sent. |
| 57 | (term-termcap-format): Synchronyze with etc/e/eterm.ti. | 69 | (term-termcap-format): Synchronyze with etc/e/eterm.ti. |
| 58 | (term-handle-colors-array): Fix handling of underline and reverse. | 70 | (term-handle-colors-array): Fix handling of underline and reverse. |
| 59 | (term-handle-ansi-escape): Do not handle smcup/rmcup. Add | 71 | (term-handle-ansi-escape): Do not handle smcup/rmcup. Add comments. |
| 60 | comments. | ||
| 61 | (term-erase-in-line): Fix comparison. | 72 | (term-erase-in-line): Fix comparison. |
| 62 | (term-emulate-terminal): Fix line wrap handling. | 73 | (term-emulate-terminal): Fix line wrap handling. |
| 63 | (term-start-output-log): Renamed from `term-set-output-log'. | 74 | (term-start-output-log): Rename from `term-set-output-log'. |
| 64 | (term-stop-output-log): Renamed from `term-stop-photo'. | 75 | (term-stop-output-log): Rename from `term-stop-photo'. |
| 65 | (term-switch-to-alternate-sub-buffer): Comment out, unused. | 76 | (term-switch-to-alternate-sub-buffer): Comment out, unused. |
| 66 | 77 | ||
| 67 | 2004-09-25 Stefan <monnier@iro.umontreal.ca> | 78 | 2004-09-25 Stefan <monnier@iro.umontreal.ca> |
| 68 | 79 | ||
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 21b1c6446e5..0a7f1a1950a 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el | |||
| @@ -301,7 +301,7 @@ when editing big diffs)." | |||
| 301 | ;;;; | 301 | ;;;; |
| 302 | 302 | ||
| 303 | (defconst diff-hunk-header-re "^\\(@@ -[0-9,]+ \\+[0-9,]+ @@.*\\|\\*\\{15\\}.*\n\\*\\*\\* .+ \\*\\*\\*\\*\\|[0-9]+\\(,[0-9]+\\)?[acd][0-9]+\\(,[0-9]+\\)?\\)$") | 303 | (defconst diff-hunk-header-re "^\\(@@ -[0-9,]+ \\+[0-9,]+ @@.*\\|\\*\\{15\\}.*\n\\*\\*\\* .+ \\*\\*\\*\\*\\|[0-9]+\\(,[0-9]+\\)?[acd][0-9]+\\(,[0-9]+\\)?\\)$") |
| 304 | (defconst diff-file-header-re (concat "^\\(--- .+\n\\+\\+\\+\\|\\*\\*\\* .+\n---\\|[^-+!<>0-9@* ]\\).+\n" (substring diff-hunk-header-re 1))) | 304 | (defconst diff-file-header-re (concat "^\\(--- .+\n\\+\\+\\+ \\|\\*\\*\\* .+\n--- \\|[^-+!<>0-9@* ]\\).+\n" (substring diff-hunk-header-re 1))) |
| 305 | (defvar diff-narrowed-to nil) | 305 | (defvar diff-narrowed-to nil) |
| 306 | 306 | ||
| 307 | (defun diff-end-of-hunk (&optional style) | 307 | (defun diff-end-of-hunk (&optional style) |
| @@ -798,9 +798,12 @@ else cover the whole bufer." | |||
| 798 | (goto-char end) (diff-end-of-hunk) | 798 | (goto-char end) (diff-end-of-hunk) |
| 799 | (let ((plus 0) (minus 0) (space 0) (bang 0)) | 799 | (let ((plus 0) (minus 0) (space 0) (bang 0)) |
| 800 | (while (and (= (forward-line -1) 0) (<= start (point))) | 800 | (while (and (= (forward-line -1) 0) (<= start (point))) |
| 801 | (if (not (looking-at "\\(@@ -[0-9,]+ \\+[0-9,]+ @@.*\\|[-*][-*][-*] .+ [-*][-*][-*][-*]\\)$")) | 801 | (if (not (looking-at |
| 802 | (concat "@@ -[0-9,]+ \\+[0-9,]+ @@" | ||
| 803 | "\\|[-*][-*][-*] [0-9,]+ [-*][-*][-*][-*]$" | ||
| 804 | "\\|--- .+\n\\+\\+\\+ "))) | ||
| 802 | (case (char-after) | 805 | (case (char-after) |
| 803 | (?\ (incf space)) | 806 | (?\s (incf space)) |
| 804 | (?+ (incf plus)) | 807 | (?+ (incf plus)) |
| 805 | (?- (incf minus)) | 808 | (?- (incf minus)) |
| 806 | (?! (incf bang)) | 809 | (?! (incf bang)) |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3cdda661e86..6ac6d46e28f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-09-29 Jesper Harder <harder@ifa.au.dk> | ||
| 2 | |||
| 3 | * gnus.el (gnus-method-to-server): Oops, move it don't delete it. | ||
| 4 | |||
| 1 | 2004-09-28 Jesper Harder <harder@ifa.au.dk> | 5 | 2004-09-28 Jesper Harder <harder@ifa.au.dk> |
| 2 | 6 | ||
| 3 | * gnus-picon.el: Require cl. | 7 | * gnus-picon.el: Require cl. |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 28ef2c22a15..979ee2a7c24 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -3261,6 +3261,38 @@ that that variable is buffer-local to the summary buffers." | |||
| 3261 | (nth 1 method)))) | 3261 | (nth 1 method)))) |
| 3262 | method))) | 3262 | method))) |
| 3263 | 3263 | ||
| 3264 | (defsubst gnus-method-to-server (method) | ||
| 3265 | (catch 'server-name | ||
| 3266 | (setq method (or method gnus-select-method)) | ||
| 3267 | |||
| 3268 | ;; Perhaps it is already in the cache. | ||
| 3269 | (mapc (lambda (name-method) | ||
| 3270 | (if (equal (cdr name-method) method) | ||
| 3271 | (throw 'server-name (car name-method)))) | ||
| 3272 | gnus-server-method-cache) | ||
| 3273 | |||
| 3274 | (mapc | ||
| 3275 | (lambda (server-alist) | ||
| 3276 | (mapc (lambda (name-method) | ||
| 3277 | (when (gnus-methods-equal-p (cdr name-method) method) | ||
| 3278 | (unless (member name-method gnus-server-method-cache) | ||
| 3279 | (push name-method gnus-server-method-cache)) | ||
| 3280 | (throw 'server-name (car name-method)))) | ||
| 3281 | server-alist)) | ||
| 3282 | (let ((alists (list gnus-server-alist | ||
| 3283 | gnus-predefined-server-alist))) | ||
| 3284 | (if gnus-select-method | ||
| 3285 | (push (list (cons "native" gnus-select-method)) alists)) | ||
| 3286 | alists)) | ||
| 3287 | |||
| 3288 | (let* ((name (if (member (cadr method) '(nil "")) | ||
| 3289 | (format "%s" (car method)) | ||
| 3290 | (format "%s:%s" (car method) (cadr method)))) | ||
| 3291 | (name-method (cons name method))) | ||
| 3292 | (unless (member name-method gnus-server-method-cache) | ||
| 3293 | (push name-method gnus-server-method-cache)) | ||
| 3294 | name))) | ||
| 3295 | |||
| 3264 | (defsubst gnus-server-to-method (server) | 3296 | (defsubst gnus-server-to-method (server) |
| 3265 | "Map virtual server names to select methods." | 3297 | "Map virtual server names to select methods." |
| 3266 | (or (and server (listp server) server) | 3298 | (or (and server (listp server) server) |
diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 3a63636b757..120777ab704 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el | |||
| @@ -215,8 +215,13 @@ makes the comment easier to read. Default is 1. nil means 0." | |||
| 215 | 215 | ||
| 216 | ;;;###autoload | 216 | ;;;###autoload |
| 217 | (defcustom comment-multi-line nil | 217 | (defcustom comment-multi-line nil |
| 218 | "*Non-nil means \\[comment-indent-new-line] continues comments, with no new terminator or starter. | 218 | "*Non-nil means `comment-indent-new-line' continues comments. |
| 219 | This is obsolete because you might as well use \\[newline-and-indent]." | 219 | That is, it inserts no new terminator or starter. |
| 220 | This affects `auto-fill-mode', which is the main reason to | ||
| 221 | customize this variable. | ||
| 222 | |||
| 223 | It also affects \\[indent-new-comment-line]. However, if you want this | ||
| 224 | behavior for explicit filling, you might as well use \\[newline-and-indent]." | ||
| 220 | :type 'boolean) | 225 | :type 'boolean) |
| 221 | 226 | ||
| 222 | (defcustom comment-empty-lines nil | 227 | (defcustom comment-empty-lines nil |
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index e5f38971e40..868dcb2d107 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -274,8 +274,9 @@ Returns the count of paragraphs left to move." | |||
| 274 | (not (looking-at parsep))) | 274 | (not (looking-at parsep))) |
| 275 | (not (and (looking-at parstart) | 275 | (not (and (looking-at parstart) |
| 276 | (or (not use-hard-newlines) | 276 | (or (not use-hard-newlines) |
| 277 | (get-text-property (1- start) 'hard) | 277 | (bobp) |
| 278 | (bobp))))) | 278 | (get-text-property |
| 279 | (1- start) 'hard))))) | ||
| 279 | (setq found-start nil) | 280 | (setq found-start nil) |
| 280 | (goto-char start)) | 281 | (goto-char start)) |
| 281 | found-start) | 282 | found-start) |