Use own dogfood and remove whitespace pointed out through by displaying
trailing whitespace. PR: docs/48371 Approved by: ceri
This commit is contained in:
parent
563de07c7d
commit
30dd31cfc8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16038
1 changed files with 14 additions and 14 deletions
|
@ -36,7 +36,7 @@
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="tools-intro"><title>Introduction</title>
|
<sect1 id="tools-intro"><title>Introduction</title>
|
||||||
|
|
||||||
<para>FreeBSD offers an excellent development environment.
|
<para>FreeBSD offers an excellent development environment.
|
||||||
Compilers for C, C++, and Fortran and an assembler come with the
|
Compilers for C, C++, and Fortran and an assembler come with the
|
||||||
basic system, not to mention a Perl interpreter and classic Unix
|
basic system, not to mention a Perl interpreter and classic Unix
|
||||||
|
@ -297,7 +297,7 @@
|
||||||
did compile and gave you a program, you can run it either at a
|
did compile and gave you a program, you can run it either at a
|
||||||
shell command prompt or in a debugger to see if it works
|
shell command prompt or in a debugger to see if it works
|
||||||
properly.
|
properly.
|
||||||
|
|
||||||
<footnote>
|
<footnote>
|
||||||
<para>If you run it in the shell, you may get a core
|
<para>If you run it in the shell, you may get a core
|
||||||
dump.</para>
|
dump.</para>
|
||||||
|
@ -469,7 +469,7 @@
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-c</option></term>
|
<term><option>-c</option></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Just compile the file, do not link it. Useful for toy
|
<para>Just compile the file, do not link it. Useful for toy
|
||||||
programs where you just want to check the syntax, or if
|
programs where you just want to check the syntax, or if
|
||||||
|
@ -813,7 +813,7 @@ int main() {
|
||||||
</informalexample>
|
</informalexample>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
<qandaentry>
|
<qandaentry>
|
||||||
<question>
|
<question>
|
||||||
<para>OK, I have an executable called
|
<para>OK, I have an executable called
|
||||||
|
@ -1926,7 +1926,7 @@ else if (pid == 0) { /* child */
|
||||||
|
|
||||||
;; This file is designed to be re-evaled; use the variable first-time
|
;; This file is designed to be re-evaled; use the variable first-time
|
||||||
;; to avoid any problems with this.
|
;; to avoid any problems with this.
|
||||||
(defvar first-time t
|
(defvar first-time t
|
||||||
"Flag signifying this is the first time that .emacs has been evaled")
|
"Flag signifying this is the first time that .emacs has been evaled")
|
||||||
|
|
||||||
;; Meta
|
;; Meta
|
||||||
|
@ -2008,7 +2008,7 @@ else if (pid == 0) { /* child */
|
||||||
) auto-mode-alist)))
|
) auto-mode-alist)))
|
||||||
|
|
||||||
;; Auto font lock mode
|
;; Auto font lock mode
|
||||||
(defvar font-lock-auto-mode-list
|
(defvar font-lock-auto-mode-list
|
||||||
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'lisp-mode 'perl-mode 'scheme-mode)
|
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'lisp-mode 'perl-mode 'scheme-mode)
|
||||||
"List of modes to always start in font-lock-mode")
|
"List of modes to always start in font-lock-mode")
|
||||||
|
|
||||||
|
@ -2020,7 +2020,7 @@ else if (pid == 0) { /* child */
|
||||||
(defun font-lock-auto-mode-select ()
|
(defun font-lock-auto-mode-select ()
|
||||||
"Automatically select font-lock-mode if the current major mode is
|
"Automatically select font-lock-mode if the current major mode is
|
||||||
in font-lock-auto-mode-list"
|
in font-lock-auto-mode-list"
|
||||||
(if (memq major-mode font-lock-auto-mode-list)
|
(if (memq major-mode font-lock-auto-mode-list)
|
||||||
(progn
|
(progn
|
||||||
(font-lock-mode t))
|
(font-lock-mode t))
|
||||||
)
|
)
|
||||||
|
@ -2033,15 +2033,15 @@ in font-lock-auto-mode-list"
|
||||||
(setq dabbrev-always-check-other-buffers t)
|
(setq dabbrev-always-check-other-buffers t)
|
||||||
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
||||||
(add-hook 'emacs-lisp-mode-hook
|
(add-hook 'emacs-lisp-mode-hook
|
||||||
'(lambda ()
|
'(lambda ()
|
||||||
(set (make-local-variable 'dabbrev-case-fold-search) nil)
|
(set (make-local-variable 'dabbrev-case-fold-search) nil)
|
||||||
(set (make-local-variable 'dabbrev-case-replace) nil)))
|
(set (make-local-variable 'dabbrev-case-replace) nil)))
|
||||||
(add-hook 'c-mode-hook
|
(add-hook 'c-mode-hook
|
||||||
'(lambda ()
|
'(lambda ()
|
||||||
(set (make-local-variable 'dabbrev-case-fold-search) nil)
|
(set (make-local-variable 'dabbrev-case-fold-search) nil)
|
||||||
(set (make-local-variable 'dabbrev-case-replace) nil)))
|
(set (make-local-variable 'dabbrev-case-replace) nil)))
|
||||||
(add-hook 'text-mode-hook
|
(add-hook 'text-mode-hook
|
||||||
'(lambda ()
|
'(lambda ()
|
||||||
(set (make-local-variable 'dabbrev-case-fold-search) t)
|
(set (make-local-variable 'dabbrev-case-fold-search) t)
|
||||||
(set (make-local-variable 'dabbrev-case-replace) t)))
|
(set (make-local-variable 'dabbrev-case-replace) t)))
|
||||||
|
|
||||||
|
@ -2156,7 +2156,7 @@ in font-lock-auto-mode-list"
|
||||||
(progn
|
(progn
|
||||||
;; (global-set-key [M-f1] 'hilit-repaint-command)
|
;; (global-set-key [M-f1] 'hilit-repaint-command)
|
||||||
;; (global-set-key [M-f2] [?\C-u M-f1])
|
;; (global-set-key [M-f2] [?\C-u M-f1])
|
||||||
(setq hilit-mode-enable-list
|
(setq hilit-mode-enable-list
|
||||||
'(not text-mode c-mode c++-mode emacs-lisp-mode lisp-mode
|
'(not text-mode c-mode c++-mode emacs-lisp-mode lisp-mode
|
||||||
scheme-mode)
|
scheme-mode)
|
||||||
hilit-auto-highlight nil
|
hilit-auto-highlight nil
|
||||||
|
@ -2169,7 +2169,7 @@ in font-lock-auto-mode-list"
|
||||||
)
|
)
|
||||||
|
|
||||||
;; TTY type terminal
|
;; TTY type terminal
|
||||||
(if (and (not window-system)
|
(if (and (not window-system)
|
||||||
(not (equal system-type 'ms-dos)))
|
(not (equal system-type 'ms-dos)))
|
||||||
(progn
|
(progn
|
||||||
(if first-time
|
(if first-time
|
||||||
|
@ -2267,7 +2267,7 @@ in font-lock-auto-mode-list"
|
||||||
<function>whizbang-mode</function> to it like so:</para>
|
<function>whizbang-mode</function> to it like so:</para>
|
||||||
|
|
||||||
<programlisting>;; Auto font lock mode
|
<programlisting>;; Auto font lock mode
|
||||||
(defvar font-lock-auto-mode-list
|
(defvar font-lock-auto-mode-list
|
||||||
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'whizbang-mode 'lisp-mode 'perl-mode 'scheme-mode)
|
(list 'c-mode 'c++-mode 'c++-c-mode 'emacs-lisp-mode 'whizbang-mode 'lisp-mode 'perl-mode 'scheme-mode)
|
||||||
"List of modes to always start in font-lock-mode")</programlisting>
|
"List of modes to always start in font-lock-mode")</programlisting>
|
||||||
|
|
||||||
|
@ -2347,7 +2347,7 @@ in font-lock-auto-mode-list"
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
<!--
|
<!--
|
||||||
Local Variables:
|
Local Variables:
|
||||||
mode: sgml
|
mode: sgml
|
||||||
sgml-declaration: "../chapter.decl"
|
sgml-declaration: "../chapter.decl"
|
||||||
|
|
Loading…
Reference in a new issue