Commit 39b5c1cb authored by Austin Seipp's avatar Austin Seipp
Browse files

rts: add Emacs 'Local Variables' to every .c file



This will hopefully help ensure some basic consistency in the forward by
overriding buffer variables. In particular, it sets the wrap length, the
offset to 4, and turns off tabs.
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 952f622c
......@@ -82,3 +82,11 @@ labelThread(Capability *cap STG_UNUSED,
#endif
traceThreadLabel(cap, tso, label);
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -25,3 +25,11 @@ void labelThread (Capability *cap,
#include "EndPrivate.h"
#endif /* THREADLABELS_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -377,3 +377,11 @@ end:
tso->flags &= ~TSO_SQUEEZED;
}
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -12,3 +12,11 @@
RTS_PRIVATE void threadPaused ( Capability *cap, StgTSO * );
#endif /* THREADPAUSED_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -880,3 +880,11 @@ printThreadQueue(StgTSO *t)
}
#endif /* DEBUG */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -52,3 +52,11 @@ void printThreadQueue (StgTSO *t);
#include "EndPrivate.h"
#endif /* THREADS_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -21,3 +21,11 @@ void exitTicker (rtsBool wait);
#include "EndPrivate.h"
#endif /* TICKER_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -619,3 +619,11 @@ printRegisteredCounterInfo (FILE *tf)
}
#endif /* TICKY_TICKY */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -12,3 +12,11 @@
RTS_PRIVATE void PrintTickyInfo(void);
#endif /* TICKY_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -133,3 +133,11 @@ exitTimer (rtsBool wait)
exitTicker(wait);
}
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -13,3 +13,11 @@ RTS_PRIVATE void initTimer (void);
RTS_PRIVATE void exitTimer (rtsBool wait);
#endif /* TIMER_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -805,3 +805,11 @@ void dtraceUserMarkerWrapper(Capability *cap, char *msg)
}
#endif /* !defined(DEBUG) && !defined(TRACING) && defined(DTRACE) */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -880,3 +880,11 @@ INLINE_HEADER void traceTaskDelete(Task *task STG_UNUSED)
#include "EndPrivate.h"
#endif /* TRACE_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -91,3 +91,11 @@ INLINE_HEADER void updateWithIndirection (Capability *cap,
#endif
#endif /* UPDATES_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -293,3 +293,11 @@ pushWSDeque (WSDeque* q, void * elem)
ASSERT_WSDEQUE_INVARIANTS(q);
return rtsTrue;
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -124,3 +124,11 @@ discardElements (WSDeque *q)
}
#endif // WSDEQUE_H
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -144,3 +144,11 @@ scheduleFinalizers(Capability *cap, StgWeak *list)
);
scheduleThread(cap,t);
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -25,3 +25,11 @@ void markWeakList(void);
#endif /* WEAK_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -1254,3 +1254,11 @@ void postEventType(EventsBuf *eb, EventType *et)
}
#endif /* TRACING */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -170,3 +170,11 @@ INLINE_HEADER void postThreadLabel(Capability *cap STG_UNUSED,
#include "EndPrivate.h"
#endif /* TRACING_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
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