Giter Site home page Giter Site logo

clj-org-analyzer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clj-org-analyzer's Issues

Bold text is parsed as heading

When the text in a section starts with * it seems to be interpreted as the start of a heading, even if it is markup for bold text

* Heading
:LOGBOOK:
CLOCK: [2019-08-03 Sat 09:00]--[2019-08-03 Sat 10:11] =>  1:11
:END:
** Subheading with bold text
:LOGBOOK:
CLOCK: [2019-08-04 Sun 09:00]--[2019-08-04 Sun 10:11] =>  1:11
:END:
*This bold text* should not be interpreted as a heading
** another subheading
:LOGBOOK:
CLOCK: [2019-08-05 Mon 09:00]--[2019-08-05 Mon 10:11] =>  1:11
:END:

The visualization shows the bold text as part of a heading:
image

Problem with tilde character within direction names in org file path

I use Orgmode on my iphone with beorg. The synchronization is done via iCloud. So the path to the org file gets the section iCloud~com~appsonthemove~beorg.

It seems that org analyzer can't handle paths containing tilde in the direction name. The error message shows that all tilde characters are simply replaced by the username.

wrong jar file in emacs release 0.3.0

* current projects
** org clockin visualization
*** ui - improvements (tags, filter, day viz)
    :LOGBOOK:
    CLOCK: [2019-08-04 Sun 23:35]--[2019-08-04 Sun 23:49] =>  0:14
    CLOCK: [2019-08-04 Sun 13:51]--[2019-08-04 Sun 15:06] =>  1:15
    CLOCK: [2019-08-04 Sun 04:25]--[2019-08-04 Sun 05:16] =>  0:51
    :END:

should be equivalent to the example in the readme

* current projects
** org clockin visualization
*** ui - improvements (tags, filter, day viz)
:LOGBOOK:
CLOCK: [2019-08-04 Sun 23:35]--[2019-08-04 Sun 23:49] =>  0:14
CLOCK: [2019-08-04 Sun 13:51]--[2019-08-04 Sun 15:06] =>  1:15
CLOCK: [2019-08-04 Sun 04:25]--[2019-08-04 Sun 05:16] =>  0:51
:END:

but I see nothing when it's indented

Per-day section is not affected by tag filtering

After filtering items by tags all other sections except per-day are filtered too. Per-day stays unfiltered. Was it done intentional?

In my humble opinion would be great to filter them too. Or highlight them with different colour. Not saying that this information is particular useful, but surely interesting to see.

Wrongly associated parent

I tried to parse an org file that had nested headings that were nonconsecutive: Under the two-star heading I had four stars:

* AAAAA
** one below AAAAA
:LOGBOOK:
CLOCK: [2018-11-03 Sat 09:00]--[2018-11-03 Sat 10:11] =>  1:11
:END:
**** four below AAAAA
this should not show the elements from BBBB as children
* BBBBB
** should be under BBB
:LOGBOOK:
CLOCK: [2018-11-01 Thu 09:45]--[2018-11-01 Thu 17:33] =>  7:48
CLOCK: [2018-11-02 Fri 08:11]--[2018-11-02 Fri 15:15] =>  7:04
:END:

The visualization then seems to wrongly associate the children of the BBBBB (a sibling of AAAAA) as descendents of AAAAA:
image

Support for gpg encrypted org files

I store my org files on dropbox and I encrypt them via gpg, it would be great if org-analyzer could detect this and decrypt the files through gpg before analyzing.

org-mode timestamps allow 24:00

To reproduce, in org-mode try inserting a timestamp at "10pm+2", and observe that we get this:

<2019-09-14 Sat 22:00-24:00>

This will be correctly displayed on the org-agenda page. Interestingly, times beyond 24:00 are not allowed and will prevent the agenda from rendering.

When clj-org-analyzer tries to parse this, it returns:

$ java -jar ./org-analyzer-1.0.0.jar ~/org
java.time.DateTimeException: Invalid value for HourOfDay (valid values 0 - 23): 24
              ValueRange.java:311 java.time.temporal.ValueRange.checkValidValue
             ChronoField.java:703 java.time.temporal.ChronoField.checkValidValue
               LocalTime.java:339 java.time.LocalTime.of
           LocalDateTime.java:362 java.time.LocalDateTime.of
...

Do you think it makes sense to update org-analyzer to support this? In the meantime an easy workaround for users is to just run sed -i 's/24:00/23:59/g' **/*.org

doesn't handle localised timestamps

I get
må

from

*  Foo
  :LOGBOOK:
  CLOCK: [2018-03-26 må. 13:14]--[2018-03-26 må. 13:43] =>  0:29
  :END:

but it works fine if I change the må.'s to Mon. Emacs by default uses the system locale to get abbreviated weekdays, so you can get Di or må. and so on. I guess a timestamp should be parsable with something like \[([0-9-]+) [^ ]+ ([0-9:]+)\] (where \1 is date and \2 is time and the middle bit is ignored)

Archive org files ignored

In my workflow I tend to move finished TODOs into an .org_archive file. These files are not read and analyzed, correct? I can't see them in the list of org files and their entries do not show up. Could/should they be analyzed automatically? If not, maybe would you consider adding a flag to in-/exclude those archive files?

This Doesn't Seem To Work On Windows

Here's how I'm using the application on Windows:

  1. I start the java program, which opens a new browser window.
  2. I then tried these three paths:
  3. c:\foo\bar\org
  4. c:/foo/bar/org
  5. file:///c:/foo/bar/org (which didn't work at all)
  6. Click on "confirm"

I then see the analyzer screen with 0 clocks. When I click on the "i" icon next to the clocks label I see that there are dozens of files in my org directory but none of the clock entries are found.

What can I do to help debug this issue? Is it possible to turn up logging for example?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.