aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2006-02-16 01:41:30 +0000
committerMiles Bader2006-02-16 01:41:30 +0000
commite7559e307df1582c802885c5c6f80fba230bc524 (patch)
treee1e54761e494b5f272eec3b0171d32a14ae45661
parent1899ba3642557437c156156bad44d99d4aae5323 (diff)
downloademacs-e7559e307df1582c802885c5c6f80fba230bc524.tar.gz
emacs-e7559e307df1582c802885c5c6f80fba230bc524.zip
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-88
Creator: Michael Olson <mwolson@gnu.org> Merge from erc--emacs--0
-rw-r--r--etc/ERC-NEWS36
-rw-r--r--lisp/erc/ChangeLog22
-rw-r--r--lisp/erc/erc-stamp.el9
-rw-r--r--lisp/erc/erc.el3
4 files changed, 64 insertions, 6 deletions
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS
index eee5589ad8d..ada1d02785d 100644
--- a/etc/ERC-NEWS
+++ b/etc/ERC-NEWS
@@ -1,5 +1,41 @@
1ERC NEWS -*- outline -*- 1ERC NEWS -*- outline -*-
2 2
3* Changes in ERC 5.1.2 (unreleased)
4
5** Fix compiler errors in erc-autojoin.el and erc-dcc.el.
6
7** Move to end of prompt when ERC reconnects to a server.
8
9** Changes and additions to modules
10
11*** Spell-checking (erc-spelling.el)
12
13**** Don't spell-check nicks or words that are prefixed with '/'.
14
15**** Remove flyspell properties from words we shouldn't spell-check.
16
17**** Fix an issue that caused the ispell process to reload every time
18we switch to an ERC buffer.
19
20*** Timestamps (erc-stamp.el)
21
22**** Fix an inconsistency in calculating width of right timestamps.
23
24**** Rename option `erc-timestamp-right-align-by-pixel' to
25`erc-timestamp-use-align-to'. This controls whether to use the more
26fail-proof method of aligning right timestamps, as mentioned below.
27
28**** Fix a right timestamp spacing problem that used to occur when
29erc-stamp.el was byte-compiled. Now that this is fixed, it is safe to
30use the method that aligns right timestamps perfectly in Emacs22 with
31X. If the current version of Emacs doesn't support this method, use
32the simpler method, which is prone to alignment issues for math
33symbols and other variable-width text.
34
35A side effect of using this new method is that there will only be one
36space before a right timestamp in any saved logs. If this is
37unacceptable, set `erc-timestamp-use-align-to' to nil.
38
3* Changes in ERC 5.1.1 39* Changes in ERC 5.1.1
4 40
5** Fix a requirement on cl.el. 41** Fix a requirement on cl.el.
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 3d44f87777c..ec2098c7bd3 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,25 @@
12006-02-15 Michael Olson <mwolson@gnu.org>
2
3 * 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
5 testing a potential fix.
6
72006-02-14 Michael Olson <mwolson@gnu.org>
8
9 * debian/changelog: Prepare a new Debian package.
10
11 * Makefile (debprepare): New rule that creates an ERC snapshot
12 directory for use in both new Debian releases and revisions for
13 Debian packages.
14 (debrelease, debrevision-mwolson): Use debprepare.
15
16 * NEWS: Bring up-to-date.
17
18 * erc-stamp.el (erc-insert-timestamp-right): For now, put
19 timestamps before rather than after erc-fill-column when
20 erc-timestamp-right-column is nil. This way we won't surprise
21 anyone unpleasantly, or so it is hoped.
22
12006-02-13 Michael Olson <mwolson@gnu.org> 232006-02-13 Michael Olson <mwolson@gnu.org>
2 24
3 * erc-dcc.el: Use (eval-when-compile (require 'cl)). 25 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
diff --git a/lisp/erc/erc-stamp.el b/lisp/erc/erc-stamp.el
index e5d4250d142..5d43baab6c9 100644
--- a/lisp/erc/erc-stamp.el
+++ b/lisp/erc/erc-stamp.el
@@ -240,19 +240,18 @@ be printed just before the window-width."
240 (goto-char (point-max)) 240 (goto-char (point-max))
241 (forward-char -1);; before the last newline 241 (forward-char -1);; before the last newline
242 (let* ((current-window (get-buffer-window (current-buffer))) 242 (let* ((current-window (get-buffer-window (current-buffer)))
243 (str-width (string-width string))
243 (pos (cond 244 (pos (cond
244 (erc-timestamp-right-column erc-timestamp-right-column) 245 (erc-timestamp-right-column erc-timestamp-right-column)
245 ((and (boundp 'erc-fill-mode) 246 ((and (boundp 'erc-fill-mode)
246 erc-fill-mode 247 erc-fill-mode
247 (boundp 'erc-fill-column) 248 (boundp 'erc-fill-column)
248 erc-fill-column) 249 erc-fill-column)
249 (1+ erc-fill-column)) 250 (1+ (- erc-fill-column str-width)))
250 (fill-column 251 (fill-column
251 (1+ fill-column)) 252 (1+ (- fill-column str-width)))
252 (t 253 (t
253 (- (window-width) 254 (- (window-width) str-width 1))))
254 (string-width string)
255 1))))
256 (from (point)) 255 (from (point))
257 (col (current-column)) 256 (col (current-column))
258 indent) 257 indent)
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index d444ab2af0f..e1dc240901b 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -1927,7 +1927,8 @@ Returns the buffer for the given server or channel."
1927 (goto-char (point-max)) 1927 (goto-char (point-max))
1928 (insert "\n")) 1928 (insert "\n"))
1929 (set-marker (process-mark erc-server-process) (point)) 1929 (set-marker (process-mark erc-server-process) (point))
1930 (unless continued-session 1930 (if continued-session
1931 (goto-char (point-max))
1931 (set-marker erc-insert-marker (point)) 1932 (set-marker erc-insert-marker (point))
1932 (erc-display-prompt) 1933 (erc-display-prompt)
1933 (goto-char (point-max))) 1934 (goto-char (point-max)))