also sprach Jeffrey Ratcliffe <jeffrey.ratcli...@gmail.com> [2017-02-19 00:26 
+1300]:
> I apologise for the previous poor tip. I've just tested exactly this,
> i.e. a user-defined tool "run-mailcap %i" and it worked as expected.

I can now confirm this:

> But then I realised what happened - updating the preferences after the
> save dialogue has already been opened does not update the preferences.
> So I can reproduce your problem.
> 
> Therefore the workaround is to create the user-defined tool "run-mailcap
> %i", quit, restart, and then you should be able to use it as a post-save
> hook.

Indeed, and this is good enough I guess to replace the
view-after-save feature, though there might be the situation where
you're post-processing a PDF and then want to auto-view it, yet
on-save hooks can't be chained… but I guess that's then the realm of
shell scripts…

-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
in the beginning was the word,
and the word was content-type: text/plain

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to