Debian Codegraph @

utils/emacs/macros

raw
1 ;; Macro for DOLFIN .h file
2 (fset 'dolfin\.h
3 [?/ ?/ ? ?C ?o ?p ?y ?r ?i ?g ?h ?t ? ?( ?C ?) ? ?2 ?0 ?0 ?6 ? ?Y ?o ?u ?r ? ?N ?a ?m ?e ?. return ?/ ?/ ? ?L ?i ?c ?e ?n ?s ?e ?d ? ?u ?n ?d ?e ?r ? ?t ?h ?e ? ?G ?N ?U ?\S- ?G ?P ?L ?\S- ?V ?e ?r ?s ?i ?o ?n ? ?2 ?. return ?/ ?/ return ?/ ?/ ? ?F ?i ?r ?s ?t ? ?a ?d ?d ?e ?d ?: ? ? ?2 ?0 ?0 ?6 ?- ?0 ?1 ?- ?0 ?1 return ?/ ?/ ? ?L ?a ?s ?t ? ?c ?h ?a ?n ?g ?e ?d ?: ? ?2 ?0 ?0 ?6 ?- ?0 ?1 ?- ?0 ?1 return return ?# ?i ?f ?n ?d ?e ?f ? ?_ ?_ ?F ?O ?O ?_ ?H return ?# ?d ?e ?f ?i ?n ?e ? ?_ ?_ ?F ?O ?O ?_ ?H return return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?d ?o ?l ?f ?i ?n ?/ ?c ?o ?n ?s ?t ?a ?n ?t ?s ?. ?h ?> return return ?n ?a ?m ?e ?s ?p ?a ?c ?e ? ?d ?o ?l ?f ?i ?n return ?{ return return ? ? ?/ ?/ ?/ ? ?D ?o ?c ?u ?m ?e ?n ?t ?a ?t ?i ?o ?n ? ?o ?f ? ?c ?l ?a ?s ?s return return ? ? ?c ?l ?a ?s ?s ? ?F ?o ?o return ? ? ?{ return ? ? ?p ?u ?b ?l ?i ?c ?: return return ? ? ? ? ?/ ?/ ?/ ? ?C ?o ?n ?s ?t ?r ?u ?c ?t ?o ?r return ? ? ? ? ?F ?o ?o ?( ?) ?\; return return ? ? ? ? ?/ ?/ ?/ ? ?D ?e ?s ?t ?r ?u ?c ?t ?o ?r return ? ? ? ? ?~ ?F ?o ?o ?( ?) ?\; return return ? ? ?p ?r ?i ?v ?a ?t ?e ?: return return ? ? ?} ?\; return return ?} return return ?# ?e ?n ?d ?i ?f return ?\M-x ?e ?n ?d tab ?k tab])
4
5 ;; Macro for DOLFIN .cpp file
6 (fset 'dolfin\.cpp
7 [?/ ?/ ? ?C ?o ?p ?y ?r ?i ?g ?h ?t ? ?( ?C ?) ? ?2 ?0 ?0 ?6 ? ?Y ?o ?u ?r ? ?N ?a ?m ?e ?. return ?/ ?/ ? ?L ?i ?c ?e ?n ?s ?e ?d ? ?u ?n ?d ?e ?r ? ?t ?h ?e ? ?G ?N ?U ?\S- ?G ?P ?L ?\S- ?V ?e ?r ?s ?i ?o ?n ? ?2 ?. return ?/ ?/ return ?/ ?/ ? ?F ?i ?r ?s ?t ? ?a ?d ?d ?e ?d ?: ? ? ?2 ?0 ?0 ?6 ?- ?0 ?1 ?- ?0 ?1 return ?/ ?/ ? ?L ?a ?s ?t ? ?c ?h ?a ?n ?g ?e ?d ?: ? ?2 ?0 ?0 ?6 ?- ?0 ?1 ?- ?0 ?1 return return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?d ?o ?l ?f ?i ?n ?/ ?F ?o ?o ?. ?h ?> return return ?u ?s ?i ?n ?g ? ?n ?a ?m ?e ?s ?p ?a ?c ?e ? ?d ?o ?l ?f ?i ?n ?\; return return ?/ ?/ ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- return ?F ?o ?o ?: ?: ?F ?o ?o ?( ?) return ?{ return ? ? ?/ ?/ ? ?D ?o ? ?n ?o ?t ?h ?i ?n ?g return ?} return ?/ ?/ ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- return ?F ?o ?o ?: ?: ?~ ?F ?o ?o ?( ?) return ?{ return ? ? ?/ ?/ ? ?D ?o ? ?n ?o ?t ?h ?i ?n ?g return ?} return ?/ ?/ ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- ?- return ?\M-x ?e ?n ?d tab ?k tab])
8
9 ;; Update time stamp for DOLFIN source code
10 (setq
11 time-stamp-start "Last changed:\\\\? "; start of pattern
12 time-stamp-end "\\\\?\n" ; end of pattern
13 time-stamp-active t ; do enable time-stamps
14 time-stamp-line-limit 20 ; check first 20 lines
15 time-stamp-format "%04y-%02m-%02d") ; date format
16
17 ;; Update timestamp before saving
18 (add-hook 'before-save-hook 'time-stamp)
19
20 ;; Remove trailing whitespaces before saving
21 (add-hook 'before-save-hook 'delete-trailing-whitespace)