From ba7cc48dfb0e5413ff82c6ccb04546664c6b105e Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 20 Apr 2008 00:25:17 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- application.py | 3 --- lex.py | 2 ++ mode/mutt.py | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application.py b/application.py index eb977ec..7cf9ce9 100755 --- a/application.py +++ b/application.py @@ -32,9 +32,6 @@ WORD_LETTERS = list(string.letters + string.digits) ERROR_TIMEOUT = -1 #ERROR_TIMEOUT = 2 -#DARK_BACKGROUND = False -DARK_BACKGROUND = True - class Application(object): def __init__(self, stdscr, buffers=[], jump_to_line=None, init_mode=None): # initalize curses primitives diff --git a/lex.py b/lex.py index 0b6fe24..c204e1d 100755 --- a/lex.py +++ b/lex.py @@ -475,6 +475,8 @@ class Lexer(object): assert type(app.token_colors[name]) == type(()), repr(mode) v = list(app.token_colors[name]) break + + # bold colors seem to always look nicer. if True: v.append('bold') return v diff --git a/mode/mutt.py b/mode/mutt.py index 74023d4..9db5d5c 100644 --- a/mode/mutt.py +++ b/mode/mutt.py @@ -40,6 +40,7 @@ class Mutt(mode.Fundamental): 'punct': ('default', 'default'), 'stuff': ('default', 'default'), } + actions = [MuttInsertSpace, MuttWrapParagraph] def __init__(self, w): mode.Fundamental.__init__(self, w) self.add_bindings('learn-word', ('C-c l',))