Yes, that is correct. However, your note on the use of dashes ONLY refers to M-dashes. Those are the long ones—about the width of a letter "m" in some fixed-width fonts.
N-dashes, the short dashes, are used for demonstrating a range, as in, "Every day, he ate 12 – 15 apples." Note: these shouldn't be confused for hyphens, which are even shorter and have different purposes.