Re: [O] Tangling is broken in git master
Bernt Hansen writes: Tangling doesn't work for me in git master anymore. Git bisect identifies the following commit as introducing the problem [...] Debugger entered--Lisp error: (void-function letrec) (letrec ((intersect ...)) (funcall intersect (case context ... ... ...) (split-string ...))) From the NEWS file in Emacs 24: --8---cut here---start-8--- * Lisp changes in Emacs 24.1 [...] *** New macro `letrec' to define recursive local functions. --8---cut here---end---8--- Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
On Aug 12, 2012 12:29 PM, Nick Dokos nicholas.do...@hp.com wrote: But from what you show below, you are not using cadaver (or anything webdav-related for that matter) to do the copying. You are using scp: *that*'s what you've got to get working. When configuring a new service, it's useful to conduct a minimal test to ensure that nothing is wrong with the service. That was the point of using cadaver. For my immediate needs, I think I can do without scp, since org-mode and Apache are on the same machine. The broader point is about the documentation. It says do it this way but this way doesn't work. org-mobile-directory: /scpc:**user**@localhost:80/webdav/ This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? 1. How do I use scp from the command line? 2. This destination is modeled on the docs, so if it's wrong, then so is the doc. Where does org-mobile-directory point to if not the physical location of the webdav share? The tramp stuff doesn't know or care about webdav at all: it is just the mechanism that copies files from your local machine to some other machine, so it needs to know exactly where to copy it to. Well, it almost looks to me like org-mobile-directory is asked to do two things at once: specify the scp syntax *and* hold a path that can be resolved on the local file system. This is the source of my confusion. At best, the docs are unclear. No matter for me. I'll just set org-mobile-directory to the physical, local path that is remotely accessible by webdav. But the doc was rather misleading, suggesting that some editorial attention would be warranted. hjh
Re: [O] [PATCH 07/10] org-taskjuggler: make project umbrella task optional
Christian == Christian Egli christian.e...@sbs.ch writes: Yann Hodique yann.hodi...@gmail.com writes: +(defcustom org-export-taskjuggler-keep-project-as-task t + Whether to keep the project headline as an umbrella task for + all declared tasks. Setting this to nil will allow maintaining + completely separated task buckets, while still sharing the same + resources pool. I'm trying to understand the use case here. If I understand correctly the container headline will no longer unconditionally generate a root task. So you could have multiple root tasks? Does this work in both versions of tj? Yes, basically the use case is the following. From an org code like: --8---cut here---start-8--- * Main :taskjuggler_project: ** Task1 ** Task2 --8---cut here---end---8--- the default behavior is to generate something like --8---cut here---start-8--- project main Main (} task main Main { task task1 Task1 {} task task2 Task2 {} } --8---cut here---end---8--- leading to a report like --8---cut here---start-8--- 1. Main 1.1 Task1 1.2 Taks2 --8---cut here---end---8--- while the new (non-default) one would generate --8---cut here---start-8--- project main Main {} task task1 Task1 {} task task2 Task2 {} --8---cut here---end---8--- leading to a report like --8---cut here---start-8--- 1 Task1 2 Task2 --8---cut here---end---8--- I must confess this is mostly a way to avoid questions from people looking at the report, asking why my task numbers are all 1.x :) AFAICT it seems to work fine with either tj2 or tj3. I'm using tj3 only myself, but the UI of tj2 doesn't complain at all about those multiple root tasks. Thanks, Yann -- When faced with necessary actions, there are always choices. So long as the job gets done. -- COUNT HASIMIR FENRING, Dispatches from Arrakis
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
Hi James, James Harkins jamshar...@gmail.com writes: But the doc was rather misleading, suggesting that some editorial attention would be warranted. Can you send a patch to fix the docs? Thanks, -- Bastien
Re: [O] Tangling is broken in git master
Hi Bernt, Bernt Hansen be...@norang.ca writes: Tangling doesn't work for me in git master anymore. Git bisect identifies the following commit as introducing the problem Please try the attached patch and let us know if it works. Thanks, From 45c517919756b7af78b720e454e8ea8d969f6a43 Mon Sep 17 00:00:00 2001 From: Bastien Guerry b...@altern.org Date: Sun, 12 Aug 2012 10:41:28 +0200 Subject: [PATCH] org-compat.el: New alias 'org-letrec for 'labels * org-compat.el: New alias 'org-letrec for 'labels. * org-bibtex.el (org-compat): Require. (org-bibtex-headline): Use the `org-letrec' alias. * ob.el (org-compat): Require. (org-babel-noweb-p): Use the `org-letrec' alias. --- lisp/ob.el | 12 +++- lisp/org-bibtex.el | 42 ++ lisp/org-compat.el |2 ++ 3 files changed, 31 insertions(+), 25 deletions(-) diff --git a/lisp/ob.el b/lisp/ob.el index a6d1359..79f12f7 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -27,6 +27,7 @@ (require 'cl)) (require 'ob-eval) (require 'org-macs) +(require 'org-compat) (defconst org-babel-exeext (if (memq system-type '(windows-nt cygwin)) @@ -2223,11 +2224,12 @@ header argument from buffer or subtree wide properties.) (defun org-babel-noweb-p (params context) Check if PARAMS require expansion in CONTEXT. CONTEXT may be one of :tangle, :export or :eval. - (letrec ((intersect (lambda (as bs) - (when as - (if (member (car as) bs) - (car as) - (funcall intersect (cdr as) bs)) + (org-letrec + ((intersect (lambda (as bs) + (when as + (if (member (car as) bs) + (car as) + (funcall intersect (cdr as) bs)) (funcall intersect (case context (:tangle '(yes tangle no-export strip-export)) (:eval '(yes no-export strip-export eval)) diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index 43b3c41..f857459 100644 --- a/lisp/org-bibtex.el +++ b/lisp/org-bibtex.el @@ -111,6 +111,7 @@ (require 'bibtex) (eval-when-compile (require 'cl)) +(require 'org-compat) (defvar org-bibtex-description nil) ; dynamically scoped from org.el (defvar org-id-locations) @@ -309,26 +310,27 @@ This variable is relevant only if `org-bibtex-export-tags-as-keywords` is t. (defun org-bibtex-headline () Return a bibtex entry of the given headline as a string. - (letrec ((val (lambda (key lst) (cdr (assoc key lst - (to (lambda (string) (intern (concat : string - (from (lambda (key) (substring (symbol-name key) 1))) - (flatten (lambda (rest lsts) - (apply #'append (mapcar - (lambda (e) - (if (listp e) (apply flatten e) (list e))) - lsts - (notes (buffer-string)) - (id (org-bibtex-get org-bibtex-key-property)) - (type (org-bibtex-get org-bibtex-type-property-name)) - (tags (when org-bibtex-tags-are-keywords - (delq nil - (mapcar - (lambda (tag) - (unless (member tag - (append org-bibtex-tags - org-bibtex-no-export-tags)) - tag)) - (org-get-local-tags-at)) + (org-letrec + ((val (lambda (key lst) (cdr (assoc key lst + (to (lambda (string) (intern (concat : string + (from (lambda (key) (substring (symbol-name key) 1))) + (flatten (lambda (rest lsts) + (apply #'append (mapcar + (lambda (e) + (if (listp e) (apply flatten e) (list e))) + lsts + (notes (buffer-string)) + (id (org-bibtex-get org-bibtex-key-property)) + (type (org-bibtex-get org-bibtex-type-property-name)) + (tags (when org-bibtex-tags-are-keywords + (delq nil + (mapcar + (lambda (tag) + (unless (member tag + (append org-bibtex-tags + org-bibtex-no-export-tags)) + tag)) + (org-get-local-tags-at)) (when type (let ((entry (format @%s{%s,\n%s\n}\n type id diff --git a/lisp/org-compat.el b/lisp/org-compat.el index b049ecc..5f410bd 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -110,6 +110,8 @@ any other entries, and any resulting duplicates will be removed entirely. t)) t))) +(defalias 'org-letrec (if (= emacs-major-version 24) 'letrec 'labels) + Emacs/XEmacs compatibility -- 1.7.10.2 -- Bastien
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
On Aug 12, 2012 4:42 PM, Bastien b...@gnu.org wrote: But the doc was rather misleading, suggesting that some editorial attention would be warranted. Can you send a patch to fix the docs? I wouldn't mind doing so, but I haven't the foggiest how it's supposed to work. hjh
Re: [O] Latest version of Org-mode 7.8.3?
On Wed, Aug 08, 2012 at 11:46:32PM +0530, Jambunathan K wrote: 'Mash mash...@toshine.net writes: M-x org-version Org-mode version 6.33x (release_7.8.11.409.ga3778) Am I missing something with the installation or repository? You are on 409 and I am on 414 i.e., Org.7.8.11-414.. Rest assured, you have the latest Org. Why does it mention both 6.33 and 7.8.11? Is the installation mixed with the bundled version? If that is the case, it needs to be fixed or the OP will have loads of problems in the future. -- Suvayu Open source is the future. It sets us free.
[O] refresh image?
Hi list. I there a faster way to refresh inline image than C-c C-x C-v C-c C-x C-v? Thanks. Petro
Re: [O] Latest version of Org-mode 7.8.3?
Hi Suvayu, Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Wed, Aug 08, 2012 at 11:46:32PM +0530, Jambunathan K wrote: 'Mash mash...@toshine.net writes: M-x org-version Org-mode version 6.33x (release_7.8.11.409.ga3778) Am I missing something with the installation or repository? You are on 409 and I am on 414 i.e., Org.7.8.11-414.. Rest assured, you have the latest Org. Why does it mention both 6.33 and 7.8.11? 6.33 is the version of the org.el in Emacs. 7.8.11 is the version of the git distribution of Org, also available on the OP's computer. My guess is that OP's ~/.emacs.el loads Org *before* it adds the directory with the git distribution to the load-path. So org-version is first set to 6.33, but M-x org-version RET reports the version from the git repo. Is the installation mixed with the bundled version? Certainly. If that is the case, it needs to be fixed or the OP will have loads of problems in the future. Indeed... thanks for bringing this up again! -- Bastien
Re: [O] refresh image?
Hi Petro, Petro x.pi...@gmail.com writes: I there a faster way to refresh inline image than C-c C-x C-v C-c C-x C-v? Do you mean a shorter keystroke or a faster process? -- Bastien
Re: [O] Add the capture feature %(sexp) to org-feed
Hi Bastien On Sat, Aug 11, 2012 at 11:59 PM, Bastien b...@gnu.org wrote: Unless I miss something obvious, the current version returns exactly the same thing than the one you propose -- can you double-check or let me know what is wrong with the current solution? Your solution is wrong when there is a “%” not immediately followed by “(”: On Sat, Aug 11, 2012 at 8:11 PM, Michael Brand michael.ch.br...@gmail.com wrote: On Sat, Aug 11, 2012 at 6:55 PM, Bastien b...@gnu.org wrote: Michael Brand michael.ch.br...@gmail.com writes: [...] Also a small change against your latest patch to not stop at “%” without following “(” and possibly miss a “%(” before. A realistic example, with point somewhere between “%” and the last “)”: “- %(capitalize 5 % less (see item \3)\ below)\n)\n” This can happen with a feed template containing - %(capitalize \%description\)\n and %description expanding to “5 % less (see item 3) below)\n” All problems of the example are solved: - escaping of the quotes that surround the “3)” in string - seemingly unbalanced parenthesis in string coming from “3)” - newline within %(...) - “%” not immediately followed by “(” Michael
Re: [O] Latest version of Org-mode 7.8.3?
Hi Bastien, On Sun, Aug 12, 2012 at 11:16:03AM +0200, Bastien wrote: Hi Suvayu, Is the installation mixed with the bundled version? Certainly. If that is the case, it needs to be fixed or the OP will have loads of problems in the future. Indeed... thanks for bringing this up again! I added this entry to the FAQ: http://orgmode.org/worg/org-faq.html#mixed-install -- Bastien :) -- Suvayu Open source is the future. It sets us free.
Re: [O] Add the capture feature %(sexp) to org-feed
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Your solution is wrong when there is a “%” not immediately followed by “(”: Argh, right. I applied your patch, thanks again for the detailed examples. -- Bastien
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
At Sun, 12 Aug 2012 00:29:20 -0400, Nick Dokos wrote: This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? OK, I played a little more with scp and got closer -- I can copy a file from the command line: scp /home/[myuser]/tmp/afile.txt [user]@localhost:/var/www/mobileorg/web And [user]@localhost:/var/www/mobileorg/web for org-mobile-directory avoids the directory check error, but then: org-mobile-create-sumo-agenda: Cannot write to file /scpc:user@localhost:/var/www/mobileorg/web/agendas.org Same error if I change org-mobile-directory to be /scp:blahblah instead of /scpc. So: okay at the commandline, not from Emacs. As mentioned, it's a bit on the academic side because I can just use a local path. But, if I'm going to update the documentation, I'd like to get it to run successfully through scp once. Thanks. 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] MobileOrg, webdav, correct use of org-mobile-directory?
James Harkins jamshar...@gmail.com wrote: At Sun, 12 Aug 2012 00:29:20 -0400, Nick Dokos wrote: This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? OK, I played a little more with scp and got closer -- I can copy a file from the command line: scp /home/[myuser]/tmp/afile.txt [user]@localhost:/var/www/mobileorg/web There are two possibilities here: o /var/www/mobileorg/web is a directory and you are copying the file into that directory under the name afile.txt. o /var/www/mobileorg is a directory, /var/www/mobileorg/web either does not exist or is a file in that directory and you are copying the file into the directory /var/www/mobileorg under the name web. The directory check *should* catch this case, but you might want to double check that the remote directory localhost:/var/www/mobileorg/web does indeed exist and is writable by [myuser]. And [user]@localhost:/var/www/mobileorg/web for org-mobile-directory avoids the directory check error, but then: org-mobile-create-sumo-agenda: Cannot write to file /scpc:user@localhost:/var/www/mobileorg/web/agendas.org Also check the permissions on /var/www/mobileorg/web: in particular, you might want to execute the following check (the check that org-mobile-create-sumo-agenda does) in your *scratch* buffer: (file-writable-p /scpc:nick@pierrot:/var/www/mobileorg/web/agendas.org) Just cut and paste it into your *scratch* buffer, put the cursor after the closing paren and press C-j. If it says nil, something is wrong. One more thing: is tramp enabled in your emacs? Just try to open the remote directory with C-x C-f /scpc:[user]@localhost:/var/www/mobileorg/web RET I'm not sure that tramp needs any special attention (I cannot find anything in my setup), but it doesn't hurt to check. Nick Same error if I change org-mobile-directory to be /scp:blahblah instead of /scpc. So: okay at the commandline, not from Emacs. As mentioned, it's a bit on the academic side because I can just use a local path. But, if I'm going to update the documentation, I'd like to get it to run successfully through scp once. Thanks. 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] [GSoC] Org-sync v0.2
Hello Aurélien, I just tried org-sync to fetch the issues from a project in github, this looks really useful! Not a big deal but I see that you have to set os-github-auth and call M-x os-import, os etc.. to use org-sync. Since the library is named org-sync, wouldn't it be better to base on the library name for these settings? e.g. `org-sync-github-auth`, `org-sync-import`... Cheers! - Waldemar On Fri, Aug 10, 2012 at 12:07 AM, Aurélien Aptel aurelien.ap...@gmail.comwrote: Hi all, I'm releasing a new version of Org-sync, the tool to sync Org documents with external bugtrackers/TODO-list system. There are functional (although not complete) backends for: - Github - Bitbucket - Redmine And I'm currently working on Remember the Milk. I've updated the installation procedure in the tutorial. It should be easier now if it was bothering you before. I've also made a short (~4mn) demo video covering the Bitbucket backend and conflicts. On a side note, making this video was a painful experience and I now realize the lack of good stable and free(dom) video editing software on Linux. Demo: https://www.youtube.com/watch?v=kbj6-j0teCY Tutorial: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/ Webpage: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
James Harkins jamshar...@gmail.com wrote: On Aug 12, 2012 12:29 PM, Nick Dokos nicholas.do...@hp.com wrote: But from what you show below, you are not using cadaver (or anything webdav-related for that matter) to do the copying. You are using scp: *that*'s what you've got to get working. When configuring a new service, it's useful to conduct a minimal test to ensure that nothing is wrong with the service. That was the point of using cadaver. I agree completely, but the cadaver test does not have anything to do with copying files to the remote directory, only with the syncing part from the remote directory to your phone (assuming I've got things right: I don't have a smart phone, I don't use mobileOrg and I've not read the docs in detail). In this case, the proper minimal test is scp from the command line, not cadaver. OTOH, the cadaver test *is* useful at the other end of the conversation: if syncing to the phone does not work, then debugging webdav problems using cadaver is certainly indicated. For my immediate needs, I think I can do without scp, since org-mode and Apache are on the same machine. The broader point is about the documentation. It says do it this way but this way doesn't work. I read the page on worg and I agree it's unclear: it talks about using webdav and then does not use webdav at all, just scp. But I don't agree that it does not work: I've done a minimal setup with scp and tramp and org-mobile-push/pull worked fine for me. I suspect that you are still having some setup problems as indicated in my other email. org-mobile-directory: /scpc:**user**@localhost:80/webdav/ This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? 1. How do I use scp from the command line? Your other email shows that you figured this out. 2. This destination is modeled on the docs, so if it's wrong, then so is the doc. Not really: the destination in the doc does not specify the port (80). That's the HTTP port, so scp won't work with that - that's what I picked up when I said it looked wrong. It needs the sshd port (22 by default and implied if you leave it out of the scp path in tramp). Where does org-mobile-directory point to if not the physical location of the webdav share? The tramp stuff doesn't know or care about webdav at all: it is just the mechanism that copies files from your local machine to some other machine, so it needs to know exactly where to copy it to. Well, it almost looks to me like org-mobile-directory is asked to do two things at once: specify the scp syntax *and* hold a path that can be resolved on the local file system. This is the source of my confusion. You mean the remote file system I think, but that's true: it does specify the protocol (scp) and the path. I think your confusion is that you also wanted it to be the webdav path and it just cannot be that. At best, the docs are unclear. Yup. No matter for me. I'll just set org-mobile-directory to the physical, local path that is remotely accessible by webdav. But the doc was rather misleading, suggesting that some editorial attention would be warranted. Amen to that. Nick hjh
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
Nick Dokos nicholas.do...@hp.com wrote: Also check the permissions on /var/www/mobileorg/web: in particular, you might want to execute the following check (the check that org-mobile-create-sumo-agenda does) in your *scratch* buffer: (file-writable-p /scpc:nick@pierrot:/var/www/mobileorg/web/agendas.org) Just cut and paste it into your *scratch* buffer, put the cursor after the closing paren and press C-j. If it says nil, something is wrong. ... uhh, make sure to edit the line appropriately: nick@pierrot will not work for you :-) Nick
Re: [O] Org Build System (aka Makefile)
Bastien writes: Please make the default make procedure display all warnings that the user would see by compiling Emacs itself. That isn't even possible, you'd need to use Emacs' build system (which, btw gives inconsistent results for repeated compiles). I know we disagree about this: you think that compiler warnings are for the developers, not for the users. I think the default make should send as much warnings as Emacs sends with its own default make. You continue to misunderstand what I was saying or at least trying to say. The primary function of Org's build system is to, well, build Org with the minimum fuzz. That's what it was designed to do and that is what it does — it can do other things as well, but you'll have to configure it to do that. Getting more warnings is a secondary function, however useful they might be. Now, Emacs Lisp as a dynamic language is notoriously difficult in the static checks department (warnings are but a small part of that) and Emacs lacks functions to do this thoroughly in an automated manner. There is _no_ complete tool for doing dependency checks at the source level (I'd love to be proved wrong) for instance. Emacs does have elint since version 23, which is properly separated from building, but again, is still incomplete. I've added two compilation methods that use elint, but they certainly aren't for casual use — the first one takes 25 times as long as a simple build and the other one 275 times. If a user wants the compilation to go faster, he can always use another instruction (the current make -- renamed make quiet?) And by the same argument, everybody can just as well add the line _COMPILE_=single to local.mk if wanted. This gives _different_ warnings (and in general more), but it is still no substitute for static checks and testing. I'm not going to degrade the build performance for everyone to save a handful of people the bother of doing that. If you insist, do the change yourself (it's defined in default.mk). Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
Re: [O] Using org-mode as day planner
On Sat, Aug 11, 2012 at 4:34 AM, Bastien b...@gnu.org wrote: Hi John, John Hendy jw.he...@gmail.com writes: Date trees are the obvious way to be able to do this, but they don't have any of the neat search functionality that I know of. Can you describe the search functionality you would like for date-trees? I'm not sure I groked it. Date trees allow for a very nice way for filing notes in chronological order, but =C-c / dateRange= does not work for date trees. Previously, active time stamps worked, but I didn't want all my notes showing up in my agenda, so I just dealt with not having a great solution. Then you provided one with the sparse-tree search timestamp-type selection ability, which rocks. Date trees are still the best way to use capture for foolproof chronological storage of notes quickly... but I wouldn't be able to extract notes in a particular date-range with current functionality. Someone provided me with a capture template that would automatically put things in the right place with inactive stamps, so that might have solved my issue. John Thanks, -- Bastien
Re: [O] Org Build System (aka Makefile)
Wait, I must have missed something. Some warnings are not showing? I do something like make output 21 ; grep -i 'error\|warning' output. Good code has no warnings, I thought? Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
[O] problem with odt export, emacs 23.3.1 on Ubuntu 12.04 LTS
I always had a problem in exporting org mode files to odt format and finally I have found the reason of the problem and a solution. I use org mode within emacs 23.3.1 on Ubuntu 12.04 LTS (all tools standard distribution). The otd export elisp file is placed here: /usr/share/emacs/site-lisp/org-mode/org-odt.el If I understand correctly, it searches for the styles and schemas starting from there: (defconst org-odt-lib-dir (file-name-directory load-file-name)) (defconst org-odt-styles-dir (let* ((styles-dir1 (expand-file-name ../etc/styles/ org-odt-lib-dir)) (styles-dir2 (expand-file-name ./etc/styles/ org-odt-lib-dir)) ... (defcustom org-export-odt-schema-dir (let ((schema-dir (expand-file-name ../contrib/odt/etc/schema/ org-odt-lib-dir))) This does not work with the configuration above, because: A) the schema files are at a completely different location B) the style files are entirely missing C) the call to load-file-name for some reason fails, preventing the whole file from being loaded As a workaround, I copied over the style files, manually fixed org-odt-styles-dir and org-export-odt-schema-dir in org-odt.el, and commented out the line which causes problem (C). This works - but a more flexible solution should be found so that org-odt does not break again. I hope this can be useful to the org community - although it might be that in the meantime somebody else already fixed the problem. Fabio Rinaldi
Re: [O] [GSoC] Org-sync v0.2
Hey Aurélien, This is *very* exciting. I'm definitely interested in using this for MediaGoblin if I can. Several thoughts after watching the video: - I tend to take notes and local subtasks on bugs. Is there any way to do that? - Does org-sync also pull down comments? - I'd like to pull down the description and keep the TODO states in sync, but I'm not sure I want editing local descriptions to affect the description remotely. In fact I'm pretty sure I don't want to do that! I'd just like the initial state then be able to munge it however. Is that possible? - I'd really like to write a trac backend! Aurélien Aptel writes: Hi all, I'm releasing a new version of Org-sync, the tool to sync Org documents with external bugtrackers/TODO-list system. There are functional (although not complete) backends for: - Github - Bitbucket - Redmine And I'm currently working on Remember the Milk. I've updated the installation procedure in the tutorial. It should be easier now if it was bothering you before. I've also made a short (~4mn) demo video covering the Bitbucket backend and conflicts. On a side note, making this video was a painful experience and I now realize the lack of good stable and free(dom) video editing software on Linux. Demo: https://www.youtube.com/watch?v=kbj6-j0teCY Tutorial: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/ Webpage: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html
Re: [O] [GSoC] Org-sync v0.2
On Sun, Aug 12, 2012 at 10:09:31PM +0900, Waldemar Quevedo wrote: Not a big deal but I see that you have to set os-github-auth and call M-x os-import, os etc.. to use org-sync. Since the library is named org-sync, wouldn't it be better to base on the library name for these settings? e.g. `org-sync-github-auth`, `org-sync-import`... I thought os is short for org-sync, just like ob is for org-babel? -- Suvayu Open source is the future. It sets us free.
Re: [O] problem with odt export, emacs 23.3.1 on Ubuntu 12.04 LTS
Fabio Thanks for going through all this trouble. Please post an updated recipe so that others can benefit. Did you look at `org-odt-data-dir', `org-odt-schema-dir-list' and `org-odt-styles-dir-list'? You can solve the issue by any one of the following ways: 1. Copy the style and schema files to `data-directory'. This is same as the etc/ directory of your Emacs executable. M-: data-directory Hint: Just follow the error messages and you will be able to make out where they should go under etc/ 2. Set the `org-odt-data-dir' variable. Look at where the .xml files are currently installed in your machine and set this variable to the *parent directory* of styles and schema files. , From org-odt.el |(and org-odt-data-dir | (expand-file-name ./styles/ org-odt-data-dir)) ` , From org-odt.el |(and org-odt-data-dir | (expand-file-name ./schema/ org-odt-data-dir)) ` Something like this in your .emacs will do the trick. (eval-after-load 'org '(setq org-odt-data-dir path/to/the/parent/of/styles/file)) 3. Look at the Makefile. There are a couple of variables that influence where style and schema files should go under. Here is the original thread where the issue was discussed. (It was in the cotext of Gentoo) http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00850.html I always had a problem in exporting org mode files to odt format and finally I have found the reason of the problem and a solution. I use org mode within emacs 23.3.1 on Ubuntu 12.04 LTS (all tools standard distribution). The otd export elisp file is placed here: /usr/share/emacs/site-lisp/org-mode/org-odt.el If I understand correctly, it searches for the styles and schemas starting from there: (defconst org-odt-lib-dir (file-name-directory load-file-name)) (defconst org-odt-styles-dir (let* ((styles-dir1 (expand-file-name ../etc/styles/ org-odt-lib-dir)) (styles-dir2 (expand-file-name ./etc/styles/ org-odt-lib-dir)) ... (defcustom org-export-odt-schema-dir (let ((schema-dir (expand-file-name ../contrib/odt/etc/schema/ org-odt-lib-dir))) This does not work with the configuration above, because: A) the schema files are at a completely different location B) the style files are entirely missing C) the call to load-file-name for some reason fails, preventing the whole file from being loaded As a workaround, I copied over the style files, manually fixed org-odt-styles-dir and org-export-odt-schema-dir in org-odt.el, and commented out the line which causes problem (C). This works - but a more flexible solution should be found so that org-odt does not break again. I hope this can be useful to the org community - although it might be that in the meantime somebody else already fixed the problem. Fabio Rinaldi --
Re: [O] Org Build System (aka Makefile)
I know we disagree about this: you think that compiler warnings are for the developers, not for the users. I think the default make should send as much warnings as Emacs sends with its own default make. You continue to misunderstand what I was saying or at least trying to say. The primary function of Org's build system is to, well, build Org with the minimum fuzz. That's what it was designed to do and that is what it does — it can do other things as well, but you'll have to configure it to do that. Getting more warnings is a secondary function, however useful they might be. But we certainly shouldn't (and currently aren't?) inhibit the display of any warnings when the default make is run. I was surprised to run make compile-source and see additional warnings which weren't shown during regular make. What is the difference between make and make compile-source which results in different warnings? Now, Emacs Lisp as a dynamic language is notoriously difficult in the static checks department (warnings are but a small part of that) and Emacs lacks functions to do this thoroughly in an automated manner. There is _no_ complete tool for doing dependency checks at the source level (I'd love to be proved wrong) for instance. Emacs does have elint since version 23, which is properly separated from building, but again, is still incomplete. I've added two compilation methods that use elint, but they certainly aren't for casual use — the first one takes 25 times as long as a simple build and the other one 275 times. After some time digging through the make files, it looks to me like one must edit the local.mk file to run these. I'd propose that they are added as a separate Makefile target (mentioned by make help) so that they can be easily run. Very few people (users or developers) are willing to edit make configuration files. Perhaps these elint build options should be used to build when make check is run. If a user is willing to run the test suite they should be willing to endure a slower build for more thorough warnings. Best, -- Eric Schulte http://cs.unm.edu/~eschulte
[O] Fwd: Re: problem with odt export, emacs 23.3.1 on Ubuntu 12.04 LTS
(Forwarding to the list) On 12 August 2012 20:40, Jambunathan K kjambunat...@gmail.com wrote: Fabio Thanks for going through all this trouble. Please post an updated recipe so that others can benefit. I think the problem should be dealt with by the maintainer of the org-mode package in Ubuntu, which I think is: Sebastien Delafond s...@debian.org I agree. This bug have been in my radar for a while https://bugs.launchpad.net/ubuntu/+source/org-mode/+bug/1025629 and seems to be heating up. I am just waiting to hear from maintainers. In order to fix it for the next release, it is necessary to: 1. include the two missing style files (they are completely missing - not just in the wrong place) This is unfortunate. Style files are a must but schema files are only desirable. 2. make sure that the style files and schema files can be found Yes. I attach below the structure of the org-mode package in Ubuntu. At the moment the loading of org-odt.el fails on the call: (defconst org-odt-lib-dir (file-name-directory load-file-name)) Maybe you want to replace this with something more robust. There is already a mechanism in place to handle this failure. `org-odt-data-dir' is the key. There are makefile vars that could be tweaked or overridden to set the above var. Jambunathan K. Hope it helps, Fabio /. /etc /etc/emacs /etc/emacs/site-start.d /etc/emacs/site-start.d/50org-mode.el /usr /usr/lib /usr/lib/emacsen-common /usr/lib/emacsen-common/packages /usr/lib/emacsen-common/packages/install /usr/lib/emacsen-common/packages/install/org-mode /usr/lib/emacsen-common/packages/remove /usr/lib/emacsen-common/packages/remove/org-mode /usr/share /usr/share/doc /usr/share/doc-base /usr/share/doc-base/org-mode /usr/share/doc/org-mode /usr/share/doc/org-mode/README.Debian /usr/share/doc/org-mode/changelog.Debian.gz /usr/share/doc/org-mode/copyright /usr/share/doc/org-mode/dir /usr/share/doc/org-mode/org.pdf.gz /usr/share/doc/org-mode/org.texi.gz /usr/share/doc/org-mode/orgcard.pdf.gz /usr/share/doc/org-mode/orgcard.tex.gz /usr/share/doc/org-mode/orgcard_letter.pdf.gz /usr/share/doc/org-mode/orgguide.pdf.gz /usr/share/doc/org-mode/orgguide.texi.gz /usr/share/doc/org-mode/pdflayout.sty /usr/share/emacs /usr/share/emacs/site-lisp /usr/share/emacs/site-lisp/org-mode /usr/share/emacs/site-lisp/org-mode/ob-C.el /usr/share/emacs/site-lisp/org-mode/ob-R.el /usr/share/emacs/site-lisp/org-mode/ob-asymptote.el /usr/share/emacs/site-lisp/org-mode/ob-awk.el /usr/share/emacs/site-lisp/org-mode/ob-calc.el /usr/share/emacs/site-lisp/org-mode/ob-clojure.el /usr/share/emacs/site-lisp/org-mode/ob-comint.el /usr/share/emacs/site-lisp/org-mode/ob-css.el /usr/share/emacs/site-lisp/org-mode/ob-ditaa.el /usr/share/emacs/site-lisp/org-mode/ob-dot.el /usr/share/emacs/site-lisp/org-mode/ob-emacs-lisp.el /usr/share/emacs/site-lisp/org-mode/ob-eval.el /usr/share/emacs/site-lisp/org-mode/ob-exp.el /usr/share/emacs/site-lisp/org-mode/ob-fortran.el /usr/share/emacs/site-lisp/org-mode/ob-gnuplot.el /usr/share/emacs/site-lisp/org-mode/ob-haskell.el /usr/share/emacs/site-lisp/org-mode/ob-java.el /usr/share/emacs/site-lisp/org-mode/ob-js.el /usr/share/emacs/site-lisp/org-mode/ob-keys.el /usr/share/emacs/site-lisp/org-mode/ob-latex.el /usr/share/emacs/site-lisp/org-mode/ob-ledger.el /usr/share/emacs/site-lisp/org-mode/ob-lilypond.el /usr/share/emacs/site-lisp/org-mode/ob-lisp.el /usr/share/emacs/site-lisp/org-mode/ob-lob.el /usr/share/emacs/site-lisp/org-mode/ob-matlab.el /usr/share/emacs/site-lisp/org-mode/ob-mscgen.el /usr/share/emacs/site-lisp/org-mode/ob-ocaml.el /usr/share/emacs/site-lisp/org-mode/ob-octave.el /usr/share/emacs/site-lisp/org-mode/ob-org.el /usr/share/emacs/site-lisp/org-mode/ob-perl.el /usr/share/emacs/site-lisp/org-mode/ob-picolisp.el /usr/share/emacs/site-lisp/org-mode/ob-plantuml.el /usr/share/emacs/site-lisp/org-mode/ob-python.el /usr/share/emacs/site-lisp/org-mode/ob-ref.el /usr/share/emacs/site-lisp/org-mode/ob-ruby.el /usr/share/emacs/site-lisp/org-mode/ob-sass.el /usr/share/emacs/site-lisp/org-mode/ob-scheme.el /usr/share/emacs/site-lisp/org-mode/ob-screen.el /usr/share/emacs/site-lisp/org-mode/ob-sh.el /usr/share/emacs/site-lisp/org-mode/ob-shen.el /usr/share/emacs/site-lisp/org-mode/ob-sql.el /usr/share/emacs/site-lisp/org-mode/ob-sqlite.el /usr/share/emacs/site-lisp/org-mode/ob-table.el /usr/share/emacs/site-lisp/org-mode/ob-tangle.el /usr/share/emacs/site-lisp/org-mode/ob.el /usr/share/emacs/site-lisp/org-mode/org-agenda.el /usr/share/emacs/site-lisp/org-mode/org-archive.el /usr/share/emacs/site-lisp/org-mode/org-ascii.el /usr/share/emacs/site-lisp/org-mode/org-attach.el /usr/share/emacs/site-lisp/org-mode/org-bbdb.el /usr/share/emacs/site-lisp/org-mode/org-beamer.el /usr/share/emacs/site-lisp/org-mode/org-bibtex.el /usr/share/emacs/site-lisp/org-mode/org-capture.el
Re: [O] refresh image?
Bastien b...@gnu.org writes: Hi Petro, Petro x.pi...@gmail.com writes: I there a faster way to refresh inline image than C-c C-x C-v C-c C-x C-v? Do you mean a shorter keystroke or a faster process? I mean a shorter keystroke.
[O] org-link minor mode
Hi, I've been hacking this weekend to try to create a minor mode that enables org-mode bracket links in modes other than org-mode. I believe this has been mooted before (e.g. http://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00573.html). The following codes works for me but I'm sure it could be improved. I'm an elisp noob so I'd very much appreciate feedback on the approach I'm taking. For example, I'm not sure how to prevent turning on org-link-minor-mode from an org-mode buffer - advice would be welcome. Regards, Sean #+begin_src emacs-lisp (require 'org) (define-minor-mode org-link-minor-mode Toggle display of org-mode style bracket links in non-org-mode buffers. :lighter org-link (let ((org-link-minor-mode-keywords (list '(org-activate-bracket-links (0 'org-link t) (save-excursion (save-match-data (goto-char (point-min)) (if org-link-minor-mode (progn (font-lock-add-keywords nil org-link-minor-mode-keywords t) (set (make-local-variable 'org-descriptive-links) org-descriptive-links) (if org-descriptive-links (add-to-invisibility-spec '(org-link))) (font-lock-fontify-buffer) ) (progn (font-lock-remove-keywords nil org-link-minor-mode-keywords) (org-remove-from-invisibility-spec '(org-link)) (while (re-search-forward org-bracket-link-regexp nil t) ;; Remove all org-link properties (remove-text-properties (match-beginning 0) (match-end 0) (text-properties-at (match-beginning 0))) ) ) ) (provide 'org-link-minor-mode) #+end_src
[O] reevaluate all sorce code blocks?
Hi list It seems simple but I cannot find it in the manual. Is there a command to reevaluate all source code blocks in the current org-mode buffer? Thanks Petro
Re: [O] Org Build System (aka Makefile)
Eric Schulte writes: But we certainly shouldn't (and currently aren't?) inhibit the display of any warnings when the default make is run. I was surprised to run make compile-source and see additional warnings which weren't shown during regular make. These warnings aren't reliable — the byte compiler doesn't really try to find and report problems. What is the difference between make and make compile-source which results in different warnings? make -n compile make -n _COMPILE_=single compile The difference is starting a single Emacs and then compiling all files vs. starting a fresh Emacs instance for each file to be compiled. The change was originally triggered by some differences to the builds in package manager (ELPA) and solidified due to the fact that this is the only method that does function with only Emacs available. Should have been discussed around November last year, IIRC. After some time digging through the make files, it looks to me like one must edit the local.mk file to run these. You are welcome to dig through whatever files, but maybe you might consult the documentation first? As you would read there and can see above, you can do it all on the command line if you wish. If you want to enact that change permanently, you should edit local.mk — that's the only reason it exists. I'd propose that they are added as a separate Makefile target (mentioned by make help) so that they can be easily run. If you want additional make targets you can also implement those in local.mk; run `make helpall´ some time and ask yourself if you really need more. Very few people (users or developers) are willing to edit make configuration files. Those same people that have no problem to edit the sources? Come on, you can't be serious. Perhaps these elint build options should be used to build when make check is run. If a user is willing to run the test suite they should be willing to endure a slower build for more thorough warnings. If they want to, they can edit local.mk. But since it is not necessary for the build and there won't be any warnings to see if the developers do a good job, it's not a useful default. It is maybe useful as an additional configuration for release tests (just as it is useful to have multiple configurations to be able to test different versions of Emacs). Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] reevaluate all sorce code blocks?
Aloha Petro, Petro x.pi...@gmail.com writes: Hi list It seems simple but I cannot find it in the manual. Is there a command to reevaluate all source code blocks in the current org-mode buffer? Thanks Petro C-c C-v b or C-c C-v C-borg-babel-execute-buffer C-c C-v s or C-c C-v C-sorg-babel-execute-subtree All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] refresh image?
Petro x.pi...@gmail.com writes: I mean a shorter keystroke. You can now (from latest git) use C-c C-x C-M-v -- Bastien
Re: [O] [PATCH 07/10] org-taskjuggler: make project umbrella task optional
On 08/12/2012 10:03 AM, Yann Hodique wrote: Christian == Christian Eglichristian.e...@sbs.ch writes: ... while the new (non-default) one would generate --8---cut here---start-8--- project main Main {} task task1 Task1 {} task task2 Task2 {} --8---cut here---end---8--- leading to a report like --8---cut here---start-8--- 1 Task1 2 Task2 --8---cut here---end---8--- I must confess this is mostly a way to avoid questions from people looking at the report, asking why my task numbers are all 1.x :) Yeah that sucks. If there would be a way to make the numbers configurable in org that'd be even better. I am responsible for parts of a project, so there is an externally defined numbering in some cases. Bit I might go at this myself if your patches land, which look excellent BTW. Cheers, Simon AFAICT it seems to work fine with either tj2 or tj3. I'm using tj3 only myself, but the UI of tj2 doesn't complain at all about those multiple root tasks. Thanks, Yann
Re: [O] [PATCH 07/10] org-taskjuggler: make project umbrella task optional
Simon Thum simon.t...@gmx.de writes: Bit I might go at this myself if your patches land, which look excellent BTW. The patches will land as soon as we the copyright assignment is processed. Chances are that this will be after Org 7.9 though, but equal chances are that 7.9.1 will closely follow 7.9, so please go ahead and hack. :) -- Bastien
[O] make test on OSX
Enclosed is the output of make test with the current (see time spam of mail) version pulled from git. it contains the backtraces of the failed tests. I am running OSX 10.8 and Emacs 24.1.1 This is GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-06-10 on bob.porkrind.org Any ideas why the tests are failing? Test test-org/auto-fill-function backtrace: org-element-at-point() org-fill-context-prefix(11) org-auto-fill-function() (let ((fill-column 5)) (end-of-line) (org-auto-fill-function) (buffe (prog1 (let ((fill-column 5)) (end-of-line) (org-auto-fill-function) (progn (org-mode) (progn (insert 12345 7890) (goto-char (point-min (unwind-protect (progn (org-mode) (progn (insert 12345 7890) (goto (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert 12345 7890) (goto-char (org-test-with-temp-text 12345 7890 (let ((fill-column 5)) (end-of (list 12345\n7890 (org-test-with-temp-text 12345 7890 (let ((fil (let ((fn-2704 (function equal)) (args-2705 (list 12345\n7890 (org (should (equal 12345\n7890 (org-test-with-temp-text 12345 7890 ( (lambda nil (should (equal 12345\n7890 (org-test-with-temp-text 1 byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/auto-fill-function Test a ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((-L lisp/ -L testing/ --eval (defconst org command-line() normal-top-level() Test test-org/auto-fill-function condition: (void-function org-element-at-point) FAILED 185/205 test-org/auto-fill-function OVERVIEW OVERVIEW Mark set Test test-org/backward-element backtrace: org-element-at-point(keep-trail) org-backward-element() (prog1 (goto-line 3) (end-of-line) (org-backward-element) (should (l (progn (org-mode) (progn (insert Paragraph1.\n\nParagraph2.) (goto (unwind-protect (progn (org-mode) (progn (insert Paragraph1.\n\nPar (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert Paragraph1.\n\nParagrap (org-test-with-temp-text Paragraph1.\n\nParagraph2. (goto-line 3) (lambda nil (org-test-with-temp-text \nParagraph. (org-skip-wh byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/backward-element Test `or ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((-L lisp/ -L testing/ --eval (defconst org command-line() normal-top-level() Test test-org/backward-element condition: (void-function org-element-at-point) FAILED 186/205 test-org/backward-element OVERVIEW OVERVIEW OVERVIEW OVERVIEW OVERVIEW Test test-org/comment-dwim backtrace: org-element-at-point() org-comment-or-uncomment-region(1 25 nil) uncomment-region(1 25 nil) comment-or-uncomment-region(1 25 nil) comment-dwim(nil) call-interactively(comment-dwim) (progn (transient-mark-mode 1) (push-mark (point) t t) (goto-char (p (prog1 (progn (transient-mark-mode 1) (push-mark (point) t t) (goto- (progn (org-mode) (progn (insert # Comment 1\n\n# Comment 2) (goto (unwind-protect (progn (org-mode) (progn (insert # Comment 1\n\n# C (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert # Comment 1\n\n# Commen (org-test-with-temp-text # Comment 1\n\n# Comment 2 (progn (transi (list Comment 1\n\nComment 2 (org-test-with-temp-text # Comment 1 (let ((fn-2736 (function equal)) (args-2737 (list
Re: [O] Org Build System (aka Makefile)
Hi Achim, Achim Gratz strom...@nexgo.de writes: You continue to misunderstand what I was saying or at least trying to say. The primary function of Org's build system is to, well, build Org with the minimum fuzz. That's what it was designed to do and that is what it does — it can do other things as well, but you'll have to configure it to do that. This I understood perfectly :) Emacs does have elint since version 23, which is properly separated from building, but again, is still incomplete. I've added two compilation methods that use elint, but they certainly aren't for casual use — the first one takes 25 times as long as a simple build and the other one 275 times. Please refrain from adding such new targets to the Makefile for now. Let's settle the issue first. I'm not going to degrade the build performance for everyone to save a handful of people the bother of doing that. If you insist, do the change yourself (it's defined in default.mk). One thing I need to understand: what are the warnings that you have when compiling within a single process and you don't when compiling with one process per file? The next thing I'd like to know is _why_ -- but even a rough answer to the first question would help me take a decision about this. Thanks, -- Bastien
Re: [O] Tangling is broken in git master
Bastien b...@gnu.org writes: Hi Bernt, Bernt Hansen be...@norang.ca writes: Tangling doesn't work for me in git master anymore. Git bisect identifies the following commit as introducing the problem Please try the attached patch and let us know if it works. Thanks, That doesn't work. There's a missing ) at the end of the defalias and after I add that I get progn: Symbol's value as variable is void: intersect Regards, Bernt
Re: [O] Tangling is broken in git master
Achim Gratz strom...@nexgo.de writes: Bernt Hansen writes: Tangling doesn't work for me in git master anymore. Git bisect identifies the following commit as introducing the problem [...] Debugger entered--Lisp error: (void-function letrec) (letrec ((intersect ...)) (funcall intersect (case context ... ... ...) (split-string ...))) From the NEWS file in Emacs 24: * Lisp changes in Emacs 24.1 [...] *** New macro `letrec' to define recursive local functions. Regards, Achim. I'm using GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Regards, Bernt
Re: [O] make test on OSX
Neuwirth Erich erich.neuwi...@univie.ac.at writes: Any ideas why the tests are failing? It looks like there is a missing dependancy related to org-element somewhere. But I can't reproduce the problem, so it is hard to tell. -- Bastien
Re: [O] Org Build System (aka Makefile)
By the way, I just tried to compile with _COMPILE_ = source in default.mk (instead of _COMPILE_ = dirall, which I commented) and it seems to compile twice (as with single+dirall) and it does not remove the *elc files, as advertized. Anything I miss here? Thanks, -- Bastien
Re: [O] Tangling is broken in git master
Bernt Hansen be...@norang.ca writes: That doesn't work. There's a missing ) at the end of the defalias and after I add that I get Er, sorry for the typo. I've reverted this commit for now, I'll see if I can get rid of cl-labels another way. Thanks, -- Bastien