jcg.sturdy | 18 Aug 13:58

lyric-mode.el

The following code implements a major mode for editing lyric (.lrc)
files, which are used by various music players to display lyrics in
synch with the playing of a song.

There are commands for starting and stopping an ogg123 process, and
the timing output from that process is captured, allowing you to enter
synchronization tags by pressing a key in time with the start of each
line of the song.

If the synchronization tags are already there, the mode uses a
highlighting overlay to show the timing as the song plays, allowing
you to check the tags.  There are also commands for nudging tags
slightly earlier or later.

There are a couple of "todo"s still in the code, but it generally
works OK (at least for me!)

__John

;;; lyric-mode.el --- Major mode for editing lyric (.lrc) files

;; Copyright (C) 2008  John Sturdy

;; Author: John Sturdy <john.sturdy <at> ul.ie>
;; Keywords: multimedia, hypermedia

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
by
;; the Free Software Foundation; either version 3, or (at your option)
(Continue reading)

the zak | 17 Aug 05:54

How do you use Emacs to sort RMAIL email based on SpamAssassin headers?...

How do you use Emacs to sort RMAIL email based on SpamAssassin
headers?...

contentswitch.el --- switch to buffer/file by content

A little proof-of-concept package. Let me know what you think.

http://www.emacswiki.org/cgi-bin/wiki/contentswitch.el
Scott Frazer | 16 Aug 03:10

etags-stack.el v1.0 -- Navigate through the tags stack

;;; etags-stack.el --- Navigate the tags stack

;; Copyright (C) 2008  Scott Frazer

;; Author: Scott Frazer <frazer.scott <at> gmail.com>
;; Maintainer: Scott Frazer <frazer.scott <at> gmail.com>
;; Created: 14 Aug 2008
;; Version: 1.0
;; Keywords: tags

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; Commentary:

;; Navigate the tags stack
;; 14 Aug 2008 -- v1.0
;;                Initial release
(Continue reading)

Phil Jackson | 15 Aug 11:27

xml-gen.el --- A DSL for generating XML.

Hi,

There may already be something like this but I couldn't find it (I wrote
the majority of it on the train this morning, so it may need some
polish):

 (xmlgen '(html
           (head
            (title "hello")
            (meta :something "hi"))
           (body
            (h1 "woohhooo")
            (p "text")
            (p "more text"))))

Produces this (though wrapped):

 <html>
   <head>
     <title>hello</title>
     <meta something="hi" />
   </head>
   <body>
     <h1>woohhooo</h1>
     <p>text</p>
     <p>more text</p>
   </body>
 </html>

(Continue reading)

Nikolaj Schumacher | 11 Aug 13:44

tempo-snippets (0.1.5) --- visual insertion of tempo templates

A snippet-like interface for your tempo templates.

Screenshot, screencast and usage info are available at:
http://nschum.de/src/emacs/tempo-snippets/

