]> code.delx.au - gnu-emacs/commitdiff
Key [C-M-backspace] defined.
authorKarl Heuer <kwzh@gnu.org>
Wed, 12 Apr 1995 03:13:20 +0000 (03:13 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 12 Apr 1995 03:13:20 +0000 (03:13 +0000)
(mode-line-format): Defined.

lisp/w32-fns.el

index 388a5dd88180da05e41396873c6cf9f8fec4764f..38dc9da2c95a790d84dc8331d4e22b497e3eb9e5 100644 (file)
@@ -2,6 +2,7 @@
 ;; Copyright (C) 1994 Free Software Foundation, Inc.
 
 ;; Author: Geoff Voelker (voelker@cs.washington.edu)
+;; Version: 1
 
 ;; This file is part of GNU Emacs.
 
 ;;; Commentary:
 
 ;; (August 12, 1993)
-;; NT switches placed in:
-;;
-;; compile.el, dired-new.el, dired.el, loadup.el, startup.el, subr.el
+;; Created.
 
-;; (November 21, 1993)
-;; General stuffing for supporting Windows NT.  
+;; (November 21, 1994)
+;; [C-M-backspace] defined.
+;; mode-line-format defined to show buffer file type.
+;; audio bell initialized.
 
 ;;; Code:
 
 (define-key function-key-map [backspace] "\177")
 (define-key function-key-map [delete] "\C-d")
 (define-key function-key-map [M-backspace] [?\M-\177])
+(define-key function-key-map [C-M-backspace] [\C-\M-delete])
+
+;; Show file type (text or binary) on modeline
+(setq-default mode-line-format
+  (list (purecopy "")
+   'mode-line-modified
+   'mode-line-buffer-identification
+   (purecopy "   ")
+   'global-mode-string
+   (purecopy "   %[(")
+   (purecopy "%t:")
+   'mode-name 'mode-line-process 'minor-mode-alist
+   (purecopy "%n")
+   (purecopy ")%]--")
+   (purecopy '(line-number-mode "L%l--"))
+   (purecopy '(-3 . "%p"))
+   (purecopy "-%-")))
 
 ;; Ignore case on file-name completion
 (setq completion-ignore-case t)
@@ -112,4 +130,7 @@ against the file name, and TYPE is nil for text, t for binary.")
 (global-unset-key [C-down-mouse-2])
 (global-unset-key [C-down-mouse-3])
 
+;;; Set to a system sound if you want a fancy bell.
+(set-message-beep nil)
+
 ;;; winnt.el ends here