Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: simplify the emacs call #1

Open
swerter opened this issue Feb 14, 2021 · 4 comments
Open

Suggestion: simplify the emacs call #1

swerter opened this issue Feb 14, 2021 · 4 comments

Comments

@swerter
Copy link

swerter commented Feb 14, 2021

Hi

I just had a quick look at your script. Nice :)
However, instead of using tmux and send-key you could easily simplify the running of the agenda-html.el by simply doing:

emacs --script agenda-html.el

Or am I missing something?

Cheers

@ruanxiang
Copy link

Thank you for the great tool which is what I have been searching for long time!
I use org-agenda with my customized dash view by defining org-agenda-customize-command with short cut "W", "H" and so on in my .emacs. I would like to automatically export my customized dash view to html by your tool.

I found that your tool export html of (org-agenda-list), I tried to modify it by replacing (org-agenda-list) with (org-agenda nil "W") where "W" is one of my customize command, but it didn't work as expected. Could you please suggest how to export with customized dash view by your tool? Thank you in advance.

@dantecatalfamo
Copy link
Owner

The reason I load Emacs in a tmux session is that for some reason that I cannot figure out, Emacs refuses to load themes unless you start a window, so the agenda would always come out completely black instead of colored

@dantecatalfamo
Copy link
Owner

I find the syntax highlighting for things like the todo keywords and dates really helpful so not having the colors was a no-go for me

@dmitrym0
Copy link

dmitrym0 commented Dec 2, 2021

Thank you for the great tool which is what I have been searching for long time! I use org-agenda with my customized dash view by defining org-agenda-customize-command with short cut "W", "H" and so on in my .emacs. I would like to automatically export my customized dash view to html by your tool.

I found that your tool export html of (org-agenda-list), I tried to modify it by replacing (org-agenda-list) with (org-agenda nil "W") where "W" is one of my customize command, but it didn't work as expected. Could you please suggest how to export with customized dash view by your tool? Thank you in advance.

Your approach worked fine for me. I ran the script interactively: (load-file "path-toscript") and it threw the following error:

*ERROR*: Not allowed in ’tags’-type agenda buffer or component

I commented out (org-agenda-goto-today) and (org-agenda nil "D") works fine.

@github-staff github-staff deleted a comment from knofte Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants