[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rectangular regions
From: |
Stefan Monnier |
Subject: |
Re: Rectangular regions |
Date: |
Fri, 01 Nov 2013 14:25:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Yes, IMO. I can imagine this list has a preponderance of people that would
> miss the binding, though. Personally, even though I have always written
> more elisp than the people immediately around me, I'm a C/C++ programmer,
> and mark-sexp doesn't do anything intuitively useful for me in c++-mode, so
> I've never internalized it.
In C (and friends), C-M-SPC in front of a semi-colon should select the
whole subsequent instruction. And in front of a comma, it should select
the next argument. Admittedly, it doesn't.
But that's what major modes relying on SMIE do, and I find it makes
C-M-SPC very useful in such major modes, even tho their syntax is
not Lispish.
Of course I'm biased: I made C-M-SPC do that in SMIE-based modes
specifically because I wanted such a thing (similarly with C-M-t to swap
two arguments).
> Even though I voted for C-x SPC, I would miss gud-break.
So would I, but so far it looks like the strongest contender. Of course
gud-break is available as C-x C-a C-b, as well as a toolbar button, but
indeed C-x C-a C-b is pretty poor :-(
> Oooh. s-SPC is free. I shall bind it to s-SPC in my own .emacs anyhow.
Indeed, we could also use S-SPC: it's not available under ttys, but is
otherwise free.
Stefan
Re: Rectangular regions, Jambunathan K, 2013/11/02
Re: Rectangular regions, Stefan Monnier, 2013/11/05
Re: Rectangular regions, Mathias Dahl, 2013/11/05