emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: David Arroyo Menendez <davidam@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-envolve.el
Date: Sun, 02 Dec 2018 09:15:43 +0100	[thread overview]
Message-ID: <8736rgmjio.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <ysu8t1982sr.fsf@fencepost.gnu.org> (David Arroyo Menendez's message of "Sat, 01 Dec 2018 14:28:20 -0500")

Hello,

David Arroyo Menendez <davidam@gnu.org> writes:

> I've implemented a new file to contrib/lisp.

Is there any reason to favor contrib/lisp instead of some ELPA? I'm
asking this because I'd like to reduce the number of packages in
contrib/.

> It's called org-envolve.el,
> this file implements functions to help to format in org-mode from
> ASCII. For instance, you have a bash source that you are copying in your
> buffer, later you can call org-envolve-tags to add #+BEGIN_SRC bash in
> the beginning and #+END_SRC in the end. I use this feature all weeks in
> the year.

Why don't you use <C-c C-,>? It turns a region into a source block.
Thus, it would be <C-x h C-c C-, s b a s h RET>

> But the file provides functions to envolve numbered list, or
> check list.

You can also turn a region into a list with <C-c ->.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2018-12-02  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-01 19:28 org-envolve.el David Arroyo Menendez
2018-12-02  8:15 ` Nicolas Goaziou [this message]
2018-12-02 16:16   ` org-envolve.el David Arroyo Menendez
2018-12-02 16:58     ` org-envolve.el 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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736rgmjio.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=davidam@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).