;; and the keypad delete the character under the cursor and to the right

;; under X, instead of the default, backspace behavior.

(global-set-key [delete] 'delete-char)

(global-set-key [kp-delete] 'delete-char)

;; DynamicAbbreviations

;; Description

;; This is one of the coolest functions in emacs. A dynamic abbreviation (dabbrev) is almost like a normal abbreviation that you define, with the following differences:

;; 1. You do not have to define it

;; 2. You need to call the dabbrev-expand command explicitly to use it

;; What it does is to look at the "word" to the left of point and try to expand that word by looking for text in the current buffer, and if not found there, in all open buffers.

;; Did I say that this is extremely cool?

;; Examples

;; Let's say you define

;; thisLongVariableName

;; somewhere in the code. Somewhere further down in the code you want to write the variable name again. Instead of doing this, just type a few letters, for example "this", and then activate the dabbrev-expand command.

;; Instant magic!

;; If the expansion is not what you wanted, you can cycle through all possible expansions by repeatedly executing the command again.

(insert "\n# BioPerl module for " perl-object-name "\n#\n# Cared for by " perl-caretaker-name " \n#\n# Copyright " perl-caretaker-name "\n#\n# You may distribute this module under the same terms as perl itself\n\n")

(insert "User feedback is an integral part of the evolution of this and other\nBioperl modules. Send your comments and suggestions preferably to\nthe Bioperl mailing list. Your participation is much appreciated.\n\n")

(insert "User feedback is an integral part of the evolution of this and other\nBioperl modules. Send your comments and suggestions preferably to\nthe Bioperl mailing list. Your participation is much appreciated.\n\n")