2ちゃんねる ★スマホ版★ ■掲示板に戻る■ 全部 1- 最新50  

■ このスレッドは過去ログ倉庫に格納されています

Navi2ch for Emacs (part 7)

628 :名無しさん@お腹いっぱい。:02/10/28 00:37
Board モードにて、更新されていた場合にレスの増分を表示するというのは
どうでしょうか。

Index: navi2ch-board.el
===================================================================
RCS file: /cvsroot/navi2ch/navi2ch/navi2ch-board.el,v
retrieving revision 1.49
diff -u -r1.49 navi2ch-board.el
--- navi2ch-board.el16 Oct 2002 16:48:07 -00001.49
+++ navi2ch-board.el19 Oct 2002 04:38:15 -0000
@@ -266,7 +266,16 @@
(navi2ch-bm-insert-subject
article i
(cdr (assq 'subject article))
- (format "(%4s)" (cdr (assq 'response article)))
+ (let ((num (cdr (assq 'response article))))
+ (if (and navi2ch-board-check-updated-article-p
+ (navi2ch-board-updated-article-p article seen))
+ (format "(%4s (+%d))" num
+ (- (string-to-number num)
+ (string-to-number
+ (or (cdr (assoc (cdr (assq 'artid article))
+ navi2ch-board-old-subject-alist))
+ "0"))))
+ (format "(%4s)" num)))
(cond ((and navi2ch-board-check-updated-article-p
(navi2ch-board-updated-article-p article seen))
'updated)


341 KB
★スマホ版★ 掲示板に戻る 全部 前100 次100 最新50

read.cgi ver 05.02.02 2014/06/23 Mango Mangüé ★
FOX ★ DSO(Dynamic Shared Object)