{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4531","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4531/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4531/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4531/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/4531","id":125884566,"number":4531,"title":"Command to select current function","user":{"login":"cremacs","id":16630756,"avatar_url":"https://avatars.githubusercontent.com/u/16630756?v=3","gravatar_id":"","url":"https://api.github.com/users/cremacs","html_url":"https://github.com/cremacs","followers_url":"https://api.github.com/users/cremacs/followers","following_url":"https://api.github.com/users/cremacs/following{/other_user}","gists_url":"https://api.github.com/users/cremacs/gists{/gist_id}","starred_url":"https://api.github.com/users/cremacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cremacs/subscriptions","organizations_url":"https://api.github.com/users/cremacs/orgs","repos_url":"https://api.github.com/users/cremacs/repos","events_url":"https://api.github.com/users/cremacs/events{/privacy}","received_events_url":"https://api.github.com/users/cremacs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/enhancement%20:-D","name":"enhancement :-D","color":"84b6eb"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Evil","name":"Evil","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T06:56:04Z","updated_at":"2016-01-11T07:29:36Z","closed_at":"2016-01-11T07:29:36Z","body":"Emacs has mark-defun, to select the function that point is in. This functionality varies between major modes, obviously, but mark-defun leverages mode knowledge to make it work. Can spacemacs support a text object that knows about functions, particularly for python? https://github.com/bps/vim-textobj-python is a vim attempt."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/170452739","html_url":"https://github.com/syl20bnr/spacemacs/issues/4531#issuecomment-170452739","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4531","id":170452739,"user":{"login":"cremacs","id":16630756,"avatar_url":"https://avatars.githubusercontent.com/u/16630756?v=3","gravatar_id":"","url":"https://api.github.com/users/cremacs","html_url":"https://github.com/cremacs","followers_url":"https://api.github.com/users/cremacs/followers","following_url":"https://api.github.com/users/cremacs/following{/other_user}","gists_url":"https://api.github.com/users/cremacs/gists{/gist_id}","starred_url":"https://api.github.com/users/cremacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cremacs/subscriptions","organizations_url":"https://api.github.com/users/cremacs/orgs","repos_url":"https://api.github.com/users/cremacs/repos","events_url":"https://api.github.com/users/cremacs/events{/privacy}","received_events_url":"https://api.github.com/users/cremacs/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T07:29:34Z","updated_at":"2016-01-11T07:29:34Z","body":"Sorry, emacs has a special implementation for python: https://github.com/emacs-mirror/emacs/blob/91917dd58ec5278e555b9c693a830749083e8f89/lisp/progmodes/python.el has an implementation of python-mark-defun which is remapped"}}