Richard Hartmann wrote:
> Current HEAD (a324b0f8a1067d637087d4d94b463d3b9ac84ee8) still is not
> quite ideal:
> 
>   mr: /home/richih/.mrconfig line 7 include line 52: parse error
> This means I have to count the lines of the inclusion manually. If
> perl's globbing order is different from whatever shell I am using, fun
> will ensue.
> 
> Is there a way to include the actual file name this is coming from,
> not the files it's being included from?
> In this specific case, I would prefer
> 
>   mr: /home/richih/.config/mr/config.d/zsh line 1: parse error
> 
> or
> 
>   mr: /home/richih/.config/mr/config.d/zsh line 1: 'checkout vcsh
> clone [email protected]:RichiH/zshrc.git zsh': parse error
> 
> or even a "trace"
> 
>   mr: /home/richih/.mrconfig line 7:
>       /home/richih/.config/mr/config.d/zsh line 1:
>       'checkout vcsh clone [email protected]:RichiH/zshrc.git zsh': parse error
> 
> 
> As I know you are not a fan of too verbose error messages, the first
> option would probably be best.

It now says:

mr: parse error at /home/joey/.mrconfig line 3, included line: foo bar

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to