Build and install emacssnapshot packages on Debian Stable

Despite emacssnapshot only providing prebuilt packages for Debian unstable, building and installing the packages on stable is quite straight forward. I wrote a script to automate it. I’m sure there are better ways to do this, but it works for me. Thanks to twb for feedback on the script. Sorry I was too lazy to… Continue reading Build and install emacssnapshot packages on Debian Stable

Uniquify your Buffer Names in emacs with use-package

Recently I have been working on projects that often have multiple files of the same name. By default emacs doesn’t give much information to help you switch between the buffers of open files of the same name. At the same moment that I was thinking I need to find a solution to this Pragmatic Emacs posted… Continue reading Uniquify your Buffer Names in emacs with use-package

Launch emacs from cygwin

Cygwin Heart Emacs

I have written about about using emacs in cygwin and how to launch emacs from cygwin, but I had some problems with the batch file approach in that emacs’ path differ from bash’s. Then ack fails to work from within emacs which makes me sad. After googling around a bit, I saw a few suggestion that trie to fix the… Continue reading Launch emacs from cygwin

Emacs: yank a line multiple times from the kill ring

Yanking a some text from the kill ring multiple times

Today I needed to copy a line multiple times in emacs. I needed 8 copies, but how to do that in emacs short of pressing C-y to yank 8 times? My initial guess was to try C-u 8 C-y but that yanks the 8th item from the kill ring. Fuco on #emacs supplied the awesome… Continue reading Emacs: yank a line multiple times from the kill ring

Launching cygwin emacs from native win32 programs

My business’s accounting program, which I’ll call Canopus, has issues. One of which is that it assumes wordpad.exe will be in c:\windows. As far as I know, Microsoft moved wordpad.exe’s default location away from c:\windows about 20 years ago. Canopus live in hope that it will be there so installing Canopus always requires one to… Continue reading Launching cygwin emacs from native win32 programs

installing emacs in cygwin

Update: See my other post, launching emacs from cygwin There are a few tricks to installing emacs in cygwin. Here’s what I do. Installing cygwin First, install cygwin. Then, install the very nice tool apt-cyg which makes package management much easier in cygwin. Then to save yourself lots of agony of trying to work out… Continue reading installing emacs in cygwin