unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Inserting a number of spaces until a specific column
@ 2015-06-24 14:25 jonetsu
  0 siblings, 0 replies; 2+ messages in thread
From: jonetsu @ 2015-06-24 14:25 UTC (permalink / raw)
  To: help-gnu-emacs

Hello !


  Pretty much what the subject line says.  Is there a way, from a given cursor position, to have spaces inserted automatically until a specific column is reached ?  And to have this executing at the press of a key ?


Thanks !






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Inserting a number of spaces until a specific column
       [not found] <mailman.5575.1435155912.904.help-gnu-emacs@gnu.org>
@ 2015-06-24 14:40 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-06-24 14:40 UTC (permalink / raw)
  To: help-gnu-emacs

>   Pretty much what the subject line says.  Is there a way, from a given
> cursor position, to have spaces inserted automatically until a specific
> column is reached ?  And to have this executing at the press of a key ?

`indent-to' would seem to be the function you're looking for.
As for a command that does that, you could use tab-to-tab-stop and set
tab-stop-list list accordingly.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-24 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5575.1435155912.904.help-gnu-emacs@gnu.org>
2015-06-24 14:40 ` Inserting a number of spaces until a specific column Stefan Monnier
2015-06-24 14:25 jonetsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).