all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to delete the parens around a sexp?
@ 2015-09-22  7:40 Marcin Borkowski
  2015-09-22 10:11 ` Nicolas Richard
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Marcin Borkowski @ 2015-09-22  7:40 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi list,

I'd like to transform this:

-!-(some gibberish)

into this:

-!-some gibberish

I assume there's no function in Elisp for that, and it's trivial to
write one, but I just wanted to make sure before I code it.  raise-sexp
doesn't work, since it gobbles "gibberish" in the above example unless
given a prefix argument, and if you replace "some gibberish" with an
actual sentence, counting words manually is no fun.

(Note: before anyone tells me how such a transformation doesn't make
sense: I need it for writing in a natural language.)

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <mailman.1573.1442907653.19560.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-10-21 11:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22  7:40 How to delete the parens around a sexp? Marcin Borkowski
2015-09-22 10:11 ` Nicolas Richard
2015-09-22 11:30   ` Edward Knyshov
2015-09-22 11:45 ` Rasmus
2015-09-22 11:54 ` Andreas Röhler
2015-09-23  0:49 ` Emanuel Berg
2015-09-23  0:58   ` Emanuel Berg
2015-09-23  2:15 ` John Mastro
2015-09-23  3:06   ` Emanuel Berg
2015-10-19  6:04   ` Marcin Borkowski
2015-10-21 11:23     ` Oleh Krehel
2015-10-18 22:12 ` Thien-Thi Nguyen
2015-10-19  5:59   ` Marcin Borkowski
     [not found] ` <mailman.588.1445207663.7904.help-gnu-emacs@gnu.org>
2015-10-19  0:49   ` Pascal J. Bourguignon
2015-10-19  5:59     ` Marcin Borkowski
     [not found] <mailman.1573.1442907653.19560.help-gnu-emacs@gnu.org>
2015-09-22  8:28 ` Joost Kremers
2015-09-22  8:38 ` Marco Wahl

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.