Re: [Orgmode] Strange behavior with org-remember and clock
Hi Carl, I cannot reproduce this behavior Best wishes - Carsten On Feb 16, 2010, at 6:31 PM, Carl Bolduc wrote: Hi, I am trying to build a remember template to log a journal of my activities, and some entries involve clocks. Here is my template: (Journal ?j * %U %?\n j:/org/journal.org date-tree) When I call this template and start a clock, I get a weird behavior when exiting remember. First, I get this (expected): The clock is running in this buffer. Clock out now? (y or n) I type n Then, I get this: Clock-out in buffer *Remember* before killing it (y or n) I type n once again. Now, if I visit my journal and try to clock out of this item, I get this: No active clock Now, if I modify my template to include any text after the %?, clocking works as expected: (Journal ?j * %U %?\ntest j:/org/journal.org date-tree) When I close remember, I get this: The clock is running in this buffer. Clock out now? (y or n) I type n, don't get any more message, visit the journal file, and I can clock out. I am clueless... and I would prefer not having dummy text in my journal entries just to make clocking work correctly. Thanks, Carl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] automatically kill html buffer after org-export
Hi Livin, if you update from git, you can now do (setq org-export-kill-product-buffer-when-displayed t) to get this effect. HTH - Carsten On Feb 12, 2010, at 7:00 AM, Livin Stephen Sharma wrote: I find the html [and probably tex, etc] buffers that org-export generates during export as html and open file in browser to get in the way quite a lot - i end up having to frequently kill them to reduce keystrokes required when selecting the buffer I want to switch to. If a user *wants* the buffer to linger post-export, perhaps a C-u prefix could enable that? [just a suggestion!] This would be a great convenience to have. Especially since I prefer to use iswitch-buffer (instead of 'org- iswitchb). [ have only started using org-mode in everyday-work very recently ] Livin Stephen Sharma ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Update ispell-dictionary to text language
Hi everyone, in the end I decided to not do this change. I am uncomfortable to link these different areas in Emacs in a way that is fixed. Maybe you want to post your code in org-hacks.php on Worg ? - Carsten On Jan 11, 2010, at 12:27 PM, Sébastien Vauban wrote: Hello, Here my proposal (and my very first self-written chunk of ELisp code) for switching to the right language for ispell, upon reading the contents of the meta-tag `LANGUAGE'. --8---cut here---start-8--- (defun org-switch-language () Switch language for Org file, if a `#+LANGUAGE:' meta-tag is on top 14 lines. (save-excursion (goto-line 15) (if (re-search-backward #\\+LANGUAGE: +\\([A-Za-z_]*\\) 1 t) (ispell-change-dictionary (match-string 1) --8---cut here---end---8--- That should be hooked, such in: --8---cut here---start-8--- (add-hook 'org-mode-hook (lambda () ;; file modification date (set (make-local-variable 'time-stamp-format) %:y-%02m- %02d) (set (make-local-variable 'time-stamp-start) ^#\\ +DATE: +) (set (make-local-variable 'time-stamp-end) $) ;; guess language (org-switch-language) ;; flyspell mode to spell check everywhere (flyspell-mode 1))) --8---cut here---end---8--- Maybe that could become a default in Org. I think that makes sense. Comments are (more than) welcome... Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Slow speed of week and month views
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: I am afraid I don't see any major speed improvements that could make this happen. Yes, one could parse all the files once, build a table in memory and get the entries for each day from there - but that comes down to a complete rewrite of the parser, maybe even to switching to an internal representation model for Org-mode. I don't see that happening, I am afraid. Thanks so much for taking the time to look at this. The combination of diary and org-mode works fine for now, so I believe I will stick with that. If I use org-mode for appointments, I imagine I could reserve a single diary.org file for appointments and limit weekly and monthly calendar custom commands to that file. Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-publish-validate-link
Hi Carsten, Thanks for this. I add a new file that is the target for the link. It is copied to its correct publication place. The exported html file contains a new description of the file link, but with no active link. I force publishing using C-u prefix and the link is still not active. I shut down emacs, re-start, force publishing, and the link is now active. All the best, Tom On Feb 20, 2010, at 9:34 PM, Carsten Dominik wrote: Hi THomas, org-publish-validate-link validate links to files that show up in the list `org-publish-files-alist'. THis list contains all file names that are considered part of a project and should be published. It is updated each time you issue a command to publish a project. Are you sure that you are republishing the document that should contain the link? If that document has not changed, it will not republish it, so the ink will also not be fixed. You can force republishing by calling your publish command with a C- u prefix. Have you tried that? - Carsten On Feb 17, 2010, at 9:50 PM, Thomas S. Dye wrote: Aloha all, org-publish-validate-link rejects a valid link to a file when the file is created during an editing session. With ./test.org and ./support/test.pdf present at the start of a session, the first link in test.org (below) is validated. When ./ support/test-copy.pdf is added during the session, the second link is not validated and only the description of the link is output to test.html. - test.org * A test - link to [[file:support/test.pdf][test.pdf]] - link to [[file:support/test-copy.pdf][test-copy.pdf]] - If org-publish-validate-link is not used, then the link is placed correctly in the html output. I have read the org-mode manual, briefly searched the list archive, and read the function's documentation string, but didn't find anything that might alert me to this behavior. My expectation was that org-publish-validate-link would understand the org-mode publishing process and would validate links in the production environment that were correctly established in the publication location. I'm using Org-mode version 6.34trans (release_6.34c.89.g0c39) on emacs 23. All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git Store Link Broken?
Carsten David, I'm dumbfounded at good you guys are. Thanks to both of you for this fix and all the work on org-mode. Regards, Dan Doherty Carsten Dominik wrote: Applied, thanks. - Carsten On Feb 20, 2010, at 7:48 PM, David Maus wrote: Hi Daniel, Daniel E. Doherty wrote: Hello all, I noticed when I upgraded org from 6.21 (which comes with Emacs) to the git version (6.34trans), org-store-link stopped working. When I try to store a link from dired, I get a stringp nil error, with this debugger output: It's a small glitch in `org-git-store-link': Orgmode calls all registered store-link functions to see if one declares itself of being responsible for the particular file or buffer. `org-git-store-link' tries to make an assumption on whether the file that is currently visited is inside a git repository w/o taking into consideration that there are buffers that are not associated with a file -- like a dired buffer. Attached patch fixes this. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. maus.da...@gmail.com 0001-Avoid-trying-to-run-org-git-store-link-on-buffers-th.patch___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org blogging, where to find labels in org file?
I'm adapting g-client to blog post directly from org-mode. It's an emacs package written by T V Raman that talks to Google API via Atom. I'm just using it to post a blog. I'm basically done[fn:1], but now I want it to post labels (aka tags). Ie, find labels in an org file and use them to label a blog post. My question is, in an org file that will become a blog post, is there an accepted or correct place for the labels to live? Like: * The tags of the top item? (But then it can collide with meaningful tags) * A certain property of the top item? * An #+XXX: line? What information does other org-based blogging software use as labels? Thanks, Tom Breton (Tehom) *** Footnotes [fn:1] My change consists of * a patch at http://www.panix.com/~tehom/my-code/gblogger.el.diff * It sent it to T V Raman, so maybe it will be in the next g-client. * a new file at http://www.panix.com/~tehom/my-code/org2blogger.el * it is neither part of org nor gclient but uses both. It requires the patch. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] BUG: org-insert-link doesn't use ido completion when org-completion-use-ido is t
I'd really like to be able to use ido to insert links, but even though I have org-completion-use-ido set to t this does not occur. This seems to be because of org-insert-link in org.el, line8061: (let ((org-completion-use-ido nil) However, just removing this causes org-insert-link to not work. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
Hi, given the following test document, calling (org-attach-dir) when in b should give '/tmp' ; currently the result is nil, which breaks C-c C-a f. Cheers, Nicolas === * a :PROPERTIES: :ATTACH_DIR: /tmp :END: ** b :PROPERTIES: :ATTACH_DIR_INHERIT: t :END: ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Fwd: Using square brackets in the description part of a link?
Does anyone know if there are escape characters for the description part of a link? I need to use square brackets as this is required for the type of citation I'm doing. Can this be added to orgmode? Thanks Jeff -- thatfat...@fastmail.fm - Original message - From: thatfat...@fastmail.fm To: emacs-orgmode@gnu.org Date: Thu, 18 Feb 2010 20:35:08 +1100 Subject: Using square brackets in the description part of a link? Hello Everyone I would like to use square brackets in the description part of a link, something like: [[http://www.google.com][Google [12345] Link]] to appear as: Google [12345] Link Is this possible? I have looked for escape characters, but have been unable to find any. I'm using org-mode version 6.26d on emacs 23.0.60.1 Thanks Jeff P.S. Thanks to Carsten and everyone else for making just a great piece of software. -- http://www.fastmail.fm - The way an email service should be -- http://www.fastmail.fm - Does exactly what it says on the tin ---BeginMessage--- Hello Everyone I would like to use square brackets in the description part of a link, something like: [[http://www.google.com][Google [12345] Link]] to appear as: Google [12345] Link Is this possible? I have looked for escape characters, but have been unable to find any. I'm using org-mode version 6.26d on emacs 23.0.60.1 Thanks Jeff P.S. Thanks to Carsten and everyone else for making just a great piece of software. -- http://www.fastmail.fm - The way an email service should be ---End Message--- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode