+1999-11-07 21:07:55 Shenghuo ZHU <zsh@cs.rochester.edu>
+
+ * gnus-start.el (gnus-active-to-gnus-format): Don't insert backslash
+ if cooked.
+ * gnus-util.el (gnus-write-active-file): Write cooked active file.
+ * gnus-agent.el (gnus-agent-save-group-info): Ditto.
+ * gnus.el (gnus-short-group-name): "..." proof.
+
1999-11-07 20:03:16 Shenghuo ZHU <zsh@cs.rochester.edu>
- * gnus-srvr.el (gnus-browse-foreign-server): Keeping use `read' to
+ * gnus-srvr.el (gnus-browse-foreign-server): Keep using `read' to
support nnslashdot.
1999-11-08 00:06:02 Lars Magne Ingebrigtsen <larsi@gnus.org>
(when (re-search-forward
(concat "^" (regexp-quote group) " ") nil t)
(gnus-delete-line))
- (insert group " " (number-to-string (cdr active)) " "
- (number-to-string (car active)) " y\n")))))
+ (insert (format "%S %d %d y\n" (intern group) (cdr active)
+ (car active)))))))
(defun gnus-agent-group-path (group)
"Translate GROUP into a path."
(t
(delete-matching-lines (concat "^to\\.\\|" gnus-ignored-newsgroups))))
- ;; Make the group names readable as a lisp expression even if they
- ;; contain special characters.
- (goto-char (point-max))
- (while (re-search-backward "[][';?()#]" nil t)
- (insert ?\\))
+ (goto-char (point-min))
+ (unless (re-search-forward "[\\\"]" nil t)
+ ;; Make the group names readable as a lisp expression even if they
+ ;; contain special characters.
+ (goto-char (point-max))
+ (while (re-search-backward "[][';?()#]" nil t)
+ (insert ?\\)))
;; Let the Gnus agent save the active file.
(when (and gnus-agent real-active gnus-plugged)
(when (and sym
(boundp sym)
(symbol-value sym))
- (insert (format "%s %d %d y\n"
+ (insert (format "%S %d %d y\n"
(if full-names
- (symbol-name sym)
- (gnus-group-real-name (symbol-name sym)))
+ sym
+ (intern (gnus-group-real-name (symbol-name sym))))
(or (cdr (symbol-value sym))
(car (symbol-value sym)))
(car (symbol-value sym))))))
res)
(setq levels (- glen levels))
(dolist (g glist)
- (push (if (>= (decf levels) 0)
- (substring g 0 1)
- g)
- res))
+ (if (> (length g) 0)
+ (push (if (>= (decf levels) 0)
+ (substring g 0 1)
+ g)
+ res)))
(concat foreign (mapconcat 'identity (nreverse res) "."))))))
-
+
(defun gnus-narrow-to-body ()
"Narrow to the body of an article."
(narrow-to-region