Posts about 'Emacs'
-
Mar 9, 2020
How to blog with Org-mode
Why blog with Org mode? Org is a mode for keeping notes, maintaining TODO lists, and project planning with a fast and effective plain-text system.
-
Nov 19, 2018
Eredis - An updated Emacs Redis API
In July 2011 I released an emacs lisp client for the Redis in-memory data structure store. You can install either from the Melpa package or just clone from Github. The...
-
Oct 24, 2018
Radix trees, Dash and Company mode
Radix trees
-
Feb 17, 2016
Using Python in org-mode
This is my first post since I moved my technical blog from justinsboringpage.blogspot.ca to right here on Github pages
-
May 26, 2014
Sending notifications from Emacs (Mac OS X)
Sending notifications from emacs is something I find useful. In an earlier blog post I talked about how to use Growl to do so. http://justinsboringpage.blogspot.com/2009/09/making-emacs-growl.htmlWell now you don't need Growl any...
-
Feb 6, 2013
Configuring emacs to send iCloud mail on Mac OS X
Pic from ajc1 on FlikrIt's handy to be able to send emails from emacs, and this guide will show how to set up SMTP via an iCloud email account.Step 1. Install...
-
Jul 30, 2011
eredis update
I've been busy on my emacs redis client eredis and it now supports the entire API. It still needs a bit more polish but it should be a workable Redis...
-
Jul 25, 2011
eredis: a Redis client in emacs lisp
I set up a google code project today for eredis. A Redis client in emacs lisp. The program consists of a single emacs lisp file eredis.el emacs lisp includes facilities...
-
Jun 14, 2011
Emacs progress indication
When programming in emacs lisp, there is an easy way to show progress feedback to the user when a task will take some time. Here's a block of code from...
-
Jun 6, 2011
More on duplicate file handling in emacs dired
I had some good feedback on my last post, that it would be useful to be leave just the superfluous duplicate files marked in the dired buffer. After doing that...
-
Jun 2, 2011
Finding duplicate files in a dired buffer
picture by Donald MacLeodThis is a an example of programming emacs in emacs-lisp just to give an idea of what you can put together in an hour or two. I...
-
Apr 26, 2011
Programmer tips for Mac OSX
Some tips for programmers on the Mac.emacs: the best place to get emacs for Mac seems to be here http://emacsformacosx.com/ which is also the most no nonsense website design everNot...
-
Nov 2, 2010
Just browsing
It's handy in emacs to be able to go straight to your browser to view a page, and you can do fancy stuff with `webjump' as I mentioned in a...
-
Oct 19, 2010
rgrep on windows 7 for emacs
I lost an hour configuring this, so seems worthy of a blog post.A fresh install of emacs for windows will have functionality that does not work because it depends on...
-
May 17, 2010
Growling Mac
(pic from flickr)Last year I wrote a blog post about how to make growl notifications (little pop ups driven by the application Growl) appear from emacs in windows. Since then...
-
Oct 13, 2009
Transparent emacs on windows
Here's a handy function which lets you choose a transparent level (0 is fully transparent and 100 is opaque), for the main emacs frame in both focused and unfocused state.(defun...
-
Sep 10, 2009
Making emacs growl
I've always wished emacs could notify me of it's doings. For example the message function just pops up text in the minibuffer and is easy to miss, and impossible to...
-
Sep 8, 2009
Directional window movement in emacs
One thing I sometimes miss about the text editor Brief, which I stopped using a decade ago, is being able to move between windows easily by pressing a function key...
-
Sep 1, 2009
Handful of emacs tips
keep-linesflush-linesThese handy functions prompt you for a regular expression and will either remove every line that does not contain that expression (keep) or remove the ones that do (flush).finder-list-keywordsThis function...
-
Aug 27, 2009
Simple budget forecasts in emacs
When I first moved from England to North America one of the things I found hard to get used to was getting paid every two weeks instead of monthly. This...
-
May 14, 2009
Writing quick C++ programs in emacs without a makefile
Cheetah by Storm CryptOften when programming in C++ (or many other languages) it's desirable to write a quick program, usually a console application, to test something quickly. Working in developer...
-
May 8, 2009
emacs: Renaming multiple files at once with a regular expression
M-x dired(navigate to the folder)M-x wdired-change-to-wdired-modeM-x replace-regexp(enter search and replace expressions)C-c C-c Which writes out the changes to the directory.
-
May 7, 2009
emacs: Searching programming API's with webjump
Image by MarkyBonIn a previous post I outlined how to use webjump, a built in feature of emacs to quickly launch web pages in a browser, after querying the user...
-
Apr 15, 2009
Running an elisp function on each marked file in a dired buffer
Chain Tool by FlorianĀ If you have some function, say some custom refactoring operation, you can call it from a dired buffer, and have it run on each marked file, using...
-
Mar 9, 2009
Using tags in emacs on windows
This requires you install the Gunwin32 tools or Cygwin, and describes how to build a tags table for the project you're working on, when using emacs to edit the source.First...
-
Mar 9, 2009
Using tags in emacs on windows
This requires you install the Gunwin32 tools or Cygwin, and describes how to build a tags table for the project you're working on, when using emacs to edit the source.First...
-
Feb 20, 2009
Sending mail with emacs in Windows
Thanks to a commenter in my earlier blog post for pointing me to this way of sending mail that actually does work:http://www.emacswiki.org/emacs/GnusMSMTPYou need to download msstp from sourceforge and install...
-
Feb 14, 2009
Setting up lispworks personal
I've always used this excellent pair of blog posts by Bill Clementson to get lispworks personal working with emacs/slime on windows. Configuring SLIME for 3 Win32 CL ImplementationsUsing LispWorks Personal...
-
Feb 14, 2009
Searching Reddit, Flickr, and Google from emacs = Rad
I came across another brilliantly useful corner of emacs today.webjump by Neil Van Dyke is part of emacs and Xemacs, and gives you a way to assign memorable names to...
-
Feb 8, 2009
Fun with RSS
Today I've been playing around with emacs, and one of the things I've wanted to write is something to grab a web page, do some manipluations to it and dump...
-
Feb 7, 2009
Sending email via gmail in emacs
I got this working in linux, and it's fairly easy. I'm still trying to get it working on my win32 machines, and I'll post about that later if I get...
-
Jan 23, 2009
Simple perforce checkout in emacs using elisp
I know there are all kinds of clever perforce modes, but I prefer to have a few common perforce actions that I write myself and can easily extend and customise...
-
Jan 8, 2009
Who changed the line your working on last?
My team use Perforce for version control, and I recently wrote an implementation of 'blame', also known as 'praise'. When editing a file that is in Perforce, I can run...
-
May 1, 2008
Copying characters from the line above in emacs
The BBC microcomputer had a button called COPY, which when you pressed it would copy the character on the line above the cursor. This was quite handy, and I recently...
-
Mar 1, 2008
Is it a leap year
Here's a bit of elisp code to find out...(defun is-century-year(year) (if (= (mod year 100) 0) t nil))(defun is-leap-year(year) "leap year is century years divisible by 400, not other century...
-
Jan 29, 2008
emacs - a simple search and replace function
This function is for emacs; it searchs for any sequence composed of spaces and tabs and replaces it with a single tab(defun space-and-tabs-to-tab() (interactive) (while (re-search-forward "[\t ]+" nil t)...
-
Dec 8, 2007
emacs: how-many
Discovered another emacs command yesterday:how-manyReturns the count of a regex following the point (cursor position).For example M-x how-many \b\w returns a word count from point to the end of the...
-
Sep 27, 2007
11 Visual Studio tricks in Emacs
Recently I read the blog post "11 Visual Studio 2005 IDE Tips and Tricks to Make You a More Productive Developer" which has some neat tips indeed. I thought I...
-
Sep 12, 2007
Commenting out a block of C++ in emacs
Here are couple more simple functions, used for commenting out a block of C++ code.c++-comment-line below simple inserts "//" at the start of a linec++-comment region will take the current...