semi problem setting paragraph-start
Yoichi NAKAYAMA
yoichi @ geiin.org
2007年 4月 24日 (火) 21:27:05 JST
At Mon, 16 Apr 2007 11:13:29 +0900,
Katsumi Yamaoka wrote:
> > (defun turn-on-mime-edit ()
> > ...
> > (setq paragraph-start
> > (regexp-or mime-edit-single-part-tag-regexp
> > paragraph-start))
>
> > The problem is that paragraph-start is set here many times so it
> > becomes very very long. 307 nested groups.
>
> That's obviously a bug. In addition, there's also the same
> problem about `paragraph-separate'.
>
> > One of the commenters in that thread noted that "turn-on-mime-edit"
> > must have been called repeatedly. The folks on emacs.devel suggest
> > that it's necessary to "call make-local-variable on paragraph-start."
>
> > Does this seem like a problem? What else can I do to help track it
> > down?
>
> It's not necessarily a problem if FOO-mail-mode, which runs
> `turn-on-mime-edit', makes `paragraph-start' buffer-local or is
> derived from a mode which does it. For example, it's not a
> problem in Semi-gnus.
Since mime-edit does change the value for its specific purpose,
mime-edit itself is responsible for making the variable local.
Therefore Yamaoka-san's change in semi-1_14 branch seems
appropriate. Why don't you merge it to emiko-1_14 branch?
Regards,
--
Yoichi NAKAYAMA
More information about the Emacs-mime-ja
mailing list