emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Peter Westlake" <peter.westlake@pobox.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: org-annotation-helper
Date: Mon, 01 Sep 2008 12:35:57 +0100	[thread overview]
Message-ID: <1220268957.24473.1271533841@webmail.messagingengine.com> (raw)
In-Reply-To: <1EBADC4C-6252-4AE0-B974-2F7301FB6DB5@uva.nl>

On Mon, 1 Sep 2008 13:27:18 +0200, "Carsten Dominik"
<dominik@science.uva.nl> said:

> > On the subject of org-annotation-helper, the code has this comment
> > about %a:
> >
> >> |         ;; FIXME can't access %a in the template -- how to set
> >> annotation? (raise-frame)
> >
> > While I was trying to make this work, using a slightly earlier
> > version, I found that the %a would work if I had an active region
> > selected at the time. Before I could find out how to make a region
> > active, or stop it being needed, I found the new version of the
> > code, and now I use
> > %:region. But it would be interesting to know why org-mode tests for
> > there being an active region; it seems to do it quite a lot. You
> > need an active region to convert a table with C-c |, for instance.
> > Carsten, is there any reason why it works this way?
>
> Hi Peter,
>
> how else should Org know the range of lines to convert? Or maybe I
> misunderstand your question?

If I use C-space to place the mark at the beginning of the table, and
move point to the end, then the region covers the table, and I would
expect C-c | to operate on the region. Instead, it ignores the region
and asks what size table to make. If I highlight a region using the
mouse, then it works.

Peter.

  reply	other threads:[~2008-09-01 11:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30 22:46 org-annotation-helper Richard G Riley
2008-08-31  2:14 ` org-annotation-helper Nick Dokos
2008-08-31  9:14   ` org-annotation-helper Richard G Riley
2008-08-31 10:19   ` org-annotation-helper Richard G Riley
2008-09-01 11:20     ` org-annotation-helper Peter Westlake
2008-09-01 11:27       ` org-annotation-helper Carsten Dominik
2008-09-01 11:35         ` Peter Westlake [this message]
2008-09-01 14:14       ` org-annotation-helper Richard G Riley
  -- strict thread matches above, loose matches on Subject: below --
2009-05-03  9:50 org-annotation-helper thierry.volpiatto
2009-05-04  9:43 ` org-annotation-helper Sebastian Rose
2009-05-04 12:04   ` org-annotation-helper thierry.volpiatto
2008-09-04 21:06 org-annotation-helper Robert Goldman
2008-09-06 16:19 ` org-annotation-helper Christopher Suckling
     [not found] <200805161527.m4GFRMGN010370@dog.comp.uvic.ca>
2008-05-17  0:16 ` org-annotation-helper Daniel M German
2008-05-17 11:13   ` org-annotation-helper Carsten Dominik
2008-05-18 21:38     ` org-annotation-helper John Rakestraw
2008-05-19 12:28       ` org-annotation-helper Carsten Dominik
2008-05-19 17:19   ` org-annotation-helper Cezar Halmagean

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=1220268957.24473.1271533841@webmail.messagingengine.com \
    --to=peter.westlake@pobox.com \
    --cc=dominik@science.uva.nl \
    --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).