Dave Love | 3 Nov 2003 19:39
Picon
Picon

menu-driven entry of maths characters

This minor mode is useful for people who want to enter maths/technical
characters and aren't sufficiently familiar with LaTeX conventions to
use the Emacs 21.3 TeX input method (or with SGML to use the
unreleased SGML input method).

It only works as intended in the unreleased port to the Gtk toolkit,
and only then with an appropriate menu font.  However, it may be
useful in the released Emacs, either displaying the characters with
text menus or selecting by class and Unicode name.  I'm not sure what
the best way is to deal with the (lack of) capabilities of the menu
systems.

Attachment (maths-menu.el): application/emacs-lisp, 12 KiB
_______________________________________________
Gnu-emacs-sources mailing list
Gnu-emacs-sources <at> gnu.org
http://mail.gnu.org/mailman/listinfo/gnu-emacs-sources
Jim Ottaway | 25 Nov 2003 12:08
Picon
Favicon

boxquote bibtex citation


This code lets you insert  bibtex entries using boxquote.  The selection
mechanism has the same interactive look and feel as `reftex-citation'.

Regards,

Jim Ottaway

Attachment (boxquote-bibtex.el): application/emacs-lisp, 2773 bytes
_______________________________________________
Gnu-emacs-sources mailing list
Gnu-emacs-sources <at> gnu.org
http://mail.gnu.org/mailman/listinfo/gnu-emacs-sources
Jim Ottaway | 25 Nov 2003 12:05
Picon
Favicon

hyperbole bibtex citation button


Here is some code that creates a new bibtex citation button for
hyperbole.  It also defines a command that creates such buttons with
the same interactive look and feel as `reftex-citation'.

Regards,

Jim Ottaway

Attachment (hyp-bibtex.el): application/emacs-lisp, 3842 bytes
_______________________________________________
Gnu-emacs-sources mailing list
Gnu-emacs-sources <at> gnu.org
http://mail.gnu.org/mailman/listinfo/gnu-emacs-sources
Vinicius Jose Latorre | 30 Nov 2003 20:47
Picon

spell-number v3.0


;;; spell-number.el --- Spell out an integer or currency in words.

;; Copyright (C) 1999,2000,2001,2002,2003
;; Vinicius Jose Latorre <vinicius <at> cpqd.com.br>

;; Author: Vinicius Jose Latorre <vinicius <at> cpqd.com.br>
;; Maintainer: Vinicius Jose Latorre <vinicius <at> cpqd.com.br>
;; Time-stamp: <2003/11/30 17:40:32 vinicius>
;; Version: 3.0
;; Keywords: spell, local
;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/

;; This file is NOT (yet?) 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, 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 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.

(Continue reading)

Tom Wurgler | 1 Dec 2003 16:02

modification to dired to allow an "or" syntax

Defadvice to allow a "|" to act as an "or" construct for dired.

I was all the time wanting to limit what files dired would show me.
M-x dired > a* would give all files starting with "a" etc, but I
wanted to be able to give multiple strings, and so came up with this.

Tested on unix csh and sh shells.

Usage: M-x dired > string1|string2 causes dired to just list the files
that have string1 OR string2 in the name.

(defadvice dired (before allow_for_or activate)
  "Allows using a `|' as an `or' operator in dired.
For example, when it prompts for the directory to dired, typing a|b
direds all files containing string a along with files that contain
string b.  No limit on the number of `|'."
  (if (string-match "|" dirname)
      (let ((dir)
	    (file))
	(setq dir (file-name-directory dirname))
	(setq file (file-name-nondirectory dirname))
	(setq dir (concat dir "*{"))
	(while (string-match "|" file)
	  (setq dir (concat dir (substring file 0 (1- (match-end 0))) ","))
	  (setq file (substring file (match-end 0))))
	(setq dirname (concat dir file "}*")))))

Gmane