[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#728501: w3m-el: mew-w3m-region & multiple blockquote
- From: Tatsuya Kinoshita <tats@xxxxxxxxxxxxxx>
- Date: Sun, 01 Dec 2013 19:13:45 +0900 (JST)
- X-ml-name: emacs-w3m
- X-mail-count: 12231
- References: <20131102.000010.18211097543963614.Christophe.Troestler@xxxxxxxxxxx> <20131104.235729.1314330540480451259.tats%nobody@xxxxxxxxxxxxxxx> <b4mfvrba5f3.fsf@xxxxxxx>
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))