summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian-el-loaddefs.el36
-rw-r--r--debian-el.texi39
-rw-r--r--preseed.el48
3 files changed, 105 insertions, 18 deletions
diff --git a/debian-el-loaddefs.el b/debian-el-loaddefs.el
index aa45651..4c8bb51 100644
--- a/debian-el-loaddefs.el
+++ b/debian-el-loaddefs.el
@@ -5,7 +5,7 @@
(provide 'debian-el-loaddefs)
;;;### (autoloads (apt-sources-mode) "apt-sources" "apt-sources.el"
-;;;;;; (16284 30712))
+;;;;;; (16342 41238))
;;; Generated autoloads from apt-sources.el
(autoload (quote apt-sources-mode) "apt-sources" "\
@@ -17,21 +17,25 @@ Sets up command `font-lock-mode'.
;;;***
;;;### (autoloads (apt-utils-search apt-utils-show-package) "apt-utils"
-;;;;;; "apt-utils.el" (16120 61272))
+;;;;;; "apt-utils.el" (17055 6333))
;;; Generated autoloads from apt-utils.el
(autoload (quote apt-utils-show-package) "apt-utils" "\
-Write APT package information to buffer.
-With ARG, choose that package, otherwise prompt for one." t nil)
+Show information for a Debian package.
+A selection of known packages is presented. See `apt-utils-mode'
+for more detailed help. If NEW-SESSION is non-nil, generate a
+new `apt-utils-mode' buffer." t nil)
(autoload (quote apt-utils-search) "apt-utils" "\
Search Debian packages for regular expression.
-To search for multiple patterns use a string like \"foo&&bar\"." t nil)
+To search for multiple patterns use a string like \"foo && bar\".
+The regular expression used to split the
+terms (`apt-utils-search-split-regexp') is customisable." t nil)
;;;***
;;;### (autoloads (deb-find deb-view-mode deb-view deb-view-dired-view)
-;;;;;; "deb-view" "deb-view.el" (16289 55313))
+;;;;;; "deb-view" "deb-view.el" (17245 26632))
;;; Generated autoloads from deb-view.el
(autoload (quote deb-view-dired-view) "deb-view" "\
@@ -62,9 +66,9 @@ easily repeat a `deb-find' command." t nil)
;;;### (autoloads (debian-bug debian-bug-get-bug-as-email debian-bug-get-bug-as-file
;;;;;; debian-bug-web-package debian-bug-web-packages debian-bug-web-this-bug-under-mouse
-;;;;;; debian-bug-web-this-bug debian-bug-web-bug debian-bug-web-bugs
-;;;;;; debian-bug-intent-to-package debian-bug-request-for-package
-;;;;;; debian-bug-wnpp) "debian-bug" "debian-bug.el" (16262 3361))
+;;;;;; debian-bug-web-this-bug debian-bug-web-bug debian-bug-web-developer-page
+;;;;;; debian-bug-web-bugs debian-bug-intent-to-package debian-bug-request-for-package
+;;;;;; debian-bug-wnpp) "debian-bug" "debian-bug.el" (17198 2200))
;;; Generated autoloads from debian-bug.el
(autoload (quote debian-bug-wnpp) "debian-bug" "\
@@ -78,7 +82,11 @@ Shortcut for `debian-bug-wnpp' with RFP action." t nil)
Shortcut for `debian-bug-wnpp' with ITP action (for Debian developers)." t nil)
(autoload (quote debian-bug-web-bugs) "debian-bug" "\
-Browse the BTS for this package via `browse-url'." t nil)
+Browse the BTS for this package via `browse-url'.
+With optional argument prefix ARCHIVED, display archived bugs." t nil)
+
+(autoload (quote debian-bug-web-developer-page) "debian-bug" "\
+Browse the web for this package's developer page." t nil)
(autoload (quote debian-bug-web-bug) "debian-bug" "\
Browse the BTS for BUG-NUMBER via `browse-url'." t nil)
@@ -107,6 +115,14 @@ Submit a Debian bug report." t nil)
;;;***
+;;;### (autoloads (preseed-mode) "preseed" "preseed.el" (17245 33079))
+;;; Generated autoloads from preseed.el
+
+(autoload (quote preseed-mode) "preseed" "\
+Major mode for editing debian-installer preseed files colourfully." t nil)
+
+;;;***
+
;;;### (autoloads (apt-sources-mode) "apt-sources" "apt-sources.el"
;;;;;; (16064 13921))
;;; Generated autoloads from apt-sources.el
diff --git a/debian-el.texi b/debian-el.texi
index 23a2c44..db8d810 100644
--- a/debian-el.texi
+++ b/debian-el.texi
@@ -13,8 +13,8 @@
@end direntry
@c Version variables.
-@set EDITION 1.0
-@set UPDATED 23 Sept 2003
+@set EDITION 1.1
+@set UPDATED 24 October 2005
@ifinfo
This is Edition @value{EDITION}, last updated @value{UPDATED}, of
@@ -45,11 +45,21 @@ basis, do:
@end example
@menu
-* apt-sources:: Mode for editing apt source.list file
-* apt-utils:: Emacs interface to APT
-* debian-bug:: Report a bug to Debian's bug tracking system
-* deb-view:: View Debian package archive files with tar-mode
-* gnus-BTS:: Access the Debian Bug Tracking System from Gnus
+* apt-sources:: Mode for editing apt source.list file
+* apt-utils:: Emacs interface to APT
+* debian-bug:: Report a bug to Debian's bug tracking system
+* deb-view:: View Debian package archive files with tar-mode
+* gnus-BTS:: Access the Debian Bug Tracking System from Gnus
+* pressed:: Mode for debian-installer preseed files
+@detailmenu
+ --- The Detailed Node Listing ---
+
+deb-view - View Debian package archive files with tar-mode
+
+* deb-view configuration::
+* deb-view usage::
+
+@end detailmenu
@end menu
This work compiles GPL'ed documentation from the files in
@@ -292,7 +302,7 @@ To view files not supported by deb-view, such as graphics, use the
copy command (@key{c}) to copy the file to a temp directory. You can
then do what you want to the file.
-@node gnus-BTS, , deb-view, Top
+@node gnus-BTS, pressed, deb-view, Top
@chapter gnus-BTS - access the Debian Bug Tracking System from Gnus
Use this if you read a lot of debian lists in GNUS and see references
@@ -305,3 +315,16 @@ To enable this, add the following to your @file{~/.emacs} file:
@example
(require 'gnus-BTS)
@end example
+
+@node pressed, , gnus-BTS, Top
+@chapter preseed - major mode for debian-installer preseed files
+
+@noindent Author: W. Borgert <debacle@@debian.org>
+
+A simple major-mode for editing debian-installer preseed files. Since
+such files don't always have the same extension, this mode is not
+autoloaded. Enter it by using teh command line:
+
+@example
+M-x preseed-mode
+@end example
diff --git a/preseed.el b/preseed.el
new file mode 100644
index 0000000..d555129
--- /dev/null
+++ b/preseed.el
@@ -0,0 +1,48 @@
+;;; preseed.el --- a major mode for editing debian-installer preseed files
+
+;; Copyright (C) 2004 W. Borgert <debacle@debian.org>
+
+;; This package 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 package 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.
+
+;;; Code:
+(require 'font-lock)
+
+(defvar preseed-mode-abbrev-table nil
+ "Abbreviation table used in d-i preseed buffers.")
+(define-abbrev-table 'preseed-mode-abbrev-table ())
+
+(defvar preseed-font-lock-keywords
+ '(("^\\([a-z-]+\\)[ \t]+\\([^ ]+\\)[ \t]+\\([^ ]+\\)"
+ (1 font-lock-keyword-face)
+ (2 font-lock-function-name-face)
+ (3 font-lock-type-face))
+ ("\\(^\\s-*#.*\\)"
+ (1 font-lock-comment-face)))
+ "Keyword patterns for preseed-mode fontification.")
+
+;;;###autoload
+(defun preseed-mode ()
+ "Major mode for editing debian-installer preseed files colourfully."
+ (interactive)
+ (kill-all-local-variables)
+ (setq comment-start "#"
+ comment-multi-line nil
+ comment-start-skip "#+[\t ]*")
+ (setq major-mode 'preseed-mode
+ mode-name "Preseed"
+ local-abbrev-table preseed-mode-abbrev-table)
+ (run-hooks 'preseed-mode-hook)
+ (set (make-local-variable 'font-lock-defaults)
+ '(preseed-font-lock-keywords nil nil ((?_ . "w")))))
+
+(provide 'preseed)
+
+;;; preseed.el ends here