From f969b42a9c6ea33bc783a8139f35f75b2b0cd77e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 1 Oct 2021 23:54:04 +0530 Subject: doc: Document the skribilo emacs mode. * doc/user/emacs.skb (Skribe Emacs Mode): Rename to ... (Skribilo Emacs Mode): ... this. Document the skribilo emacs mode. --- doc/user/emacs.skb | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/doc/user/emacs.skb b/doc/user/emacs.skb index 5e6354b..dbd97de 100644 --- a/doc/user/emacs.skb +++ b/doc/user/emacs.skb @@ -42,41 +42,40 @@ syntax highlighting (or ``fontification'') through the Skribe Mode described below.]) ;;*---------------------------------------------------------------------*/ - ;;* Skribe emacs mode */ + ;;* Skribilo emacs mode */ ;;*---------------------------------------------------------------------*/ - (section :title "Skribe Emacs Mode" + (section :title "Skribilo Emacs Mode" + (index "emacs" :note "skribilo mode") (index "emacs" :note "skribe mode") - (p [The Skribilo distribution contains a minor mode dedicated to -Skribe edition originally written by Manuel Serrano. This mode -provides ,(emph "fontification") and indentation of Skribe programs. -In this manual, we present the two most important key bindings -specific to this mode: - -,(itemize (item [,(color :fg "#007700" (kbd "tab")) indents the -current line.]) -(item [,(color :fg "#007700" (kbd "M-C-q")) indents a whole Skribe -expression.]))]) - - (p [To use the Skribe/Skribilo Emacs mode, you need to tell Emacs -that when the Emacs Lisp ,(tt "skribe-mode") function is needed it has -to be loaded from the ,(tt "skribe.el") file:]) + (p [The Skribilo distribution contains an Emacs minor mode that +provides ,(emph "fontification") and indentation of Skribilo +documents. This is the preferred method for writing Skribilo documents +using Emacs.]) + (p [To use the Skribilo Emacs mode, you need to tell Emacs that +when the Emacs Lisp ,(tt "skribilo-mode") function is needed it has to +be loaded from the ,(tt "skribilo.el") file:]) (disp :verb #t (source :language lisp - [(autoload 'skribe-mode "skribe.el" "Skribe mode." t)])) + [(autoload 'skribilo-mode "skribilo.el" "Skribilo mode." t)])) - (p [The ,(tt "skribe.el") file must in the path described by the -Emacs Lisp ,(tt "load-path") variable.]) + (p [The ,(tt "skribilo.el") file must be in the path described by +the Emacs Lisp ,(tt "load-path") variable.]) - (p [The ,(code "skribe") mode is a minor mode. It is intended to -be used with a Lisp or Scheme mode. Hence, to use the ,(code "skribe") -mode you will have to use the following Emacs commands:]) + (p [The ,(code "skribilo") mode is a minor mode. It is intended to +be used with a Lisp or Scheme mode. Hence, to use the +,(code "skribilo") mode you will have to use the following Emacs +commands:]) (disp :verb #t (source :language lisp [M-x scheme-mode -M-x skribe-mode])))) +M-x skribe-mode])) + + (p [The Skribilo distribution also contains an older Emacs minor +mode dedicated to Skribe, originally written by Manuel Serrano. This +mode is now deprecated.]))) ;;; Local Variables: ;;; ispell-local-dictionary: "american" -- cgit v1.2.3