From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: move code from inside a list
Date: Thu, 07 Jan 2010 17:09:06 +0100 [thread overview]
Message-ID: <4B460722.3010706@easy-emacs.de> (raw)
In-Reply-To: <87hbqyvw1y.fsf@thinkpad.tsdh.de>
Tassilo Horn wrote:
> Andreas Roehler <andreas.roehler@online.de> writes:
>
> Hi Andreas,
>
>> must move some code from inside a list:
>>
>> (set (make-local-variable 'comment-end " */"))
>> ______________________________________|________
>>
>> i.e. move closing paren to cursor position
>>
>> ==>
>>
>> (set (make-local-variable 'comment-end) " */")
>>
>> `paredit-backward-barf-sexp' seems the command,
>> but doesn't work for me.
>
> Nope, the other way round.
>
> ,----
> | <C-left> runs the command paredit-forward-barf-sexp, which is an interactive
> | Lisp function in `paredit.el'.
> |
> | It is bound to <C-left>, C-}.
> |
> | (paredit-forward-barf-sexp)
> |
> | Remove the last S-expression in the current list from that list
> | by moving the closing delimiter.
> | Automatically reindent the newly barfed S-expression with respect to
> | its new enclosing form.
> |
> | <C-left>
> |
> | (foo (bar |baz quux) zot)
> | ->
> | (foo (bar |baz) quux zot)
> `----
>
> Bye,
> Tassilo
>
>
>
>
Great! Danke!
next prev parent reply other threads:[~2010-01-07 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 13:11 move code from inside a list Andreas Roehler
2010-01-07 14:17 ` Tassilo Horn
2010-01-07 16:09 ` Andreas Röhler [this message]
[not found] ` <mailman.938.1263114864.18930.help-gnu-emacs@gnu.org>
2010-01-10 18:47 ` Pascal J. Bourguignon
2010-01-10 19:26 ` Andreas Röhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B460722.3010706@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.