Note to visitors

This page is a reminder to me of things I might forget (yeah, even if I’ve got them in my .emacs file, go figure), as well as misc Emacs notes that don’t yet have a home.

 

 

If you are not me, You might be looking for:

 

 

If you are me, look at

EmacsWiki:CopyAndPaste
EmacsWiki:XrayPackage
http://code.google.com/p/yasnippet/
Stack Overflow: storing the last parameter to use as the next default
EmacsWiki:EevMode

 

http://emacswiki.org/cgi-bin/wiki/johnfredcee - nice use of super/hyper in a windows system

 

 

MUSE

http://mwolson.org/projects/EmacsMuse.html
http://curiousprogrammer.wordpress.com/2009/03/08/squidoo-lenses-and-emacs-muse
http://curiousprogrammer.wordpress.com/2009/03/10/elisp-association-lists
http://curiousprogrammer.wordpress.com/2009/03/12/emacs-muse-aliases/

 

Buttons

http://curiousprogrammer.wordpress.com/2009/03/23/emacs-buttons/
http://argandgahandapandpa.wordpress.com/2008/05/14/emacs-buttons-an-introduction-for-the-somewhat-impatient/
http://www.gnu.org/software/emacs/manual/html_mono/elisp.html#Buttons

 

CEDET and other editing things

EmacsWiki:SrSpeedbar - speedbar within the frame, not in another one

 

http://sourceforge.net/projects/cedet/
A Gentle introduction to Cedet

 

CEDET - ran make (via Programming/Cygwin BASH), and got the following errors

 

Warning: arch-dependent data dir (C/) does not exist.
Cannot open load file: /projects/Emacs/emacs/leim/C/fns-21.2.1.el
make[1]: *** [autoloads] Error 255
make[1]: Leaving directory `/cygdrive/t/Emacs/site-lisp/cedet/common'
make: *** [common] Error 2

 

 

there were some suggestions in the docs, that did not work. But, AFTER I unintalled cygwin’s Emacs package, ran make again and it installed.

 

noted that the “wrong” Emacs was executing
http://www.nabble.com/Problems-installing-cedet-td15724050.html

 

all of this because I wanted an xpath parser, as per http://www.emacswiki.org/emacs/XmlParser

 

 

list all non-interactive functions

as seen at How do I get a list of Emacs lisp non-interactive functions?

 

(flet ((first-line (text)
         (if text
             (substring text 0 (string-match "\n" text))
           "")))
  (mapatoms
   (lambda (x)
     (and (fboundp x)                          ; does x name a function?
          (not (commandp (symbol-function x))) ; is it non-interactive?
          (subrp (symbol-function x))          ; is it built-in?
          (insert (symbol-name x) " - " (first-line (documentation x)) "\n"))))

 

fun for browsing in the off-season.....

 

 

set buffer file-coding

SOMETHING I AM ALWAYS FORGETTING
AND ALWAYS RUNNING AFOUL OF

 


C-x RET f (translated from C-x <return> f) runs the command
set-buffer-file-coding-system, which is an interactive compiled Lisp
function in `mule.el'.

It is bound to C-x RET f, <menu-bar> <options> <mule>
<set-various-coding-system> <set-buffer-file-coding-system>.

(set-buffer-file-coding-system CODING-SYSTEM &optional FORCE NOMODIFY)

Set the file coding-system of the current buffer to CODING-SYSTEM.
This means that when you save the buffer, it will be converted
according to CODING-SYSTEM.  For a list of possible values of
CODING-SYSTEM, use M-x list-coding-systems.

If CODING-SYSTEM leaves the text conversion unspecified, or if it leaves
the end-of-line conversion unspecified, FORCE controls what to do.
If FORCE is nil, get the unspecified aspect (or aspects) from the buffer's
previous `buffer-file-coding-system' value (if it is specified there).
Otherwise, leave it unspecified.

This marks the buffer modified so that the succeeding C-x C-s
surely saves the buffer with CODING-SYSTEM.  From a program, if you
don't want to mark the buffer modified, specify t for NOMODIFY.
If you know exactly what coding system you want to use,
just set the variable `buffer-file-coding-system' directly.

 

 

 

See Also

Remember - a notes file, not a list of random things

 

 

Tags

Emacs TODO


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: