The Lone C++ Coder's Blog » Emacs http://www.lonecpluspluscoder.com The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometime non-functioning programming. Sun, 28 Sep 2014 19:06:50 +0000 en-US hourly 1 http://wordpress.org/?v=4.0 Install your basic Emacs packages via a single function callhttp://www.lonecpluspluscoder.com/2014/09/install-your-basic-emacs-packages-via-a-single-function-call/ http://www.lonecpluspluscoder.com/2014/09/install-your-basic-emacs-packages-via-a-single-function-call/#comments Sun, 07 Sep 2014 00:14:50 +0000 http://www.lonecpluspluscoder.com/?p=401 If you, like me tend to carry around or “cloud around” a single .emacs file so you end up with similar environments wherever you have an Emacs install, you know it’s a little painful to ensure that you have the same set of basic packages installed on each one of your Emacs installations. As I […]

The post Install your basic Emacs packages via a single function call appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/09/install-your-basic-emacs-packages-via-a-single-function-call/feed/ 9
Unique buffer names in Emacshttp://www.lonecpluspluscoder.com/2014/08/unique-buffer-names-in-emacs/ http://www.lonecpluspluscoder.com/2014/08/unique-buffer-names-in-emacs/#comments Sat, 23 Aug 2014 22:58:32 +0000 http://www.lonecpluspluscoder.com/?p=387 A common annoyance with Emacs when working on a code base that has duplicate file names is that the mode line tends to display the buffer names as “one.py:<1>”, “one.py:<2>” etc etc. That doesn’t help much with telling them apart and I find it confusing. I was introduced to the Uniquify library a while ago. […]

The post Unique buffer names in Emacs appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/08/unique-buffer-names-in-emacs/feed/ 0
Sprinkler controller upgrade part III – setting it uphttp://www.lonecpluspluscoder.com/2014/07/sprinkler-controller-upgrade-part-iii-setting-it-up/ http://www.lonecpluspluscoder.com/2014/07/sprinkler-controller-upgrade-part-iii-setting-it-up/#comments Fri, 25 Jul 2014 14:39:31 +0000 http://www.lonecpluspluscoder.com/?p=375 Putting the OpenSprinkler and Raspberry Pi together was easy, getting them to run showed my inexperience when it comes to playing with hardware. The overall install went pretty smoothly and the documentation is good and easy to follow so I’m not going to ramble on about it for very long, but just throw up some […]

The post Sprinkler controller upgrade part III – setting it up appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/07/sprinkler-controller-upgrade-part-iii-setting-it-up/feed/ 0
I didn’t realise Emacs has an elisp replhttp://www.lonecpluspluscoder.com/2014/03/i-didnt-realise-emacs-has-an-elisp-repl/ http://www.lonecpluspluscoder.com/2014/03/i-didnt-realise-emacs-has-an-elisp-repl/#comments Sat, 22 Mar 2014 17:25:23 +0000 http://www.lonecpluspluscoder.com/?p=335 When it comes to Emacs, I am an amateur at best, but part of the fun is that I keep discovering new useful functionality. Thanks to a post over at Mastering Emacs, I’m now aware of ielm, which came in very handy when I was trying to build an elisp function that would automatically pull […]

The post I didn’t realise Emacs has an elisp repl appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/03/i-didnt-realise-emacs-has-an-elisp-repl/feed/ 1
Running Emacs from a Windows Explorer context menuhttp://www.lonecpluspluscoder.com/2014/03/running-emacs-from-a-windows-explorer-context-menu/ http://www.lonecpluspluscoder.com/2014/03/running-emacs-from-a-windows-explorer-context-menu/#comments Fri, 21 Mar 2014 03:16:06 +0000 http://www.lonecpluspluscoder.com/?p=329 It’s one of those days, thanks to a hard disk going south I ended up having to rebuild the system drive on one of my machines. After putting the important software back on there – “Outlook and Emacs”, as one of my colleagues calls it – I had to reapply some of the usual tweaks […]

