bugWeeChat - Bugs: bug #36584, aliases beginning with # are not...

 
 

bug #36584: aliases beginning with # are not loaded on startup

Submitter:  <seschwar>
Submitted:  Sun 03 Jun 2012 07:31:00 PM UTC
 
Category:  alias plugin Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.8 IRC nick:  seschwar
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Mon 04 Jun 2012 04:23:25 PM UTC, comment #1: 

Fixed: now special chars (# \ [) are escaped in config files.

By the way, names beginning with "#" are reallowed for bars, proxies, filters and IRC servers (see bug #33020).

Sebastien Helleu <flashcode>
Project Administrator
Sun 03 Jun 2012 07:31:00 PM UTC, original submission:  

This is what happend recently:

/alias # input jump_last_buffer_displayed
Alias "#" => "input jump_last_buffer_displayed" created
/quit
(starting weechat again)
/#
Error: unknown command "#" (type /help for help)

When you have a look at alias.conf it is rather obvious why that
alias wasn't loaded:

[cmd]
# = "input jump_last_buffer_displayed"

The line for the alias looks like a comment and thus is ignored
by WeeChat.  WeeChat should have a way to escape characters
which prevent config files from being parsed correctly.  I
imagine the following could cause problems too:

/alias [ away ]

<seschwar>

 

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

Attach Files:
   
   
Comment:
   

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 seschwar (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen Closed
    2012-06-04 flashcode StatusNone Fixed
        Assigned toNone flashcode

    Back to the top


    Powered by Savane 3.9