Re: [O] Quick comment on the website
Bastien b...@altern.org writes: Hi Aubrey, Aubrey Raech aubreyra...@gmail.com writes: The website for org-mode (http://orgmode.org/) is fantastic. It's well laid out, helpful, and beautiful to look at. Whoever's in charge of maintaining it is doing a great job! Thanks Aubrey! I've actually waited long for someone to compliment the new website, I'm glad it finally happened :) Ehemm: Where there is sun, there is also shadow... ;-) For an uninitiated as me I felt the worg wiki a bit hidden, too humbly placed in this nice and otherwise practical layout. -- Dieter Best wishes H. Dieter Wilhelm Darmstadt Germany
Re: [O] Problems with org-caldav (wrong-type-argument stringp 47)
Eric S. Fraga writes: David Engster d...@randomsample.de writes: Sven Bretfeld writes: Hi David and all I've got it. By try and error I found out that entries like these in an org-file cause the problem: %%(diary-anniversary 6 8 1969) Christian is %d years old Ah OK. Thanks for looking into this. Those entries apparently produce events during export but don't seem to get an ID. I'll look into this issue during the next week, when my sinuses have calmed down a bit... Yes, this is the same problem I was having when I started using org-caldav-sync. I currently have all my sexp based diary entries commented out so would definitely appreciate getting this working! OK, I took a shot at dealing with sexp entries. It's a complicated issue, since s-expressions can be in Org entries or by themselves. I updated the Readme with a section on how they are handled now. Please let me know how it works out for you. If you don't want/need sexp-based entries in your calendar, just set org-icalendar-include-sexps to nil. -David
Re: [O] org-caldav issue: Search failed: ;\\([A-Za-z0-9-]+\\)=
David Engster writes: 'giles' writes: David Engster d...@randomsample.de writes: Could you please do M-x toggle-debug-on-error before running the sync and post the resulting backtrace here? Slightly different behaviour this time: first seven events synced fine, number 8 blew up the same way. Debugger entered--Lisp error: (search-failed ;\\([A-Za-z0-9-]+\\)=) re-search-forward(;\\([A-Za-z0-9-]+\\)= nil nil) icalendar--read-element(VEVENT nil) icalendar--read-element(VCALENDAR nil) icalendar--read-element(nil nil) There must be something weird with the events you have. Could be that it's the special characters you mentioned, but I'm afraid I'll need to see the event which triggers this. Just FYI: Giles send me the offending calendar entry off-list and this issue is fixed. -David
Re: [O] org-caldav feedback
Torsten Wagner writes: Tested and you are right. Adding a timestamp in the body doesn't get lost during sync. Actually, I guess the problem is a combination of export and import to org-mode. During the export, the timestamp gets read in correctly, however, it get stripped from the Summary line (which is good). During the import, org-caldav does not find a timestamp in the body to update and does nothing (wild speculation). A possible solution would be to teach org-caldav to update the timestamp within the node header if available. I pushed a change which should correctly deal with timestamps inside the header line. Please let me know if this works for you. -David
Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?
Martin Beck elwood...@web.de writes: Bernt Hansen bernt at norang.ca writes: I tried to create a block agenda with several blocks based on the (agenda )command, but then I also have the time grid several times.. You should be able to turn the grid off. Hi Bernt, thanks a lot for your answers (also the other one: http://article.gmane.org/gmane.emacs.orgmode/65520). If it is possible to use more than one agenda block in the block agenda and turn off the time grid for all but the first, this should do perfectly what I need. Yes it is possible. See Eric S Fraga's reply in this thread for the appropriate variable. Regards, Bernt
Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Bernt, Bernt Hansen wrote: The thing I couldn't get to work was automatically starting column view in my block agenda. I can still manually do that with C-c C-x C-c What about this? (add-to-list 'org-agenda-custom-commands '(H tags-todo +home ((org-agenda-view-columns-initially t Sorry. It does work as standalone agenda view, but I now guess you meant not in a block view... Too quick! Exactly :) Regards, Bernt
[O] org-copy-subtree
I want to copy the text in the subtree, but not the headline. Right now I use the following hack: (org-narrow-to-subtree) (beginning-of-buffer) (next-line 1) (setq minPoint (point)) (copy-region-as-kill minPoint (point-max)) (widen) However, org-copy-subtree would do exactly what I need, IF it did not copy the headline. Then I could cut out four lines of the above code.
Re: [O] org-copy-subtree
On Sat, Feb 02, 2013 at 03:05:37PM -0500, 42 147 wrote: I want to copy the text in the subtree, but not the headline. Right now I use the following hack: (org-narrow-to-subtree) (beginning-of-buffer) (next-line 1) (setq minPoint (point)) (copy-region-as-kill minPoint (point-max)) (widen) However, org-copy-subtree would do exactly what I need, IF it did not copy the headline. Then I could cut out four lines of the above code. Well, a sub-tree is defined the headline and any text including other sub-trees under it. If org-copy-subtree didn't copy the headline it wouldn't be doing what the name says would it? :) You could always put the above code inside a defun called org-copy-subtree and load it after you have loaded org. Then it would overwrite the original org-copy-subtree and you could keep using commands like org-copy-special as usual. Caveat: If some part of org uses org-copy-subtree, that would start misbehaving. Of course you always have the option of putting it into my-org-copy-subtree and assigning a keybinding for it. Hope this helps, -- Suvayu Open source is the future. It sets us free.
Re: [O] Problems with org-caldav (wrong-type-argument stringp 47)
David Engster d...@randomsample.de writes: OK, I took a shot at dealing with sexp entries. It's a complicated issue, since s-expressions can be in Org entries or by themselves. I updated the Readme with a section on how they are handled now. Please let me know how it works out for you. If you don't want/need sexp-based entries in your calendar, just set org-icalendar-include-sexps to nil. David, this fails. See below for debug trace. When it fails, the buffer org-caldav-2708bS2 has the converted contents of my test entry with an sexp: , | BEGIN:VEVENT | UID:orgsexp-67952239 | DTSTART;VALUE=DATE:19710313 | DTEND;VALUE=DATE:19710314 | RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=03;BYMONTHDAY=13 | SUMMARY:Somebody's birthday (%d years) | END:VEVENT ` The test entry is #+begin_src org * Test entries %%(diary-anniversary 1971 03 13) Somebody's birthday (%d years) #+end_src Setting org-icalendar-include-sexps to nil works, by the way. As an aside, this new version of org-caldav changes point in my diary file (leaving it at the last entry in the file). Maybe a save-excursion somewhere is needed? Let me know if I can send you any other information. , | Debugger entered--Lisp error: (wrong-type-argument stringp 27276) | string-match(^orgsexp- 27276) | (if (string-match ^orgsexp- uid) nil (org-caldav-generate-md5-for-org-entry uid)) | (let* ((uid (org-caldav-rewrite-uid-in-event)) (md5 (if (string-match ^orgsexp- uid) nil (org-caldav-generate-md5-for-org-entry uid))) (event (org-caldav-search-event uid))) (cond ((null event) (org-caldav-debug-print 1 (format Org UID %s: New uid)) (org-caldav-add-event uid md5 nil nil (quote new-in-org))) ((not (string= md5 (org-caldav-event-md5 event))) (org-caldav-debug-print 1 (format Org UID %s: Changed uid)) (org-caldav-event-set-md5 event md5) (org-caldav-event-set-status event (quote changed-in-org))) ((eq (org-caldav-event-status event) (quote new-in-org)) (org-caldav-debug-print 1 (format Org UID %s: Error. Double entry. uid)) (setq org-caldav-sync-result (cons (list uid (quote new-in-org) (quote error:double-entry)) org-caldav-sync-result))) (t (org-caldav-debug-print 1 (format Org UID %s: Synced uid)) (org-caldav-event-set-status event (quote in-org) | (while (org-caldav-narrow-next-event) (let* ((uid (org-caldav-rewrite-uid-in-event)) (md5 (if (string-match ^orgsexp- uid) nil (org-caldav-generate-md5-for-org-entry uid))) (event (org-caldav-search-event uid))) (cond ((null event) (org-caldav-debug-print 1 (format Org UID %s: New uid)) (org-caldav-add-event uid md5 nil nil (quote new-in-org))) ((not (string= md5 (org-caldav-event-md5 event))) (org-caldav-debug-print 1 (format Org UID %s: Changed uid)) (org-caldav-event-set-md5 event md5) (org-caldav-event-set-status event (quote changed-in-org))) ((eq (org-caldav-event-status event) (quote new-in-org)) (org-caldav-debug-print 1 (format Org UID %s: Error. Double entry. uid)) (setq org-caldav-sync-result (cons (list uid (quote new-in-org) (quote error:double-entry)) org-caldav-sync-result))) (t (org-caldav-debug-print 1 (format Org UID %s: Synced uid)) (org-caldav-event-set-status event (quote in-org)) | (save-current-buffer (set-buffer buf) (goto-char (point-min)) (while (org-caldav-narrow-next-event) (let* ((uid (org-caldav-rewrite-uid-in-event)) (md5 (if (string-match ^orgsexp- uid) nil (org-caldav-generate-md5-for-org-entry uid))) (event (org-caldav-search-event uid))) (cond ((null event) (org-caldav-debug-print 1 (format Org UID %s: New uid)) (org-caldav-add-event uid md5 nil nil (quote new-in-org))) ((not (string= md5 (org-caldav-event-md5 event))) (org-caldav-debug-print 1 (format Org UID %s: Changed uid)) (org-caldav-event-set-md5 event md5) (org-caldav-event-set-status event (quote changed-in-org))) ((eq (org-caldav-event-status event) (quote new-in-org)) (org-caldav-debug-print 1 (format Org UID %s: Error. Double entry. uid)) (setq org-caldav-sync-result (cons (list uid ... ...) org-caldav-sync-result))) (t (org-caldav-debug-print 1 (format Org UID %s: Synced uid)) (org-caldav-event-set-status event (quote in-org)) (progn (let ((--dolist-tail-- (org-caldav-filter-events nil)) cur) (while --dolist-tail-- (setq cur (car --dolist-tail--)) (org-caldav-debug-print 1 (format Cal UID %s: Deleted in Org (car cur))) (org-caldav-event-set-status cur (quote deleted-in-org)) (setq --dolist-tail-- (cdr --dolist-tail--)) | org-caldav-update-eventdb-from-org(#buffer org-caldav-2708ALL) ` Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917
[O] html-export - limit size of pic to page-size?
Hi List, when exporting plantuml code blocks to .png files, the resulting pictures can be tiny or really huge, depending on the class hierarchy modeled. Is it possible to restrict the size of the graphic to the html page-size, no matter how big the resulting .png file actually is? -- cheers, Thorsten
Re: [O] org-tree-slide: some small changes
Takaaki, a couple of further suggestions: - you change the faces org-level-2 and org-level-3. This makes sense. However, you use custom-set-faces which overwrites the user's own customisations permanently! I think this is bad practice (I couldn't figure out why my faces had changed in other documents...). Can you not simply change the face for that buffer ephemerally for the slide show? I don't know enough emacs lisp to suggest how this would be done, mind you... - it would be better, in my opinion, to use prior and next instead of left and right for moving from slide to slide. I think this is more intuitive but, in any case, my main reason for wanting this is that I am using tree-slide-mode for an interactive session and I am editing the slides as the meeting progresses. I naturally wish to use the arrow keys to move the cursor when editing whereas I am unlikely to use the paging keys. Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917
[O] suppress new(ish) behaviour of math in export to latex-beamer
I have some orgmode beamer files from late 2011 that I want to edit and re-use. However, orgmode's behaviour seems to have changed since then with respect to handling of math commands like \neg, \phi, \psi etc. Now it seems to automatically put in surrounding $...$s, which mucks up the output of my older files. Is there a way of suppressing this new behaviour? -- ~~ Dr Benjamin Slade pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19 {sent by mu4e on Emacs running under GNU/Linux}
[O] Sending BibTeX entries from Zotero to Org-mode via Fireforg
Hi folks, I just installed Zotero (a Firefox plugin for organizing your research sources) and I thought it could be used with Org-mode. For example, I'd like to send BibTeX entries from Zotero to Org-mode via Fireforg. At http://orgmode.org/worg/org-devel.html I can see that Fireforg is listed, but it seems outdated - when I try to install fireforg.xpi in Abrowser 18 (Firefox-based browser), it reports the following: Fireforg could not be installed because it is not compatible with Abrowser 18.0.1. I'm not sure if simply changing the max version parameter in install.rdf in fireforg.xpi is the best idea. According to the git log, the last commit dates back to 2010. I guess it's not in active development anymore. Also, I guess it needs org-protocol, but I can't figure out where to download it from. At: http://orgmode.org/worg/org-contrib/org-protocol.html it doesn't say anything about how to obtain it. Any suggestions on how to get org-protocol and fireforg working so that I can export BibTeX entries from Zotero to org-mode? If it's of any help, I have GNU Emacs 23.3.1 and Org-mode 7.6. Cheers, Marko Dimjašević signature.asc Description: PGP signature
Re: [O] html-export - limit size of pic to page-size?
Thorsten Jolitz tjol...@googlemail.com writes: Hi List, when exporting plantuml code blocks to .png files, the resulting pictures can be tiny or really huge, depending on the class hierarchy modeled. Is it possible to restrict the size of the graphic to the html page-size, no matter how big the resulting .png file actually is? Have you looked at the section in the manual on exporting to HTML, specifically the section entitled Images in HTML export? You can specify whatever HTML attributes you want for the image. By the way, I am not sure what you mean by html page-size as HTML has no concept of pages, per se. Maybe you mean the width? HTH, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917
Re: [O] suppress new(ish) behaviour of math in export to latex-beamer
Benjamin Slade sl...@jnanam.net writes: I have some orgmode beamer files from late 2011 that I want to edit and re-use. However, orgmode's behaviour seems to have changed since then with respect to handling of math commands like \neg, \phi, \psi etc. Now it seems to automatically put in surrounding $...$s, which mucks up the output of my older files. Is there a way of suppressing this new behaviour? Could you maybe give a small example to illustrate what you mean? -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917
Re: [O] org-tree-slide: some small changes
Dear Eric, Thank you for your kind suggestions. 1. Title without []s. Yes! That's right. I'll change it. 2. Custom header. Yes! Face control is the next feature that I currently plan. I'm trying to resize font so that I can use org-tree-slide in a high resolution display like HD(1080p). We can already use C-x C-- or C-x C-= by face-remap.el, but this is not sufficient for Japanese users. 3. Skip trees with comments (org-tree-slide-skip-comments). Good idea! I'll implement this feature soon. 4. Custom faces for headings. Oh… This is not my expected behavior. When you exit the org-tree-slide mode, the default configurations would be restored by org-tree-slide-heading-level-2-init or -3-init. However, as you know, those changes will apply to all org-mode buffers at the same time! Is my understanding correct? 5. The default keybindings to moving slides. I agree, but I cannot change this because my english keyboard does not have the Page Up and Page Down key :-( I usually change the keybindings to f9 and f10 by the following setting. #+begin_src emacs-lisp (define-key org-tree-slide-mode-map (kbd f9) 'org-tree-slide-move-previous-tree) (define-key org-tree-slide-mode-map (kbd f10) 'org-tree-slide-move-next-tree) (define-key org-tree-slide-mode-map (kbd left) 'backward-char) (define-key org-tree-slide-mode-map (kbd right) 'forward-char) #+end_src Best, Takaaki On 2013/02/03, at 12:04, Eric S Fraga e.fr...@ucl.ac.uk wrote: Takaaki, a couple of further suggestions: - you change the faces org-level-2 and org-level-3. This makes sense. However, you use custom-set-faces which overwrites the user's own customisations permanently! I think this is bad practice (I couldn't figure out why my faces had changed in other documents...). Can you not simply change the face for that buffer ephemerally for the slide show? I don't know enough emacs lisp to suggest how this would be done, mind you... - it would be better, in my opinion, to use prior and next instead of left and right for moving from slide to slide. I think this is more intuitive but, in any case, my main reason for wanting this is that I am using tree-slide-mode for an interactive session and I am editing the slides as the meeting progresses. I naturally wish to use the arrow keys to move the cursor when editing whereas I am unlikely to use the paging keys. Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917 -- Takaaki ISHIKAWA tak...@ieee.org GITI, Waseda University ( ' -')b http://about.me/takaxp
Re: [O] suppress new(ish) behaviour of math in export to latex-beamer
Hmm... now that I look more closely at it, perhaps it's something that is changed on the LaTeX side rather than the org side. On Sat, 02 Feb 2013, Eric S Fraga e.fr...@ucl.ac.uk wrote: Benjamin Slade sl...@jnanam.net writes: I have some orgmode beamer files from late 2011 that I want to edit and re-use. However, orgmode's behaviour seems to have changed since then with respect to handling of math commands like \neg, \phi, \psi etc. Now it seems to automatically put in surrounding $...$s, which mucks up the output of my older files. Is there a way of suppressing this new behaviour? Could you maybe give a small example to illustrate what you mean? -- ~~ pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19 {sent by mu4e on Emacs running under GNU/Linux}