Code Monkey home page Code Monkey logo

Comments (11)

alphapapa avatar alphapapa commented on June 18, 2024

No, you can ignore that warning.

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

Please see the commit I just pushed, which should solve that warning. Thanks.

from org-sidebar.

vikasrawal avatar vikasrawal commented on June 18, 2024

Now I get all these:
Warning: Unused lexical variable ‘buffer-or-path’
Warning: Unused lexical variable ‘group’
Warning: Unused lexical variable ‘super-groups’
Warning: Unused lexical variable ‘source-buffer’

And I do not get any sidebar.

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

I get no warnings and it works for me. Try reinstalling the package. I recommend using Quelpa, like this:

(use-package org-sidebar
  :quelpa (org-sidebar :fetcher github :repo "alphapapa/org-sidebar"))

I use this to make it easy: https://github.com/alphapapa/unpackaged.el#upgrade-a-quelpa-use-package-forms-package

from org-sidebar.

vikasrawal avatar vikasrawal commented on June 18, 2024

Now, after I start emacs, open an org buffer, and do M-x org-sidebar:

I get the message: Function provided is already compiled [2 times]

No sidebar still.

Is there something else I need to install?

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

Thanks for reporting these problems. I just pushed some fixes and tested in a clean Emacs, and it works now. Please install/update the package again and let me know if it works for you.

from org-sidebar.

vikasrawal avatar vikasrawal commented on June 18, 2024

I realise the message "Function provided is already compiled" comes from a file that does not have any TODO items but has some scheduled items that do not have a TODO state. Ideally, such items should show in the agenda. Once I put a TODO state for at least one item in the file, everything works.

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

I realise the message "Function provided is already compiled"

Please ignore that message, it's not relevant to the problem you seem to be having.

a file that does not have any TODO items but has some scheduled items that do not have a TODO state. Ideally, such items should show in the agenda

You'll have to be more specific.

Also, we need to use more specific terms. The Org Agenda is a specific tool built-in to Org mode. org-sidebar does not provide an Org Agenda view. Some of its functionality is similar, but it is not the same tool. So there is no "agenda" in org-sidebar.

from org-sidebar.

vikasrawal avatar vikasrawal commented on June 18, 2024

I got confused because org-sidebar uses the term "Agenda items" and since I was originally looking for a solution to show my agenda in the sidebar.

All I was saying is that, if my file has scheduled items but no todo item, the sidebar is not shown. It just gives the message: "Function provided is already compiled", and nothing happens. A better behaviour would be to show the top section of the sidebar with Scheduled items.

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

I got confused because org-sidebar uses the term "Agenda items" and since I was originally looking for a solution to show my agenda in the sidebar.

Yes, the terms are a bit confusing, sorry about that. It's hard to find a way to say, "This is sort of like the Org Agenda, but not exactly." Please let me know if you have any suggestions for this.

All I was saying is that, if my file has scheduled items but no todo item, the sidebar is not shown. It just gives the message: "Function provided is already compiled", and nothing happens. A better behaviour would be to show the top section of the sidebar with Scheduled items.

This isn't the case for me. For example, with this test file:

blahblah

* A
SCHEDULED: <2019-07-19 Fri>

blah

When I run org-sidebar, I get one sidebar window that says, org-sidebar: agenda items in file.org, and it displays:

    A  today

If it's not working for you, be sure that all of the related packages are up-to-date.

from org-sidebar.

alphapapa avatar alphapapa commented on June 18, 2024

Please let me know if you need more help.

from org-sidebar.

Related Issues (20)

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.