diff options
| author | Miles Bader | 2006-02-20 09:40:28 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-02-20 09:40:28 +0000 |
| commit | d8bd1ad4948b8efd7f3bd9ca704e77034241793c (patch) | |
| tree | cf78f69c4b5157f3be6f4626ca6e2ba35d8ee8ec | |
| parent | 2f90d2bc9d98b273b1f2b2c1c69dd4f86247555d (diff) | |
| download | emacs-d8bd1ad4948b8efd7f3bd9ca704e77034241793c.tar.gz emacs-d8bd1ad4948b8efd7f3bd9ca704e77034241793c.zip | |
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-102
Creator: Michael Olson <mwolson@gnu.org>
Merge from erc--emacs--0
| -rw-r--r-- | etc/ERC-NEWS | 4 | ||||
| -rw-r--r-- | lisp/erc/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/erc/erc-button.el | 17 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 2 | ||||
| -rw-r--r-- | man/erc.texi | 2 |
5 files changed, 39 insertions, 4 deletions
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS index ada1d02785d..67345efe090 100644 --- a/etc/ERC-NEWS +++ b/etc/ERC-NEWS | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | ERC NEWS -*- outline -*- | 1 | ERC NEWS -*- outline -*- |
| 2 | 2 | ||
| 3 | * Changes in ERC 5.1.2 (unreleased) | 3 | * Changes in ERC 5.2 (unreleased) |
| 4 | |||
| 5 | * Changes in ERC 5.1.2 | ||
| 4 | 6 | ||
| 5 | ** Fix compiler errors in erc-autojoin.el and erc-dcc.el. | 7 | ** Fix compiler errors in erc-autojoin.el and erc-dcc.el. |
| 6 | 8 | ||
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index ec2098c7bd3..92f8c401336 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,5 +1,21 @@ | |||
| 1 | 2006-02-19 Michael Olson <mwolson@gnu.org> | ||
| 2 | |||
| 3 | * erc-capab.el (erc-capab-send-identify-messages): Make sure some | ||
| 4 | parameters are strings before using them. Thanks to Alejandro | ||
| 5 | Benitez for the report. | ||
| 6 | |||
| 7 | * erc.el (erc-version-string): Release ERC 5.1.2. | ||
| 8 | |||
| 9 | 2006-02-19 Diane Murray <disumu@x3y2z1.net> | ||
| 10 | |||
| 11 | * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to | ||
| 12 | <C-tab>. | ||
| 13 | (erc-button-previous): New function. | ||
| 14 | |||
| 1 | 2006-02-15 Michael Olson <mwolson@gnu.org> | 15 | 2006-02-15 Michael Olson <mwolson@gnu.org> |
| 2 | 16 | ||
| 17 | * NEWS: Add category for ERC 5.2. | ||
| 18 | |||
| 3 | * erc.el (erc): Move to the end of the buffer when a continued | 19 | * erc.el (erc): Move to the end of the buffer when a continued |
| 4 | session is detected. Thanks to e1f and indio for the report and | 20 | session is detected. Thanks to e1f and indio for the report and |
| 5 | testing a potential fix. | 21 | testing a potential fix. |
| @@ -150,7 +166,7 @@ | |||
| 150 | * erc-stamp.el: Use new arch tagline, since the other one wasn't | 166 | * erc-stamp.el: Use new arch tagline, since the other one wasn't |
| 151 | being treated properly. | 167 | being treated properly. |
| 152 | 168 | ||
| 153 | * erc.el (erc-version-string): Release ERC 5.1.1 | 169 | * erc.el (erc-version-string): Release ERC 5.1.1. |
| 154 | 170 | ||
| 155 | 2006-02-03 Zhang Wei <id.brep@gmail.com> (tiny change) | 171 | 2006-02-03 Zhang Wei <id.brep@gmail.com> (tiny change) |
| 156 | 172 | ||
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 6c6998a3afc..2ec625cc87f 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -216,6 +216,7 @@ PAR is a number of a regexp grouping whose text will be passed to | |||
| 216 | (define-key map (kbd "<button2>") 'erc-button-click-button) | 216 | (define-key map (kbd "<button2>") 'erc-button-click-button) |
| 217 | (define-key map (kbd "<mouse-2>") 'erc-button-click-button)) | 217 | (define-key map (kbd "<mouse-2>") 'erc-button-click-button)) |
| 218 | (define-key map (kbd "TAB") 'erc-button-next) | 218 | (define-key map (kbd "TAB") 'erc-button-next) |
| 219 | (define-key map (kbd "<C-tab>") 'erc-button-previous) | ||
| 219 | (set-keymap-parent map erc-mode-map) | 220 | (set-keymap-parent map erc-mode-map) |
| 220 | map) | 221 | map) |
| 221 | "Local keymap for ERC buttons.") | 222 | "Local keymap for ERC buttons.") |
| @@ -427,6 +428,22 @@ call it with the value of the `erc-data' text property." | |||
| 427 | (error "No next button")) | 428 | (error "No next button")) |
| 428 | t))) | 429 | t))) |
| 429 | 430 | ||
| 431 | (defun erc-button-previous () | ||
| 432 | "Go to the previous button in this buffer." | ||
| 433 | (interactive) | ||
| 434 | (let ((here (point))) | ||
| 435 | (when (< here (erc-beg-of-input-line)) | ||
| 436 | (while (and (get-text-property here 'erc-callback) | ||
| 437 | (not (= here (point-min)))) | ||
| 438 | (setq here (1- here))) | ||
| 439 | (while (and (not (get-text-property here 'erc-callback)) | ||
| 440 | (not (= here (point-min)))) | ||
| 441 | (setq here (1- here))) | ||
| 442 | (if (> here (point-min)) | ||
| 443 | (goto-char here) | ||
| 444 | (error "No previous button")) | ||
| 445 | t))) | ||
| 446 | |||
| 430 | (defun erc-browse-emacswiki (thing) | 447 | (defun erc-browse-emacswiki (thing) |
| 431 | "Browse to thing in the emacs-wiki." | 448 | "Browse to thing in the emacs-wiki." |
| 432 | (browse-url (concat erc-emacswiki-url thing))) | 449 | (browse-url (concat erc-emacswiki-url thing))) |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index e1dc240901b..63ff60d762e 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -66,7 +66,7 @@ | |||
| 66 | 66 | ||
| 67 | ;;; Code: | 67 | ;;; Code: |
| 68 | 68 | ||
| 69 | (defconst erc-version-string "Version 5.1.1" | 69 | (defconst erc-version-string "Version 5.1.2" |
| 70 | "ERC version. This is used by function `erc-version'.") | 70 | "ERC version. This is used by function `erc-version'.") |
| 71 | 71 | ||
| 72 | (eval-when-compile (require 'cl)) | 72 | (eval-when-compile (require 'cl)) |
diff --git a/man/erc.texi b/man/erc.texi index fb9c60d635d..4713afa2fbc 100644 --- a/man/erc.texi +++ b/man/erc.texi | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | @syncodeindex fn cp | 12 | @syncodeindex fn cp |
| 13 | 13 | ||
| 14 | @copying | 14 | @copying |
| 15 | This manual is for ERC version 5.1.1. | 15 | This manual is for ERC version 5.1.2. |
| 16 | 16 | ||
| 17 | Copyright @copyright{} 2005, 2006 Free Software Foundation, Inc. | 17 | Copyright @copyright{} 2005, 2006 Free Software Foundation, Inc. |
| 18 | 18 | ||