[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to delete the parens around a sexp?
From: |
Pascal J. Bourguignon |
Subject: |
Re: How to delete the parens around a sexp? |
Date: |
Mon, 19 Oct 2015 02:49:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Thien-Thi Nguyen <ttn@gnu.org> writes:
> () Marcin Borkowski <mbork@mbork.pl>
> () Tue, 22 Sep 2015 09:40:28 +0200
>
> I'd like to transform this:
>
> -!-(some gibberish)
>
> into this:
>
> -!-some gibberish
>
> See ‘delete-pair’.
In a sexp, therefore you are using paredit, therefore you type C-f M-s
or C-f M-x paredit-splice-sexp RET
Alternatively, when you're (some gibberish|some good stuff), you can use
M-<up> to get |some good stuff, with the gibberish removed.
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk