{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/961","labels_url":"https://api.github.com/repos/emacs-helm/helm/issues/961/labels{/name}","comments_url":"https://api.github.com/repos/emacs-helm/helm/issues/961/comments","events_url":"https://api.github.com/repos/emacs-helm/helm/issues/961/events","html_url":"https://github.com/emacs-helm/helm/issues/961","id":65496168,"number":961,"title":"Add per source height and width to utilize helm-autoresize-mode","user":{"login":"tuhdo","id":4818719,"avatar_url":"https://avatars.githubusercontent.com/u/4818719?v=3","gravatar_id":"","url":"https://api.github.com/users/tuhdo","html_url":"https://github.com/tuhdo","followers_url":"https://api.github.com/users/tuhdo/followers","following_url":"https://api.github.com/users/tuhdo/following{/other_user}","gists_url":"https://api.github.com/users/tuhdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tuhdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuhdo/subscriptions","organizations_url":"https://api.github.com/users/tuhdo/orgs","repos_url":"https://api.github.com/users/tuhdo/repos","events_url":"https://api.github.com/users/tuhdo/events{/privacy}","received_events_url":"https://api.github.com/users/tuhdo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-31T16:45:01Z","updated_at":"2015-04-01T11:04:41Z","closed_at":"2015-04-01T04:24:57Z","body":"There are Helm commands that I want smaller window and Helm commands that I want larger windows. Currently, I create wrappers like this:\r\n\r\n```lisp\r\n(defun my-helm-occur ()\r\n  (interactive)\r\n  (let ((helm-autoresize-max-height 25)\r\n        (helm-autoresize-min-height 25))\r\n    (call-interactively 'helm-occur)))\r\n```\r\n\r\nSo, I can use `helm-occur` like Isearch without the window taking too much screen space. I can write a macro to generate such commands, but it would be nice if I can simply use `helm-attrset` to set the `:height` and `:width` of a source."},"comment":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/comments/88441331","html_url":"https://github.com/emacs-helm/helm/issues/961#issuecomment-88441331","issue_url":"https://api.github.com/repos/emacs-helm/helm/issues/961","id":88441331,"user":{"login":"tuhdo","id":4818719,"avatar_url":"https://avatars.githubusercontent.com/u/4818719?v=3","gravatar_id":"","url":"https://api.github.com/users/tuhdo","html_url":"https://github.com/tuhdo","followers_url":"https://api.github.com/users/tuhdo/followers","following_url":"https://api.github.com/users/tuhdo/following{/other_user}","gists_url":"https://api.github.com/users/tuhdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tuhdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuhdo/subscriptions","organizations_url":"https://api.github.com/users/tuhdo/orgs","repos_url":"https://api.github.com/users/tuhdo/repos","events_url":"https://api.github.com/users/tuhdo/events{/privacy}","received_events_url":"https://api.github.com/users/tuhdo/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T11:04:41Z","updated_at":"2015-04-01T11:04:41Z","body":"@thierryvolpiatto you may also question me why I don't use `helm-autoresize-mode` for all those in the first place. It is because there are sources that are legitimate to have a big window. For examples:\r\n\r\n- `helm-grep` usually gives many results, i.e. more than 20, so it's good to have a big window to see most of the matches.\r\n\r\n- `helm-locate`: same thing.\r\n\r\n- `helm-find-files`: same thing\r\n\r\nThat's why I want to be able to resize per source. Currently, I don't understand why I have to split vertically to resize. I just want to have a small horizontal window that displays around 10 matches, since most other commands contain that many after narrowing down."}}