Mercurial > emacs
view lisp/forms-pass.el @ 89628:16559d69b325
(private-char-area-1-min)
(private-char-area-1-max, private-char-area-2-min)
(private-char-area-2-max, emacs-mule-charset-table): New
variables.
(convert-define-charset-argument): New function.
(define-charset): Handle the old calling style. Update
emacs-mule-charset-table.
(make-char-internal): New function.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 17 Nov 2003 03:57:03 +0000 |
parents | 375f2633d815 |
children | 68c22ea6027c |
line wrap: on
line source
;;; forms-pass.el --- passwd file demo for forms-mode -*- no-byte-compile: t -*- ;; This file is part of GNU Emacs. ;;; Commentary: ;; This demo visits your passwd file. ;;; Code: ;; use yp if present (or (file-exists-p (setq forms-file "/var/yp/src/passwd")) (setq forms-file "/etc/passwd")) (setq forms-read-only t) ; to make sure (setq forms-field-sep ":") (setq forms-number-of-fields 7) (setq forms-format-list (list "====== Visiting " forms-file " ======\n\n" "User : " 1 " Uid: " 3 " Gid: " 4 "\n\n" "Name : " 5 "\n\n" "Home : " 6 "\n\n" "Shell: " 7 "\n")) ;;; forms-pass.el ends here