emacs

Compilation queue (cq.el)

Tagged:  •    •  
The following is part of my home-grown compilation environment in emacs.
  1. (defvar funclist)
  2. (defvar cq-compilation-started 'nil)
  3.  
  4. (defun cg-init ()
  5. (setq compilation-finish-functions 'cq-call) ;; this function called when compilation has finished - see compile.el
  6. (setq compilation-exit-message-function
  7. (lambda (status code msg)
  8. ;; If M-x compile exists with a 0
  9. (when (and (eq status 'exit) (zerop code))
  10. ;; then bury the *compilation* buffer, so that C-x b doesn't go there
  11. (bury-buffer "*compilation*")

Compiling Emacs

Tagged:  •    •    •    •  

So, I'm back to trying to compile emacs-nt again, having discovered that the required W32 headers are in fact conveniently supplied by Mingw (albeit in a different package). Now I'm getting an "Unknown Processor" error. gcc -dumpmachine tells me I have an arm processor on my PC... perhaps this is the problem o_0

UPDATE: It turns out the Symbian SDK also provides a gcc, and this was in my path before the Mingw one. Hence the strange architecture.

Emacs as an IDE

Tagged:  •    •    •  

At work we recently started using an Eclipse-based IDE. It integrates with a gdb-based debugger, but everything is very unstable and I have to constantly power-cycle the box and programmer that I'm working with.

Since I've been playing with emacs the last few months, I decided to see whether I can get the compilation and debugging working from within emacs. (pause for effect)

Yes, indeed it is possible. (applause)

Syndicate content