Commit 83d0f5d6 authored by scott snyder's avatar scott snyder
Browse files

Update to work with org-mode 9.1.

parent 43c2b2ef
......@@ -3,7 +3,7 @@
#+TITLE: ATLAS C++ coding guidelines, version {{{version}}}
#+AUTHOR: Shaun Roe (CERN), Scott Snyder (BNL), and the former ATLAS Quality Control group
#+EMAIL: Correspondence to snyder@bnl.gov.
# Checked with org-mode 8.2.10 (as bundled with emacs 25.2.1)
# Checked with org-mode 9.1.9 (as bundled with emacs 26.2)
# Along with the change to org-export-dictionary below, this changes
# the `Footnotes' section in HTML to `References'
......@@ -1988,9 +1988,14 @@ private:
Athena-aware could use =cerr= before throwing an exception, but all
Athena-aware classes should use =MSG::FATAL= and/or throw an exception.
When using =MsgStream=, note that a call to e.g. =msg() << MSG::VERBOSE= that is suppressed by the output level has a higher runtime cost than
a call suppressed by =if (msgLvl <= MSG::VERBOSE)=. The =ATH_MSG= macros (=ATH_MSG_INFO= and =ATH_MSG_DEBUG= etc) wrap =msg()= calls in appropriate if statements and
are preferred in general for two reasons: they take up less space in the source code and indicate immediately that the message is correctly handled.
When using =MsgStream=, note that a call to, e.g.,
~msg() << MSG::VERBOSE~ that is suppressed by the output level has a higher
runtime cost than a call suppressed by
~if (msgLvl <= MSG::VERBOSE)~. The =ATH_MSG= macros (=ATH_MSG_INFO= and
=ATH_MSG_DEBUG= etc) wrap =msg()= calls in appropriate if
statements and are preferred in general for two reasons: they take
up less space in the source code and indicate immediately that the
message is correctly handled.
......@@ -2960,7 +2965,7 @@ public:
The comment includes the fact that it is the perpendicular distance.
#+BEGIN_LaTeX
#+BEGIN_EXPORT latex
\newpage
\begingroup
\parindent 0pt
......@@ -2971,7 +2976,7 @@ The comment includes the fact that it is the perpendicular distance.
\def\href#1#2{\hrefsave{#1}{#2 [\small\nolinkurl{#1}]}}
\theendnotes
\endgroup
#+END_LaTeX
#+END_EXPORT
* Changes
......@@ -3110,6 +3115,11 @@ Doxygen also knows about //!< , I think?
# LocalWords: rulesversion FALLTHROUGH doSomethingMore gcc7 cstdlib
# LocalWords: fallthrough fabs bitfields multithreaded atan2 n4140
# LocalWords: Zach OpenLab AthenaMT AthAlgorithm AthService mutex
# LocalWords: AthReentrantAlgorithm ConcurrentFoo nonconst mutexes
# LocalWords: Impl impl getSize accessor TBB Karsten MyFlag myFlag
# LocalWords: declareProperty myFlagValue Diff'ing nconc defun 'org
# LocalWords: backend 'latex 'my 42ul 0pt 2ex Geant4 myex 0pt 2ex
# LocalWords: 'org 'my
# Local Variables:
......@@ -3121,9 +3131,6 @@ Doxygen also knows about //!< , I think?
# eval: (add-to-list 'org-export-filter-target-functions 'my-target-filter)
# eval: (defun org-html-target (target contents info) (let ((id (org-export-solidify-link-text (org-element-property :value target)))) (org-html--anchor id id)))
# eval: (setq org-export-with-email t)
# eval: (setq org-latex-prefer-user-labels t)
# eval: (define-advice org-latex--text-markup (:filter-return (text) brocket-fix) (if (string= (substring text 0 8) "\\texttt{") (replace-regexp-in-string "<<" "<{}<" text) text)) ; fix bad formatting of <<
# End:
# LocalWords: AthReentrantAlgorithm ConcurrentFoo nonconst mutexes
# LocalWords: Impl impl getSize accessor TBB Karsten MyFlag myFlag
# LocalWords: declareProperty myFlagValue Diff'ing nconc defun 'org
# LocalWords: backend 'latex 'my 42ul 0pt 2ex Geant4 myex 0pt 2ex
# LocalWords: 'org 'my
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment