Alan Mackenzie | 1 Dec 2005 12:40
Picon
Favicon

Announcement: Release of (X)Emacs CC Mode 5.31

Release Announcement
CC Mode Version 5.31
Martin Stjernholm, Alan Mackenzie

This message announces the availability of a new version of CC Mode,
an Emacs and XEmacs mode for editing C (ANSI and K&R), C++,
Objective-C, Java, CORBA's IDL, Pike and AWK code.

A list of user visible changes is detailed in the NEWS file and in the
URL listed below.  More information, including links to download the
source, are available on the CC Mode web page:

    <http://cc-mode.sourceforge.net/>

Send email correspondence to

    bug-cc-mode <at> gnu.org

For a list of changes please see

    <http://cc-mode.sourceforge.net/changes-531.php>

--

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm <at> muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
Jürgen Hötzel | 5 Dec 2005 13:21

babel.el - version 0.3

This is a new version of babel.el (originaly written by Eric Marsden). I
revised it to support backends with UTF-8 encoding.  babel.el requires
emacs 22.x.


;;; babel.el --- interface to web translation services such as Babelfish
;;;
;;; Author: Eric Marsden <emarsden <at> laas.fr>
;;;         Juergen Hoetzel <juergen <at> hoetzel.info> 
;;; Keywords: translation, web
;;; Copyright: (C) 1999-2001 Eric Marsden
;;;                2005 Juergen Hoetzel
;;
;;     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.
;;     
;;     You should have received a copy of the GNU General Public
;;     License along with this program; if not, write to the Free
;;     Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
;;     MA 02111-1307, USA.
;;
(Continue reading)

Kevin Rodgers | 5 Dec 2005 18:13
Picon
Favicon

Re: babel.el - version 0.3

Jürgen Hötzel wrote:
 > This is a new version of babel.el (originaly written by Eric Marsden). I
 > revised it to support backends with UTF-8 encoding.  babel.el requires
 > emacs 22.x.

What features of Emacs 22 does it depend on?

...

 > ;;; History
 >
 > ;;    0.4: * revised FreeTranslation backend
 >
 > ;;;   0.3: * removed non-working backends: systran, intertrans, leo, 
e-PROMPT
 > ;;;        * added Google backend
 > ;;;        * revised UTF-8 handling
 > ;;;        * Added customizable variables: 
babel-preferred-to-language, babel-preferred-from-language
 > ;;;        * revised history handling
 > ;;;        * added helper function: babel-wash-regex

So is this version 0.3 (as in the Subject) or 0.4?

--

-- 
Kevin Rodgers
Jürgen Hötzel | 5 Dec 2005 21:01

Re: babel.el - version 0.3

On Mon, Dec 05, 2005 at 10:13:59AM -0700, Kevin Rodgers wrote:
> Jürgen Hötzel wrote:
> > This is a new version of babel.el (originaly written by Eric Marsden). I
> > revised it to support backends with UTF-8 encoding.  babel.el requires
> > emacs 22.x.
> 
> What features of Emacs 22 does it depend on?

It depends on the url package.  I did not try the old w3/url package on
emacs 21.4 (as the url package is now part of GNU emacs 22). But it should
be possible to port babel.el to emacs 21.4 by using the old w3/url package
and writing some wrapper functions. For example url-retrieve-synchronously
was introduced in emacs 22 and is not part of the the old w3 package:

Symbol's function definition is void: url-retrieve-synchronously

> So is this version 0.3 (as in the Subject) or 0.4?

Yes: its 0.4. Sorry about the typo.

Jürgen
Tom Breton | 12 Dec 2005 23:41

cleanup.el (Was Replacing non-ascii characters)


Mark Elston asked on comp.emacs for something to ASCIIify text he
cut-and-pasted from the web.  Here's a little thing I use for just
that job:

;;; cleanup.el --- Clean up quoted material of a few common types

;; Copyright (C) 2005 by Tom Breton <tehom <at> panix.com>

