emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Long lines prevent Org mode!
Date: Wed, 08 Jan 2014 10:18:38 +0100	[thread overview]
Message-ID: <86sisyesr5.fsf@somewhere.org> (raw)
In-Reply-To: 87ha9fvyjm.fsf@iro.umontreal.ca

Hello Nick and François,

François Pinard wrote:
> Nick Dokos <ndokos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
>> I cut and paste and then use either C-c m (bound to
>> message-mark-inserted-region) or C-c q (bound to boxquote-region)
>
> Thanks for these hints, which I saved on keys here! :-)

Please note it is `C-c M-m' (bound in `message.el') for adding "cut
here" lines above and below the region.

OTOH, `C-c q' seems to be Nick's own binding.

>> Of course, if your problem is that your mailer (or some mailer along
>> the way) mangles the content, then the safest thing to do is to put it
>> in an attachment or post it on some pastebin and send a link.
>
> Sure.
>
> My little problem was different.  If I use Org in-line markup, like
> bold, italics, or links to Web sites, or even block markup like
> fragments between #+BEGIN_SRC and #+END_SRC, say, I was wondering how
> this is best transmitted within a message, in the text, without
> resorting to an attachment.  Gnus as a reader surely has some capability
> somewhere, as I think I saw messages displaying Org code nicely; I just
> do not remember how it was done.  Outside Gnus, it might be more
> problematic to find a useful way to have Org included.  Sending Org all
> raw is sometimes a bit noisy, especially for links.

Using `C-c M-m' will add "cut here" lines, and Gnus will highlight the
code inside it with one common color: so, no syntax highlighting
depending on the language.

Using `C-c C-v C-d' to demarcate your region as code, and give the
language, you'll get a nice highlighting of the code inside Gnus (for
the readers): that was on my first real patch for Org (in fact, for
Gnus), back in November 2010 or so.

> Someone recently mentioned org-mime.el, new to me, maybe this is the
> proper avenue?  I should at least play and experiment with it! :-).

This is mainly useful for sending HTML-export (or Org-export) of an Org
section.

Best regards,
  Seb

-- 
Sebastien Vauban

  parent reply	other threads:[~2014-01-08  9:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  1:24 Long lines prevent Org mode! François Pinard
2014-01-08  4:41 ` Nick Dokos
2014-01-08  5:21   ` François Pinard
2014-01-08  6:05     ` Nick Dokos
2014-01-08  9:18     ` Sebastien Vauban [this message]
2014-01-08 12:10       ` Nick Dokos
2014-01-08 12:29       ` François Pinard
2014-01-09  8:57         ` Sebastien Vauban

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=86sisyesr5.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).