Re: [O] Where to find complete org-mode mobile android documentation?
Hi Nick, Unfortunately, those images aren't the right images. They don't match the text. The real images (by url) are on matburt.net, which is ... down. So, does anyone know where to find complete documentation? Thanks, Mark > From: Nick Dokos > Probably, but if you have cloned the project locally, then the screenshots > are > under the src-img subdirectory: you can open them in emacs while reading > the installation doc. Or you can navigate to the src-img directory on > github and click on them. Not as nice as having them in the document, > but it will do in a pinch. > Nick
[O] Where to find complete org-mode mobile android documentation?
After running in circles, it seems that the documentation for the org-mode mobile android app is supposed to be here: https://github.com/matburt/mobileorg-android/wiki/Documentation However, all the images are missing on that page, and the images are pretty important. Is there a better page to use? Thanks, Mark
Re: [O] Limits on capture mode?
Thanks for the suggestion, Bastien. I'm thinking now that when the org-protocol is invoked on Win XP via the capture javascript code that it's essentially the same as calling a windows command line. The Windows XP command line has an upper limit of 8192 characters. You can reach that fast because every space character gets translated into 3 url characters. This limits the ability of the nifty capture technology which is a shame. I imagine the work-around would require some sort of plug-in for FireFox. The command line limits for Linux are much higher, so people using org-mode on those platforms would rarely encounter the barrier. I guess there's not that many people using org-mode on Windows, if I'm the only one noticing this problem. Oh well, cutting and pasting isn't that tedious. Thanks, Mark On Thu, 4/17/14, Bastien wrote: Date: Thursday, April 17, 2014, 12:06 AM Hi Mark, "Mark S." <> writes: > The problem is that there seems to be some undocumented (?) upper > limit to the number of characters that can be copied. It looks like it > might be around a 1000. When I try to send more than that, the process > doesn't seem to happen (there's no indication that anything is > happening). There is no limit on Org-mode side, so I guess it's a limit from the browser protocol. I'd search in this direction. HTH, -- Bastien
[O] How to make sparse tree sparser and/or reveal less context?
Hello! After you have a sparse tree, is there a way to hide away headlines and entries that you don't actually want to be part of your final export? There's a command to reveal context ... but is there a command that will help you hide away context? Thanks! Mark
Re: [O] Images not showing up in PDF output
Thanks Richard and Eric! After running it in MikTex by itself, and doing some look-ups, I found that I needed: 1) To use unix style directories in the file paths 2) To use #+LATEX_HEADER: \usepackage[multidot]{grffile} in order to accommodate the extra dot in the file name. Thanks! Mark On Sat, 4/5/14, Richard Lawrence wrote: Subject: Re: [O] Images not showing up in PDF output To: emacs-orgmode@gnu.org Cc: "Mark S." Date: Saturday, April 5, 2014, 9:46 AM Hi Mark, > On Saturday, 5 Apr 2014 at 05:59, Mark S. wrote: >> Hello, >> >> I was able to export a subtree as PDF, but the images don't show >> up. The images do export in HTML, and I can see that there is LaTeX >> code for it. It looks like this: >> >> >>\includegraphics[width=10em]{./Periodicals.org_20140402_202538_4928DjL.png} >> >> Are there settings or additional add-ons that I need to produce the images? In addition to Eric's advice, I would recommend that you check that this image is in the right directory, relative to where the .tex file lives, and relative to where LaTeX is being run. (Check the compile log to see if there are errors about not finding the image, or try to compile the exported .tex by hand, without the -interaction nonstopmode option which I believe is Org's default.) I have sometimes run into problems (mostly with BibTeX) when the exported .tex file doesn't exist in the directory where org-latex-pdf-process is run: even though the paths may look right in the .tex file, if the other files used in the compilation (.aux, etc.) don't end up in the right place, relative paths can break. Best, Richard (If possible, please encrypt your reply to me using my PGP key: Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646. See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)
[O] Images not showing up in PDF output
Hello, I was able to export a subtree as PDF, but the images don't show up. The images do export in HTML, and I can see that there is LaTeX code for it. It looks like this: \includegraphics[width=10em]{./Periodicals.org_20140402_202538_4928DjL.png} Are there settings or additional add-ons that I need to produce the images? Thank you, Mark Using MikTeX 2.9 under Windows XP with Org-mode 7.5
[O] Limits on capture mode?
I'm dusting off my org-mode set up from 3 years ago. One of the features I would like is the ability to capture information from web pages including URL. I've configured the org-protocol, activated the server, and created the bookmarklet. It seems to work with small amounts of text.. The problem is that there seems to be some undocumented (?) upper limit to the number of characters that can be copied. It looks like it might be around a 1000. When I try to send more than that, the process doesn't seem to happen (there's no indication that anything is happening). Is there some way to crank up the setting? A 1000 characters is not really enough. Thank you! Mark
[O] How to filter by tag/todo in AGENDA VIEW
Hello! Yes, I know you can make customized views, but I could find nothing in the documentation showing how to customize the AGENDA view. In the documentation, there are example of how to use the various type functions, but none for the agenda type function. There must be some options that go with it, or some way to tell it what TODOs you want to see. The closest thing to an example is this: (agenda "") Hmm. What goes inside of ""? I know how to filter inside the TODO list, but I can't seem to find how your filter inside of the agenda view. Is there a way? In particular, I want to filter out all the TODO keyword items so I can see just the non-todo schedules and deadlines. Thanks! Mark
[O] How to filter by tag/todo in agenda view
Hello! I know how to filter inside the TODO list, but I can't seem to find how your filter inside of the agenda view. Is there a way? Thanks! Mark
[O] Can you clock two tasks at once?
Hi all, Is there a way to clock two tasks at once? I'm multitasking ;-) Actually, sometimes a sub-part of task will have additional costs. Or you need to capture what part of your day is spent on the phone. Or you have someone else working for you. Lots of reasons to have a second clock running. Mark
Re: [O] Ctl-E doesn't go to end of line?
Thanks Nick & Bernt, Setting 'line-move-visual' to nil does seem to fix things. But org-special-ctl-a/e was good to know about too, since I don't mind if org doesn't go all the way to the end on a line that is a header with tags. Thanks again! Mark --- On Tue, 5/17/11, Nick Dokos wrote: > From: Nick Dokos > Subject: Re: [O] Ctl-E doesn't go to end of line? > To: "Bernt Hansen" > Cc: emacs-orgmode@gnu.org, "Mark S." , > nicholas.do...@hp.com > Date: Tuesday, May 17, 2011, 9:58 PM > Bernt Hansen > wrote: > > > > Isn't this the same as setting line-move-visual > to nil? Just pretend > > > it's an org-mode option. > > > > Could be :) I didn't find any details about that > var when I looked at > > the docstrings for the functions involved. > > > > There's some documentation about it in the Emacs manual, > section 7.2, > "Changing the location of point". It seems harmless to set > it to nil > (restores emacs 23 default behavior wrt long lines) and > it's probably > going to solve Mark's problem. > > Nick > > >
Re: [O] Ctl-E doesn't go to end of line?
--- On Tue, 5/17/11, Memnon Anon wrote: > From: Memnon Anon > Subject: Re: [O] Ctl-E doesn't go to end of line? > To: emacs-orgmode@gnu.org > Date: Tuesday, May 17, 2011, 7:30 PM > Hi Mark, > > "Mark S." > writes: > > > Hello, > > > > In org-mode, Ctl-E is bound to org-end-of-line. > However, this doesn't > > appear to take you to the actual end of line as it > does in the regular > > modes. Instead, it appears to take you out to the > default line fill -- > > even if your specified line fill is much shorter or > much longer than > > the default. > > Just to be clear: > > a) `C-e' takes you to whatever fill-column is set to > globally? > > b) And this happens not only on headlines, but also on body > lines? > > c) And you did not explicitly set any of the > org-special-ctrl-xxx > variables? > > afaics, org-end-of-line uses either a) end-of-visual-line, > b) > move-end-of-line or c) end-of-line. But none of those seem > to have this > effect. ... > > Now I am as curious as you are :). > > Memnon > Hello Memnon, 'b' & 'c' are true on my system. On 'a', I don't know how org-mode is setting the distance. It seems to get stuck on some arbitrary number. For instance, it was at 106. Then I rebooted emacs and now its at 80 followed by jumps of 40. Changing the fill position doesn't seem to change the point to which it jumps. Basically, I would like it to either (1) jump to the end of the line just like in ordinary emacs or (2) behave predictably, so that I can get to the end in two key sequences. Currently it does neither. Thanks, Mark
Re: [O] Ctl-E doesn't go to end of line?
Hi Bernt, Thanks for pointing that out. However, I'm not on an item line nor a header line, so those settings should not apply. But even when I changed my line to an item, and then tried the settings "t" and "reversed", it still wouldn't hop to the end of the line in one go. In fact, if the line is long enough, I may have to hit Ctl-E several times. So is something broken, or is there some other incantation? Thanks, Mark --- On Tue, 5/17/11, Bernt Hansen wrote: > From: Bernt Hansen > Subject: Re: [O] Ctl-E doesn't go to end of line? > To: "Mark S." > Cc: emacs-orgmode@gnu.org > Date: Tuesday, May 17, 2011, 5:32 PM > "Mark S." > writes: > > > Hello, > > > > In org-mode, Ctl-E is bound to org-end-of-line. > However, this doesn't > > appear to take you to the actual end of line as it > does in the regular > > modes. Instead, it appears to take you out to the > default line fill -- > > even if your specified line fill is much shorter or > much longer than > > the default. > > > > This is annoying, since my fingers are already typing > ahead, and > > sometimes I lose stuff just because the cursor didn't > go to the real > > end of line. > > > > Is this the desired behavior? And how can I change it > to the expected "true" end of line? > > Hi Mark, > > Look at org-special-ctrl-a/e. > > -Bernt > >
[O] Ctl-E doesn't go to end of line?
Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. This is annoying, since my fingers are already typing ahead, and sometimes I lose stuff just because the cursor didn't go to the real end of line. Is this the desired behavior? And how can I change it to the expected "true" end of line? Thanks! Mark Org-mode 7.5 Emacs 23.2.1 (i386-mingw-nt5.1.2600) Windows XP
Re: [O] insert picture feature request.
Thanks Nick! Revised code below with your help. Note that I've changed the name of function to reflect the fact that we're using the clipboard for the shot. Also, needed "file:" in the insert name for the inline images to view directly. Note to Aankhen: To get inline images to work, you need to install the PNG and JPEG libraries from http://gnuwin32.sourceforge.net/ . Then put the resulting C:...gnuwin32/bin directory in your windows system path. Maybe everyone here already knew this, but I had to spend a bit of time to work it out. Thanks! Mark (defun org-clipshot () "Take a screenshot into a time stamped unique-named file in the same directory as the org-buffer and insert a link to this file." (interactive) (setq filename (convert-standard-filename (concat (make-temp-name (concat ;; (buffer-file-name) (file-name-directory (buffer-file-name)) "images/" (file-name-nondirectory (buffer-file-name)) "_" (format-time-string "%Y%m%d_%H%M%S_")) ) ".png"))) (call-process "C:\\Program Files\\IrfanView\\i_view32.exe" nil nil nil "/clippaste" (concat "/convert=" filename) ) (insert (concat "[[file:" filename "]]")) (org-display-inline-images)) --- On Sun, 5/8/11, Nick Dokos wrote: > From: Nick Dokos > Subject: Re: [O] insert picture feature request. > To: "Mark S." > Cc: nicholas.do...@hp.com, emacs-orgmode@gnu.org > Date: Sunday, May 8, 2011, 4:11 PM > Mark S. > wrote: > > > Additional thought. Having all those pngs in the main > directory will > > get messy. I would like to put them in a sub-directory > like > > "images". But there doesn't seem to be an easy way to > insert that into > > (buffer-file-name). I've looked, but can't seem to be > a variable that > > just holds the current buffer directory. Where would I > start? > > > > C-h f file-name-directory > C-h f file-name-nondirectory > > Nick > >
Re: [O] insert picture feature request.
Additional thought. Having all those pngs in the main directory will get messy. I would like to put them in a sub-directory like "images". But there doesn't seem to be an easy way to insert that into (buffer-file-name). I've looked, but can't seem to be a variable that just holds the current buffer directory. Where would I start? Thanks! Mark --- On Sun, 5/8/11, Mark S. wrote: > From: Mark S. > Subject: Re: [O] insert picture feature request. > To: emacs-orgmode@gnu.org > Date: Sunday, May 8, 2011, 9:28 AM > Thanks Aankhen. > > That seems to have fixed the technical problem. > Unfortunately, because of the way irfan works, all I was > able to get pictures of was the emacs screen! People with > lots of screen real-estate can have emacs and their target > application up at the same time, but that doesn't work on my > older screen. > > So instead, I have the code grab whatever is in the > clipboard and use it. Then if I want a screen capture, I can > use whatever tool is available. Surfulator has a really nice > free screen capture. Also, with this approach I can > right-click on images in the browser, click "copy image" and > use those images directly. > > As for viewing, the only way I know is to export to HTML. > Ctl-c e b is quick. I vaguely remember that there is a way > to actually view images inline in Emacs, but its not > portable or something. > > Modified code below. > > Thanks! > Mark > > (defun org-screenshot () > "Take a screenshot into a time stamped > unique-named file in the same directory > as > the org-buffer and insert a link to this > file." > (interactive) > (setq filename > (convert-standard-filename > (concat > (make-temp-name > (concat > (buffer-file-name) > > "_" > > (format-time-string > > "%Y%m%d_%H%M%S_")) ) ".png"))) > (call-process "C:\\Program > Files\\IrfanView\\i_view32.exe" nil nil nil > > "/clippaste" (concat "/convert=" filename) ) > (insert (concat "[[" filename "]]")) > (org-display-inline-images)) > > > --- On Sat, 5/7/11, Aankhen wrote: > > > Subject: Re: [O] insert picture feature request. > > > > I believe ‘convert-standard-filename’ should do > it: > > > > , > > | (defun org-screenshot () > > | "Take a screenshot into a time stamped > > | unique-named file in the same directory > > as > > | the org-buffer and insert a link to this > > file." > > | (interactive) > > | (setq filename > > | (convert-standard-filename > > | (concat > > | (make-temp-name > > | (concat > > (buffer-file-name) > > | > > "_" > > | > > (format-time-string > > | > > "%Y%m%d_%H%M%S_")) ) ".png"))) > > | (call-process "i_view32.exe" nil nil nil > > | > > "/capture=2" (concat "/convert=" filename) ) > > | (insert (concat "[[" filename "]]")) > > | (org-display-inline-images)) > > ` > > > > Seems to work here, although I’m unable to get the > > resulting image to > > display inline. > > > > Aankhen > > > >
Re: [O] insert picture feature request.
Thanks Aankhen. That seems to have fixed the technical problem. Unfortunately, because of the way irfan works, all I was able to get pictures of was the emacs screen! People with lots of screen real-estate can have emacs and their target application up at the same time, but that doesn't work on my older screen. So instead, I have the code grab whatever is in the clipboard and use it. Then if I want a screen capture, I can use whatever tool is available. Surfulator has a really nice free screen capture. Also, with this approach I can right-click on images in the browser, click "copy image" and use those images directly. As for viewing, the only way I know is to export to HTML. Ctl-c e b is quick. I vaguely remember that there is a way to actually view images inline in Emacs, but its not portable or something. Modified code below. Thanks! Mark (defun org-screenshot () "Take a screenshot into a time stamped unique-named file in the same directory as the org-buffer and insert a link to this file." (interactive) (setq filename (convert-standard-filename (concat (make-temp-name (concat (buffer-file-name) "_" (format-time-string "%Y%m%d_%H%M%S_")) ) ".png"))) (call-process "C:\\Program Files\\IrfanView\\i_view32.exe" nil nil nil "/clippaste" (concat "/convert=" filename) ) (insert (concat "[[" filename "]]")) (org-display-inline-images)) --- On Sat, 5/7/11, Aankhen wrote: > Subject: Re: [O] insert picture feature request. > > I believe ‘convert-standard-filename’ should do it: > > , > | (defun org-screenshot () > | "Take a screenshot into a time stamped > | unique-named file in the same directory > as > | the org-buffer and insert a link to this > file." > | (interactive) > | (setq filename > | (convert-standard-filename > | (concat > | (make-temp-name > | (concat > (buffer-file-name) > | > "_" > | > (format-time-string > | > "%Y%m%d_%H%M%S_")) ) ".png"))) > | (call-process "i_view32.exe" nil nil nil > | > "/capture=2" (concat "/convert=" filename) ) > | (insert (concat "[[" filename "]]")) > | (org-display-inline-images)) > ` > > Seems to work here, although I’m unable to get the > resulting image to > display inline. > > Aankhen >
Re: [O] insert picture feature request.
This is very close ... I think. The problem is that the file name needs to be formatted for Windows. Currently its formatted using unix style forward slashes. The file name that is passed to irfan in the call process needs to be formatted with Windows style backslashes. Without this fix, irfan will complain that it doesn't recognize the file type. In other languages I could figure out how to do the replace sequence, but it would take me awhile in lisp. Is there a quick fix? Thanks! Mark --- On Wed, 5/4/11, Russell Adams wrote: > From: Russell Adams > Subject: Re: [O] insert picture feature request. > To: "Rainer Stengele" > Date: Wednesday, May 4, 2011, 6:19 AM > On Wed, May 04, 2011 at 12:01:53PM > +0200, Rainer Stengele wrote: > > > i_view32.exe /capture=2 > /convert=c:\capture_$U(%d%m%Y_%H%M%S).jpg > > (defun org-screenshot () > "Take a screenshot into a time stamped > unique-named file in the same directory > as > the org-buffer and insert a link to this > file." > (interactive) > (setq filename > (concat > (make-temp-name > (concat > (buffer-file-name) > > "_" > > (format-time-string > > "%Y%m%d_%H%M%S_")) ) ".png")) > (call-process "i_view32.exe" nil nil nil > > "/capture=2" (concat "/convert=" filename) ) > (insert (concat "[[" filename "]]")) > (org-display-inline-images)) > > Does that work? Elisp is formatting the filename based on > the Org > buffer you're in and adding a timestamp. > > -- > Russell Adams > rlad...@adamsinfoserv.com > > PGP Key ID: 0x1160DCB3 > http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F > 66E8 1154 E018 1160 DCB3 > >
Re: [O] insert picture feature request.
This doesn't work under windows even if you have ImageMagick installed. Is there a similar way to capture and insert a picture under windows? Thanks! --- On Mon, 5/2/11, Russell Adams wrote: > From: Russell Adams > Subject: Re: [O] insert picture feature request. > To: emacs-orgmode@gnu.org > Date: Monday, May 2, 2011, 6:28 AM > On Mon, May 02, 2011 at 02:42:41PM > +0200, Piter_ wrote: > > Hi all. > > I use org-mode for making note while reading > articles. > > Sometimes I want to insert picture into notes. Now it > takes to much > > time. I have to copy paste it into picture editor, > save it and than > > make a link to it. > > I would like to do it in other way. Copy picture into > clipboard (from > > pdf reader for example), and than run a function in > emacs which will > > ask for file name, save the picture from clipboard > into preset folder > > and insert link into org file for it. > > I have found those links. > > http://stackoverflow.com/questions/1868734/how-to-copy-to-clipboard-with-x11 > > http://stackoverflow.com/questions/3571179/how-does-x11-clipboard-handle-multiple-data-formats > > > > About handling clipboard images from python. > > I think it is possible to write a simple python script > which can save > > clipboard picture into file, and than some lisp > function which do all > > I described above using this script. > > Unfortunately I dont know python and lisp on > level which allow me to > > do it fast end easy. So I ask if someone can do it. I > think it would > > be useful addition for org-mode. May be even someone > have implemented > > it, or made another work arround this problem. > > Thanks. > > Petro. > > P.S. Sorry if you get two copies of request. I had > some troubles with > > sending it and may sent two versions of this mail. > > > > There was a discussion with a working solution not long ago > for taking > screenshots and inserting them into org automatically. > > http://comments.gmane.org/gmane.emacs.orgmode/33770 > > I suspect the code is on worg. > > Enjoy. > > -- > Russell Adams > rlad...@adamsinfoserv.com > > PGP Key ID: 0x1160DCB3 > http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F > 66E8 1154 E018 1160 DCB3 > >
[O] CUSTOM_ID only works when entire file is exported?
I'm using C-c e b to do an HTML export. It appears that CUSTOM_ID only gets assigned when the entire file (not just the tagged sub-heading/tree) gets exported. The same goes for the HTML_CONTAINER_CLASS variable, only its worse because it will sometimes prevent export altogether with a "Before first headline at position xx in buffer org-mode-tmp" message, which I have no idea what it means. Is there anyway to export just one sub-tree (or heading group) with an assigned custom_id? Thanks, Mark
Re: [O] HTML export > Resizing an activated inline image
Just to say, I also am interested in how you would do this. There are probably more attributes that I would like to add to the image (like size and alignment for instance) than there are attributes I would like to add to the link. Mark --- On Wed, 4/6/11, Francesco Pizzolante wrote: From: Francesco Pizzolante Subject: [O] HTML export > Resizing an activated inline image To: "mailing-list-org-mode" Date: Wednesday, April 6, 2011, 1:14 AM Hi, When you want to resize an inline image, you have to write something like the following: --8<---cut here---start->8--- #+ATTR_HTML: width=50% [[./images/toto.png]] --8<---cut here---end--->8--- This generates the following HTML code: --8<---cut here---start->8--- --8<---cut here---end--->8--- Now, I would like my image to be activated and the link should point to the image itself. So, I'm trying the following: --8<---cut here---start->8--- #+ATTR_HTML: width=50% [[./images/toto.png][file:./images/toto.png]] --8<---cut here---end--->8--- But this adds the width to the anchor and not to the image: --8<---cut here---start->8--- --8<---cut here---end--->8--- Any idea on the way to the get the following HTML code from Org? --8<---cut here---start->8--- --8<---cut here---end--->8--- Thanks for your help. Francesco
[O] Re: Non-stop capture?
Hi Jambunathan, Thanks for pointing out :immediate-finish ! That had eluded my attention. With :immediate-finish setting, org-mode still grabs the focus away from the browser. So I still have to alt-tab back to the browser. I would really like an uninterrupted web-clipping experience. Also, there is a strange message in the emacs status line on the bottom: Org-mode not loaded. I don't get this, since clearly org-mode *is* loaded. Thanks! Mark Note: Using capture with win xp, Emacs 23.2.1 (i386-mingw-nt5.1.2600), org-mode 7.5, and Opera 11.01 --- On Thu, 4/7/11, Jambunathan K wrote: From: Jambunathan K Subject: Re: Non-stop capture? To: throa...@yahoo.com Cc: "emacs-orgmode@gnu.org" Date: Thursday, April 7, 2011, 11:54 AM "Mark S" writes: Hello! > > I have the emacs org-protocol setup to capture with a default > template. But I still have to C-c C-c and then move back to the > browser. Is there a way to make it so that as text is captured it is > automatically and continuously sent to the capture location without > interruption? ,[ C-h v org-capture-templates RET ] | org-capture-templates is a variable defined in `org-capture.el'. | Its value is shown below. || Documentation: | Templates for the creation of new entries. | | [...]| | Each entry is a list with the following items: || :immediate-finish When set, do not offer to edit the information, just |file it away immediately. This makes sense if the |template only needs information that can be added |automatically. | [...] ` > Thanks! > Mark > > --
[O] Non-stop capture?
Hello! I have the emacs org-protocol setup to capture with a default template. But I still have to C-c C-c and then move back to the browser. Is there a way to make it so that as text is captured it is automatically and continuously sent to the capture location without interruption? Thanks! Mark
Re: [O] Re: Timer mode doesn't hyphenate correctly
Hello Nicolas, --- On Thu, 3/31/11, Nicolas wrote: It doesn't "want" anything. If you hit M-RET between left margin and beginning of item's body, the new item will be inserted before the current one. Otherwise, it will be inserted after it, as in any other type of list. Anyway, you can always sort your timer list with "C-c ^". Actually, its a little different. If you hit alt-enter at the end of a line, without typing other text first, like - 0:00:02 :: It thinks that you're at the beginning of a line and places the date-stamp *above* : - 0:03:43 :: - 0:00:02 :: Mark
Re: [O] Re: Timer mode doesn't hyphenate correctly
Hello Nicolas, --- On Thu, 3/31/11, Nicolas wrote: I cannot reproduce what you are describing. I may be misunderstanding you. Could you please post an ECM for that? What's an ECM? The scenario described has occurred 2 or 3 times now, though I can't figure out the exact sequence. Another thing I've noticed is that sometimes the list items are created in chronological order, and other times in reverse-chronological order. In fact, most of the time it wants to go in reverse-chronological order. Since there's no example in the manual, I'm not sure which one is "normal". I would prefer chronological order, but I can see why some might prefer reverse-chronological. Thanks, Mark
Re: [O] Re: Timer mode doesn't hyphenate correctly
Hello Matt, --- On Wed, 3/30/11, Matt Lundin wrote: I cannot reproduce this. All of the following timer items were entered quickly using M-Tab: - 0:01:04 :: An item - 0:01:07 :: Another item - 0:01:10 :: Yet another It appears that you can get different results depending on how you start the timer and whether there are prior entries there. Basically, you need to start on a blank line with no prior timing entries. If you start your timer, either with C-c C-x 0 or with C-c C-x - with prior timer entries, you are likely to get the results I described before (double hyphens), or error messages ("not a timer list"). So to people who know the right incantation, I suppose it looks ok. But if you take even a slight detour you may get some strange results. Maybe there should be a bit more warning in the manual. But now that I've worked out the land-mines, I'm sure its going to be very useful. Thanks! Mark
[O] Timer mode doesn't hyphenate correctly
Hello, I have a timer list running: - 0:01:00 Start at 10:17. - 2:14:18 :: My actions I go to the end of the line and hit I get: - -2:15:45 :: Note the two hyphens. Now if I try to add another timed line with , the system acts like I'm trying to start a term definition. If I use C-c C-x - instead, I get a message that I'm not in a timed list. The only way I can get a new timed entry, is to first delete the extra hyphen: - 2:15:45 :: ... and then use either of the other two techniques for creating an entry. This seems like several extra and unnecessary keystrokes. Is there a way to get it to add new timer items without fussing with the line? Thanks! Mark Win XP GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) Org 7.5
Re: [O] Bug: Recurring items NEVER show up in timeline unaccompanied
Hello Carsten et al, --- On Tue, 3/29/11, Carsten Dominik wrote: > --- On Mon, 3/28/11, Carsten Dominik > Maybe I spoke too soon. I tried the org-agenda-show-all-dates == nil. Although it worked, without the warning about the month-long gaps it was a bit hard to navigate. It was easier to navigate a full year of complete agenda weeks. Its a shame I'm the only one to have noticed how handy the (L) Timeline feature is ;-) Its output was (is) nice and clean. It was the first thing I tried when I was looking to set up an appointment several months down the road. I suppose I could do my own "recurrences" by hand. Can you be more specific on what is so handy about the timeline format, that you do not get in the agenda? Is it only the notice about the left-out days? Or other things as well? Yes, the left-out days provide visual relief. However, probably some other sort of visual break -- for instance at the month boundaries -- would work as well. Either a space, or a month title. Something to keep the eye from sliding right past date changes. I looked at the various agenda-view options, but didn't see any "month" setting other than to set how many days show up. By month I don't mean a full-blown grid calendar (though that would be nice!) but the weekly format with spacers (note or space) whenever the month changed. And of course, being able to review the whole year from the start. But I understand I could achieve that with a customized view. Thanks! Mark
Re: [O] Bug: Recurring items NEVER show up in timeline unaccompanied
Hello Carsten et al, --- On Mon, 3/28/11, Carsten Dominik wrote: > The ideal solution would be that the Timeline view > would process dates exactly like the agenda, including > multiple-files, but display them like the traditional > timeline, with ranges of dates omitted. This is already possible, by binding the variable org-agenda-show-all-dates to nil around the call to make the agenda (for examples using the options section of a custom agenda command). So the only missing piece for your preferred solution is the determination of starting dates and end date in a useful and automatic way. Maybe I can take a look some time this week and see ifthere is a simple way to replace the time line with something better. Maybe I spoke too soon. I tried the org-agenda-show-all-dates == nil. Although it worked, without the warning about the month-long gaps it was a bit hard to navigate. It was easier to navigate a full year of complete agenda weeks. Its a shame I'm the only one to have noticed how handy the (L) Timeline feature is ;-) Its output was (is) nice and clean. It was the first thing I tried when I was looking to set up an appointment several months down the road. I suppose I could do my own "recurrences" by hand. Mark
Re: [O] Bug: Recurring items NEVER show up in timeline unaccompanied
Hello Carsten et al, --- On Thu, 3/24/11, Carsten Dominik wrote: 1. Be satisfied with the way things are, just realize that repeaters only show up on the first date when the event happens for the first time. This would mean that you could never *trust* the timeline when dealing with events more than a week or two out. You would always have that lingering worry that you forgot to bump one of the repeaters. 2. Use the agenda, restricted to a single file, for a time range you specify. This has the advantage that also diary sexps will work properly - the timeline currently has no way to deal with these. This would be great if there were a "sparse" agenda. There isn't a way to make the agenda not show empty days is there? As it is, if you make an agenda extending out a year, you will have to wade through several hundred lines worth of empty days. 3. Change the section of the timeline code that produces the list of interesting dates. That seems like a good solution. Is it difficult? 4. Define a variable that will make the timeline always look at *every* date in the range covered by the file. And live with the fact that constructing the view might take long. Maybe it will not even to terribly long if you really use this view for single projects. This would be easy to implement. This would work too, I think. Creating an agenda that goes out one year only took about 3 seconds on my not-state-of-the-art machine. Presumably the timeline would be faster, since it wouldn't produce all the extra gap lines. Actually, when I tried to make a year long agenda using v-y I spent just about as much getting past the "are you sure" screens as it took to build the agenda. The ideal solution would be that the Timeline view would process dates exactly like the agenda, including multiple-files, but display them like the traditional timeline, with ranges of dates omitted. Mark
Re: [O] Bug: Recurring items NEVER show up in timeline unaccompanied
Hi Nick, Lisp tends to bring out my inner dyslexic, but is it possible to use a "while" or other construct instead of "mapcar" and then make the "if" construction inside of the lambda check for the :omitted symbol and return it as nil? And it would need to break out of the loop as soon as it encountered a date equal or greater to the present. Philosophically, the way I think the calendar should work for recurring events is that they only occur until the last event in the calendar UNLESS an argument has been given to specify how far out the calendar is to be drawn OR there is a global end-date / end-range variable. Mark --- On Tue, 3/22/11, Nick Dokos wrote: From: Nick Dokos Subject: Re: [O] Bug: Recurring items NEVER show up in timeline unaccompanied To: throa...@yahoo.com Cc: nicholas.do...@hp.com, emacs-orgmode@gnu.org Date: Tuesday, March 22, 2011, 1:10 PM Some more comments and another bug in org-timeline: o a repeater always gets reported on its initial date - it only gets reported on subsequent instances iff it coincides with some other entry that will be reported on that date. o the initial comment of org-timeline says "Only entries with a time stamp of today or later will be listed." However, in the let*, we have (let* ((dopast t) ... so by default we get past dates as well. o [the additional bug] if dopast is set to nil in the let*, then we run the following code to get rid of past dates: (if (not dopast) ;; Remove past dates from the list of dates. (setq day-numbers (delq nil (mapcar (lambda(x) (if (>= x today) x nil)) day-numbers But day-numbers isn't just numbers: it's a list of day numbers interspersed with gap information: (733451 (:omitted . 28) 733479 (:omitted . 5) 733484 (:omitted . 21) 733505 (:omitted . 15) 733520 ...) and the mapcar function chokes when it has to deal with a gap argument. Since there is no way to set dopast from the outside, perhaps the thing to do is to remove both it and the above code (as well as one additional instance of the variable) and declare that org-timeline will always do both past and future. Or, given some global option variable, it can be set to that value, in which case the code above needs to be fixed to deal with the gaps. Also, some stopping point will need to be provided. Right now, that is the last explicit date in the file, but in the presence of repeaters (and assuming that org-timeline gets modified to deal with them), that natural stopping point gets pushed all the way to infinity, so some other way will need to be provided to stop the enumeration. Comments? Nick
[O] Bug: Recurring items NEVER show up in timeline unaccompanied
You know, I think this may be the same bug I ran into 3 years ago when I last tried Org-mode. Is there any hope that this will be addressed? I note that this forum is the only location given for sending bug reports in the documentation. Thanks! Mark --- On Sat, 3/19/11, Nick Dokos wrote: From: Nick Dokos Subject: Re: [O] Bug: Recurring items don't always show up in timeline To: "Chris Randle" Cc: nicholas.do...@hp.com, emacs-orgmode@gnu.org Date: Saturday, March 19, 2011, 11:46 AM Chris Randle wrote: On 2011-03-18 21:20, Nick Dokos wrote: > > Mark Swrote: > > > >> I posted this before as a question, but since it has been confirmed by > >> others, and shows up under Linux and Windows, I'll now post the > >> details as a bug. > >> > >> The Timeline view *would* be very useful for scheduling months in > >> advance, reviewing history, or printing a year event > >> calendar. Unfortunately, it appears that it can't really be trusted. > >> The basic problem is that in AGENDA TIMELINE view ("C-a L") recurring > >> items are frequently and unpredictably dropped from the view. The > >> regular AGENDA view works fine AFAIK -- its the TIMELINE that is at > >> issue. > > > > AFAICT, the culprit is org-get-all-dates: it matches date strings, translates > > to number of days since the (imaginary) date 0001-12-31bce, > > accumulates them in a list, sorts them, takes care of gaps - but > > completely ignores any repeaters: iow, the "don't always show" in the > > Subject line should more accurately say "never show". >> Unless I'm missing something (again!), when I try it, they *do* repeat > *sometimes*. For example, the entry >> TODO [#A] Bath for dog <2011-03-10 Thu +1w> >> appears in agenda timeline as follows: >> 2011-03-10, miss 1 week, 2011-03-24, 2011-03-31, 2011-04-07, miss 7 > weeks, 2011-06-02, miss 8 weeks (agenda terminates 2011-07-31). >That's true. I believe that's when it coincides with another entry: it sneaks in on the heels of the other entry. But I may very well be wrong: I have only scratched the surface a bit. Nick
[O] Bug: Recurring items don't always show up in timeline
I posted this before as a question, but since it has been confirmed by others, and shows up under Linux and Windows, I'll now post the details as a bug. The Timeline view *would* be very useful for scheduling months in advance, reviewing history, or printing a year event calendar. Unfortunately, it appears that it can't really be trusted. The basic problem is that in AGENDA TIMELINE view ("C-a L") recurring items are frequently and unpredictably dropped from the view. The regular AGENDA view works fine AFAIK -- its the TIMELINE that is at issue. Below is a version of the calendar I'm using. There are two date ranges as well as regular dates. It might be that recurring events that occur on days that are inside of a date range do not show up. But not necessarily. On mine, "Bath for dog" doesn't show up on April 14th, for instance which happens to be inside of a date range. The Pay Cell Phone item does not occur 90 days later (about 4/15) which would also be inside of a date range. BUT it also does not occur on or near 7/15, which is not inside of a date range. Likewise, the "Do this every 3 months" item does not show up in June, even though it would not fall inside of a date range. If there's some magic incantation that will make this data work, it would be nice to know ;-) Mark --- Data * CALENDAR 2011 ** TODO Pay Cell Phone Bill TriMonthly <2011-01-15 Sat +90d> ** TODO [#A] Bath for dog <2011-03-10 Thu +1w> :PM: ** Books due at LIB1 <2011-03-24 Thu> More stuff here ** Books due at LIB2 <2011-03-12 Sat +1w> Stuff here ** DONE Check planning schedule <2011-03-13 Sun> CLOSED: [2011-03-14 Mon 06:38] - State "DONE" from "TODO" [2011-03-14 Mon 06:38] ** TODO Recharge electrical equipment <2011-03-13 Sun +1w> ** TODO Orthodontist Visit <2011-03-13 > ** Book Fair <2011-03-24 Thu> :Child1: ** Do this every 3 months <2011-03-28 Mon +90d> ** Parent Teacher Conference Days <2011-03-31 Thu>--<2011-04-07 Thu> :Child1: ** Spring Break <2011-04-11 Mon>--<2011-04-22 Fri> :Child1: ** PTA Picnic <2011-05-20 Fri> :Child1: ** Memorial Day <2011-05-30 Mon> ** Summer begins <2011-06-02 Thu> :Child1: ** Harry Potter's Birthday <2011-07-31 Sun>
[O] Re: Recurring items don't always show up in timeline
I've tested this now in Linux, and it fails there too. Remember, we're talking about the timeline, typically accessed by "C-a L" Is this something I should report to a bug log? Thanks, Mark On Mon, 14 Mar 2011 14:55:56 -0800, Mark S wrote: * CALENDAR 2011 ** TODO Pay Cell Phone Bill TriMonthly <2011-01-15 Sat +90d> ** TODO [#A] Bath for dog <2011-03-10 Thu +1w> :PM: ** Books due at LIB1 <2011-03-24 Thu> More stuff here ** Books due at LIB2 <2011-03-12 Sat +1w> Stuff here ** DONE Check planning schedule <2011-03-13 Sun> CLOSED: [2011-03-14 Mon 06:38] - State "DONE" from "TODO" [2011-03-14 Mon 06:38] ** TODO Recharge electrical equipment <2011-03-13 Sun +1w> ** TODO Orthodontist Visit <2011-03-13 > ** Book Fair <2011-03-24 Thu> :Child1: ** Do this every 3 months <2011-03-28 Mon +90d> ** Parent Teacher Conference Days <2011-03-31 Thu>--<2011-04-07 Thu> :Child1: ** Spring Break <2011-04-11 Mon>--<2011-04-22 Fri> :Child1: ** PTA Picnic <2011-05-20 Fri> :Child1: ** Memorial Day <2011-05-30 Mon> ** Summer begins <2011-06-02 Thu> :Child1: ** Harry Potter's Birthday <2011-07-31 Sun>
[O] Re: Recurring items don't always show up in timeline
Hi Chris, You say "showed up using C-a a" Yes, but what about the Timeline? C-a L The problem with the C-a a view is that you have to walk through the calendar week by week. The timeline would be better for scheduling events far out in the future -- if it worked. Thanks again, Mark --- On Tue, 3/15/11, Chris Randle wrote: From: Chris Randle Subject: Re: [O] Re: Recurring items don't always show up in timeline To: emacs-orgmode@gnu.org Date: Tuesday, March 15, 2011, 8:57 AM Hi Mark On 2011-03-14 22:55, Mark S wrote: > Here's a version of the calendar I'm using. There are two date ranges as > well as regular dates. It might be that recurring events that occur on > days that are inside of a date range do not show up. On mine, "Bath for > dog" doesn't show up on April 14th, for instance which happens to be > inside of a date range. The Pay Cell Phone item does not occur 90 days > later (about 4/15) which would also be inside of a date range. BUT it > also does not occur on or near 7/15, which is not inside of a date range. > The "Do this every 3 months" item does not show up in June, even though > it would not fall inside of a date range. I've pasted your sample Org-mode data into my Org-mode file after first deleting everything I had in there; i.e. nothing but your data but with my .emacs file and settings. TODO Pay Cell Phone Bill TriMonthly <2011-01-15 Sat +90d> showed up (using C-c a a) 2011-01-15, 2011-04-15, 2011-07-14, 2011-10-12, 2012-01-10, etc. The entry for 2011-04-15 appeared together with ranged entry (5/12) of Spring Break. TODO [#A] Bath for dog <2011-03-10 Thu +1w> appeared every Thursday, including 2011-04-14. Do this every 3 months <2011-03-28 Mon +90d> appeared on 2011-03-28, 2011-06-26, 2011-09-24, 2011-12-23, 2012-03-22, etc. So, it all seems to work OK here. Sorry I don't know what to suggest to try at your end other than the usual things about reverting to minimal .emacs and putting things back in one at a time. Also, making sure that there isn't a clash between compiled units/modules and .el files. That's something I can't comment on as I don't compile my Org-mode, just run from the .el files. -- Chris Randle
[O] Re: Recurring items don't always show up in timeline
Here's a version of the calendar I'm using. There are two date ranges as well as regular dates. It might be that recurring events that occur on days that are inside of a date range do not show up. On mine, "Bath for dog" doesn't show up on April 14th, for instance which happens to be inside of a date range. The Pay Cell Phone item does not occur 90 days later (about 4/15) which would also be inside of a date range. BUT it also does not occur on or near 7/15, which is not inside of a date range. The "Do this every 3 months" item does not show up in June, even though it would not fall inside of a date range. Mark * CALENDAR 2011 ** TODO Pay Cell Phone Bill TriMonthly <2011-01-15 Sat +90d> ** TODO [#A] Bath for dog <2011-03-10 Thu +1w> :PM: ** Books due at LIB1 <2011-03-24 Thu> More stuff here ** Books due at LIB2 <2011-03-12 Sat +1w> Stuff here ** DONE Check planning schedule <2011-03-13 Sun> CLOSED: [2011-03-14 Mon 06:38] - State "DONE" from "TODO" [2011-03-14 Mon 06:38] ** TODO Recharge electrical equipment <2011-03-13 Sun +1w> ** TODO Orthodontist Visit <2011-03-13 > ** Book Fair <2011-03-24 Thu> :Child1: ** Do this every 3 months <2011-03-28 Mon +90d> ** Parent Teacher Conference Days <2011-03-31 Thu>--<2011-04-07 Thu> :Child1: ** Spring Break <2011-04-11 Mon>--<2011-04-22 Fri> :Child1: ** PTA Picnic <2011-05-20 Fri> :Child1: ** Memorial Day <2011-05-30 Mon> ** Summer begins <2011-06-02 Thu> :Child1: ** Harry Potter's Birthday <2011-07-31 Sun> On Mon, 14 Mar 2011 11:02:14 -0800, Mark S wrote: I have a very simple calendar ORG file set up. A couple of the items have recurring days set to 90d. Like ** Do something periodically <2011-01-15 Sat +90d> When I activate the agenda timeline, I see the first one of these (in January) but none of the other scheduled events show up. (I have other scheduled items to create a calendar that goes out further than the 90 days). If I view this in the regular weekly agenda, using "f" to step through the weeks, the item does show up. If I change the setting to +1w, I see several more entries, but not one for every week. Some weeks are skipped. It seems hit and miss. I haven't been able to establish the exact pattern, but it appears that I can not depend on recurring items to show up in the timeline. Has anyone else seen this? Is there a way to make all activities show up in the timeline? Thanks, Mark Emacs 23.2.1 Win XP Org-mode 7.5 -- Using Opera's revolutionary email client: http://www.opera.com/mail/
[O] Re: Recurring items don't always show up in timeline
Hi Chris, Are there any other dates in your calendar? Have you tried it with +90d? Thanks, Mark Emacs 23.2.1 | Win XP | Org-mode 7.5 On Mon, 14 Mar 2011 11:02:14 -0800, Mark S wrote: --- On Mon, 3/14/11, Chris Randle wrote: From: Chris Randle Subject: Re: [O] Recurring items don't always show up in timeline To: emacs-orgmode@gnu.org Date: Monday, March 14, 2011, 1:36 PM Hi Mark On 2011-03-14 19:02, Mark S wrote: > Has anyone else seen this? Working OK here. I get entries in 2011 for: 2011-01-15 2011-04-15 2011-07-14 2011-10-12 and switching to +1w, I see an entry every Saturday. I'm running the same s/w as you, I think Windows XP Pro SP3 GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Org-mode version 7.5 (d/l from Org-mode site, not from Git) -- Chris Randle -- Using Opera's revolutionary email client: http://www.opera.com/mail/
[O] Recurring items don't always show up in timeline
I have a very simple calendar ORG file set up. A couple of the items have recurring days set to 90d. Like ** Do something periodically <2011-01-15 Sat +90d> When I activate the agenda timeline, I see the first one of these (in January) but none of the other scheduled events show up. (I have other scheduled items to create a calendar that goes out further than the 90 days). If I view this in the regular weekly agenda, using "f" to step through the weeks, the item does show up. If I change the setting to +1w, I see several more entries, but not one for every week. Some weeks are skipped. It seems hit and miss. I haven't been able to establish the exact pattern, but it appears that I can not depend on recurring items to show up in the timeline. Has anyone else seen this? Is there a way to make all activities show up in the timeline? Thanks, Mark Emacs 23.2.1 Win XP Org-mode 7.5 -- Using Opera's revolutionary email client: http://www.opera.com/mail/