+Wed Jun 18 01:11:58 1997 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
+
+ * gnus.el: Gnus v5.4.58 is released.
+
+Wed Jun 18 01:02:34 1997 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
+
+ * gnus.el: Backed out all char-afters which caused bugs all over
+ the place.
+
Wed Jun 18 00:33:41 1997 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
* gnus.el: Gnus v5.4.57 is released.
(when (search-forward "\n\n" nil t)
(let ((buffer-read-only nil))
(while (search-forward "\b" nil t)
- (let ((next (char-after (point)))
+ (let ((next (following-char))
(previous (char-after (- (point) 2))))
;; We do the boldification/underlining by hiding the
;; overstrikes and putting the proper text property
(adaptive-fill-mode t))
(while (not (eobp))
(and (>= (current-column) (min fill-column (window-width)))
- (/= (char-before (point)) ?:)
+ (/= (preceding-char) ?:)
(fill-paragraph nil))
(end-of-line 2))))))
(interactive "r")
(goto-char from)
(while (search-forward "=" to t)
- (cond ((eq (char-after (point)) ?\n)
+ (cond ((eq (following-char) ?\n)
(delete-char -1)
(delete-char 1))
((looking-at "[0-9A-F][0-9A-F]")
(beginning-of-line)
(forward-char (or (cdr (assq 'process gnus-group-mark-positions)) 2))
(subst-char-in-region
- (point) (1+ (point)) (char-after (point))
+ (point) (1+ (point)) (following-char)
(if unmark
(progn
(setq gnus-group-marked (delete group gnus-group-marked))
(when (gnus-gethash (symbol-name group) gnus-newsrc-hashtb)
;; Valid group.
(beginning-of-line)
- (while (= (char-after (point)) ?\t)
+ (while (= (following-char) ?\t)
(forward-line -1))
(setq id (buffer-substring (point) (1- (search-forward "\t"))))
(unless (gnus-gethash id gnus-nocem-hashtb)
(gnus-sethash id t gnus-nocem-hashtb)
(push id ncm))
(forward-line 1)
- (while (= (char-after (point)) ?\t)
+ (while (= (following-char) ?\t)
(forward-line 1))))))
(when ncm
(setq gnus-nocem-touched-alist t)
(while (progn
(forward-line -1)
(forward-char col)
- (= (char-after (point)) ? ))
+ (= (following-char) ? ))
(delete-char 1)
(insert (caddr gnus-tree-parent-child-edges)))
(goto-char beg)))
(while (progn
(unless (bolp)
(forward-char -2))
- (= (char-after (point)) ? ))
+ (= (following-char) ? ))
(delete-char 1)
(insert (car gnus-tree-parent-child-edges)))
(goto-char beg)
(t
nil)))
;; User-defined spec -- find the spec name.
- (when (= (setq spec (char-after (point))) ?u)
+ (when (= (setq spec (following-char)) ?u)
(forward-char 1)
- (setq user-defined (char-after (point))))
+ (setq user-defined (following-char)))
(forward-char 1)
(delete-region spec-beg (point))
(save-excursion
(beginning-of-line)
;; If this group it killed, then we want to subscribe it.
- (when (= (char-after (point)) ?K)
+ (when (= (following-char) ?K)
(setq sub t))
(setq group (gnus-browse-group-name))
;; Make sure the group has been properly removed before we
(progn
(skip-chars-forward " \t")
(not
- (or (= (char-after (point)) ?=)
- (= (char-after (point)) ?x)
- (= (char-after (point)) ?j)))))
+ (or (= (following-char) ?=)
+ (= (following-char) ?x)
+ (= (following-char) ?j)))))
(progn
(set group (cons min max))
;; if group is moderated, stick in moderation table
- (when (= (char-after (point)) ?m)
+ (when (= (following-char) ?m)
(unless gnus-moderated-hashtb
(setq gnus-moderated-hashtb (gnus-make-hashtable)))
(gnus-sethash (symbol-name group) t
(let (min max group)
(while (not (eobp))
(condition-case ()
- (when (= (char-after (point)) ?2)
+ (when (= (following-char) ?2)
(read cur) (read cur)
(setq min (read cur)
max (read cur))
(unless (boundp symbol)
(set symbol nil))
;; It was a group name.
- (setq subscribed (= (char-after (point)) ?:)
+ (setq subscribed (= (following-char) ?:)
group (symbol-name symbol)
reads nil)
(if (eolp)
(read buf)))
(widen)
;; If the next character is a dash, then this is a range.
- (if (= (char-after (point)) ?-)
+ (if (= (following-char) ?-)
(progn
;; We read the upper bound of the range.
(forward-char 1)
(push num1 reads))
;; If the next char in ?\n, then we have reached the end
;; of the line and return nil.
- (/= (char-after (point)) ?\n))
- ((= (char-after (point)) ?\n)
+ (/= (following-char) ?\n))
+ ((= (following-char) ?\n)
;; End of line, so we end.
nil)
(t
(while (setq point (pop config))
(when (and (< point (point-max))
(goto-char point)
- (= (char-after (point)) ?\n))
+ (= (following-char) ?\n))
(subst-char-in-region point (1+ point) ?\n ?\r)))))
;; Various summary mode internalish functions.
(defmacro gnus-nov-read-integer ()
'(prog1
- (if (= (char-after (point)) ?\t)
+ (if (= (following-char) ?\t)
0
(let ((num (ignore-errors (read buffer))))
(if (numberp num) num 0)))
(gnus-nov-field)) ; refs
(gnus-nov-read-integer) ; chars
(gnus-nov-read-integer) ; lines
- (if (eq (char-after (point)) ?\n)
+ (if (= (following-char) ?\n)
nil
(gnus-nov-field))))) ; misc
(save-restriction
(nnheader-narrow-to-headers)
(goto-char (point-min))
- (when (or (and (eq (downcase (char-after (point))) ?x)
+ (when (or (and (eq (downcase (following-char)) ?x)
(looking-at "Xref:"))
(search-forward "\nXref:" nil t))
(goto-char (1+ (match-end 0)))
;; Go to the right position on the line.
(goto-char (+ forward (point)))
;; Replace the old mark with the new mark.
- (subst-char-in-region (point) (1+ (point)) (char-after (point)) mark)
+ (subst-char-in-region (point) (1+ (point)) (following-char) mark)
;; Optionally update the marks by some user rule.
(when (eq type 'unread)
(gnus-data-set-mark
:link '(custom-manual "(gnus)Exiting Gnus")
:group 'gnus)
-(defconst gnus-version-number "5.4.57"
+(defconst gnus-version-number "5.4.58"
"Version number for this version of Gnus.")
(defconst gnus-version (format "Gnus v%s" gnus-version-number)
start end)
(while (and (setq start (point))
(> (skip-chars-forward "^\0- :") 0)
- (= (char-after (point)) ?:)
+ (= (following-char) ?:)
(setq end (point))
(progn (forward-char)
(> (skip-chars-forward " \t") 0)))
(not paren))))
(push (buffer-substring beg (point)) elems)
(setq beg (match-end 0)))
- ((= (char-after (point)) ?\")
+ ((= (following-char) ?\")
(setq quoted (not quoted)))
- ((and (= (char-after (point)) ?\()
+ ((and (= (following-char) ?\()
(not quoted))
(setq paren t))
- ((and (= (char-after (point)) ?\))
+ ((and (= (following-char) ?\))
(not quoted))
(setq paren nil))))
(nreverse elems)))))
(message-remove-header message-ignored-mail-headers t))
(goto-char (point-max))
;; require one newline at the end.
- (or (= (char-before (point)) ?\n)
+ (or (= (preceding-char) ?\n)
(insert ?\n))
(when (and news
(or (message-fetch-field "cc")
(message-remove-header message-ignored-news-headers t))
(goto-char (point-max))
;; require one newline at the end.
- (or (= (char-before (point)) ?\n)
+ (or (= (preceding-char) ?\n)
(insert ?\n))
(let ((case-fold-search t))
;; Remove the delimiter.
(progn
;; The header was found. We insert a space after the
;; colon, if there is none.
- (if (/= (char-after (point)) ? ) (insert " ") (forward-char 1))
+ (if (/= (following-char) ? ) (insert " ") (forward-char 1))
;; Find out whether the header is empty...
(looking-at "[ \t]*$")))
;; So we find out what value we should insert.
(goto-char (point-min))
(while (not (eobp))
(skip-chars-forward "^,\"" (point-max))
- (if (or (= (char-after (point)) ?,)
+ (if (or (= (following-char) ?,)
(eobp))
(when (not quoted)
(if (and (> (current-column) 78)
(search-backward ":" )
(widen)
(forward-char 1)
- (if (= (char-after (point)) ? )
+ (if (= (following-char) ? )
(forward-char 1)
(insert " ")))
(t
(goto-char (min start end))
(while (< (point) end1)
(or (looking-at "[_\^@- ]")
- (insert (char-after (point)) "\b"))
+ (insert (following-char) "\b"))
(forward-char 1)))))
;;;###autoload
(move-marker end1 (max start end))
(goto-char (min start end))
(while (re-search-forward "\b" end1 t)
- (if (eq (char-after (point)) (char-after (- (point) 2)))
+ (if (eq (following-char) (char-after (- (point) 2)))
(delete-char -2))))))
(defalias 'message-exchange-point-and-mark 'exchange-point-and-mark)
(defmacro nnheader-nov-read-integer ()
'(prog1
- (if (= (char-after (point)) ?\t)
+ (if (= (following-char) ?\t)
0
(let ((num (ignore-errors (read (current-buffer)))))
(if (numberp num) num 0)))
(nnheader-nov-field) ; refs
(nnheader-nov-read-integer) ; chars
(nnheader-nov-read-integer) ; lines
- (if (= (char-after (point)) ?\n)
+ (if (= (following-char) ?\n)
nil
(nnheader-nov-field)) ; misc
)))
(when (and (or (bobp)
(save-excursion
(forward-line -1)
- (= (char-after (point)) ?\n)))
+ (= (following-char) ?\n)))
(save-excursion
(forward-line 1)
(while (looking-at ">From \\|From ")
(when (and (or (bobp)
(save-excursion
(forward-line -1)
- (= (char-after (point)) ?\n)))
+ (= (following-char) ?\n)))
(save-excursion
(forward-line 1)
(while (looking-at ">From \\|From ")
(goto-char (point-min))
(while (re-search-forward "[^ \t=]+" nil t)
(setq name (match-string 0))
- (if (not (= (char-after (point)) ?=))
+ (if (not (= (following-char) ?=))
;; Implied "yes".
(setq value "yes")
(forward-char 1)
- (if (not (= (char-after (point)) ?\"))
+ (if (not (= (following-char) ?\"))
(if (not (looking-at "[^ \t]"))
;; Implied "no".
(setq value "no")
(message-remove-header message-ignored-mail-headers t))
(goto-char (point-max))
;; require one newline at the end.
- (or (= (char-before (point)) ?\n)
+ (or (= (preceding-char) ?\n)
(insert ?\n))
(let ((case-fold-search t))
;; Change header-delimiter to be what sendmail expects.
(save-excursion
(goto-char start)
(when (and (re-search-backward "[()]" nil t)
- (= (char-after (point)) ?\()
+ (= (following-char) ?\()
(goto-char end)
(or (not (re-search-forward "[()]" nil t))
(= (char-after (1- (point))) ?\()))
\input texinfo @c -*-texinfo-*-
@setfilename gnus
-@settitle Gnus 5.4.57 Manual
+@settitle Gnus 5.4.58 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Gnus 5.4.57 Manual
+@title Gnus 5.4.58 Manual
@author by Lars Magne Ingebrigtsen
@page
spool or your mbox file. All at the same time, if you want to push your
luck.
-This manual corresponds to Gnus 5.4.57.
+This manual corresponds to Gnus 5.4.58.
@end ifinfo
\input texinfo @c -*-texinfo-*-
@setfilename message
-@settitle Message 5.4.57 Manual
+@settitle Message 5.4.58 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Message 5.4.57 Manual
+@title Message 5.4.58 Manual
@author by Lars Magne Ingebrigtsen
@page
* Key Index:: List of Message mode keys.
@end menu
-This manual corresponds to Message 5.4.57. Message is distributed with
+This manual corresponds to Message 5.4.58. Message is distributed with
the Gnus distribution bearing the same version number as this manual
has.