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 pluginSeverity: 3 - Normal
Item Group: otherStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.8IRC 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 09:28:58 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Mon 04 Jun 2012 04:23:25 PM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1