Andreas Röhler | 4 Feb 09:30 2008
Picon

thingatpt-utils 1.9, sh-beg-end.el 1.4


;; New in sh-beg-end.el:
;; Bugfix :`sh-match-paren' handles braces 

;; As `sh-end-of-form' turned out not reliable, closing
;; braces identifying the end made the default.

;;; Major changes in thingatpt-utils: 

;; XEmacs-compatibility provided. Char classes as
;; `[:graph:]' AFAIK aren't supported yet by XEmacs;
;; that might have changed with latest CVS.

;; Functions now are written THING-[ACTION-]at [ARG].
;; Called without ARG, it delivers THING
;; at point, while with ARG = 1+N it adresses Nth
;; THING after, with negative ARG Nth THING before.

;; Forms with -af and -bf aren't longer delivered.

;; Testfunctions start with th- instead of thatpt-

;; Class Whitespace now differs from Blank and is conceived 
;; as  "[ \t\r\n\f[:blank:]]"

;; `delimited-at' takes per default every string
;; between chars defined in customizable variable
;; `delimiters-at' "\"'#$/=?!:;".  Parentized-,
;; braced- and bracketed-atpt are separately available.

(Continue reading)

Óscar Fuentes | 12 Feb 00:01 2008
Picon

dntw.el --- Deletes trailing whitespace from changed lines.

;;; dntw.el --- Deletes trailing whitespace from changed lines.

;; Copyright (C) 2008 by Óscar Fuentes

;; Author: Óscar Fuentes, <ofv <at> wanadoo.es>

;; dntw.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.

;; dntw.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 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., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;; dntw.el helps to avoid introducing changes containing trailing
;; whitespace.

;; Do a diff on the file(s) you want to fix, invoke
;; `delete-new-trailing-whitespace' on the diff buffer and trailing
;; whitespace will disappear from the lines that are marked as
;; modified or added. This is specially useful while reviewing the
(Continue reading)

Sebastian Tennant | 18 Feb 00:37 2008

Emacs' AlsaPlayer

Hello all,

I'm pleased to announce Emacs' AlsaPlayer (EAP) version 0.11.

 EAP PLAYS MUSIC WITHOUT JOLTS

EAP is an Emacs interface to AlsaPlayer, a free ogg/mp3 player.  At just
under 600 lines of code it's an extremely lightweight, yet feature-full
interface.

EAP has three unique features:

 * Music Without Jolts
 * Global control of your music (no need to switch buffers)
 * Unlimited playlists (implemented as directories of symbolic links)

Music Witout Jolts?

  Anything that would otherwise affect the smooth flow of the music is
  'wrapped' in a gradual.. volume... fade....

I won't say any more because I'm already simply repeating information
that can be found here:

 http://sebyte.org/eap.html

This is the first time I've released something that actually does
something (and hopefully does it well) so any and all feedback is most
welcome.

(Continue reading)

Sebastian Tennant | 18 Feb 12:32 2008

Re: Emacs' AlsaPlayer

I realise 'inline' disposition is a little inconvenient so here's the
source again, this time as an 'attached' attachment.

Sebastian

Attachment (eap.el): application/emacs-lisp, 22 KiB
_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Leo | 19 Feb 16:27 2008
Face
Picon

xclip.el - easy copying and pasting in terminal

Hi All,

I have been using the following ELISP package for copying text from
other programs to emacs running under terminals like xterm, and vice
versa. I thought it might be useful to other people. I am happy to
receive comments on the package and improve it accordingly.

Attachment (xclip.el): application/emacs-lisp, 4251 bytes

Best,
--

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

          Use the best OS -- http://www.fedoraproject.org/
_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Óscar Fuentes | 20 Feb 06:07 2008
Picon

dntw.el --- Deletes trailing whitespace from changed lines.

Version 0.2.

Fixed support for appended lines.

Fixed support for multiple changes on the diff.

Avoids repeating buffer names on the final message.

;;; dntw.el --- Deletes trailing whitespace from changed lines.

;; Copyright (C) 2008 by Óscar Fuentes

;; Author: Óscar Fuentes, <ofv <at> wanadoo.es>

;; dntw.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.

;; dntw.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 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., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:
(Continue reading)

William Xu | 21 Feb 13:17 2008
Picon

cal-china-x.el --- Chinese calendar extras v0.81

Changes since 0.8: 

,----[ Add emacs22 support ]
| * `mark-calendar-holidays' in emacs22 has been renamed to
| `calendar-mark-holidays' since 23, fixed this.
`----

What is it?
----------- 

This package adds more chinese calendar supports and others,
including:

  - Chinese localizations
  - Display holiday, lunar, horoscope, zodiac, solar term info on mode line
  - Can define holidays using `holiday-lunar', `holiday-solar-term'
  - Highlight holidays based on different priorities
  - Add `cal-china-x-chinese-holidays', `cal-china-x-japanese-holidays'.

To use, add the following in your .emacs:
    (require 'cal-china-x)

--

-- 
William

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

(Continue reading)

fthomas | 21 Feb 12:35 2008
Picon

dir-tree widget

I just love the tool mentioned in the subject but I can't seem to find
any way
to open a file in a new window.
Clicking o a file gives me a message saying that the file is selected
but that's it...
Any hints ?

Thomas
Xah Lee | 24 Feb 13:13 2008

pov-mode.el, POV-Ray mode for emacs updated

The emacs's pov-mode, originally by Peter W Boettcher in 1997, and
worked by several others, has not been maintained since 2003. It
doesn't run in emacs 22 and it's not trivial to fix.

Marco Pessotto is the current maintainer and is actively developing
the mode. Now it works in emacs 22.

You can get the latest version at:
 http://xahlee.org/3d/povray_emacs.html

  Xah
  xah <at> xahlee.org
∑ http://xahlee.org/
Mathias Dahl | 26 Feb 15:50 2008
Picon

guess-language


For a small hack I needed to make a guess about what language a text is
written in.  This in order to automatically set the correct `predictive'
dictionary.  I could not find any existing elisp code that did the same
thing so I wrote it myself.

I present to you `guess-language':

(defun guess-language ()
  "Guess in what language text after point is written in.
In a very simple manner, guess in what language text after point
is written in.  It is done by looking for certain words common to
a specific language.  Currently Swedish (sv) and English (en) is
supported.  Returns a symbol."
  (let ((lang-words '((sv . ("det" "att" "och" "en" "som"))
                      (en . ("the" "a" "of" "and" "an" "to"))))
        found)
    (catch 'found
      (dolist (lang lang-words)
        (let ((words (cdr lang)))
          (dolist (word words)
            (save-excursion
              (when (search-forward-regexp (concat "\\<" word "\\>") nil t)
                (throw 'found (car lang))))))))))

It works well for my purposes.

/Mathias

Gmane