[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [dev] New version of org-index.el --- A personal index for org a
Re: [O] [dev] New version of org-index.el --- A personal index for org and beyond
Sat, 21 Sep 2013 23:12:53 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
Alan Schmitt <address@hidden> 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
> | 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
> 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.