{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/19277","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/19277/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/19277/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/19277/events","html_url":"https://github.com/JuliaLang/julia/issues/19277","id":188185220,"number":19277,"title":"Documentation of `EDITOR` environmental variable","user":{"login":"fredrikekre","id":11698744,"avatar_url":"https://avatars.githubusercontent.com/u/11698744?v=3","gravatar_id":"","url":"https://api.github.com/users/fredrikekre","html_url":"https://github.com/fredrikekre","followers_url":"https://api.github.com/users/fredrikekre/followers","following_url":"https://api.github.com/users/fredrikekre/following{/other_user}","gists_url":"https://api.github.com/users/fredrikekre/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrikekre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrikekre/subscriptions","organizations_url":"https://api.github.com/users/fredrikekre/orgs","repos_url":"https://api.github.com/users/fredrikekre/repos","events_url":"https://api.github.com/users/fredrikekre/events{/privacy}","received_events_url":"https://api.github.com/users/fredrikekre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T07:50:46Z","updated_at":"2016-11-09T08:58:55Z","closed_at":null,"body":"The environmental variable `EDITOR` is not mention in the documentation of `Base.edit` or `Base.@edit`. The only place where it is mentioned is in the documentation for `Pkg.edit`. Would also be useful with documentation of how to set this (and other) environmental variables.\r\n\r\nFor reference:\r\n\r\n```jl\r\nhelp?> edit\r\nsearch: edit @edit timedwait endswith redirect_stdin redirect_stdout redirect_stderr methodswith ObjectIdDict readandwrite WeakKeyDict\r\n\r\n  edit(path::AbstractString, line::Integer=0)\r\n\r\n  Edit a file or directory optionally providing a line number to edit the file at. Returns to the julia prompt when you quit the editor.\r\n\r\n  edit(function, [types])\r\n\r\n  Edit the definition of a function, optionally specifying a tuple of types to indicate which method to edit.\r\n```\r\n\r\n```jl\r\nhelp?> @edit\r\n  @edit\r\n\r\n  Evaluates the arguments to the function or macro call, determines their types, and calls the edit function on the resulting expression.\r\n```\r\n\r\n```jl\r\nhelp?> Pkg.edit\r\n  edit()\r\n\r\n  Opens Pkg.dir(\"REQUIRE\") in the editor specified by the VISUAL or EDITOR environment variables; when the editor command returns, it\r\n  runs Pkg.resolve() to determine and install a new optimal set of installed package versions.\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/259363564","html_url":"https://github.com/JuliaLang/julia/issues/19277#issuecomment-259363564","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/19277","id":259363564,"user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T08:58:55Z","updated_at":"2016-11-09T08:58:55Z","body":"Sounds like a good idea. Would you make a pull request? (You need to run `make julia-genstdlib` after changing docstrings to also update the manual.)"}}
{"actor":{"display_login":"nalimilan"}}