Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#533527: zsh: Provided scripts fail when cshjunkiequotes is enabled
- X-seq: zsh-workers 27048
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Ivan ÄukiÄ <ivan.cukic+kde@xxxxxxxxx>, 533527@xxxxxxxxxxxxxxx
- Subject: Re: Bug#533527: zsh: Provided scripts fail when cshjunkiequotes is enabled
- Date: Thu, 18 Jun 2009 14:10:35 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <200906181546.16439.ivan.cukic+kde@xxxxxxxxx>
- Mail-followup-to: Ivan ÄukiÄ <ivan.cukic+kde@xxxxxxxxx>, 533527@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090618113641.14589.8920.reportbug@xxxxxxxxxxxxx> <20090618130613.GA15350@xxxxxxxx> <200906181546.16439.ivan.cukic+kde@xxxxxxxxx>
On Thu, Jun 18, 2009 at 03:46:16PM +0200, Ivan ÄukiÄ wrote:
> I have no idea why that doesn't work for me then. It also appears in stable
> debian (zsh 4.3.6).
4.3.6 did not have the fix; the version you reported the bug against does.
Are you sure it's doing something wrong in 4.3.10?
> I've attached my .zshrc file.
>
> > Where are you adding a backslash in zsh-mime-setup?
> there are two places with the following line wrapped (as if the file was
> edited with automatic hard word wrapping enabled)
> print -r " ... $line" >&2
>
> In the case of zsh-mime-setup, I just removed the line break instead of adding
> backslashes.
>
> The first is line 290:
> 290 ÂÂÂÂÂÂÂÂ print -r " handler for type $type:
> 291 $line" >&2
>
> And the second is 302:
> 302 ÂÂÂÂÂÂÂÂprint -r "Skipping handler for already defined type $type:
> 303 $line" >&2
This seems like a low-risk solution.
Index: Functions/MIME/zsh-mime-setup
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/MIME/zsh-mime-setup,v
retrieving revision 1.7
diff -u -r1.7 zsh-mime-setup
--- Functions/MIME/zsh-mime-setup 20 Nov 2008 18:12:32 -0000 1.7
+++ Functions/MIME/zsh-mime-setup 18 Jun 2009 14:08:30 -0000
@@ -293,8 +293,8 @@
else
print -r "Adding" >&2
fi
- print -r " handler for type $type:
- $line" >&2
+ print -r " handler for type $type:" >&2
+ print -r " $line" >&2
fi
type_handler_map[$type]=$line
type_flags_map[$type]=$flags
@@ -305,8 +305,8 @@
print -r " with flags $flags" >&2
fi
elif [[ -n $o_verbose ]]; then
- print -r "Skipping handler for already defined type $type:
- $line" >&2
+ print -r "Skipping handler for already defined type $type:" >&2
+ print -r " $line" >&2
if [[ -n $flags ]]; then
print -r " with flags $flags" >&2
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author