view lisp/forms-pass.el @ 49671:265858431838

(ebnf2ps): Fix typo. (ebnf-syntactic): Change group name and tag from "ebnf-syntatic". (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char, ebnf-terminal-regexp) (ebnf-case-fold-search, ebnf-iso-alternative-p, ebnf-iso-normalize-p) (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not "ebnf-syntatic". (ebnf-optimize, ebnf-print-buffer, ebnf-print-region, ebnf-spool-buffer) (ebnf-spool-region, ebnf-eps-buffer, ebnf-eps-region, ebnf-syntax-buffer) (ebnf-syntax-region, ebnf-generate-region): Fix typo.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 10 Feb 2003 09:58:05 +0000
parents 33d53d287ee4
children 695cf19ef79e
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