<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>emacs on Joakim Verona</title>
    <link>https://www.verona.se/tags/emacs/</link>
    <description>Recent content in emacs on Joakim Verona</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>(c) 2016 Copyright Joakim Verona</copyright>
    <lastBuildDate>Sat, 14 Nov 2015 21:13:00 +0100</lastBuildDate><atom:link href="https://www.verona.se/tags/emacs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The xwidget branch origin story</title>
      <link>https://www.verona.se/post/the-xwidget-branch-origin-story/</link>
      <pubDate>Sat, 14 Nov 2015 21:13:00 +0100</pubDate>
      
      <guid>https://www.verona.se/post/the-xwidget-branch-origin-story/</guid>
      <description>
        
          
            There are some misconceptions about the Emacs Xwidget branch, and some people are just scratching their heads wondering what the branch is for. For me it is easier to answer these questions by regaling you with the very interesting origin story of the Xwidget branch!
I like making music and art in my spare time. I particularly like the particular electronic music genre called Live Coding. In this genre you code music live, and as the code changes, the music changes.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Emacs gamification</title>
      <link>https://www.verona.se/post/emacs-gamification/</link>
      <pubDate>Sun, 02 Aug 2015 12:39:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/emacs-gamification/</guid>
      <description>
        
          
            zen-reward-mode is a simple gamification of emacs. The idea of gamification is explained at http://en.wikipedia.org/wiki/Gamification
