2002-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
+ * lisp/gnus-vers.el (gnus-revision-number): Increment to 11 in
+ order to force update cached format specs.
+
+ * lisp/gnus-spec.el (gnus-spec-tab): Deal with wide characters.
+
+2002-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
* lisp/message.el (message-strip-forbidden-properties): Don't
strip properties when the invisible MIME part is inserted.
(defun gnus-spec-tab (column)
(if (> column 0)
`(insert (make-string (max (- ,column (current-column)) 0) ? ))
- `(progn
- (if (> (current-column) ,(abs column))
- (delete-region (point)
- (- (point) (- (current-column) ,(abs column))))
- (insert (make-string (max (- ,(abs column) (current-column)) 0)
- ? ))))))
+ (let ((column (abs column)))
+ (if gnus-use-correct-string-widths
+ `(progn
+ (if (> (current-column) ,column)
+ (while (progn
+ (delete-backward-char 1)
+ (> (current-column) ,column))))
+ (insert (make-string (max (- ,column (current-column)) 0) ? )))
+ `(progn
+ (if (> (current-column) ,column)
+ (delete-region (point)
+ (- (point) (- (current-column) ,column)))
+ (insert (make-string (max (- ,column (current-column)) 0)
+ ? ))))))))
(defun gnus-correct-length (string)
"Return the correct width of STRING."
(require 'product)
(provide 'gnus-vers)
-(defconst gnus-revision-number "10"
+(defconst gnus-revision-number "11"
"Revision number for this version of gnus.")
;; Product information of this gnus.