emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robin Green <greenrd@greenrd.org>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Initial C-c ' invocation just starts haskell-mode "normally" [7.3]
Date: Sat, 20 Nov 2010 15:07:17 +0000	[thread overview]
Message-ID: <878w0o2fve.wl%greenrd@greenrd.org> (raw)
In-Reply-To: <87bp5k2k0v.wl%greenrd@greenrd.org>

At Sat, 20 Nov 2010 13:37:36 +0000,
Robin Green wrote:
> I am experimenting with source code blocks, and I tried to use C-c ' to
> type in some Haskell code. The first time I tried it, I was asked for a
> filename, which was puzzling, because I didn't expect that.

OK, I now have a clearer idea of what went wrong.

1. I think it's doing find-file-at-point.

2. This only happens when point is on this line, but NOT at the start
of the line:
#+begin_src haskell
It's not about whether it's the first time you press C-c ', it's about
where point is when you press it.

3. If point is anywhere on the closing line of the source block, it

4. Ironically, the end of the first line is where the point is placed if
you do C-c C-v d at the end of the buffer! So if you do C-c C-v d and
then C-c ', as I did, this bug will happen.

      reply	other threads:[~2010-11-20 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-20 13:37 Robin Green
2010-11-20 15:07 ` Robin Green [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:

  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=878w0o2fve.wl%greenrd@greenrd.org \
    --to=greenrd@greenrd.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Bug: Initial C-c '\'' invocation just starts haskell-mode "normally" [7.3]' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).