The rules of the game are:
Typing a character in a buffer gives you one zen reward point, ZRP for short. Closing an org mode TODO item gives you 1000 ZRP! Doing something silly like browsing 9gag costs you all your ZRP, so its quite expensive This concept might appear dumb. It is easy to fool the system and browse the precious 9gag regardless of how many ZRP you have.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Only list Gnus groups with unread messages</title>
      <link>https://www.verona.se/post/only-list-gnus-groups-with-unread-messages/</link>
      <pubDate>Sun, 19 Jul 2015 21:38:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/only-list-gnus-groups-with-unread-messages/</guid>
      <description>
        
          
            The Emacs news-reader Gnus, is the interface I use to read most of my feeds. Since I use it for mail, news, rss and more, theres a lot of groups in my Gnus. (Okay, if you don&#39;t know Gnus this doesnt make much sense.)
Only list Gnus groups with unread messages because I have so many marks and so many groups now.
you set: (setq gnus-list-groups-with-ticked-articles nil) which works exactly as expected.
          
          
        
      </description>
    </item>
    
    <item>
      <title>eshell at server directory</title>
      <link>https://www.verona.se/post/eshell-at-server-directory/</link>
      <pubDate>Sun, 19 Jul 2015 20:30:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/eshell-at-server-directory/</guid>
      <description>
        
          
            Here is a little Emacs-macro that creates an eshell buffer with current directory set to a server directory path.
1(defmacro srv-eshell (server-nick path ) 2 `(defun ,(intern (concat server-nick &amp;#34;-eshell&amp;#34;)) () 3 (interactive) 4 (let* ((eshell-buffer-name ,(concat server-nick &amp;#34;-eshell&amp;#34;)) 5	(eshell-buffer (eshell))) 6 7 ) 8 (end-of-buffer) 9 (eshell-kill-input) 10 (insert ,(concat &amp;#34;cd &amp;#34; path)) 11 (eshell-send-input)) 12 ) Use the macro like this:
1(srv-eshell &amp;#34;afws&amp;#34; &amp;#34;/scp:joakim@192.168.201.58:&amp;#34;) Now you get an interactive function you can call with m-x afws-eshell.
          
          
        
      </description>
    </item>
    
    <item>
      <title>dtach emacs</title>
      <link>https://www.verona.se/post/dtach-emacs/</link>
      <pubDate>Sun, 03 May 2015 18:44:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/dtach-emacs/</guid>
      <description>
        
          
            I like using emacs as a launcher for other programs. However, it&#39;s inconvenient when Emacs crashes for some reason, and all your programs die as well.
So, here is an example how to use dtach to avoid having the program die, and be recovered by emacs next time around.
1(defun bankid () 2 (interactive) 3 ;;important! check if there is a process already 4 (if (get-process &amp;#34;bankid-process&amp;#34;) 5 (message &amp;#34;already running&amp;#34;) 6 (start-process-dtach &amp;#34;bankid-process&amp;#34; &amp;#34;bankid-process&amp;#34; &amp;#34;qemu-kvm&amp;#34; 7	&amp;#34;-m&amp;#34; 8	&amp;#34;512&amp;#34; 9	&amp;#34;-hda&amp;#34; 10	&amp;#34;/home/joakim/android-x86/joakim-bankid2.
          
          
        
      </description>
    </item>
    
    <item>
      <title>systemctl eshell</title>
      <link>https://www.verona.se/post/systemctl-eshell/</link>
      <pubDate>Sat, 18 Oct 2014 18:47:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/systemctl-eshell/</guid>
      <description>
        
          
            systemctl is nice, but has some tedious aspects if you run your shells in emacs, as i do. you can do export PAGER= this is nice, since emacs is a much better pager than more or less. also, by default systemctl elipsifies output, which i prefer emacs to handle. -l helps, but how do i avoid always typing it?
ive been using a sctl alias in eshell, and its nice:
          
          
        
      </description>
    </item>
    
    <item>
      <title>Emacs hl-line mode</title>
      <link>https://www.verona.se/post/emacs-hl-line-mode/</link>
      <pubDate>Sat, 18 Oct 2014 18:01:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/emacs-hl-line-mode/</guid>
      <description>
        
          
            I find it useful to have the line where the cursor is highlighted for certain Emacs modes.
Its quite easy:
1(require &amp;#39;hl-line) 2 3(add-hook &amp;#39;package-menu-mode-hook &amp;#39;hl-line-mode) 4(add-hook &amp;#39;gnus-group-mode-hook &amp;#39;hl-line-mode) 5(add-hook &amp;#39;gnus-summary-mode-hook &amp;#39;hl-line-mode) 6(add-hook &amp;#39;org-agenda-mode-hook &amp;#39;hl-line-mode) 7(add-hook &amp;#39;dired-mode-hook &amp;#39;hl-line-mode) I used highline.el for this in the past, but it stopped working for some reason, so I switched to hl-line.el. hl-line.el is included in Emacs proper.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Speedreading with Emacs and Spray, a Spritz implementation</title>
      <link>https://www.verona.se/post/emacs-spray/</link>
      <pubDate>Tue, 05 Aug 2014 21:55:00 +0200</pubDate>
      
      <guid>https://www.verona.se/post/emacs-spray/</guid>
      <description>
        
          
            I have experimented with speedreading on and of for many years.
This time I got interested in a new speed read method called Spritz. There are many demonstrations of this system on the web if you are interested to see it in action.
There are other speed read systems for Emacs, and now there is also Spray, a Spritz implementation for Emacs.
Essentially the algorithm shows you a word at a time from the text you want to speedread.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Starting Emacs on boot</title>
      <link>https://www.verona.se/post/starting-emacs-on-boot/</link>
      <pubDate>Mon, 30 Dec 2013 00:00:00 +0100</pubDate>
      
      <guid>https://www.verona.se/post/starting-emacs-on-boot/</guid>
      <description>
        
          
            I use Emacs all the time. My most important Emacs runs in my own server, which I access remotely either through a tty terminal, or a graphical session. The terminal can either be plain ssh, or mosh. The graphical session is x2go at the moment.
Since I always want an Emacs running, and I want to access the same emacs session in different ways, its convenient to start Emacs on boot.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Something I thought about on the beach but now forgot</title>
      <link>https://www.verona.se/post/thoughts-on-the-beach/</link>
      <pubDate>Fri, 20 Dec 2013 23:36:00 +0100</pubDate>
      
      <guid>https://www.verona.se/post/thoughts-on-the-beach/</guid>
      <description>
        
          
            So, I had the bestest ever thought today at the beach. How can you not have beatiful thoughts when the weather is great, the sea is salty, and the shade soothing?
Now the thought is gone though, and no effort of mine brings it back.
Normally I capture my thoughts in Emacs Org mode, and normally I can access my Emacs nearly everywhere. Not at the beach though. If nothing else, you dont really want to bring expensive equipment to the beach, and if I did, it wouldn&#39;t be very useful in the strong sunlight anyway.
          
          
        
      </description>
    </item>
    
  </channel>
</rss>