The post Running Emacs from a Windows Explorer context menu appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/03/running-emacs-from-a-windows-explorer-context-menu/feed/ 1
Make GNU Emacs play nicely with a German keyboard layout on Mac OS Xhttp://www.lonecpluspluscoder.com/2014/01/make-gnu-emacs-play-nicely-with-a-german-keyboard-layout-on-mac-os-x/ http://www.lonecpluspluscoder.com/2014/01/make-gnu-emacs-play-nicely-with-a-german-keyboard-layout-on-mac-os-x/#comments Thu, 23 Jan 2014 06:30:09 +0000 http://www.lonecpluspluscoder.com/?p=316 I used to use Carbon Emacs on OS X for quite a while, but with the release of Emacs 24 I switched to the stock GNU Emacs distribution. While GNU Emacs works fine on OS X, once you throw a German keyboard layout in the mix it doesn’t work so well as OS X uses […]

The post Make GNU Emacs play nicely with a German keyboard layout on Mac OS X appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/01/make-gnu-emacs-play-nicely-with-a-german-keyboard-layout-on-mac-os-x/feed/ 3
I seem to be getting addicted to icicle-modehttp://www.lonecpluspluscoder.com/2014/01/i-seem-to-be-getting-addicted-to-icicle-mode/ http://www.lonecpluspluscoder.com/2014/01/i-seem-to-be-getting-addicted-to-icicle-mode/#comments Thu, 16 Jan 2014 04:06:20 +0000 http://www.lonecpluspluscoder.com/?p=300 Not that I’m doing much with it yet other than the more minibuffer completion, but I really notice when icicles is not installed or inactive, so I’ve ended up adding it to every Emacs installation I use. ELPA is coming in really handy as it’s a matter of just installing icicles via one of its […]

The post I seem to be getting addicted to icicle-mode appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/01/i-seem-to-be-getting-addicted-to-icicle-mode/feed/ 1
Getting emacs’ ansi-term to play nicely with FreeBSDhttp://www.lonecpluspluscoder.com/2014/01/getting-emacs-ansi-term-to-play-nicely-with-freebsd/ http://www.lonecpluspluscoder.com/2014/01/getting-emacs-ansi-term-to-play-nicely-with-freebsd/#comments Wed, 08 Jan 2014 06:24:19 +0000 http://www.lonecpluspluscoder.com/?p=294 I was playing with the various shell options – sorry, trying to learn eshell – this evening. While playing with eshell I learned about the second, fully fledged terminal emulator ansi-term. Most of my machines here run FreeBSD, as does the machine that hosts this blog. FreeBSD’s terminal emulators don’t recognise eterm-color as a valid […]

The post Getting emacs’ ansi-term to play nicely with FreeBSD appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2014/01/getting-emacs-ansi-term-to-play-nicely-with-freebsd/feed/ 1
I finally started using ELPAhttp://www.lonecpluspluscoder.com/2013/12/i-finally-started-using-elpa/ http://www.lonecpluspluscoder.com/2013/12/i-finally-started-using-elpa/#comments Sat, 14 Dec 2013 16:00:32 +0000 http://www.lonecpluspluscoder.com/?p=230 My normal development workflow doesn’t use that many different Emacs packages. With a few exceptions I’ve mainly worked with a “stock” Emacs distribution and augmented that with a few select Emacs packages that I downloaded manually. It worked for me for a decade or so, and it made it reasonable easy to move configurations between […]

The post I finally started using ELPA appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2013/12/i-finally-started-using-elpa/feed/ 2
With Emacs on Windows, make sure you know where your $HOME ishttp://www.lonecpluspluscoder.com/2013/11/with-emacs-on-windows-make-sure-you-know-where-your-home-is/ http://www.lonecpluspluscoder.com/2013/11/with-emacs-on-windows-make-sure-you-know-where-your-home-is/#comments Sun, 17 Nov 2013 18:00:02 +0000 http://www.lonecpluspluscoder.com/?p=228 The Gnu Emacs for Windows distribution appears to be pretty good at inferring where a reasonable place for $HOME is, straight out of the box. In my case, said reasonable place was %USERPROFILE%/AppData/Roaming which was an entirely acceptable default. That is, until several other tools entered the picture and disagreed with Emacs. We’ve recently switched […]

The post With Emacs on Windows, make sure you know where your $HOME is appeared first on The Lone C++ Coder's Blog.

]]>
http://www.lonecpluspluscoder.com/2013/11/with-emacs-on-windows-make-sure-you-know-where-your-home-is/feed/ 0