~l3kn/org-fc#25: 
Title of org file not shown when reviewing files in org-roam directory

If I try org-fc-review-buffer on a non-org-roam file, the title is shown after the "Flip (X)" on the header line, while this doesn't occur with org-roam files (or when reviewing the entire directory).

Status
RESOLVED FIXED
Submitter
~xyank
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
Bug

~kindablue 3 years ago*

Check if the #+TITLE: property is all caps. The index.awk file does not account for downcase keywords. You can edit the file to the following:

## File Tags

match($0, /^#\+(FILETAGS|filetags):[ \t]+(.*)/, a) {
    # Combine tags to handle multiple FILETAGS lines
    parent_tags[0] = combine_tags(a[2], parent_tags[0]);
    next;
}

## File Title

match($0, /^#\+(TITLE|title):[ \t]+(.*)/, a) {
    # Combine tags to handle multiple FILETAGS lines
    file_title = a[2]
    next;
}

Leon Rische (edited) 3 years ago* ยท edit

Thanks!

The problem should be fixed with the most recent commit.

It seems like org-mode also allows mixed-case "#+TitLe:" but I think we can safely ignore that.

On 11/7/20 11:02 PM, ~kindablue wrote:

Check if the #+TITLE: property is all caps. The index.awk file does not account for downcase keywords. You can edit the file to the following:

## File Tags

match($0, /^#\+(FILETAGS|filetags):[
\t]+(.*)/, a) {
     # Combine tags to handle multiple FILETAGS lines

     parent_tags[0] = combine_tags(a[1], parent_tags[0]);
     next;
}


## File Title

match($0, /^#\+(TITLE|title):[ \t]+(.*)/, a) {

     # Combine tags to handle multiple FILETAGS lines
     file_title =
  a[2]
     next;
}

~l3kn REPORTED FIXED 3 years ago

Register here or Log in to comment, or comment via email.