justinhj's profile picture

Functional[Justin]

Principal Software Engineer. Streaming data at scale. Generative AI. Functional Programming. Neovim. Emacs.

  • All Posts
  • Popular Posts
  • YouTube Channel
  • Speaking Events
  • Privacy

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.

    emacs org-mode blogging github-pages jekyll popular
  • 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...

    emacs functional-programming redis emacs-lisp
  • Oct 24, 2018

    Radix trees, Dash and Company mode

    Radix trees

    emacs functional-programming radix-trees company-mode data-structures
  • 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

    blogging emacs python
  • 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...

    emacs command-line mac
  • 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...

    email emacs emacs-lisp
  • 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...

    emacs redis eredis emacs-lisp
  • 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...

    emacs redis
  • 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...

    emacs emacs-lisp
  • 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...

    emacs dired
  • 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...

    emacs dired emacs-lisp
  • 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...

    mac command-line emacs
  • 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...

    emacs
  • 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...

    emacs windows
  • 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...

    emacs growl mac
  • 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...

    emacs windows win32
  • 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...

    emacs growl
  • 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...

    emacs
  • 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...

    emacs
  • 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...

    personal-finance emacs emacs-lisp
  • 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...

    emacs c++
  • 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.

    emacs
  • 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...

    emacs
  • 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...

    emacs dired emacs-lisp
  • 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...

    emacs tags win32 etags emacs cygwin
  • 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...

    emacs tags win32 etags emacs cygwin
  • 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...

    emacs smtp windows win32
  • 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...

    emacs lispworks slime win32
  • 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...

    emacs web-jump
  • 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...

    rss emacs xml parsing bbc-news emacs-lisp
  • 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...

    emacs smtp
  • 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...

    emacs emacs-lisp perforce p4
  • 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...

    emacs p4 perforce emacs-lisp
  • 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...

    emacs emacs-lisp
  • 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...

    emacs emacs-lisp
  • 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)...

    emacs
  • 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...

    emacs
  • 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...

    emacs visual-studio
  • 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...

    emacs c++