(print *Emacs*)


Help me keep the shell people alive.

This is a Fun | Emacs page, written Sat Feb 2 15:02:23 PST 2008.

Reply to: XXXa
Date: 2007-11-21, 6:46PM

There is a sad truth to the world today. I am part of a dying breed of people known as "shell users." We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We use ssh, scp, and even occasionally ftp. Back in the days before high-speed connections ("broadband"), we would dial up during off-hours to avoid being slammed with huge phone bills. The whole "Microsoft Windows" fad will fade away sooner or later, but in the interim, our kind is facing extinction.

Because there are fewer and fewer of us, I must help keep our lineage alive. I am looking for someone to help me do this. I need a woman (obviously) who is willing to raise a child with me in the method of Unix. Our child will be introduced to computers at a young age, and will be setting emacs mode before any other child can even read. I earn a sufficient income to support a family in modest comfort. Other than the fact our child will be bright, text-based and sarcastic, we will otherwise be a normal family. We will even go to Disney World and see Mickey Mouse.

So, if you are a woman between the ages of 23 and 43 who is ready to raise a child in the way of the shell, let me know so we can begin the process. (If you are ready to raise more than one child, even better.)

PS - yes, this is for real. Given the right person, I would obviously propose before we ... call fork().

PPS - I only set emacs mode for my ksh session. I only edit files using vi. Just wanted to clear that up. And I'm looking to raise the child(ren) as a dedicated couple, so if you aren't interested in being married, you may wish to select() a different posting.

N.B. - on the issue of relocation. I live in a place where my income/expense ratio is proper (i.e., greater than 2:1). I'm willing to live anywhere in the world where this remains true. I've been to much of the country as well as foreign nations. There are no limits to where I will live *so long as the job market for unix admins is robust enough to be sustainable.* And yes, I am interested in a strictly monogamous situation. I've been known to actually turn down offers of "two chicks at the same time."

Location: Typical Rich Town, CT
it's NOT ok to contact this poster with services or other commercial interests
Original URL: http://www.craigslist.org/about/best/nyc/485967082.html


The great editor debate, settled at last

This is a Emacs | Fun page, written Fri Feb 1 06:29:23 PST 2008.


They use EMACS

This is a Emacs page, written Mon Dec 10 20:08:07 PST 2007.


Getting started with SLIME

This is a Lisp | Emacs | Start page, written Fri Nov 23 09:05:43 PST 2007.

S.L.I.M.E. = superior LISP interaction mode for emacs.

It is my recommendation for writing, running, and debugging LISP code (though some people prefer the CUSP SBCL plugin for ECLIPSE).

If you want to get started on slime on a CSEE Linux machine, edit your $HOME/.emacs and add these lines.

(setq inferior-lisp-program "/usr/bin/sbcl --noinform")
(add-to-list 'load-path "/usr/share/common-lisp/source/slime/") ;; this path is WVU CSEE specific
(setq slime-path "/usr/share/common-lisp/source/slime/")        ;; this path is WVU CSEE specific
(require 'slime)
(slime-autodoc-mode)
(slime-setup)
(add-hook 'lisp-mode-hook (lambda ()  
	(slime-mode t) 
	(local-set-key "\r" 'newline-and-indent)
	(setq lisp-indent-function 'common-lisp-indent-function)
	(setq indent-tabs-mode nil)))

(global-set-key "\C-cs" 'slime-selector)

Then fire up emacs and type M-x slime. After that, any .lisp file you edit will have some cool LISP bindings (see http://common-lisp.net/project/slime/doc/html/Compilation.html#Compilation).


Disabling text menus

This is a Emacs page, written Fri Nov 30 03:37:48 PST 2007.

I get this irritating problem when ssh-ing into CSEE and running emacs via an xterm.

If I make the window really wide then typing on the right hand side produces a pop-up of the text menu buffer. Then I have to tap some keys to clear that buffer and get on with my work. Most annoying.

Today, I found a fix- using the EMACS defadvice command, ignore all calls to the function that calls the text menu buffer:

; e.g. inside $HOME/.emacs
	(defadvice tmm-menubar  (around no-tmm-menu (x))
	  (if nil ad-do-it))

	(ad-activate 'tmm-menubar)
	(menu-bar-mode nil)


Color themes in EMACS

This is a Start | Emacs | Lisp page, written Wed Nov 28 20:22:38 PST 2007.

Do you think emacs is boring to look at?

Check out this EMACS color theme tester.

If you think those screens look better than your current EMACS screen, then:

	mkdir $HOME/src/lisp
	cd $HOME/src/lisp
	wget http://download.gna.org/color-theme/color-theme-6.6.0.tar.gz
	tar xfvz color-theme-6.6.0.tar.gz
	cd $HOME
	

Edit $HOME/.emacs with some other editor; e.g. nano .emacs.

Add these lines:

	(setq load-path (cons "~/src/lisp/color-theme-6.6.0" load-path))
	(require 'color-theme)
	(color-theme-initialize)
	(color-theme-hober)
	
If it doesn't seem to work, try adding one more line:
	(require 'color-theme)
	(setq color-theme-is-global t)
	(color-theme-hober)
	

If the hober theme don't do it for you, try some other themes:

	M-x color-theme-select RET
	


Cool EMACS tricks

This is a Start | Emacs | Lisp page, written Wed Nov 28 20:57:44 PST 2007.

Here's some nice tricks to add to your $HOME/.emacs

	(xterm-mouse-mode t)             ; make mouse work in text windows
	(transient-mark-mode t)          ; show incremental search results
	(setq scroll-step 1)             ; don't scroll in large jumps
	(setq require-final-newline   t) ; every file has at least one new line
	(setq inhibit-startup-message t) ; disable start up screen
	(global-font-lock-mode t 1)      ; enable syntax highlighting
	(line-number-mode t)             ; show line numbers and time in status line

	; show line numbers and time in status line
	(setq display-time-24hr-format nil)
	(display-time)     

See also Color themes in EMACS.

 

cs472 / cs572

AI and advanced AI techniques. Spring 2008. LCSEE, WVU

Venn diagram with three overlapping circles Home | News | Syllabus | Project
Lectures | LISP | EMACS | Fun
Links | Site map | Contact
NOVA
  1. Help me keep the shell people alive.
  2. The great editor debate, settled at last
  3. They use EMACS
  4. Getting started with SLIME
  5. Disabling text menus
  6. Color themes in EMACS
  7. Cool EMACS tricks
Creative Commons License
© 2007, 2008
 Tim Menzies