all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Editing Quote blocks remotely
Date: Thu, 07 Apr 2016 14:30:23 +0200	[thread overview]
Message-ID: <87k2k9mwio.fsf@gmx.us> (raw)
In-Reply-To: 87twjd7hap.fsf@nicolasgoaziou.fr

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> It would be nice if one could open an editing buffer for quote blocks,
>> e.g. using C-c '.
>>
>> I guess we could use the code already used for remote footnote editing in
>> org-src.el (I think) or whatever is being used for example blocks.  The
>> mode should be Org, I guess.
>>
>> It might be nice to support remote editing for VERSE as well.
>>
>> WDYT?
>
> I'm not sure to understand the "remote" part in your idea. Point is on
> the quote/verse block when you call C-c '. You can as well mark the
> block and narrow to it. There is already a function for that:
> `org-narrow-to-block'.

With org-narrow-to-block you have to pay attention to the boundaries of
the block, but indeed it goes most of the way.  Of course it’s trivial to
fix that.

The nice part would be to be able to edit the content of the block in a
different buffer.  It’s good for dumping passages and doing further
editing (e.g. and emphases).

> Also, quote blocks are quite different from example blocks since they
> can contain other elements, including other blocks. This can lead to
> surprising behaviour, IMO.

I’m not sure I see how that’s relevant in this case, but I could easily be
overlooking some detail.

Rasmus

-- 
You people at the NSA are becoming my new best friends!

  reply	other threads:[~2016-04-07 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07  9:51 Editing Quote blocks remotely Rasmus
2016-04-07 12:08 ` Nicolas Goaziou
2016-04-07 12:30   ` Rasmus [this message]
2016-04-07 14:00     ` Nicolas Goaziou

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=87k2k9mwio.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@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.