Daniel Pfeiffer | 3 Jul 15:51 2004
Picon

new tail-mode

Saluton,

I find myself repeatedly reverting some buffers as they grow.  This is a
nuisance and means font-locking starts from scratch, often enough for just
one extra line in a 100kb buffer :-(

My mode

http://dapfy.bei.t-online.de/tail-mode.el

does the same thing as tail -f for the file some buffer is visiting.  You can
even modify the buffer, but if you then save it, tail-mode is turned off.

This is the third release adding (some time ago but unannounced) an entry in
the mode line's minor mode menu, and now automatic turning off of this mode if
the file stops growing.  That happens by default two hours after the last
grow.

If there is any interest in adding this to Emacs, let me and
emacs-devel <at> gnu.org hear it.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

--

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                              http://lernu.net/
Sandip Chitale | 6 Jul 19:18 2004
Picon

CODE SNIPPET: toggle char at point.

(defun toggle-case (arg)
  "Toggle char after point if it is a uppercase or a lower case char,
else simply insert the char."
  (interactive "*P")     
  (let  ((ch (char-after (point))))
    (cond ((not ch) (self-insert-command (or arg 1)) t)
	  ((/= (upcase ch) ch) (upcase-region (point) (1+ (point)))
(forward-char 1) t)
	  ((/= (downcase ch) ch) (downcase-region (point) (1+ (point)))
(forward-char 1)t)
	  (t (self-insert-command (or arg 1))))))

;;; vi like keybinding
(global-set-key [(~)]                       'toggle-case)
TSUCHIYA Masatoshi | 7 Jul 09:46 2004

[emacs-w3m:06989] emacs-w3m-1.4.1

Hello all,

We, emacs-w3m development team, are pleased to inform you that
emacs-w3m-1.4.1 is now available.  It can be downloaded from:

   http://emacs-w3m.namazu.org/emacs-w3m-1.4.1.tar.gz
     MD5SUM = 28aaa9b092fd6c8ec6e0fd7582424558

This is the bug fix release of emacs-w3m-1.4.

--

-- 
TSUCHIYA Masatoshi
Bruce Ingalls | 9 Jul 14:40 2004
Picon

EMacro 2.9.7 beta

EMacro makes it easier to set up and use your compiled Emacs and/or 
XEmacs on any OS.

Sorry, sources are too large to post.
Get them at <url: http://emacro.sf.net/ >

Consider this to be Release Candidate 1, before a major new EMacro is 
released into production.

I also welcome HTML nitpicking on the redesigned web site, which, imho, 
is high quality XHTML v1.1
Simon Josefsson | 9 Jul 14:57 2004

http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el

Not really Lisp code, but I found htmlize.el so useful that I wanted
to make it into a standalone tool, and thought I'd share my script
with you.  If someone knows how to use htmlize (really font locking)
without starting a X11 Emacs window, please let me know.  (If I use
--batch, the output just become black because the display engine
presumably optimize away all font locking.)

#!/bin/sh

# Copyright (C) 2004 Simon Josefsson.
#
# This file is part of Autobuild.
#
# Autobuild 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.
#
# Autobuild 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 Autobuild; see the file COPYING.  If not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.

prog="`basename \"$0\"`"
rcs_revision='$Revision: 1.7 $'
(Continue reading)

Mathias Dahl | 9 Jul 17:55 2004
Picon

w32-find-dired.el

;;; w32-find-dired.el --- light w32 replacement for `find-dired'

;; Copyright (C) 2004 Free Software Foundation, Inc.

;; Author: Mathias Dahl <brakjoller <at> gmail.com>
;; Note: remove the vegetables from my e-mail address
;; Version: w32-find-dired 0.1

;; This file is not part of GNU Emacs (yet)

;; GNU Emacs 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.

;; GNU Emacs 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:

;; This is a light variant of `find-dired' for those who run Emacs on
;; w32.

(Continue reading)

Vivek Dasmohapatra | 9 Jul 19:10 2004

http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el

Simon Josefsson <jas <at> extundo.com> writes:

> Not really Lisp code, but I found htmlize.el so useful that I wanted
> to make it into a standalone tool, and thought I'd share my script
> with you.  If someone knows how to use htmlize (really font locking)
> without starting a X11 Emacs window, please let me know.  (If I use
> --batch, the output just become black because the display engine
> presumably optimize away all font locking.)

htmlfontify will run without an X11 window (in batch mode even, so without 
any kind of frame at all): You have to jump through a couple of hoops
to trick emacs into using the right display type for fontification, and 
at least cperl mode needs to be tricked into believing it has a display
to work around various optimisations, but on GNU Emacs, it can be done.

I'm not sure about XEmacs, but I haven't ported htmlfontify to work
there yet anyway: It might be possible, I'm not sure.

Have a look at:

   http://rtfm.etla.org/emacs/htmlfontify/

Also, I think the latest htmlize came with a bunch of new features - 
the ability to run in batch mode or use a different display style than 
the one emacs has detected to get the fontification settings might
be included.
Jeff Mincy | 10 Jul 21:15 2004

http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el

On Fri, 09 Jul 2004, jas <at> extundo.com wrote:

> Not really Lisp code, but I found htmlize.el so useful that I wanted
> to make it into a standalone tool, and thought I'd share my script
> with you.  If someone knows how to use htmlize (really font locking)
> without starting a X11 Emacs window, please let me know.  (If I use
> --batch, the output just become black because the display engine
> presumably optimize away all font locking.)
> 
> #!/bin/sh
...
> emacs --geometry 0x0+1600+1200 --eval "(let ((coding-system-for-write 'binary)
(htmlize-before-hook (lambda () ($EMACSMODE) (font-lock-fontify-buffer)))) (htmlize-file
\"$INFILE\" \"$OUTFILE\") (kill-emacs))"

Not really emacs code, but the highlight program is quite
good - fast, configurable, and extendable.  Available at
http://www.andre-simon.de/zip/download.html

-jeff
Ian Zimmerman | 11 Jul 17:55 2004

mindent.el --- simple non-syntax sensitive indentation

;;; mindent.el --- simple non-syntax sensitive indentation

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

;; Copyright (C) Ian Zimmerman, February 2002

;; $Id: mindent.el,v 1.2 2004/07/06 03:52:16 itz Exp $

(defvar mindent-comment-predicate (lambda () nil)
  "A predicate function called to determine if the point is in a comment.
By default, always returns nil.")

(make-variable-buffer-local 'mindent-comment-predicate)

(defconst mindent-mode-map
  (let ((kmap (make-sparse-keymap)))
    (define-key kmap "\C-c[" 'mindent-backward-to-same-indent)
(Continue reading)

Ian Zimmerman | 11 Jul 18:01 2004

obqueue.el --- handle queues of finalizable objects

;;; obqueue.el --- handle queues of finalizable objects

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

;; Copyright (C) 2004 Ian Zimmerman

;; $Id: obqueue.el,v 1.2 2004/07/06 03:52:16 itz Exp $

(defun obqueue-make (init-size trail enlarge-fun finalizer)
  (let ((vec (make-vector init-size nil)))
    (vector vec init-size 0 -1 trail enlarge-fun finalizer)))

(defsubst obqueue-vector (obq)
  (aref obq 0))

(defsubst obqueue-set-vector (obq vec)
  (aset obq 0 vec))
(Continue reading)


Gmane