Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-07 Thread Felipe Sateler
On 7 December 2016 at 13:57, Vincent Lefevre wrote: > > On 2016-12-07 10:28:45 -0300, Felipe Sateler wrote: > > Hi ZSH Maintainers, > > Not sure they are reading (or have they been Bcc'ed?), Ooops, I forgot to add the CC. > but I started > a thread in zsh-workers: > >

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-07 Thread Vincent Lefevre
On 2016-12-07 10:28:45 -0300, Felipe Sateler wrote: > Hi ZSH Maintainers, Not sure they are reading (or have they been Bcc'ed?), but I started a thread in zsh-workers: http://www.zsh.org/mla/workers/2016/msg02588.html hoping the issue could be solved in zsh itself. But according to the

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-07 Thread Felipe Sateler
Hi ZSH Maintainers, I'd like to ask for your help with the following issue. As per the title, the journalctl completion function fails when RC_QUOTES option is set (there is a double single-colon in one of the completion lines). I asked Vincent to try if using emulate (as I saw in other

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-06 Thread Vincent Lefevre
On 2016-12-06 16:02:07 +0100, Vincent Lefevre wrote: > No, this has no effect. Even > > emulate -LR zsh > unsetopt RC_QUOTES > > has no effect. I think that the problem comes from the fact that > the '' is parsed at completion time. > > Actually, the "emulate -LR zsh" is even worse, as I get

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-06 Thread Vincent Lefevre
On 2016-12-06 11:40:35 -0300, Felipe Sateler wrote: > I think the better fix is to somehow make zsh use default option > values when evaluating the completion functions. I see that some > completions use `emulate -LR zsh` (although both -L and -R are skipped > in some completions). Could you try

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-06 Thread Felipe Sateler
On 6 December 2016 at 11:13, Vincent Lefevre wrote: > Package: systemd > Version: 232-7 > Severity: minor > Tags: upstream patch > > I've reported the following bug upstream: > > https://github.com/systemd/systemd/issues/4842 > > With the following commands after "zsh -f" >

Bug#847203: systemd: journalctl zsh completion fails with RC_QUOTES

2016-12-06 Thread Vincent Lefevre
Package: systemd Version: 232-7 Severity: minor Tags: upstream patch I've reported the following bug upstream: https://github.com/systemd/systemd/issues/4842 With the following commands after "zsh -f" autoload -U compinit compinit setopt RC_QUOTES the journalctl completion fails: cventin%