{"id":69,"date":"2009-04-14T17:26:20","date_gmt":"2009-04-14T17:26:20","guid":{"rendered":"http:\/\/blog.danplanet.com\/wordpress\/?p=69"},"modified":"2009-04-14T17:26:20","modified_gmt":"2009-04-14T17:26:20","slug":"jumping-to-the-inbox-in-gnus","status":"publish","type":"post","link":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/","title":{"rendered":"Jumping to the inbox in GNUS"},"content":{"rendered":"<p>I&#8217;ve used GNUS to read my mail for a long time now.\u00a0 Every once in a while I try to move to something else because of simplicity or ease of use, but I always come back.\u00a0 The unparalleled ability to customize and script the environment is just really hard to beat.<\/p>\n<p>The &#8220;resting state&#8221; in GNUS is the group buffer, which shows you (by default) only groups that have unread messages in them.\u00a0 I like this a lot as it provides a sort of dashboard to the mail items that need attention.\u00a0 However, if I need to recall an already-read message, I have to hit L to show all groups, and then search (because I have a lot) for the appropriate group and then enter it to find the message.\u00a0 This isn&#8217;t a huge hassle, but sometimes I get annoyed at the process.<\/p>\n<p>Since 90% of the time, I&#8217;m recalling messages from my inbox, I decided to write a function that would make this common case quicker.\u00a0 I came up with the following bit of elisp:<\/p>\n<blockquote>\n<p><font face=\"courier new,courier\">(defun dan\/select-inbox ()<br \/>\u00a0 &#8220;Select inbox&#8221;<br \/>\u00a0 (interactive)<br \/>\u00a0 (save-excursion<br \/>\u00a0\u00a0\u00a0 (gnus-group-list-all-groups)<br \/>\u00a0\u00a0\u00a0 (if (search-forward-regexp &#8220;mail.*misc&#8221; (point-max) t)<br \/>\u00a0\u00a0 \u00a0(gnus-group-select-group))))<\/font><\/p>\n<\/blockquote>\n<p>Assuming I&#8217;m in the group buffer, I can run this function and it asks me right away how many messages I want to view from my inbox.\u00a0 Naturally, I want a quick key sequence to trigger this function, so I chose the unused &#8220;G i&#8221;keys for &#8220;Group&#8230;Inbox&#8221;.\u00a0 I bound it thusly:<\/p>\n<blockquote>\n<p>\u00a0<font face=\"courier new,courier\">(define-key gnus-group-group-map &#8220;i&#8221; &#8216;dan\/select-inbox)<\/font><\/p>\n<\/blockquote>\n<p>Now from inside the group buffer, I can hit &#8220;G i&#8221;, type &#8220;10&#8221; (or so) and quickly recall recent messages.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve used GNUS to read my mail for a long time now.\u00a0 Every once in a while I try to move to something else because of simplicity or ease of use, but I always come back.\u00a0 The unparalleled ability to &hellip; <a href=\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-codemonkeying"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Jumping to the inbox in GNUS - Right Angles<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jumping to the inbox in GNUS - Right Angles\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve used GNUS to read my mail for a long time now.\u00a0 Every once in a while I try to move to something else because of simplicity or ease of use, but I always come back.\u00a0 The unparalleled ability to &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\" \/>\n<meta property=\"og:site_name\" content=\"Right Angles\" \/>\n<meta property=\"article:published_time\" content=\"2009-04-14T17:26:20+00:00\" \/>\n<meta name=\"author\" content=\"Dan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\"},\"author\":{\"name\":\"Dan\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"headline\":\"Jumping to the inbox in GNUS\",\"datePublished\":\"2009-04-14T17:26:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\"},\"wordCount\":278,\"publisher\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"articleSection\":[\"Codemonkeying\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\",\"url\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\",\"name\":\"Jumping to the inbox in GNUS - Right Angles\",\"isPartOf\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#website\"},\"datePublished\":\"2009-04-14T17:26:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.danplanet.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Jumping to the inbox in GNUS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#website\",\"url\":\"https:\/\/www.danplanet.com\/blog\/\",\"name\":\"Right Angles\",\"description\":\"If they&#039;re not right...they&#039;re wrong\",\"publisher\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.danplanet.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\",\"name\":\"Dan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g\",\"caption\":\"Dan\"},\"logo\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.danplanet.com\/blog\/author\/dan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Jumping to the inbox in GNUS - Right Angles","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/","og_locale":"en_US","og_type":"article","og_title":"Jumping to the inbox in GNUS - Right Angles","og_description":"I&#8217;ve used GNUS to read my mail for a long time now.\u00a0 Every once in a while I try to move to something else because of simplicity or ease of use, but I always come back.\u00a0 The unparalleled ability to &hellip; Continue reading &rarr;","og_url":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/","og_site_name":"Right Angles","article_published_time":"2009-04-14T17:26:20+00:00","author":"Dan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#article","isPartOf":{"@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/"},"author":{"name":"Dan","@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"headline":"Jumping to the inbox in GNUS","datePublished":"2009-04-14T17:26:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/"},"wordCount":278,"publisher":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"articleSection":["Codemonkeying"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/","url":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/","name":"Jumping to the inbox in GNUS - Right Angles","isPartOf":{"@id":"https:\/\/www.danplanet.com\/blog\/#website"},"datePublished":"2009-04-14T17:26:20+00:00","breadcrumb":{"@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.danplanet.com\/blog\/2009\/04\/14\/jumping-to-the-inbox-in-gnus\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.danplanet.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Jumping to the inbox in GNUS"}]},{"@type":"WebSite","@id":"https:\/\/www.danplanet.com\/blog\/#website","url":"https:\/\/www.danplanet.com\/blog\/","name":"Right Angles","description":"If they&#039;re not right...they&#039;re wrong","publisher":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.danplanet.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c","name":"Dan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g","caption":"Dan"},"logo":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.danplanet.com\/blog\/author\/dan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}