;; Author: Tom Breton <tehom <at> panix.com>
;; Keywords: convenience

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

;;; Commentary:

;; Rationale: Do you sometimes cut and paste from web pages into
(Continue reading)

Francesco Potorti` | 13 Dec 2005 10:00
Picon

Re: cleanup.el (Was Replacing non-ascii characters)

>;;; cleanup.el --- Clean up quoted material of a few common types

>;; Rationale: Do you sometimes cut and paste from web pages into
>;; Emacs?  Sometimes the result isn't ASCII text, but an ugly
>;; near-ASCII text that can't be saved with plain encoding.

Here is what I have used for many years, about the same rationale as
above.  THe first is a utility function used by the following commands.

(defun do-accent (subst-list)
  (dolist (pair subst-list)
    (save-excursion
      (while (re-search-forward (car pair) nil t)
	(replace-match (cdr pair) t)))))

(defun en-accent ()
  (interactive)
  (do-accent '(("a`" . "\340") ("e`" . "\350") ("e'" . "\351")
	       ("E`" . "\310") ("i`" . "\354")
	       ("o`" . "\362") ("u`" . "\371")
	       ("ch\350\\>" . "ch\351") ("\\<n\350\\>" . "n\351"))))

(defun en-accent-reverse ()
  (interactive)
  (do-accent '(("a'" . "\340") ("e'" . "\350")
	       ("E'" . "\310") ("i'" . "\354")
	       ("o'" . "\362") ("u'" . "\371")
	       ("\\<ch\350\\>" . "ch\351") ("\\<n\350\\>" . "n\351"))))

(defun de-accent ()
(Continue reading)

mzsanford | 14 Dec 2005 19:31
Picon

AIMFight.com for emacs

;; first ever lisp. non emacs user, but too interesting to pass up

(provide 'aim-fight)

(defvar aim-fight-base "http://aimfight.com/getFight.php?name1=")
(defvar aim-fight-mid "&name2=")
(defvar aim-fight-sn "YOUR_SCREENNAME_HERE")

(make-variable-buffer-local 'aim-fight)

(defun aim-fight-get-url (string)
  (interactive)
  (message "URL: %s" string)
  (let ((local-buffer (get-buffer-create "aim-fight-buffer")))
  (call-process "curl" nil local-buffer nil "-s" string)
  (set-buffer local-buffer)
  (let ((myStr (buffer-string)))
    (if (string-match "height1=\\([0-9]+\\)&height2=\\([0-9]+\\)"
myStr)
      (let ((w (match-string 1 myStr))
            (h (match-string 2 myStr)))
          (if (> (string-to-number w) (string-to-number h)) (message
"You Win") (message "You Lose"))
      )
    )
  )
  (kill-buffer local-buffer)
  )
)

(Continue reading)

morgancc.chen | 19 Dec 2005 15:36
Picon

How to compile emacs with intel C++ compiler?

dose somebody know how to do it ?Thank you.
morgancc.chen@gmail.com | 19 Dec 2005 15:48
Picon

How to compile emacs with intel c++ compiler?

Does somebody know it?Thank you.
Kevin Rodgers | 20 Dec 2005 18:09
Picon
Favicon

igrep.el 2.113

Changes since igrep.el 2.112:
* Change unibyte:t tag to coding:iso-latin-1 tag.
* Update copyright; fix references to CVS Emacs (Emacs 22).
* Emacs 22 support: Don't defvar :help.
* Set igrep-find-use-xargs by default if `xargs -e` succeeds
   (even on MacOS).

Thanks to:
Evgeny Roubinchtein
Andrew M. Scott
Yoichi NAKAYAMA
Michael Sperber

igrep.el 2.112 is available on the Emacs Wiki:
* http://www.emacswiki.org/cgi-bin/emacs/igrep.el

--

-- 
Kevin Rodgers
Attachment (igrep.el): application/emacs-lisp, 41 KiB
_______________________________________________
Gnu-emacs-sources mailing list
Gnu-emacs-sources <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Gmane