Is there an Emacs command that will "fill" a row with a particular character up to a specified column? Basically the equivalent of this question, except with Emacs instead of Vim.
As an example, say I start entering lines that look like this:
/* -- Includes
/* -- Procedure Prototypes
/* -- Procedures
I'd like a command that automatically fills in the rest of the line (up to a column I can specify) with dashes, regardless of what column the cursor is currently on.
/* -- Includes -----------------------------------------------------
/* -- Procedure Prototypes -----------------------------------------
/* -- Procedures ---------------------------------------------------
Thank you. Sorry if this has been asked already, I couldn't find anything with Google.