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

 
 

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

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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 AdministratorIn charge of this item.
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.4