all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Yury G. Kudryashov" <urkud@urkud.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Edit whole session with org-edit-src-edit
Date: Tue, 10 Oct 2017 09:25:51 +0200	[thread overview]
Message-ID: <87bmlffoqo.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87vajpl00m.fsf@urkud.name> (Yury G. Kudryashov's message of "Sun, 08 Oct 2017 18:58:49 -0400")

Hello,

"Yury G. Kudryashov" <urkud@urkud.name> writes:

> I propose the following feature:
>
> 1. When the temporary buffer is created,
>
>    - the whole session (or all the code with that will go to one file
>      when tangling) is written to the buffer;
>    - all the code except for the current block is marked as read-only.
>
> 2. When writing the temporary buffer back to the main file, drop the
>      read-only regions.

This is an interesting idea. However that could slow down src block
editing so it would need to be explicitly required by the user (e.g.,
with an optional argument).

Also, it should be necessary to mark somehow the read-only parts or it
could be confusing. Maybe with some glyph in the margin.

> Unfortunately, I'm new to (e)lisp, so I'm not sure whether I'll manage
> to implement these features myself.

You can only know if you try. You will find help on this mailing list
whenever you hit a road block.

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2017-10-10  7:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-08 22:58 Edit whole session with org-edit-src-edit Yury G. Kudryashov
2017-10-09  2:40 ` Berry, Charles
2017-10-09 11:28   ` urkud
2017-10-10  7:25 ` Nicolas Goaziou [this message]

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=87bmlffoqo.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=urkud@urkud.name \
    /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.