{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/828","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/828/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/828/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/828/events","html_url":"https://github.com/NixOS/nix/issues/828","id":137308633,"number":828,"title":"emacs nix-mode: pasting stuff indents wrong","user":{"login":"Profpatsch","id":3153638,"avatar_url":"https://avatars.githubusercontent.com/u/3153638?v=3","gravatar_id":"","url":"https://api.github.com/users/Profpatsch","html_url":"https://github.com/Profpatsch","followers_url":"https://api.github.com/users/Profpatsch/followers","following_url":"https://api.github.com/users/Profpatsch/following{/other_user}","gists_url":"https://api.github.com/users/Profpatsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Profpatsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profpatsch/subscriptions","organizations_url":"https://api.github.com/users/Profpatsch/orgs","repos_url":"https://api.github.com/users/Profpatsch/repos","events_url":"https://api.github.com/users/Profpatsch/events{/privacy}","received_events_url":"https://api.github.com/users/Profpatsch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nix/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-29T16:55:50Z","updated_at":"2016-08-18T11:43:03Z","closed_at":null,"body":"Every time I try to insert a block of code with nix-mode enabled, it indents each consecutive line by two spaces, and it’s driving me crazy.\r\n\r\n```nix\r\n  isso = rec {\r\n      port = \"8080\";\r\n          config = ''\r\n                [server]\r\n                      listen = http://localhost:${port}\r\n                          '';\r\n```\r\n\r\nwhaaaaa"},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/240699341","html_url":"https://github.com/NixOS/nix/issues/828#issuecomment-240699341","issue_url":"https://api.github.com/repos/NixOS/nix/issues/828","id":240699341,"user":{"login":"rqcy","id":15942570,"avatar_url":"https://avatars.githubusercontent.com/u/15942570?v=3","gravatar_id":"","url":"https://api.github.com/users/rqcy","html_url":"https://github.com/rqcy","followers_url":"https://api.github.com/users/rqcy/followers","following_url":"https://api.github.com/users/rqcy/following{/other_user}","gists_url":"https://api.github.com/users/rqcy/gists{/gist_id}","starred_url":"https://api.github.com/users/rqcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rqcy/subscriptions","organizations_url":"https://api.github.com/users/rqcy/orgs","repos_url":"https://api.github.com/users/rqcy/repos","events_url":"https://api.github.com/users/rqcy/events{/privacy}","received_events_url":"https://api.github.com/users/rqcy/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T11:43:03Z","updated_at":"2016-08-18T11:43:03Z","body":"I might have found a good hint.\r\n\r\nNormally in Emacs, RET inserts new line without indenting it and C-j inserts new line with proper indentation. It seems to be the other way around in nix-mode.\r\n"}}
{"actor":{"display_login":"rqcy"}}