Tag Archives: Emacs

Emacs 24 crashing when launched with Synapse and an emacsclient window is closed

I’m currently using Emacs 24 (pre-release) installed from this repository on Ubuntu 11.04. An error (crash: segmentation fault) that arose after moving from Emacs 23 to Emacs 24 is as follow (could stem from the pre-release repository; might not be the case if I compile from source). I launch emacs via Synapse. I start the read more »

S5 Reloaded themes with Sigma’s emacs org-mode method

In the past, I’ve [described](http://blog.nguyenvq.com/2011/06/07/non-latex-presentations-using-org-mode-s5-and-html5-slides/) the benefits of a slide show based on html. I used to prefer the [html5](http://slides.html5rocks.com/) method over [S5](http://meyerweb.com/eric/tools/s5/), but after some use, I’ve come to realize that the html5 method (at least the one described [here](http://slides.html5rocks.com/)) isn’t ready for prime time yet. The display of the slides can get screwy. read more »

Literature

Despite the availability of softwares such as Mendeley, Zotero, and JabRef, I like to store my papers (pdf files) and citation information (bib files) using a directory stucture, enter notes into a text file (org-mode), view notes and bibliographic information using a single file, cite references in LaTeX from a single bib file, and manage read more »

Ignore errors when executing a command in emacs with condition-case

Suppose you want to execute a command in your emacs init file, but this command sometimes return an error. For example, you ask emacs to open a file for you, but the file doesn’t exist. When an error occurs, the rest of the init will not be loaded. Once can make use of the `condition-case` read more »

Some custom emacs keybindings for LaTeX to assist in the writing process

Here are some habits I think will assist in the writing of LaTeX documents: 1. Always encapsulate your superscripts and subscripts with curly braces, even if they consist only of 1 characters. For example, it should `x_{1}` rather than `x_1`. The reason is that lot’s of time, I go back to changing my subscripts, and read more »

Convert a string to emacs regexp

Suppose you want to convert a string (e.g., “^{}”) to an emacs regexp representation. Then do evaluate the lisp code: `(regexp-quote “^{}”)`, which would yield `\\^{}`. Remember, you can evaluate elisp with `M-:`.

Byobu, an enhanced screen

I [use](http://blog.nguyenvq.com/tag/screen/) [screen](http://www.gnu.org/software/screen/) on a daily basis. I recently discovered [byobu](https://launchpad.net/byobu), an enhanced add-on for screen that makes it even more customizable. A screencast can be found [here](http://blog.dustinkirkland.com/2011/05/byobu-video-from-uds-o-lightning-talks.html). After reading some descriptions of `byobu` [here](http://kmandla.wordpress.com/2010/01/03/byobu-a-shortcut-to-a-prettier-screen/) and [here](http://linuxaria.com/howto/screen-byobu), I re-discovered screen’s ability to split screens. I’ll probably begin to use this feature. Not sure if I’ll read more »

Non-LaTeX presentations using org-mode – S5 and HTML5 slides

I recently had frustrations with presentations written using MS Powerpoint; I’m not even going to mention KeyNote as it is only available on a Mac. [LibreOffice](http://www.libreoffice.org/) is my WYSIWYG editor on my Linux machine for writing quick and nicely formatted content. I also have MS Office [installed](http://blog.nguyenvq.com/2010/07/23/705/) on my machine using [WINE](http://www.winehq.org/). I sometimes use read more »

emacs keybindings in xpdf and xdvi

I’ve been using xpdf and xdvi for reading documents I’ve downloaded or my LaTeX-generated documents on the laptop more and more these days due to their speed. The one thing I require (desire) in all programs I use on a day to day basis, especially when I have to navigate the file, is to have read more »

escreen instead of elscreen for screen-like features in emacs

I’ve been using [elscreen](http://www.morishima.net/~naoto/software/elscreen/) for [screen](http://www.gnu.org/software/screen/)-like features in emacs the last couple of years. However, I have a few complaints. Elscreen has issues when used with `emacsclient -c`: a new frame might not be created from the `-c` argument, which messes up my current screen in emacs, and the “Opening Server Files Always in a read more »