weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #28041] Unexpected behavior of '/aspell enable xx, yy


From: rettub
Subject: [Weechat-dev] [bug #28041] Unexpected behavior of '/aspell enable xx, yy', '/aspell disable'
Date: Tue, 17 Nov 2009 21:54:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102815 Iceweasel/3.0.6 (Debian-3.0.6-3)

URL:
  <http://savannah.nongnu.org/bugs/?28041>

                 Summary: Unexpected behavior of '/aspell enable xx,yy',
'/aspell disable'
                 Project: WeeChat
            Submitted by: rettub
            Submitted on: Tue 17 Nov 2009 09:53:59 PM GMT
                Category: plugins
                Severity: 3 - Normal
              Item Group: command
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
                IRC nick: 

    _______________________________________________________

Details:

* If you want to add a language for a buffer ('en': default):
    /aspell enable en,de
  This will not work as expected.
  
  First you have to disable aspell:
    /aspell disable
  and now you can set the language(s) for the buffer with:
    /aspell enable en,de

  BTW: Changing the lang works:
    /aspell enable en    # uses 'en' for spellcheck
    /aspell enable de    # now 'de' is used
    /aspell enable en    # and back to 'en'

* Disable aspell will not work if a default dict is set.
    /aspell disable
    aspell: "server.#test1-qwertz3" removed
  but spell checking still goes on, using the default dict.
  Actually additional languages will be removed only:
    # aspell.check.default_dict     "en"
    /aspell disable
    /aspell enable en,de
    /aspell disable
  This will remove 'de'

* If you want to disable aspell complete you have to:
  /set  aspell.check.default_dict=""

* in weechat_user.en.txt 'enable lang[,lang]' should be mentioned:
/aspell dictlist | enable lang[,lang] | disable | addword [lang] word

Default settings:
aspell.check.commands        
"ame,amsg,away,command,cycle,kick,kian,me,msg,notice,part,query,quit,topic"
aspell.check.default_dict     "en"
aspell.check.during_search    off
aspell.check.real_time        off
aspell.check.word_min_length  2
aspell.look.color             lightred

Tested with weechat git: 435b57e641e766ed04f6e0b5910390c238ce04dc




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28041>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]