all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "Soft" indent with visual-line-mode?
@ 2009-09-09 17:53 Tim Stewart
  2009-09-11 12:58 ` Stephen Berman
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Stewart @ 2009-09-09 17:53 UTC (permalink / raw)
  To: help-gnu-emacs

Hello Emacs Help,

I like the idea of using longlines-mode or visual-line-mode to spend  
less time formatting code as I write.  However, it is not useful to me  
when the wrapped lines start in the first column and break up the flow  
of the code.

As an example, this is what I get now with a line that is indented 4  
spaces.  This is all one line, wrapped by the editor for me:

     This is a test of the emergency broadcast system.  This is only a  
test.  In
the event of a real emergency, your head would have exploded.

And this is what I want:

     This is a test of the emergency broadcast system.  This is only a  
test.  In
     the event of a real emergency, your head would have exploded.

I've heard this referred to as a "soft" indent.  I believe that Visual  
SlickEdit 9 and Kate both support this feature if you'd like other  
examples.

Does anyone know of a feature or add-on for Emacs that can accomplish  
this?  I've scoured the 'Tubes and can't find anything.

Thanks for the help,

-- 
-TimS

Tim Stewart
Stoo Research









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

end of thread, other threads:[~2011-12-17  9:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 17:53 "Soft" indent with visual-line-mode? Tim Stewart
2009-09-11 12:58 ` Stephen Berman
2011-12-09 20:25   ` Tim Stewart
2011-12-11 22:23     ` Stephen Berman
2011-12-12  7:21       ` Tassilo Horn
2011-12-12 11:47         ` Stephen Berman
2011-12-17  9:17           ` Le Wang

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.