diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-04-10 19:19:39 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-04-10 19:19:39 +0700 |
commit | 92edca3ea7a482d59a9086b1cb61413ed8604b67 (patch) | |
tree | d709ab2fd24a563cf626fb5ff354a0972a1dc6a9 /docs/devGuideDB/ajdee.xml | |
parent | 79c272eb9c158a976b7b3313c50759dd87b1b5fd (diff) | |
download | aspectj-92edca3ea7a482d59a9086b1cb61413ed8604b67.tar.gz aspectj-92edca3ea7a482d59a9086b1cb61413ed8604b67.zip |
Remove indentation from <programlisting> blocks in docs
Many dozens (hundreds?) of documentation code blocks were indented to
match the surrounding XML or just arbitrarily. The thing is: Inside
<programlisting> tags, similar to <pre> tags, line feeds and leading
whitespace are being preserved, which looked very awkward in the HTML
documentation. While a few files were mostly correct in this respect,
which shows that it was meant to be like that, many others were not.
This was tedious, stupid work to fix, but it had to be done.
Please note that the documentation was in no way updated content-wise.
This is also overdue, but not my focus here.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/devGuideDB/ajdee.xml')
-rw-r--r-- | docs/devGuideDB/ajdee.xml | 75 |
1 files changed, 39 insertions, 36 deletions
diff --git a/docs/devGuideDB/ajdee.xml b/docs/devGuideDB/ajdee.xml index 7c42a90fd..652a82f7b 100644 --- a/docs/devGuideDB/ajdee.xml +++ b/docs/devGuideDB/ajdee.xml @@ -274,22 +274,23 @@ your <literal>load-path</literal> and are ``required''. This is an example for the 1.0 release: <programlisting> - ;; I keep my emacs packages in C:/Emacs - (setq load-path - (append - '( - "C:/Emacs/aspectj-emacsMode-1.0" ; for AJDEE - "C:/Emacs/aspectj-emacsAJDEE-1.0" - "C:/Emacs/jde-2.2.9beta6/lisp" - "C:/Emacs/elib-1.0" ; for JDEE - "C:/Emacs/speedbar-0.14beta2" ; for JDEE - "C:/Emacs/semantic-1.4beta12" ; for JDEE/speedbar - "C:/Emacs/eieio-0.17beta3" ; for JDEE - ) - load-path)) - - (require 'jde) - (require 'ajdee) ; can also appear in prj.el</programlisting> + ;; I keep my emacs packages in C:/Emacs + (setq load-path + (append +'( + "C:/Emacs/aspectj-emacsMode-1.0" ; for AJDEE + "C:/Emacs/aspectj-emacsAJDEE-1.0" + "C:/Emacs/jde-2.2.9beta6/lisp" + "C:/Emacs/elib-1.0" ; for JDEE + "C:/Emacs/speedbar-0.14beta2" ; for JDEE + "C:/Emacs/semantic-1.4beta12" ; for JDEE/speedbar + "C:/Emacs/eieio-0.17beta3" ; for JDEE + ) +load-path)) + + (require 'jde) + (require 'ajdee) ; can also appear in prj.el + </programlisting> </para> </listitem> @@ -315,31 +316,33 @@ Here is a simple example: <programlisting> - ;; A default version for simple projects, maybe good for - ;;; .emacs file. - (custom-set-variables - '(jde-compiler '("ajc" "ajc")) - '(jde-javadoc-command-path "ajdoc") +;; A default version for simple projects, maybe good for +;;; .emacs file. +(custom-set-variables +'(jde-compiler '("ajc" "ajc")) +'(jde-javadoc-command-path "ajdoc") - ;; ajc requires all files to be named for a compile - '(aspectj-compile-file-specification "*.java"))</programlisting> +;; ajc requires all files to be named for a compile +'(aspectj-compile-file-specification "*.java")) + </programlisting> Here is an example for spacewar, in <filename>examples/spacewar</filename>. <programlisting> - ;;; These options are for the spacewar, in examples/spacewar. - (custom-set-variables - '(jde-compiler '("ajc" "ajc")) - '(jde-javadoc-command-path "ajdoc") - - ;; ajc provides an ``argfile'' mechanism for specifying all files. - '(aspectj-compile-file-specification "-argfile demo.lst") - - ;; *if* compiling packages, name root dir for package hierarchy - ;; to tell ajc where .class files should go. - '(jde-compile-option-directory "..") - '(jde-run-working-directory "..")) - '(jde-run-application-class "spacewar.Game")</programlisting> +;;; These options are for the spacewar, in examples/spacewar. +(custom-set-variables +'(jde-compiler '("ajc" "ajc")) +'(jde-javadoc-command-path "ajdoc") + +;; ajc provides an ``argfile'' mechanism for specifying all files. +'(aspectj-compile-file-specification "-argfile demo.lst") + +;; *if* compiling packages, name root dir for package hierarchy +;; to tell ajc where .class files should go. +'(jde-compile-option-directory "..") +'(jde-run-working-directory "..")) +'(jde-run-application-class "spacewar.Game") + </programlisting> </para> </listitem> <listitem> |