diff options
| author | Glenn Morris | 2014-11-04 21:08:57 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-11-04 21:08:57 -0800 |
| commit | b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934 (patch) | |
| tree | c7562d5cde06977fc2eb14a7c0b6972738696386 | |
| parent | ddce73d32fa3e62e022842e3bbdc0aa83bb358cc (diff) | |
| parent | 58064b4da2835acb24d0f68021c84102e0fb1c0f (diff) | |
| download | emacs-b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934.tar.gz emacs-b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934.zip | |
Merge from emacs-24; up to 117669
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/erc/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 3 | ||||
| -rw-r--r-- | lisp/jit-lock.el | 5 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 26 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 13 |
7 files changed, 38 insertions, 31 deletions
| @@ -2338,7 +2338,7 @@ | |||
| 2338 | 2012-12-13 Andreas Schwab <schwab@suse.de> | 2338 | 2012-12-13 Andreas Schwab <schwab@suse.de> |
| 2339 | 2339 | ||
| 2340 | * Makefile.in (install-info): Use `${MAKE} -s' for echo-info. | 2340 | * Makefile.in (install-info): Use `${MAKE} -s' for echo-info. |
| 2341 | (uninstall): Likewise. (Bug#13143) | 2341 | (uninstall): Likewise. (Bug#13142) |
| 2342 | 2342 | ||
| 2343 | 2012-12-11 Paul Eggert <eggert@cs.ucla.edu> | 2343 | 2012-12-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2344 | 2344 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4684c017d94..dc17f8e3ffb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2014-11-05 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being | ||
| 4 | returned by load-average. | ||
| 5 | |||
| 6 | 2014-11-05 Michael Albinus <michael.albinus@gmx.de> | ||
| 7 | |||
| 8 | * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use | ||
| 9 | a local copy; setting `inhibit-file-name-handlers' proper might be | ||
| 10 | more performant. (Bug#18751) | ||
| 11 | |||
| 12 | 2014-11-05 Glenn Morris <rgm@gnu.org> | ||
| 13 | |||
| 14 | * mail/emacsbug.el (report-emacs-bug): No longer include | ||
| 15 | recent-keys in the report. (Bug#18900) | ||
| 16 | |||
| 1 | 2014-11-04 Paul Eggert <eggert@cs.ucla.edu> | 17 | 2014-11-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 18 | ||
| 3 | * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe". | 19 | * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe". |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 75a01581fcd..0875994e775 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * erc.el (erc-send-input): Bind `str' dynamically (bug#18936). | ||
| 4 | |||
| 1 | 2014-10-29 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-10-29 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Simplify use of current-time and friends. | 7 | Simplify use of current-time and friends. |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 3bb68abfc9e..37b24eaaa60 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -1005,7 +1005,7 @@ display of that particular string at all." | |||
| 1005 | "Hook called first when some text is sent through `erc-send-current-line'. | 1005 | "Hook called first when some text is sent through `erc-send-current-line'. |
| 1006 | It gets called with one argument, STRING. | 1006 | It gets called with one argument, STRING. |
| 1007 | 1007 | ||
| 1008 | To change the text that will be sent, set the variable STR which is | 1008 | To change the text that will be sent, set the variable `str' which is |
| 1009 | used in `erc-send-current-line'. | 1009 | used in `erc-send-current-line'. |
| 1010 | 1010 | ||
| 1011 | To change the text inserted into the buffer without changing the text | 1011 | To change the text inserted into the buffer without changing the text |
| @@ -5361,6 +5361,7 @@ This returns non-nil only if we actually send anything." | |||
| 5361 | (beep)) | 5361 | (beep)) |
| 5362 | nil) | 5362 | nil) |
| 5363 | (t | 5363 | (t |
| 5364 | (defvar str) ;; FIXME: Make it obey the "erc-" prefix convention. | ||
| 5364 | (let ((str input) | 5365 | (let ((str input) |
| 5365 | (erc-insert-this t)) | 5366 | (erc-insert-this t)) |
| 5366 | (setq erc-send-this t) | 5367 | (setq erc-send-this t) |
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index d346f050415..34f14a5af63 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el | |||
| @@ -499,7 +499,10 @@ non-nil in a repeated invocation of this function." | |||
| 499 | message-log-max | 499 | message-log-max |
| 500 | start) | 500 | start) |
| 501 | (if (and jit-lock-stealth-load | 501 | (if (and jit-lock-stealth-load |
| 502 | (> (car (load-average)) jit-lock-stealth-load)) | 502 | ;; load-average can return nil. The w32 emulation does |
| 503 | ;; that during the first few dozens of seconds after | ||
| 504 | ;; startup. | ||
| 505 | (> (or (car (load-average)) 0) jit-lock-stealth-load)) | ||
| 503 | ;; Wait a little if load is too high. | 506 | ;; Wait a little if load is too high. |
| 504 | (setq delay jit-lock-stealth-time) | 507 | (setq delay jit-lock-stealth-time) |
| 505 | (if (buffer-live-p buffer) | 508 | (if (buffer-live-p buffer) |
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 91451504cab..4e3eb324e59 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -138,12 +138,11 @@ This requires either the OS X \"open\" command, or the freedesktop | |||
| 138 | (error "Subject, To or body not found"))))) | 138 | (error "Subject, To or body not found"))))) |
| 139 | 139 | ||
| 140 | ;;;###autoload | 140 | ;;;###autoload |
| 141 | (defun report-emacs-bug (topic &optional recent-keys) | 141 | (defun report-emacs-bug (topic &optional unused) |
| 142 | "Report a bug in GNU Emacs. | 142 | "Report a bug in GNU Emacs. |
| 143 | Prompts for bug subject. Leaves you in a mail buffer." | 143 | Prompts for bug subject. Leaves you in a mail buffer." |
| 144 | ;; This strange form ensures that (recent-keys) is the value before | 144 | (declare (advertised-calling-convention (topic) "24.5")) |
| 145 | ;; the bug subject string is read. | 145 | (interactive "sBug Subject: ") |
| 146 | (interactive (reverse (list (recent-keys) (read-string "Bug Subject: ")))) | ||
| 147 | ;; The syntax `version;' is preferred to `[version]' because the | 146 | ;; The syntax `version;' is preferred to `[version]' because the |
| 148 | ;; latter could be mistakenly stripped by mailing software. | 147 | ;; latter could be mistakenly stripped by mailing software. |
| 149 | (if (eq system-type 'ms-dos) | 148 | (if (eq system-type 'ms-dos) |
| @@ -273,23 +272,6 @@ usually do not have translators for other languages.\n\n"))) | |||
| 273 | (and (boundp mode) (buffer-local-value mode from-buffer) | 272 | (and (boundp mode) (buffer-local-value mode from-buffer) |
| 274 | (insert (format " %s: %s\n" mode | 273 | (insert (format " %s: %s\n" mode |
| 275 | (buffer-local-value mode from-buffer))))) | 274 | (buffer-local-value mode from-buffer))))) |
| 276 | (insert "\n") | ||
| 277 | (insert "Recent input:\n") | ||
| 278 | (let ((before-keys (point))) | ||
| 279 | (insert (mapconcat (lambda (key) | ||
| 280 | (if (or (integerp key) | ||
| 281 | (symbolp key) | ||
| 282 | (listp key)) | ||
| 283 | (single-key-description key) | ||
| 284 | (prin1-to-string key nil))) | ||
| 285 | (or recent-keys (recent-keys)) | ||
| 286 | " ")) | ||
| 287 | (save-restriction | ||
| 288 | (narrow-to-region before-keys (point)) | ||
| 289 | (goto-char before-keys) | ||
| 290 | (while (progn (move-to-column 50) (not (eobp))) | ||
| 291 | (search-forward " " nil t) | ||
| 292 | (insert "\n")))) | ||
| 293 | (let ((message-buf (get-buffer "*Messages*"))) | 275 | (let ((message-buf (get-buffer "*Messages*"))) |
| 294 | (if message-buf | 276 | (if message-buf |
| 295 | (let (beg-pos | 277 | (let (beg-pos |
| @@ -298,7 +280,7 @@ usually do not have translators for other languages.\n\n"))) | |||
| 298 | (goto-char end-pos) | 280 | (goto-char end-pos) |
| 299 | (forward-line -10) | 281 | (forward-line -10) |
| 300 | (setq beg-pos (point))) | 282 | (setq beg-pos (point))) |
| 301 | (insert "\n\nRecent messages:\n") | 283 | (insert "\nRecent messages:\n") |
| 302 | (insert-buffer-substring message-buf beg-pos end-pos)))) | 284 | (insert-buffer-substring message-buf beg-pos end-pos)))) |
| 303 | ;; After Recent messages, to avoid the messages produced by | 285 | ;; After Recent messages, to avoid the messages produced by |
| 304 | ;; list-load-path-shadows. | 286 | ;; list-load-path-shadows. |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index a72a79a7797..3103eb0daa2 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -2061,15 +2061,16 @@ FILENAME is the source file, NEWNAME the target file. | |||
| 2061 | KEEP-DATE is non-nil if NEWNAME should have the same timestamp as FILENAME." | 2061 | KEEP-DATE is non-nil if NEWNAME should have the same timestamp as FILENAME." |
| 2062 | (with-temp-buffer | 2062 | (with-temp-buffer |
| 2063 | ;; We must disable multibyte, because binary data shall not be | 2063 | ;; We must disable multibyte, because binary data shall not be |
| 2064 | ;; converted. `insert-file-contents-literally' does not support | 2064 | ;; converted. We remove `tramp-file-name-handler' from |
| 2065 | ;; file name handlers for GNU Emacs; we must create a local copy | 2065 | ;; `inhibit-file-name-handlers'; otherwise the file name handler |
| 2066 | ;; therefore. | 2066 | ;; for `insert-file-contents' might be deactivated in some corner |
| 2067 | ;; cases. | ||
| 2067 | (set-buffer-multibyte nil) | 2068 | (set-buffer-multibyte nil) |
| 2068 | (let ((coding-system-for-read 'binary) | 2069 | (let ((coding-system-for-read 'binary) |
| 2069 | (jka-compr-inhibit t) | 2070 | (jka-compr-inhibit t) |
| 2070 | (tmpfile (file-local-copy filename))) | 2071 | (inhibit-file-name-handlers |
| 2071 | (insert-file-contents-literally (or tmpfile filename)) | 2072 | (remq 'tramp-file-name-handler inhibit-file-name-handlers))) |
| 2072 | (when tmpfile (delete-file tmpfile))) | 2073 | (insert-file-contents-literally filename)) |
| 2073 | ;; We don't want the target file to be compressed, so we let-bind | 2074 | ;; We don't want the target file to be compressed, so we let-bind |
| 2074 | ;; `jka-compr-inhibit' to t. | 2075 | ;; `jka-compr-inhibit' to t. |
| 2075 | (let ((coding-system-for-write 'binary) | 2076 | (let ((coding-system-for-write 'binary) |