Re: [O] test failure
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: ``make test'' fails on just-updated org: Org-mode version 7.9.2 (release_7.9.2-725-ge55681 @ /home/nick/elisp/org-mode/lisp/) with the following backtrace: , | Test test-org-src/blank-line-block backtrace: Fixed, thanks. I thought Michael Brand's problem described in http://thread.gmane.org/gmane.emacs.orgmode/63523 might have something to do with it, but wrapping a progn around the forms of the test did not make any difference. When I simulate the test by hand, I don't get the error, so this seems to be another of those errors that only surface when the test suite is run in batch mode. Indeed. Actually, the test passed okay when trying to edit from line 2 (#+begin_src) so I changed that, since we really want to test whether those source blocks can be edited at all. BTW, why in the above is the following a prog1, rather than a progn? (prog1 (goto-line 3) (org-edit-special) (insert blah) (org-edit-sr No reason, this is an error. (prog1 ,@body (kill-buffer)) in org-test-with-temp-text-in-file had two problems: (1) (prog1 ,@body ...) is unpredictible (2) (kill-buffer) within (with-temp-buffer ...) does not make sense. I fixed this. Thanks, -- Bastien
Re: [O] ERT: body of org-test-with-temp-text-in-file
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: The doc of org-test-with-temp-text-in-file says (org-test-with-temp-text-in-file TEXT rest BODY) Run body in a temporary file buffer with Org-mode as the active mode. so I thought I can write: #+BEGIN_SRC emacs-lisp (ert-deftest trial/fail () (org-test-with-temp-text-in-file | | (forward-line) (should (org-at-table-p #+END_SRC Now you can. There were no real reason to force using (progn ...) here so I removed that and updated the test suite accordingly. Let me know if this works for you now. Best, -- Bastien
Re: [O] Builds on OSX fails recently
Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: On OSX 10.8.2 with Emacs 24.2.1 when trying make up2 I get Ran 334 tests, 333 results as expected, 1 unexpected (2012-12-14 18:29:01+0100) 5 expected failures 1 unexpected results: FAILED test-org-src/blank-line-block This test should now pass okay. Thanks, -- Bastien
Re: [O] org-store-link and org-link-to-org-use-id issue
Hi John, John Hendy jw.he...@gmail.com writes: (setq org-link-to-org-use-id create-if-interactive) This should be (setq org-link-to-org-use-id 'create-if-interactive) If you copied this from a page, please let the author know! Thanks, -- Bastien
Re: [O] PDF docs from Org-mode: not valid PDF?
Hi Radhakrishnan, thanks for the information. Am I correctly assuming you're one of the authors of the pdfx.sty package? Radhakrishnan CV c...@river-valley.org writes: I think, orgmode can even help to create a small XMP meta file (for Dublin Core metadata compliance) needed by pdfx package while creating standards compliant PDF's which at the moment is created by pdfTeX in an unsatisfactory fashion. I don't know enough about this to be of real help, but if Org and Orgers can help, don't hesitate let us know precisely how! Thanks, -- Bastien
Re: [O] org-export-docbook-xsl-fo-proc-command
trammi milan.tramoslja...@gmx.de writes: How to set it at org-docbook.el for Win32? Sorry, I don't use DocBook nor Win32... maybe someone else can help. -- Bastien
Re: [O] S-TAB cycling opening archive subtrees
Hi Vincent, Vincent Beffara vbeffara...@gmail.com writes: When cycling visibility of a subtree using TAB, subtrees with the :ARCHIVE: tag are not opened, and that is a very good thing. But when I cycle a buffer globally using S-TAB, their contents are shown, which feels like the wrong thing to do ... I cannot reproduce this. With this file and emacs -Q: * Heading 1 Test1 * Heading 2 Test2 * Heading (archived):ARCHIVE: Is it shown S-TAB first folds all headings then it does not reopen the last one. Is there a way I can reproduce this problem? Thanks, -- Bastien
Re: [O] prevent drawer from folding for specific subtree
Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: When I am bookmark-jumping to one of these subtrees and then clock in the clock drawer is always closed - which normally is fine. But in this case I would like to maybe have a property signaling the drawer to open as soon as I do clock the task in. I'd use `org-clock-in-prepare-hook' like this: (add-hook 'org-clock-in-prepare-hook 'show-subtree) HTH, -- Bastien
[O] org-mobile-push vs. symlinks
Sorry for resending as a new thread. I had wanted to reply to my original message on gmane, but gmane's search fails to locate the thread (?). Anyway, I still don't understand the rationale for the current behavior. Does anyone know why org-mobile-push resolves the agenda files' names to symlink targets? Thanks, hjh -- Forwarded message -- Date: Sat, Dec 8, 2012 at 11:42 AM Subject: org-mobile-push vs. symlinks I had a problem with mobile org sync, which I finally tracked down to the handling of symlinks in org-mobile-push. Setup: I want to have a different file name for my school org file depending on fall or spring semester, but I hoped to avoid changing org-agenda-files once a semester. So I symlinked semester-fall.org to ~/Documents/mobileorg/semester.org. It seems that org-mobile-push resolves the symlink to determine the filename to drop into the online share. So MobileOrg knows about semester-fall.org, but there is no file by that name in org-directory. So, when I sync captures back to the computer, org-mobile-pull opens a buffer for semester-fall.org, but it's empty because there is no file by that name under org-directory -- so, of course the parent node can't be found. My question: Is there a technical reason why org-mobile-push must use the symlink target's filename, instead of the filename that actually lives under org-directory? Other parts of the code assume the filename under org-directory. I can think of two possibilities: - One should not put symlinks into org-directory, or at least make sure the symlink's name is the same as the target. If this is an intentional limitation, it should be documented. - Or, the symlink resolution is not actually necessary and it causes problems. In that case, it's a bug that should be fixed. Which is it? :-) hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] org-bullets extension
E Sabof esa...@gmail.com writes: Hello, I am the author of org-bullets extension, which can be found at github.com/sabof/org-bullets I wondered whether you would like to include it in org-contrib, or perhaps integrate the functionality in org-mode? I think what the package does can be achieved by the following snippet or with minor tweaks to it. Is my understanding correct? (font-lock-add-keywords 'org-mode `((\\(?:^\\(?1:\\*+\\)[[:blank:]]\\) (0 (progn (compose-region (match-beginning 1) (match-end 1) (pcase (length (match-string 1)) (1 ?\u2219) (2 ?\u2022) (3 ?\u25c9) (_ ?\u25CB))) nil) Evgeni --
Re: [O] ERT: body of org-test-with-temp-text-in-file
Hi Bastien On Sat, Dec 15, 2012 at 9:19 AM, Bastien b...@altern.org wrote: Now you can. There were no real reason to force using (progn ...) here so I removed that and updated the test suite accordingly. Let me know if this works for you now. Yes, thank you. Michael
Re: [O] org-mobile-push vs. symlinks
James Harkins jamshar...@gmail.com writes: Anyway, I still don't understand the rationale for the current behavior. Does anyone know why org-mobile-push resolves the agenda files' names to symlink targets? The problem is that there is no active maintainer on org-mobile.el right now... by default this is me, but I'm a bit swamped. I'll have a look, but anyone faster than me is welcome! -- Bastien
Re: [O] Distinguish between blank and zero in org-mode spreadsheet
Hi all On Tue, Dec 11, 2012 at 4:14 PM, Michael Brand michael.ch.br...@gmail.com wrote: I would also like if some interest could be spent in this (see subject) area. Ok, so I thought to try myself this time. Now it looks as I am on a good way with a solution. With quite some ERT for this and some more of basic formulas. Michael
Re: [O] Distinguish between blank and zero in org-mode spreadsheet
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Ok, so I thought to try myself this time. Now it looks as I am on a good way with a solution. With quite some ERT for this and some more of basic formulas. Thanks for working on this, if there is a clean solution, I'm willing to add it for Org 8.0. Best, -- Bastien
Re: [O] Contexts?
* Nathan Neff nathan.n...@gmail.com wrote: Hi, Hi! I'd like to know if there's a way to tell Emacs or org-mode to be in a certain context, where a certain directory is home depending on what context I'm working in currently. I do think that you are looking for «Attachments»[1]. 1. http://orgmode.org/org.html#Attachments -- Karl Voit
Re: [O] Recent changes to the new exporter?
Nicolas Goaziou writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I compiled the new exporter recently (to test the asynchronous export), but since then a file I was working on can no longer be exported using the koma exporter. I'm getting the following error: byte-code: Before first headline at position 4046 in buffer 2012-12-12-Cwrk-Recommandation-Qualification_Michaël_Lienhardt.org I forgot to add support for asynchronous export in org-koma-letter.el. This should be fixed. Could you pull and try again? Working great, thanks a bunch. Alan
Re: [O] prevent drawer from folding for specific subtree
Am 15.12.2012 09:41, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: When I am bookmark-jumping to one of these subtrees and then clock in the clock drawer is always closed - which normally is fine. But in this case I would like to maybe have a property signaling the drawer to open as soon as I do clock the task in. I'd use `org-clock-in-prepare-hook' like this: (add-hook 'org-clock-in-prepare-hook 'show-subtree) HTH, Hi Bastien, works perfectly: (defun rst/show-subtree-for-todos () Show complete subtree, especially the clockings for todos with certain tags (save-excursion (when (member ONGOING (org-get-tags-at)) (show-subtree (add-hook 'org-clock-in-prepare-hook 'show-subtree) Thanks a lot! Rainer
[O] Checking broken links
Aloha all, I'm wondering if anyone has developed a routine to check for broken links in Org, possibly following on the recommendations in this thread: http://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00422.html A modest amount of googling and search-apropos didn't net me any results. All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
[O] Emacs 22 compatibility
I have finally managed to compile the latest Emacs 22.3 to test Org with. Things aren't looking good, Org already uses lots of functions that aren't present in that version and it's not just the new exporter or Babel. The time might have come to officially de-support Emacs 22. Thoughts? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
[O] org-babel-tangle issue
I've been using org-babel for a while to produce clojure code from an org file. Following a somewhat involuntary upgrade of most of my system I'm now running git HEAD as of 13 Dec (hash ends 4f7cf). org-babel-tangle on my org file only spits out the first code block and reports an error: Opening output file: permission denied, /Users/grc/myfileorg Have I got something wrong, is this a known bug, or ... -- Giles
Re: [O] org-babel-tangle issue
gi...@jujutsu.org.uk writes: I've been using org-babel for a while to produce clojure code from an org file. Following a somewhat involuntary upgrade of most of my system I'm now running git HEAD as of 13 Dec (hash ends 4f7cf). org-babel-tangle on my org file only spits out the first code block and reports an error: Opening output file: permission denied, /Users/grc/myfileorg Have I got something wrong, is this a known bug, or ... This is caused by a very recent commit of mine. I've just reverted the commit, so the problem should be resolved in the current git head. Thanks for the report! -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] Emacs 22 compatibility
Achim Gratz strom...@nexgo.de wrote: I have finally managed to compile the latest Emacs 22.3 to test Org with. Things aren't looking good, Org already uses lots of functions that aren't present in that version and it's not just the new exporter or Babel. The time might have come to officially de-support Emacs 22. Thoughts? Maybe a show of hands is needed: How many people are using org with emacs-22? What version of org are they using? Why are they still using emacs-22? The answers would at least give us an idea of the magnitude of the problem. But declaring emacs-22 unsupported as of some (past) version of org seems eminently reasonable to me. Adding a recommended course of action to the FAQ might be the only thing needed (if anything is needed at all). Nick
[O] Fwd: org-bullets extension
* Currently the bullets get painted with background color on occasion. * Overlays are easy to turn on/off. Same might be true for font-lock, I just haven't figured out a way. * Org-bullets conflict with overlay-heavy modes (ex. org-columns). This probably won't be the case with font-lock. * An important point is that in my version every character in text translates to a single character on display. Which makes it easier to work with headlines. In any case, I'm open to the possibility that this approach might lead to a better/shorter solution. On Sat, Dec 15, 2012 at 9:10 AM, Jambunathan K kjambunat...@gmail.comwrote: I think what the package does can be achieved by the following snippet or with minor tweaks to it. Is my understanding correct? (font-lock-add-keywords 'org-mode `((\\(?:^\\(?1:\\*+\\)[[:blank:]]\\) (0 (progn (compose-region (match-beginning 1) (match-end 1) (pcase (length (match-string 1)) (1 ?\u2219) (2 ?\u2022) (3 ?\u25c9) (_ ?\u25CB))) nil)
Re: [O] Emacs 22 compatibility
Nick Dokos nicholas.do...@hp.com writes: Why are they still using emacs-22? University students and employees. Sometimes back I was investigating hosting for personal files. The site runs a version of FreeBSD version and had Emacs 22 on their servers. When I requested that they upgrade their Emacs to 23 or 24 they refused citing some reason why they /had/ to downgrade. It has something to do with their site architecture not supporting /dev/tty in their ssh environment. Apparently some changes in Emacs 23 - may be Emacs server (or is it the emacsclient?) - that relies on use of /dev/tty. In short, external constraints. Also XEmacs seem to be lagging behind severely. See this recent thread: http://list-archive.xemacs.org/pipermail/xemacs-beta/2012-September/023201.html I am wondering what makes people continue using their XEmacses. --
[O] What I use
I use emacs 24.2 and newer, so I wouldn't miss removing emacs 22 functionality
Re: [O] inline TODO?
Rainer M Krug r.m.k...@gmail.com writes: On 14/12/12 15:53, John Kitchin wrote: Is there a way to have a TODO item in an org-file that is not in a headline and that shows up in the agenda? Hi Look for inline tasks: http://stackoverflow.com/questions/11718401/how-to-use-todo-tags-in-org-mode-without-defining- headlines Does this help? Never used them, but always wanted to... This is great, thanks for the info
[O] Fix to property inheritance
This is my first major org-mode contribution, and I'm new to git, so if there is something I haven't got quite right in terms of how to contribute please advise. org-entry-get with inherit set didn't work for sub-heading additions or overrides to properties found in parent headings as of Org-mode version 7.9.2 (release_7.9.2-738-g442b2a-git @ org-loaddefs.el can not be found!). An example test org-mode file is attached (modified from the testing/examples directory and also updated in my git repository). My public git repository info is: git clone g...@bitbucket.org: mrvwman/wishon-org-mode.git branch name: fix-property-inheritance I've submitted my request to ass...@gnu.org, but have not yet received a reply. Best, ~Bill my-property-inheritance.org Description: Binary data
Re: [O] Emacs 22 compatibility
Jambunathan K writes: Also XEmacs seem to be lagging behind severely. See this recent thread: http://list-archive.xemacs.org/pipermail/xemacs-beta/2012-September/023201.html I wouldn't mind looking at some of these, but XEmacs does not have ert or any useable replacement for ert that I know of. The next road-bump for XEmacs will be the move from cl to cl-lib and lexicals, so I fear it may be on the same trajectory as Emacs 22. I am wondering what makes people continue using their XEmacses. Let's not go there… I have been using XEmacs for some years (way in the past) and then switched back to GNU Emacs, so I know first hand how hard it is to abandon all these little customizations collected. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada