{"id":9733,"date":"2021-06-01T14:17:03","date_gmt":"2021-06-01T18:17:03","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9733"},"modified":"2021-06-01T14:17:03","modified_gmt":"2021-06-01T18:17:03","slug":"getting-a-list-of-open-prs-from-github-part-2","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9733","title":{"rendered":"Getting a List of Open PRs from Github (Part 2)"},"content":{"rendered":"<p>Three weeks ago, <a href=\"https:\/\/irreal.org\/blog\/?p=9684\">I wrote about Geoffrey Lessel\u2019s video on writing an Emacs package to obtain a list of Pull Requests from a GitHub repository, present a chooser list, and then display the chosen PR in the default browser<\/a>. That would be an interesting project in any case but it\u2019s especially so in Lessel\u2019s case because he\u2019s an Elisp beginner; a rank beginner, really.<\/p>\n<p>The thing with Lessel is that he\u2019s relentless in leveraging Emacs\u2019 documentation and discoverability to figure out what he needs to do next. He spends a lot of time finding functions with a keyword search and reading through them to find the one he needs next.<\/p>\n<p>At the end of the video I posted about above, Lessel had written code to retrieve the PRs from GitHub and build a list of the results. In his <a href=\"https:\/\/www.youtube.com\/watch?v=t1c6Ogd7irE\">latest video<\/a> he finishes the package by writing code to select the desired PR and display it in the browser.<\/p>\n<p>As in the first video, those familiar with Elisp may be frustrated with Lessel\u2019s floundering around as he searches for the correct function but it\u2019s worth watching as a wonderful example of how even a beginner can make significant extensions to Emacs in order to make it better fit his workflow.<\/p>\n<p>The first video was quite long but this one is just 26 minutes. Still too long for a coffee break but short enough to find time for it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Three weeks ago, I wrote about Geoffrey Lessel\u2019s video on writing an Emacs package to obtain a list of Pull Requests from a GitHub repository, present a chooser list, and then display the chosen PR in the default browser. That &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9733\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[26,18],"class_list":["post-9733","post","type-post","status-publish","format-standard","hentry","category-general","tag-elisp","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9733"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9733\/revisions"}],"predecessor-version":[{"id":9734,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9733\/revisions\/9734"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}