From ded769c13a6a2ed8f40dbce9e73f7245af9409c4 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 18 Oct 2012 16:11:13 +0200
Subject: [PATCH] Add a small note about tab completion and generated files

This can indeed be annoying, so let's document it.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
---
 doc/devnotes.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/devnotes.rst b/doc/devnotes.rst
index a6d038a45..421af60f3 100644
--- a/doc/devnotes.rst
+++ b/doc/devnotes.rst
@@ -132,6 +132,14 @@ or alternatively the manual sequence is::
 This will build the binary twice, per the TemplateHaskell
 documentation, the second one with profiling enabled.
 
+The binary files generated by compilation and the profiling/coverage
+files can "break" tab-completion in the sources; they can be ignored,
+for example, in bash via ``.bashrc``::
+
+  FIGNORE='.o:.hi:.prof_o:.tix'
+
+or in emacs via ``completion-ignored-extensions`` (run ``M-x
+customize-var completion-ignored-extensions``).
 
 Packaging notes
 ===============
-- 
GitLab