はやみずです

> overlayで実装すると、そのoverlayの後ろへの文字の追加が
> 禁止できないためです。さらに追加された文字にもoverlayが
> かかっていたので、見えないところに文字が追加されていく
> 状況になってました。

どーにかならんもんかと思っていたのですが、プロパティを使えばよかったん
ですね。どうもありがとうございます。現状だとバッファの末尾に移動はでき
て、そこで入力しようとすると read only と怒られるようになっていますが、
バッファの末尾への移動もできれば禁止したいですね。


> この変更に合わせて、twittering-edit-extract-status()も
> propertyでヘルプを探してそれ意外の部分をstatusと見なす
> ようにしています。末尾の改行等も取り除かれません。

末尾の改行は取り除いてあげたほうがよいように思います。末尾に改行や空白
文字を含んでいて140文字オーバーになってしまったりするのはなんだかなあ、
と。末尾の空白文字と改行を含んだ状態でpostしても、結局はTwitter側で取り
除かれてしまうようなので、あえて書けるようにしておく需要もありませんし。


At Fri, 15 Jan 2010 21:34:39 +0900 (JST),
Tadashi MATSUO wrote:
> 
> 松尾です。
> 
> pop-up buffer上に表示されるヘルプをtext propertyでの
> 実装に変更してみました。
> 
> overlayで実装すると、そのoverlayの後ろへの文字の追加が
> 禁止できないためです。さらに追加された文字にもoverlayが
> かかっていたので、見えないところに文字が追加されていく
> 状況になってました。
> 
> この変更に合わせて、twittering-edit-extract-status()も
> propertyでヘルプを探してそれ意外の部分をstatusと見なす
> ようにしています。末尾の改行等も取り除かれません。
> 
> ---
> 松尾 直志 <[email protected]>
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> twmode-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/twmode-users

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
twmode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/twmode-users

メールによる返信