* [sup-devel] [PATCH] dont check thread-index-mode dirtiness on every keypress
@ 2010-01-24 3:17 Rich Lane
2010-02-27 7:48 ` Rich Lane
2010-03-01 14:58 ` William Morgan
0 siblings, 2 replies; 3+ messages in thread
From: Rich Lane @ 2010-01-24 3:17 UTC (permalink / raw)
To: sup-devel
Now that changes are instantly written to the index it's unnecessary to put the
"modified" message in the status line. Removing this cuts the time for a simple
action like moving the cursor by 75% or more, depending on the number of
messages loaded.
---
lib/sup/modes/thread-index-mode.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
index a6bb2b9..71c8f44 100644
--- a/lib/sup/modes/thread-index-mode.rb
+++ b/lib/sup/modes/thread-index-mode.rb
@@ -651,7 +651,7 @@ EOS
if (l = lines) == 0
"line 0 of 0"
else
- "line #{curpos + 1} of #{l} #{dirty? ? '*modified*' : ''}"
+ "line #{curpos + 1} of #{l}"
end
end
--
1.6.3.3
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-01 14:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-24 3:17 [sup-devel] [PATCH] dont check thread-index-mode dirtiness on every keypress Rich Lane
2010-02-27 7:48 ` Rich Lane
2010-03-01 14:58 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox