Comments (12)
Thank you for your bug report!
Hmm, I have checked the displaying block event at #60.
But, because I'm not a heavy user for orgmode, I might miss an another bug.
Will you show the small sample org file which can reproduce the bug?
from emacs-calfw.
Here is how I can reproduce the bug.
- My
test.el
init file.
(add-to-list 'load-path "~/local/src/org-mode/lisp")
(add-to-list 'load-path "~/local/src/org-mode/contrib" t)
(require 'org)
(setq org-agenda-files '("test.org"))
(add-to-list 'load-path "~/.emacs.d/elpa/calfw-20150831.1847")
(add-to-list 'load-path "~/.emacs.d/elpa/calfw-20150824.2347")
(require 'calfw)
(require 'calfw-org)
(cfw:open-org-calendar)
I am opening with emacs -Q test.el
, and evaluating only one of add-to-list
calfw
lines. Date ranges are shown as a range in the elpa 0824 version, and not the elpa 0831 version.
- My
test.org
file:
* TODO Test Item
<2015-09-07 Lun>--<2015-09-10 Jeu>
- Here are two screenshots. The first from version 0824, shows a date range. The second does not.
from emacs-calfw.
@mankoff Thank you for your detailed report!
I'll check it.
from emacs-calfw.
@kiwanami This issue might be able to get fixed as follows:
in the cfw:org-get-timerange function (calfw-org.el):
from (if (string-match "(\\([0-9]+)/\\([0-9]+\\)): " extra)
to (if (string-match "(\\([ 0-9]+)/\\([ 0-9]+\\)): " extra)
I hope this fix is applied to the main branch (and melpa as well) as soon as possible.
from emacs-calfw.
Fixed in elpa version 20170320.506
from emacs-calfw.
@mankoff I just tested; but, this has not been solved yet in the version you mentioned.
from emacs-calfw.
Weird. It does for me. Here is my DEBUG.el
(require 'org)
(setq org-agenda-files '("test.org"))
(add-to-list 'load-path "~/.emacs.d/elpa/calfw-20170320.506")
(require 'calfw)
(require 'calfw-org)
(cfw:open-org-calendar)
Here is test.org
* TODO Test Item
<2017-03-31 Fri>--<2017-04-03 Mon>
I launch emacs (OS X, v 25.2.2) with /Applications/Emacs.app/Content/MacOS/Emacs -Q DEBUG.el
and then manually evaluate (C-x C-e
) each line, then T
for two-week view.
And here is what the calendar looks like:
If you can't replicate this, we should probably re-open the bug and figure out why.
from emacs-calfw.
Interesting... I quickly tested your scripts; it works with Org-mode version 8.2.10 but doesn't work with Org mode version 9.0.5 (the current melpa version).
From an additional test, I found the patch I posted above works for both.
from emacs-calfw.
This is getting complicated. I first noticed it worked in my default config, which is Org 9.0.5. The MWE example above uses the Emacs version, which is older (not sure what version). So... on my computer, I have it working (as above) with current calfw and old Org, but also current calfw and Org 9.0.5 but also my large and complicated init.el...
from emacs-calfw.
I just added (add-to-list 'load-path "~/.emacs.d/elpa/org-20170210")
to the DEBUG.el
(and load it before (require 'org)
) and it works on my system. Latest calfw and Org from elpa.
from emacs-calfw.
Hm... it seems a problem on my side. I retested and it works for both. I need to figure out the problem. Thank you for your time.
from emacs-calfw.
I got it. This is because of the string format of an agenda entry.
For example, if the multiple-day entry looks like
"(1/4): TODO Test Item",
it perfectly works.
But, I use a different setting for org-agenda-timerange-leaders (e.g., "" "(%3d/%-3d): "), which shows the same entry differently like
"( 1/4 ): TODO Test Item";
here, there exist some spaces in the entry.
This is the reason why my patch works for my case.
from emacs-calfw.
Related Issues (20)
- Issue writing diary (org-journal) entries to calfw-cal
- Reading from CalDav
- cfw:open-ical-calendar Wrong number of arguments HOT 1
- No luck with straight, nor with apt HOT 5
- Show calendar week number
- Function to open calendar in week mode HOT 6
- Daily and weekly view with time-grid
- How to add calendar with one ics file per event? HOT 2
- Any way to fix this for period events? HOT 1
- cfw:open-ical-calendar hard-codes the color of the text
- Can not sync with Nextcloud calendar HOT 1
- Package cl deprecated HOT 1
- iCal: Event with "notifications" don't appear in output HOT 1
- Headline colors not diplayed correctly HOT 12
- Not showing deadline items HOT 1
- Can't open calendar buffer
- only one holiday is shown on a day with multiple holidays HOT 1
- Cannot use calfw with emacs 30 HOT 2
- Can cell-width be adjusted so that calendar expands to fill window. HOT 1
- Cannot run cfw:open-org-calendar: (wrong-type-argument stringp nil) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-calfw.