regards,
Nikolaj Schumacher
;;; tempo-snippets.el --- visual insertion of tempo templates
;;
;; Copyright (C) 2007-2008 Nikolaj Schumacher
;;
;; Author: Nikolaj Schumacher <bugs * nschum de>
;; Version: 0.1.5
;; Keywords: abbrev convenience
;; URL: http://nschum.de/src/emacs/tempo-snippets/
;; Compatibility: GNU Emacs 22.2
;;
;; This file is NOT part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
;; as published by the Free Software Foundation; either version 2
;; of the License, or (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
(Continue reading)

Nikolaj Schumacher | 11 Aug 13:39

highlight-80+ --- highlight characters beyond column 80

This mode highlights all characters that cross the 80 character line
limit.

It is also available at http://nschum.de/src/emacs/highlight-80+/

regards,
Nikolaj Schumacher
;;; highlight-80+.el --- highlight characters beyond column 80
;;
;; Copyright (C) 2008 Nikolaj Schumacher
;;
;; Author: Nikolaj Schumacher <bugs * nschum de>
;; Version: 1.0
;; Keywords: faces
;; URL: http://nschum.de/src/emacs/highlight-tabs/
;; Compatibility: GNU Emacs 22.x
;;
;; This file is NOT part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
;; as published by the Free Software Foundation; either version 2
;; of the License, or (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
(Continue reading)

Kevin Ryde | 9 Aug 03:29

man-preview.el -- put nroff source through man

This is a kinda polished version of code I've used to run "man" over
nroff source, mostly for previewing while editing.  It wasn't meant to
be quite this big, but by the time you setup compilation-mode for errors
and attempt some coding system stuff it grows.

;;; man-preview.el --- preview nroff man file source

;; Copyright 2008 Kevin Ryde
;;
;; Author: Kevin Ryde <user42 <at> zip.com.au>
;; Version: 1
;; Keywords: docs
;; URL: http://www.geocities.com/user42_kevin/man-preview/index.html
;;
;; man-preview.el is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by the
;; Free Software Foundation; either version 3, or (at your option) any later
;; version.
;;
;; man-preview.el is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
;; Public License for more details.
;;
;; You can get a copy of the GNU General Public License online at
;; <http://www.gnu.org/licenses>.

;;; Commentary:
(Continue reading)

Kevin Ryde | 9 Aug 03:04

completion-ignored-build.el -- dynamic ignores for filename completion

This where I got to with having filename completion ignore generated
files.  It's a bit rough, but already does what I wanted, which is
ignore .c when there's .xs and ignore Makefile in various build dirs.

I suppose the setups ought to be configurable, it'd be a matter of
working out what gambits identifying built files would be usual,
or best, or whatnot.

;;; completion-ignored-build.el --- some built completion-ignored-extensions

;; Copyright 2008 Kevin Ryde
;;
;; Author: Kevin Ryde <user42 <at> zip.com.au>
;; Version: 1
;; Keywords: convenience
;; URL: http://www.geocities.com/user42_kevin/completion-ignored-build/
;;
;; completion-ignored-build.el is free software; you can redistribute it
;; and/or modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 3, or (at your
;; option) any later version.
;;
;; completion-ignored-build.el is distributed in the hope that it will be
;; useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
;; Public License for more details.
;;
;; You can get a copy of the GNU General Public License online at
(Continue reading)

William Xu | 8 Aug 11:55

cal-china-x.el --- Chinese calendar extras v1.0a

Changes since 0.9:

- Make it compatible with cvs23. (Most are function names changes.)
- Upgrade licence to GPL3+.

--
William

http://williamxu.net9.org
;;; cal-china-x.el --- Chinese calendar extras

;; Copyright (C) 2006, 2007, 2008 William Xu

;; Author: William Xu <william.xwl <at> gmail.com>
;; Version: 1.0a
;; Url: http://williamxu.net9.org/ref/cal-china-x.el

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; This program is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; General Public License for more details.

;; You should have received a copy of the GNU General Public License
(Continue reading)

dejfson | 5 Aug 23:49

wait for compilation process to be finished

Dear All,
I have sent this emacs to comp.emacs, however this group seems to me
more appropriate, so I give
it a try:

i'd like to call compile command from elisp. I need a function, which
exits when the compilation is finished. As compilation is asynchronous
process, it needs to be synchronized. I wrote then a hook which should
do the job, and called my compiling function:

this is a hook declaration:
----------------------------->
(setq cw-compile-flag t)
(add-hook 'compilation-finish-functions #'(lambda (buf str) (progn
(message "FOOKME") (setq cw-compile-flag nil))))

and this is a function call:
----------------------------->
(defun cw-compile-tags ()
  "Function compiles cw tags file. The filename is TAGS.cw and it is
stored in the project directory, which must
exist."
    ;; save the current buffer so it does not pop up with a question:
    (save-buffer)
    (setq cw-compile-flag t)
    (compile (concat "find " cw-project-directory " | egrep 'h$|hpp$'
| etags -D -l c++ --regex='/[ \t]*class[ \t]+[A-Za-z0-9_]*[ \t\n]*[:
{]/' -o " cw-project-directory "TAGS.cw -"))

    ;; as compilation is asynchronous, we need to wait until the
(Continue reading)


Gmane