{"action":"created","issue":{"url":"https://api.github.com/repos/vifm/vifm/issues/90","labels_url":"https://api.github.com/repos/vifm/vifm/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/vifm/vifm/issues/90/comments","events_url":"https://api.github.com/repos/vifm/vifm/issues/90/events","html_url":"https://github.com/vifm/vifm/issues/90","id":78412809,"number":90,"title":"Suppress output while opening a file","user":{"login":"loonies","id":109212,"avatar_url":"https://avatars.githubusercontent.com/u/109212?v=3","gravatar_id":"","url":"https://api.github.com/users/loonies","html_url":"https://github.com/loonies","followers_url":"https://api.github.com/users/loonies/followers","following_url":"https://api.github.com/users/loonies/following{/other_user}","gists_url":"https://api.github.com/users/loonies/gists{/gist_id}","starred_url":"https://api.github.com/users/loonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loonies/subscriptions","organizations_url":"https://api.github.com/users/loonies/orgs","repos_url":"https://api.github.com/users/loonies/repos","events_url":"https://api.github.com/users/loonies/events{/privacy}","received_events_url":"https://api.github.com/users/loonies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vifm/vifm/labels/support","name":"support","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"xaizek","id":459736,"avatar_url":"https://avatars.githubusercontent.com/u/459736?v=3","gravatar_id":"","url":"https://api.github.com/users/xaizek","html_url":"https://github.com/xaizek","followers_url":"https://api.github.com/users/xaizek/followers","following_url":"https://api.github.com/users/xaizek/following{/other_user}","gists_url":"https://api.github.com/users/xaizek/gists{/gist_id}","starred_url":"https://api.github.com/users/xaizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaizek/subscriptions","organizations_url":"https://api.github.com/users/xaizek/orgs","repos_url":"https://api.github.com/users/xaizek/repos","events_url":"https://api.github.com/users/xaizek/events{/privacy}","received_events_url":"https://api.github.com/users/xaizek/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-20T07:33:45Z","updated_at":"2015-05-20T11:57:55Z","closed_at":null,"body":"Is there any way of suppressing all the output messages while opening a\r\nfile, preferable as a global setting? I didn't find anything related in\r\nthe documentation.\r\n\r\nFor example, Gimp throws a bunch of errors about optional missing\r\ndependencies. This is the _filetype_ definition for opening files with\r\nGimp in my `vifmrc` file:\r\n\r\n    filextype *.jpg,*.jpeg,*.gif,*.png,*.bmp,*.xcf\r\n        \\ {Edit in GIMP}\r\n        \\ gimp %f > /dev/null 2>&1 &\r\n\r\nbut I'm still getting errors output. I'm I missing something?\r\n\r\nRunning Vifm 0.7.8"},"comment":{"url":"https://api.github.com/repos/vifm/vifm/issues/comments/103858176","html_url":"https://github.com/vifm/vifm/issues/90#issuecomment-103858176","issue_url":"https://api.github.com/repos/vifm/vifm/issues/90","id":103858176,"user":{"login":"xaizek","id":459736,"avatar_url":"https://avatars.githubusercontent.com/u/459736?v=3","gravatar_id":"","url":"https://api.github.com/users/xaizek","html_url":"https://github.com/xaizek","followers_url":"https://api.github.com/users/xaizek/followers","following_url":"https://api.github.com/users/xaizek/following{/other_user}","gists_url":"https://api.github.com/users/xaizek/gists{/gist_id}","starred_url":"https://api.github.com/users/xaizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaizek/subscriptions","organizations_url":"https://api.github.com/users/xaizek/orgs","repos_url":"https://api.github.com/users/xaizek/repos","events_url":"https://api.github.com/users/xaizek/events{/privacy}","received_events_url":"https://api.github.com/users/xaizek/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T11:57:55Z","updated_at":"2015-05-20T11:57:55Z","body":"> > Note that %m, %M, %s, %S and %i macros have bigger priority than &. So\r\n> > command containing at least one of them can't be backgrounded and \" &\"\r\n> > at the end will be just silently ignored.\r\n> \r\n> Correct?\r\n\r\nHm, it's inconsistent. The paragraph is correct for `:!`, but not for `:file[x]type`. What we really have is:\r\n\r\n * Anywhere except `:file[x]type` `%m`, `%M`, `%s`, `%S` and `%i` macros have bigger priority\r\nthan `&`.\r\n * In `:file[x]type` commands `%m`, `%M`, `%s`, `%S` macros are ignored and `%i` forces\r\nignoring messages from backgrounded applications.\r\n\r\nI don't think this is intentional. These two cases should be merged to get behaviour as in `:!`, but with `%i` not disabling `&` (`&` is really odd if we make menu or something, but combines fine with `%i`). And maybe display error on combinations that don't make much sense."}}