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

Stack Overflow: storing the last parameter to use as the next default
EmacsWiki:EevMode - nice use of super/hyper in a windows system







CEDET and other editing things

EmacsWiki:SrSpeedbar - speedbar within the frame, not in another one
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


all of this because I wanted an xpath parser, as per



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))
   (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



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




Emacs TODO



No comments yet.



Add Comment

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