{"action":"closed","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/26835","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/26835/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/26835/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/26835/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/26835","id":189862836,"number":26835,"title":"Feature request: emacs console command","user":{"login":"edrex","id":14615,"avatar_url":"https://avatars.githubusercontent.com/u/14615?v=3","gravatar_id":"","url":"https://api.github.com/users/edrex","html_url":"https://github.com/edrex","followers_url":"https://api.github.com/users/edrex/followers","following_url":"https://api.github.com/users/edrex/following{/other_user}","gists_url":"https://api.github.com/users/edrex/gists{/gist_id}","starred_url":"https://api.github.com/users/edrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edrex/subscriptions","organizations_url":"https://api.github.com/users/edrex/orgs","repos_url":"https://api.github.com/users/edrex/repos","events_url":"https://api.github.com/users/edrex/events{/privacy}","received_events_url":"https://api.github.com/users/edrex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T22:08:31Z","updated_at":"2016-11-16T22:38:20Z","closed_at":"2016-11-16T22:38:20Z","body":"### Description of feature/enhancement\r\n\r\nThe `emacs` cask doesn't include a terminal mode `emacs` command. Provide a terminal mode command with the cask.\r\n\r\nOne option would be a wrapper which calls the main executable for the .app with the `-nw` (no windowing) flag:\r\n\r\n```\r\n❯ cat \"$(HOME)/bin/emacs\"\r\n#!/bin/sh\r\n\r\n# Launch the cask Emacs in console mode\r\n/Applications/Emacs.app/Contents/MacOS/Emacs -nw \"$@\"\r\n```\r\n\r\n### Justification\r\n\r\nIt is surprising to get the OS bundled terminal emacs after having installed the emacs cask.\r\n\r\nIs there some policy like *Casks shouldn't provide console commands duplicating commands provided by `brew` formulas*?\r\n\r\n### Example use case\r\n\r\nEdit text files from the terminal, eg\r\n\r\n```\r\nbrew cask install emacs\r\nemacs ~/Journal/$(date +%Y-%m-%d).org\r\n```"}}
{"actor":{"display_login":"vitorgalvao"}}