From: Gnus developers Date: Mon, 6 Dec 2010 03:59:56 +0000 (+0000) Subject: nnir.el (nnir-request-move-article): Remove obsolete code. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~38 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7454326ab9058b94b956d8c2ac3d3f340281467d;p=emacs.git nnir.el (nnir-request-move-article): Remove obsolete code. shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d71d546a2c9..f36598780b4 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,11 @@ +2010-12-06 Katsumi Yamaoka + + * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol. + +2010-12-06 Andrew Cohen + + * nnir.el (nnir-request-move-article): Remove obsolete code. + 2010-12-05 Katsumi Yamaoka * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile. diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index b706d150f7d..750218d4a9a 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -676,10 +676,7 @@ Add an entry here when adding a new search engine.") (to-newsgroup (nth 1 accept-form)) (to-method (gnus-find-method-for-group to-newsgroup)) (from-method (gnus-find-method-for-group artfullgroup)) - (move-is-internal (gnus-server-equal from-method to-method)) - (artsubject (mail-header-subject - (gnus-data-header - (assoc article (gnus-data-list nil)))))) + (move-is-internal (gnus-server-equal from-method to-method))) (unless (gnus-check-backend-function 'request-move-article artfullgroup) (error "The group %s does not support article moving" artfullgroup)) diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 0b2fa939b1f..4c4f47e0225 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -301,12 +301,12 @@ redirects somewhere else." (eq (following-char) ? ) (shr-char-breakable-p (preceding-char)) (shr-char-breakable-p (following-char)) - (and (eq (preceding-char) ?') - (not (memq (char-after (- (point) 2)) - (list nil ?\n ? )))) - ;; There're some kinsoku CJK chars that aren't breakable. - (and (shr-char-kinsoku-bol-p (preceding-char)) - (not (shr-char-kinsoku-bol-p (following-char)))) + (if (eq (preceding-char) ?') + (not (memq (char-after (- (point) 2)) + (list nil ?\n ? ))) + ;; There're some kinsoku CJK chars that aren't breakable. + (and (shr-char-kinsoku-bol-p (preceding-char)) + (not (shr-char-kinsoku-bol-p (following-char))))) (shr-char-kinsoku-eol-p (following-char)))) (backward-char 1)) (if (and (not (or failed (eolp)))