how to kill whole line

120 views
Skip to first unread message

shishi

unread,
Dec 11, 2011, 8:31:31 PM12/11/11
to emac...@googlegroups.com
Hi, I'm using Emacs+ with Eclipse Indigo.
In my .emacs, there is (setq kill-hole-line t). I want to do same behavor in Emacs+.
Does anyone know to do this?

Thanks.

Mark Feber

unread,
Jan 22, 2012, 6:20:49 PM1/22/12
to emac...@googlegroups.com
Well, as is usual with these sorts of things in Eclipse, the pieces are there, but no-one ever bothered to assemble them.  I've combined the necessary elements (and added, just for kicks, the beginnings of a variable setting mechanism - bound to M-:).  You can now (v. 3.6.5) set the internal Emacs+ variable kill-whole-line to t and it will behave as expected.
 Regards,
   Mark



--
You received this message because you are subscribed to the Google
Groups "Emacs+ Eclipse Discussion" group.
To post to this group, send email to emac...@googlegroups.com
To unsubscribe from this group, send email to
emacsplus+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/emacsplus?hl=en?hl=en
 
Support Emacs+ by marking it as a 'favorite' at the Eclipse Marketplace: http://marketplace.eclipse.org/content/emacs.

shishi

unread,
Jan 23, 2012, 8:27:43 PM1/23/12
to Emacs+ plugin discussion
Thanks you, I will try it soon!

shishi

unread,
Feb 22, 2012, 1:28:50 PM2/22/12
to emac...@googlegroups.com
I tried set emacs+ variable settinh through M-: . but it do not apper setting something.
so I can not setting variable. I use mac. Is it bounded to Meta(command)-colon?

David Karr

unread,
Jul 23, 2013, 7:29:58 PM7/23/13
to emac...@googlegroups.com


On Sunday, January 22, 2012 3:20:49 PM UTC-8, Mark Feber wrote:
Well, as is usual with these sorts of things in Eclipse, the pieces are there, but no-one ever bothered to assemble them.  I've combined the necessary elements (and added, just for kicks, the beginnings of a variable setting mechanism - bound to M-:).  You can now (v. 3.6.5) set the internal Emacs+ variable kill-whole-line to t and it will behave as expected.
 Regards,
   Mark

I just tried this on Kepler (Spring Tool Suite 3.3.0).  I was able to manually set the variable from alt-x, and then I executed "cut-to-end-of-line", which is bound to Ctrl-k.  It only deleted to the end of the line.  I don't see a "kill-line" command, which is what I expected.
 
Reply all
Reply to author
Forward
0 new messages