emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Philip Chan <cpchan@bell.net>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Using double square brackets literally (escaping link conversion) in org-mode
Date: Tue, 4 Sep 2012 10:16:59 -0400	[thread overview]
Message-ID: <BLU0-SMTP7629B2218DC0E8A4E60624BBAA0@phx.gbl> (raw)
In-Reply-To: <CAAdktEypB76BcJq5VVra09F0DWhNAEqROb+Rm3Mrzwf3yXMhAg@mail.gmail.com> (Giuseppe Pagnoni's message of "Tue, 4 Sep 2012 15:59:36 +0200")

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Giuseppe Pagnoni <gpagnoni@gmail.com> writes:

Hi Giuseppe:

> I upgraded to the latest Emacs and org-mode versions, but then I found
> out that the text does reformat correctly if I position the cursor at
> the beginning of the SRC block (that is, on the first `#') and enter a
> newline (or, alternatively, if I close and reopen the file).  I have
> no idea why you need to do that in order to have org-mode recognize
> that it should use a code syntax, but it works.

In order to enter code comfortably, I suggest you use C-c' on the
block. This will bring up a major mode buffer for the language you are
using.

Cheers.
Charles

-- 
"On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS."
(By Tarl Neustaedter)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-09-04 14:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 13:59 Using double square brackets literally (escaping link conversion) in org-mode Giuseppe Pagnoni
2012-09-04 14:16 ` Charles Philip Chan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-05 10:09 Giuseppe Pagnoni
2012-09-04 11:40 Giuseppe Pagnoni
2012-09-04 11:59 ` Charles Philip Chan
2012-09-04 10:20 Giuseppe Pagnoni
2012-09-04 11:01 ` Charles Philip Chan

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=BLU0-SMTP7629B2218DC0E8A4E60624BBAA0@phx.gbl \
    --to=cpchan@bell.net \
    --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).