[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Bug#728501: w3m-el: mew-w3m-region & multiple blockquote



On November 5, 2013, [emacs-w3m:12210], yamaoka (at jpl.org) wrote:
> I tried improving `mew-w3m-region' (I'm not a Mew user though).
> Does the attached patch make it do what you think right?

Works fine with the attached patch.

Thanks,
-- 
Tatsuya Kinoshita
2013-12-01  Tatsuya Kinoshita  <tats@xxxxxxxxxxxxxx>

	* mew-w3m.el (mew-w3m-region): Set point to minimum for
	`mew-w3m-cite-blockquote' to work.

diff --git a/mew-w3m.el b/mew-w3m.el
index c52e06a..f1d66ee 100644
--- a/mew-w3m.el
+++ b/mew-w3m.el
@@ -242,6 +242,7 @@ The variable `mew-w3m-region-cite-mark' specifies the citation mark."
       (w3m-region start end url charset)
     (save-restriction
       (narrow-to-region start end)
+      (goto-char (point-min))
       (mew-w3m-cite-blockquote)
       (w3m-region (point-min) (point-max) url charset)
       (goto-char (point-min))