Skip to content

Instantly share code, notes, and snippets.

Avatar

Konstantinos Efstathiou cefstat

View GitHub Profile
View mkhowto.py
#! /usr/bin/env python
# -*- Python -*-
"""usage: %(program)s [options...] file ...
Options specifying formats to build:
--html HyperText Markup Language (default)
--pdf Portable Document Format
--ps PostScript
--dvi 'DeVice Indepentent' format from TeX
--text ASCII text (requires lynx)
@cefstat
cefstat / lion-fullscreen.patch
Created Nov 10, 2011
Patch for Emacs fullscreen support under Mac OS X 10.7 (Lion)
View lion-fullscreen.patch
=== modified file 'lisp/term/ns-win.el'
--- old/lisp/term/ns-win.el 2011-10-01 20:32:01 +0000
+++ new/lisp/term/ns-win.el 2011-11-10 16:22:51 +0000
@@ -928,6 +928,10 @@
(add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces))
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system))
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ())
+(defun ns-toggle-fullscreen ()
+ (interactive)
@cefstat
cefstat / latex-font-lock-keywords.el
Created Nov 14, 2008
Show a few TeX math commands with the corresponding Unicode symbol in Emacs
View latex-font-lock-keywords.el
;; Fancy stuff
(setq cefstat/fancy-TeX-pairs
'(("le" . ?≤)
("ge" . ?≥)
("infty" . ?∞)
("times" . ?⨯)
("in" . ?∈)
("ni" . ?∋)
("wedge" . ?∧)
("partial" . ?∂)
You can’t perform that action at this time.