emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: David O'Toole <dto@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org Radio
Date: Sat, 29 Dec 2007 14:01:20 +0100	[thread overview]
Message-ID: <87abntsli7.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20071224.110121.138697347.dto@pod.lab> (David O'Toole's message of "Mon, 24 Dec 2007 11:01:21 -0500 (EST)")

David O'Toole <dto@gnu.org> writes:

> I really like the region idea. However it could be very tricky to
> implement. The annotations in the radio file would be matched to
> regions in the target file. So presumably we save the region's
> coordinates in the radio file along with its annotation. We can use
> markers and overlay properties to keep these data consistent in the
> face of changes that happen in an Emacs buffer, but if a file can
> change outside Emacs (i.e. annotating a shared file in version
> control) then we have a problem

Of course, you're right.  

Maybe the easy solution would be to implement two ways of annotating:
region-wise or pseudomarker-wise.  You would annotate regions in files
that are not supposed to change (e.g. pdftotext'ed text files) and you
would "insert" annotations in texts that are likely to change.

The process I have in mind for first kind of annotations is something
like this:

1. you're in your text buffer (file.txt)
2. M-x org-remember
3. Use a template that knows about the filename and the region

When you open file.txt, you can turn org-annotation-minor-mode on, and
*see* whether the text is annotated.  The minor-mode would do this:

1. fetch annotations in files that are reached by M-x org-remember
2. put an overlay on these regions (if a region is annotated twice, 
   show this by modifying the overlay - maybe different colors)

What do you think?

> But maybe I am missing an obvious solution---can you give more details
> on the GPLv3 thing you are referring to?

See this:

  http://gplv3.fsf.org/comments/gfdl-draft-1.html

As you can see, commented regions get colored.  More commented ones are
darker.  It would be *really* nice if we could implement something like
this in Emacs, with Org.

The one thing I currently miss in Emacs is the ability to annotate a
file and directly see those annotations in the buffer.

-- 
Bastien

  reply	other threads:[~2007-12-29 13:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17 14:23 Org Radio David O'Toole
2007-12-18 12:29 ` Dan Griswold
2007-12-22 18:49 ` Bastien
2007-12-24 16:01   ` David O'Toole
2007-12-29 13:01     ` Bastien [this message]
2008-01-02 10:43 ` Adam Spiers

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=87abntsli7.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=dto@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).