bugWeeChat - Bugs: bug #32213, Completion problems with uppercase...


bug #32213: Completion problems with uppercase letters.

Submitter:  Mateusz Poszwa <f8l>
Submitted:  Sun 23 Jan 2011 12:01:42 AM UTC
Category:  core commands Severity:  3 - Normal
Item Group:  command Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.4 IRC nick:  f8l
* Mandatory Fields

Add a New Comment Rich Markup

Sun 29 Jan 2023 12:09:46 PM UTC, comment #2: 

Fixed in WeeChat 3.9 by GitHub issue #1872, commit f0415c8ec3c6def45e5e61756e9a521f25e5f8a3.

Sebastien Helleu <flashcode>
Group administrator
Tue 25 Jan 2011 12:22:37 PM UTC, comment #1: 

FlashCode suggested a nice solution to this problem with nicks (and other case-insensitive items):
Suppose there are nicks "Flash" and "flashy" in a channel. When trying to address "Flash" one types "Fla" and uses partial completion. Current behaviour completes it to "flash".
FlashCode suggested that WeeChat should check if partial completion matches an item case-insensitively (in this example partial completion of "Fla" is "flash" and it matches an item "Flash) and if it is so, it should capitalise the completion just like the item is capitalised.
It works well with case-insensitive items, but the problem of paths and other case-sensitive items is still open.

Mateusz Poszwa <f8l>
Sun 23 Jan 2011 12:01:42 AM UTC, original submission:  

WeeChat misbehaves when completing uppercase strings.
For example when "/tmp/Ai/" and "/tmp/AI/" items exist, WeeChat completes "/tmp/A" to a non-existent item "/tmp/ai" and fails to complete further. When partial completion is off, WeeChat completes to "/tmp/Ai", then to "/tmp/AI", but gets stuck with "/tmp/AI" when trying to cycle back.
The same thing sometimes happens with nicks, but in this case it's harder to reproduce it.

Mateusz Poszwa <f8l>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by f8l (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-29 flashcode CategoryNone core commands
        Item GroupNone command
        StatusNone Fixed
        Assigned toNone flashcode
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4e86.
    Corresponding source code