[Users] Changing the Subject

Chad Wallace cwallace at lodgingcompany.com
Fri May 1 20:44:46 CEST 2015


On Fri, 1 May 2015 09:06:02 +0200
Ralf Mardorf <info.mardorf at rocketmail.com> wrote:

> On Fri, 1 May 2015 09:00:22 +0200, Ralf Mardorf wrote:
> >On Thu, 30 Apr 2015 13:12:05 -0400, Leon Fisk wrote:
> >>Create an Action that uses your favorite text editor with a command
> >>like this:
> >>
> >>scite "%f"
> >>[snip] Or just run it from the Tools->Actions drop down menu.
> >
> >    $ cat /home/rocketmouse/.claws-mail/actionsrc
> >    Editor SciTE: scite "%f"
> >    Editor Pluma: pluma "%f"
> >
> >    $ cat Claws\ Mail/inbox/1
> >    [snip]
> 
> >It fails here.
> 
> It works after removing the "-signs.
> 
> $ cat /home/rocketmouse/.claws-mail/actionsrc
> Editor SciTE: scite %f
> Editor Pluma: pluma %f

This is because %f adds quotes for you, so if you also add quotes, you
get this:

scite ""/home/dir/Filename With Spaces""

Essentially, your quotes neutralize the quotes built into %f, and the
stuff in between is unquoted.

The Information in the Actions configuration should say not to use
quotes.

-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0




More information about the Users mailing list