[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ぶら下がり処理が後続行で行われることがある
- To: mule-ja@xxxxxxxx
- Subject: Re: ぶら下がり処理が後続行で行われることがある
- From: Kenichi Handa <handa@xxxxxxxx>
- Date: Tue, 06 Dec 2005 15:26:39 +0900
- Cc: mule-ja@xxxxxxxx
- In-reply-to: <20051205.175746.82629497.horiguti@horiguti.meadowy.org> (messagefrom Kyotaro HORIGUCHI on Mon, 05 Dec 2005 17:57:46 +0900 (JST))
- List-help: <mailto:mule-ja-ctl@m17n.org?body=help>
- List-id: mule-ja.m17n.org
- List-owner: <mailto:mule-ja-admin@m17n.org>
- List-post: <mailto:mule-ja@m17n.org>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:mule-ja-ctl@m17n.org?body=unsubscribe>
- References: <20051205.175746.82629497.horiguti@horiguti.meadowy.org>
- Reply-to: mule-ja@xxxxxxxx
- Sender: Kenichi Handa <handa@xxxxxxxxxxxxxxx>
- User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
In article <20051205.175746.82629497.horiguti@xxxxxxxxxxxxxxxxxxxx>, Kyotaro HORIGUCHI <horiguti@xxxxxxxxxxx> writes:
> 堀口です.
> kinsoku が微妙な動作をします.
> 参考 http://www.meadowy.org/meadow/ticket/252
> auto-fill-mode で禁則処理を行うときに現在の行が fill-column より
> 長いけれど切る場所がないときに後ろの行の中で切れる最初のポイントを
> 見つけて見境なく切ってしまいます.
報告ありがとうございます。
> =====
> Index: lisp/international/kinsoku.el
> ===================================================================
> --- lisp/international/kinsoku.el (revision 3996)
> +++ lisp/international/kinsoku.el (working copy)
> @@ -127,6 +127,7 @@
> (save-excursion
> (forward-char 1)
> (while (and (not (eobp))
> + (not (eq (following-char) ?\n))
> (or (aref (char-category-set (following-char)) ?>)
> ;; protect non-kinsoku words
> (not (or (eq (preceding-char) ? )
> --
上記の代りに eobp ではなく eolp を使うよう修正しました。
---
半田@AIST