diff options
| author | Paul Eggert | 2011-05-03 17:26:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-03 17:26:43 -0700 |
| commit | 13c15c6d700e63469a20679651649bd523f9de02 (patch) | |
| tree | d9b49afb103315016e122295dab5c5cbba6714e2 | |
| parent | 59dba0f4d83541ca638492d137db7723d47faa1e (diff) | |
| parent | c2f51e23ab57da738bf3d7e1411a28dcfd9da75c (diff) | |
| download | emacs-13c15c6d700e63469a20679651649bd523f9de02.tar.gz emacs-13c15c6d700e63469a20679651649bd523f9de02.zip | |
Merge from mainline.
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 6 | ||||
| -rw-r--r-- | lisp/ChangeLog | 22 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 16 | ||||
| -rw-r--r-- | lisp/erc/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 7 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/registry.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 7 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex.el | 7 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 20 | ||||
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
14 files changed, 92 insertions, 28 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ff4a3355e54..defdabc4d8f 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-05-03 Peter Münster <pmlists@free.fr> | ||
| 2 | |||
| 3 | * gnus.texi (Summary Buffer Lines): | ||
| 4 | gnus-summary-user-date-format-alist does not exist. | ||
| 5 | (Sorting the Summary Buffer): More about sorting threads. | ||
| 6 | |||
| 1 | 2011-04-25 Michael Albinus <michael.albinus@gmx.de> | 7 | 2011-04-25 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * trampver.texi: Update release number. | 9 | * trampver.texi: Update release number. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 9d9b767bcba..a35a7e85794 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -4953,7 +4953,7 @@ Download mark. | |||
| 4953 | Desired cursor position (instead of after first colon). | 4953 | Desired cursor position (instead of after first colon). |
| 4954 | @item &user-date; | 4954 | @item &user-date; |
| 4955 | Age sensitive date format. Various date format is defined in | 4955 | Age sensitive date format. Various date format is defined in |
| 4956 | @code{gnus-summary-user-date-format-alist}. | 4956 | @code{gnus-user-date-format-alist}. |
| 4957 | @item u | 4957 | @item u |
| 4958 | User defined specifier. The next character in the format string should | 4958 | User defined specifier. The next character in the format string should |
| 4959 | be a letter. Gnus will call the function | 4959 | be a letter. Gnus will call the function |
| @@ -7340,7 +7340,9 @@ predicate functions include @code{gnus-thread-sort-by-number}, | |||
| 7340 | 7340 | ||
| 7341 | Each function takes two threads and returns non-@code{nil} if the first | 7341 | Each function takes two threads and returns non-@code{nil} if the first |
| 7342 | thread should be sorted before the other. Note that sorting really is | 7342 | thread should be sorted before the other. Note that sorting really is |
| 7343 | normally done by looking only at the roots of each thread. | 7343 | normally done by looking only at the roots of each thread. Exceptions |
| 7344 | to this rule are @code{gnus-thread-sort-by-most-recent-number} and | ||
| 7345 | @code{gnus-thread-sort-by-most-recent-date}. | ||
| 7344 | 7346 | ||
| 7345 | If you use more than one function, the primary sort key should be the | 7347 | If you use more than one function, the primary sort key should be the |
| 7346 | last function in the list. You should probably always include | 7348 | last function in the list. You should probably always include |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aa9052adfb4..2c1ab1c7f6f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,27 @@ | |||
| 1 | 2011-05-03 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989). | ||
| 4 | |||
| 5 | 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es> | ||
| 6 | |||
| 7 | * textmodes/ispell.el (ispell-add-per-file-word-list): | ||
| 8 | Use `concat' to create string for insertion. | ||
| 9 | |||
| 10 | 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 11 | |||
| 12 | * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry): | ||
| 13 | Avoid open-line which runs post-self-insert-hook. | ||
| 14 | (bibtex-fill-entry): Remove unused `end' var. | ||
| 15 | |||
| 16 | 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change) | ||
| 17 | |||
| 18 | * textmodes/ispell.el (ispell-add-per-file-word-list): | ||
| 19 | Protect against `nil' value of `comment-start' (Bug#8579). | ||
| 20 | |||
| 1 | 2011-05-03 Leo Liu <sdl.web@gmail.com> | 21 | 2011-05-03 Leo Liu <sdl.web@gmail.com> |
| 2 | 22 | ||
| 3 | * isearch.el (isearch-yank-pop): New command. | 23 | * isearch.el (isearch-yank-pop): New command. |
| 4 | (isearch-mode-map): bind it to `M-y'. | 24 | (isearch-mode-map): Bind it to `M-y'. |
| 5 | (isearch-forward): Mention it. | 25 | (isearch-forward): Mention it. |
| 6 | 26 | ||
| 7 | 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | 27 | 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 5a5d6b88a2d..dffbf3418ca 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -35,10 +35,18 @@ | |||
| 35 | (eval-when-compile (require 'cl)) | 35 | (eval-when-compile (require 'cl)) |
| 36 | 36 | ||
| 37 | (defvar generated-autoload-file "loaddefs.el" | 37 | (defvar generated-autoload-file "loaddefs.el" |
| 38 | "*File \\[update-file-autoloads] puts autoloads into. | 38 | "File \\[update-file-autoloads] puts autoloads into. |
| 39 | A `.el' file can set this in its local variables section to make its | 39 | A Lisp file can set this in its local variables section to make |
| 40 | autoloads go somewhere else. The autoload file is assumed to contain a | 40 | its autoloads go somewhere else. |
| 41 | trailer starting with a FormFeed character.") | 41 | |
| 42 | If this is a relative file name, the directory is determined as | ||
| 43 | follows: | ||
| 44 | - If a Lisp file defined `generated-autoload-file' as a | ||
| 45 | file-local variable, use its containing directory. | ||
| 46 | - Otherwise use the \"lisp\" subdirectory of `source-directory'. | ||
| 47 | |||
| 48 | The autoload file is assumed to contain a trailer starting with a | ||
| 49 | FormFeed character.") | ||
| 42 | ;;;###autoload | 50 | ;;;###autoload |
| 43 | (put 'generated-autoload-file 'safe-local-variable 'stringp) | 51 | (put 'generated-autoload-file 'safe-local-variable 'stringp) |
| 44 | 52 | ||
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index bf9e1e21e0e..187d338c1bc 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-03 Debarshi Ray <rishi@gnu.org> (tiny change) | ||
| 2 | |||
| 3 | * erc-backend.el (671): New response handler. | ||
| 4 | * erc.el (english): Add 671 to catalog. | ||
| 5 | |||
| 1 | 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the | 8 | * erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 8a25e5f600d..d363ea92bdb 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -1951,6 +1951,13 @@ See `erc-display-server-message'." nil | |||
| 1951 | (erc-display-message parsed '(error notice) 'active 's482 | 1951 | (erc-display-message parsed '(error notice) 'active 's482 |
| 1952 | ?c channel ?m message))) | 1952 | ?c channel ?m message))) |
| 1953 | 1953 | ||
| 1954 | (define-erc-response-handler (671) | ||
| 1955 | "Secure connection response in WHOIS." nil | ||
| 1956 | (let ((nick (second (erc-response.command-args parsed))) | ||
| 1957 | (securemsg (erc-response.contents parsed))) | ||
| 1958 | (erc-display-message parsed 'notice 'active 's671 | ||
| 1959 | ?n nick ?a securemsg))) | ||
| 1960 | |||
| 1954 | (define-erc-response-handler (431 445 446 451 462 463 464 481 483 484 485 | 1961 | (define-erc-response-handler (431 445 446 451 462 463 464 481 483 484 485 |
| 1955 | 491 501 502) | 1962 | 491 501 502) |
| 1956 | ;; 431 - No nickname given | 1963 | ;; 431 - No nickname given |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index e2228a43303..a8c592696ad 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -6351,7 +6351,8 @@ All windows are opened in the current frame." | |||
| 6351 | (s485 . "You're not the original channel operator") | 6351 | (s485 . "You're not the original channel operator") |
| 6352 | (s491 . "No O-lines for your host") | 6352 | (s491 . "No O-lines for your host") |
| 6353 | (s501 . "Unknown MODE flag") | 6353 | (s501 . "Unknown MODE flag") |
| 6354 | (s502 . "You can't change modes for other users"))) | 6354 | (s502 . "You can't change modes for other users") |
| 6355 | (s671 . "%n %a"))) | ||
| 6355 | 6356 | ||
| 6356 | (defun erc-message-english-PART (&rest args) | 6357 | (defun erc-message-english-PART (&rest args) |
| 6357 | "Format a proper PART message. | 6358 | "Format a proper PART message. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 784f374bafa..a6d857ed660 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-05-03 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * shr.el: Add shr-link face for links. | ||
| 4 | (shr-urlify): Use it. | ||
| 5 | |||
| 6 | * registry.el (registry-insert): Make error message more helpful. | ||
| 7 | |||
| 1 | 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 8 | 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 9 | ||
| 3 | * gnus-html.el (gnus-html-schedule-image-fetching): Use | 10 | * gnus-html.el (gnus-html-schedule-image-fetching): Use |
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index 1a18dbd50d2..e82ca8d9b6f 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el | |||
| @@ -272,7 +272,7 @@ Errors out if the key exists already." | |||
| 272 | (assert (< (registry-size db) | 272 | (assert (< (registry-size db) |
| 273 | (oref db :max-hard)) | 273 | (oref db :max-hard)) |
| 274 | nil | 274 | nil |
| 275 | "max-hard size limit reached") | 275 | "registry max-hard size limit reached") |
| 276 | 276 | ||
| 277 | ;; store the entry | 277 | ;; store the entry |
| 278 | (puthash key entry (oref db :data)) | 278 | (puthash key entry (oref db :data)) |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index b2e4f1dc61d..d865b2d6087 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -91,6 +91,12 @@ cid: URL as the argument.") | |||
| 91 | "Font for <s> elements." | 91 | "Font for <s> elements." |
| 92 | :group 'shr) | 92 | :group 'shr) |
| 93 | 93 | ||
| 94 | (defface shr-link '((t (:underline t) | ||
| 95 | (:foreground "yellow") | ||
| 96 | (:background "black"))) | ||
| 97 | "Font for <s> elements." | ||
| 98 | :group 'shr) | ||
| 99 | |||
| 94 | ;;; Internal variables. | 100 | ;;; Internal variables. |
| 95 | 101 | ||
| 96 | (defvar shr-folding-mode nil) | 102 | (defvar shr-folding-mode nil) |
| @@ -591,6 +597,7 @@ START, and END. Note that START and END should be merkers." | |||
| 591 | :help-echo (if title (format "%s (%s)" url title) url) | 597 | :help-echo (if title (format "%s (%s)" url title) url) |
| 592 | :keymap shr-map | 598 | :keymap shr-map |
| 593 | url) | 599 | url) |
| 600 | (put-text-property start (point) 'face 'shr-link) | ||
| 594 | (put-text-property start (point) 'shr-url url)) | 601 | (put-text-property start (point) 'shr-url url)) |
| 595 | 602 | ||
| 596 | (defun shr-encode-url (url) | 603 | (defun shr-encode-url (url) |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 2d2c0380a4a..e49d7549776 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -4313,8 +4313,7 @@ If optional arg MOVE is non-nil move point to end of field." | |||
| 4313 | (goto-char (bibtex-start-of-field bounds)) | 4313 | (goto-char (bibtex-start-of-field bounds)) |
| 4314 | (forward-char) ; leading comma | 4314 | (forward-char) ; leading comma |
| 4315 | (bibtex-delete-whitespace) | 4315 | (bibtex-delete-whitespace) |
| 4316 | (open-line 1) | 4316 | (insert "\n") |
| 4317 | (forward-char) | ||
| 4318 | (indent-to-column (+ bibtex-entry-offset | 4317 | (indent-to-column (+ bibtex-entry-offset |
| 4319 | bibtex-field-indentation)) | 4318 | bibtex-field-indentation)) |
| 4320 | (re-search-forward "[ \t\n]*=" end-field) | 4319 | (re-search-forward "[ \t\n]*=" end-field) |
| @@ -4352,7 +4351,6 @@ column `bibtex-text-indentation' and continuation lines start here, too. | |||
| 4352 | If `bibtex-align-at-equal-sign' is non-nil, align equal signs, too." | 4351 | If `bibtex-align-at-equal-sign' is non-nil, align equal signs, too." |
| 4353 | (interactive "*") | 4352 | (interactive "*") |
| 4354 | (let ((pnt (copy-marker (point))) | 4353 | (let ((pnt (copy-marker (point))) |
| 4355 | (end (copy-marker (bibtex-end-of-entry))) | ||
| 4356 | (beg (bibtex-beginning-of-entry)) ; move point | 4354 | (beg (bibtex-beginning-of-entry)) ; move point |
| 4357 | bounds) | 4355 | bounds) |
| 4358 | (bibtex-delete-whitespace) | 4356 | (bibtex-delete-whitespace) |
| @@ -4364,8 +4362,7 @@ If `bibtex-align-at-equal-sign' is non-nil, align equal signs, too." | |||
| 4364 | (forward-char)) | 4362 | (forward-char)) |
| 4365 | (skip-chars-backward " \t\n") | 4363 | (skip-chars-backward " \t\n") |
| 4366 | (bibtex-delete-whitespace) | 4364 | (bibtex-delete-whitespace) |
| 4367 | (open-line 1) | 4365 | (insert "\n") |
| 4368 | (forward-char) | ||
| 4369 | (indent-to-column bibtex-entry-offset) | 4366 | (indent-to-column bibtex-entry-offset) |
| 4370 | (goto-char pnt))) | 4367 | (goto-char pnt))) |
| 4371 | 4368 | ||
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 35409d64289..c196218feec 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -3915,14 +3915,18 @@ Both should not be used to define a buffer-local dictionary." | |||
| 3915 | (progn | 3915 | (progn |
| 3916 | (open-line 1) | 3916 | (open-line 1) |
| 3917 | (unless found (newline)) | 3917 | (unless found (newline)) |
| 3918 | (insert (if (fboundp 'comment-padright) | 3918 | (insert (if comment-start |
| 3919 | ;; Try and use the proper comment marker, | 3919 | (concat |
| 3920 | ;; e.g. ";;" rather than ";". | 3920 | (if (fboundp 'comment-padright) |
| 3921 | (comment-padright comment-start | 3921 | ;; Try and use the proper comment marker, |
| 3922 | (comment-add nil)) | 3922 | ;; e.g. ";;" rather than ";". |
| 3923 | comment-start) | 3923 | (comment-padright comment-start |
| 3924 | " " ispell-words-keyword) | 3924 | (comment-add nil)) |
| 3925 | (if (> (length comment-end) 0) | 3925 | comment-start) |
| 3926 | " ") | ||
| 3927 | "") | ||
| 3928 | ispell-words-keyword) | ||
| 3929 | (if (and comment-end (> (length comment-end) 0)) | ||
| 3926 | (save-excursion | 3930 | (save-excursion |
| 3927 | (newline) | 3931 | (newline) |
| 3928 | (insert comment-end))))) | 3932 | (insert comment-end))))) |
diff --git a/src/ChangeLog b/src/ChangeLog index 0bcad1118b6..c1f43f4313d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-05-03 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Arithmetic overflows now return float rather than wrapping around. | 3 | Arithmetic overflows now return float rather than wrapping around. |
| 4 | (Bug#8611). | 4 | (Bug#8611). |
| @@ -108,6 +108,11 @@ | |||
| 108 | 108 | ||
| 109 | * fns.c (Frandom): Let EMACS_UINT be wider than unsigned long. | 109 | * fns.c (Frandom): Let EMACS_UINT be wider than unsigned long. |
| 110 | 110 | ||
| 111 | 2011-05-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 112 | |||
| 113 | * xterm.c (x_set_frame_alpha): Do not set property on anything | ||
| 114 | else than FRAME_X_OUTER_WINDOW (Bug#8608). | ||
| 115 | |||
| 111 | 2011-05-02 Juanma Barranquero <lekktu@gmail.com> | 116 | 2011-05-02 Juanma Barranquero <lekktu@gmail.com> |
| 112 | 117 | ||
| 113 | * sysdep.c (get_tty_size) [WINDOWSNT]: Implement. (Bug#8596) | 118 | * sysdep.c (get_tty_size) [WINDOWSNT]: Implement. (Bug#8596) |
diff --git a/src/xterm.c b/src/xterm.c index 491a8b3698f..20259b7ab2e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -454,11 +454,6 @@ x_set_frame_alpha (struct frame *f) | |||
| 454 | double alpha_min = 1.0; | 454 | double alpha_min = 1.0; |
| 455 | unsigned long opac; | 455 | unsigned long opac; |
| 456 | 456 | ||
| 457 | if (FRAME_X_DISPLAY_INFO (f)->root_window != FRAME_X_OUTPUT (f)->parent_desc) | ||
| 458 | /* Since the WM decoration lies under the FRAME_OUTER_WINDOW, | ||
| 459 | we must treat the former instead of the latter. */ | ||
| 460 | win = FRAME_X_OUTPUT (f)->parent_desc; | ||
| 461 | |||
| 462 | if (dpyinfo->x_highlight_frame == f) | 457 | if (dpyinfo->x_highlight_frame == f) |
| 463 | alpha = f->alpha[0]; | 458 | alpha = f->alpha[0]; |
| 464 | else | 459 | else |