emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marc-Oliver Ihm <marc@ihm.name>
To: emacs-orgmode@gnu.org
Subject: Re: [dev] New version of org-index.el --- A personal index for org and beyond
Date: Sat, 21 Sep 2013 23:12:53 +0200	[thread overview]
Message-ID: <877ge998ve.fsf@think.site> (raw)
In-Reply-To: m2siwygw3k.fsf@polytechnique.org


Hi Alan

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

>
> I'm trying org-index, and I let the assistant build the table for me. At
> the end of the set, this error occurred:
>
> ,----
> | Saved org-index-id '50E94CE9-06B3-452E-96B6-FA47AA08B9D6' to /Users/schmitta/.emacs.d/custom.el
> | let: No catch for tag: created-new-index, nil
> `----
>
> Is this problematic?
>

No, not really ... The assistant has finished its work properly and this
tag is just thrown to bail out without signaling an error. However, you
still get an error, which is an annoyance to address. Thanx for reporting !

> Here are a few notes I'm taking as I'm playing with it.
>
> First, the table seems to be different from the one on worg. Here are
> the columns I have:
>
>   |     |      |                  |         |               | comment   |
>   | ref | link | created          | count;s | last-accessed | ;c        |
>   |     | <4>  |                  |         |               |           |
>
> I guess "comment" includes Type, description, and Keywords? Or can I
> extend this table as I see fit?
>

Yes, just add any further columns you need. As long as the do not have a
semicolon, they are ignored. You can also reorder columns according to
your needs.

> Second, I don't see how to update a link in a table so that it points
> somewhere else. Should I just copy the "Property" drawer to the new place?

Yes, this is possible; or you could copy the id-property from the new
place into the index-table.

> Also, I noticed it's impossible to create a link to a file. If a file
> does not have any org entry, then org-index link will fail with "Before
> first headline at position 35591 in buffer ...". I can go around this by
> creating an headline, but then I cannot use saveplace or something like
> that to put me in the same place in the file (typically at the very end
> of a long data table, to input more data).

Currently org-index uses the function org-id-get-create to create the
link. This function needs an org-mode nodes and whence org-index has the
same limitation. However, it might be possible to create more general
links here, that would be able to point to non-org files. I will check
this for the next version.

> Finally, what is the workflow to create a new reference? The way I do it
> is "link" from the place to link, then call "+fill" in the table. Is
> there a simpler way (that would do both in one stroke)?

Definitely: With the initial prompt just choose "ref"; this will only
create a new reference, but not a link. If you want both, then you
currently have to use the workflow you described. However, having a
feature, that allows both, would be easy to implement, if needed.


best regards,
Marc

  reply	other threads:[~2013-09-21 21:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 20:17 [dev] New version of org-index.el --- A personal index for org and beyond Marc Ihm
2013-08-02 12:04 ` Suvayu Ali
2013-09-21 13:09 ` Alan Schmitt
2013-09-21 21:12   ` Marc-Oliver Ihm [this message]
2013-09-23  6:58     ` Alan Schmitt
  -- strict thread matches above, loose matches on Subject: below --
2014-12-08 21:00 [dev] New version of org-index.el --- a " Marc Ihm
2014-12-09 18:58 ` Alan Schmitt
2014-12-09 20:02   ` Alan Schmitt
2014-12-10 21:26     ` Marc Ihm
2014-12-11  7:37       ` Alan Schmitt

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=877ge998ve.fsf@think.site \
    --to=marc@ihm.name \
    --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).