I made this simple macro:
\documentclass{ltxdoc}
\newcommand\Q{\textbf{Q}}
\begin{document}
I like to type my \Q's in bold quickly, but sometimes I also end my line with \Q.
This doesn't have it's intended effect.
\end{document}
Is it possible to tell the macro to check the space (or character) ahead and obey it as if I typed \textbf{Q} normally? I'd like it to behave normally regardless of whether there's a dot (.) or a whitespace ( ) ahead.

{\Q}in my document. Then it acts the way you want. – Steven B. Segletes May 08 '14 at 15:37{\Q}would disable the automatic italic correction insertion that is added by\text...commands (or at least it would disable it on the right but not on the left) probably more of an issue with\textitthan\texbfbut still.... – David Carlisle May 08 '14 at 15:49xspacesolution\Q.does produce{<bold Q>}{<dot>}without a space, but so did the MWE you had posted originally. Does this one example cover all the cases you are considering? – Peter Grill May 08 '14 at 17:37xspacedidn't produce the desired result in my document, so I think I'll just go with a 1% less cleaner code of the main document. I could go over each and every case, but I don't think either of us would enjoy it. Thanks for your answers and help :) – 1010011010 May 08 '14 at 17:48