Re: [O] [bug] org-insert-link fails on special characters in headlines
On Sun, 06 Jan 2013 07:45:47 +0100, Bastien spake thus: Using org-store-link followed by, in another file, org-insert-link RET RET fails on the following headline : * [[http://www.anywho.com/][test]] Please try to apply the patch by Samuel and let us know if it fixes your issue: http://thread.gmane.org/gmane.emacs.orgmode/64203 I'm getting plenty of awful Invalid read syntax: ) even though I cannot be sure it's not just me not being able to apply a patch. I tried :')
Re: [O] OBBDB(3) or org-contacts
On Mon, 14 Jan 2013 08:34:58 +1030 Eric S Fraga e.fr...@ucl.ac.uk wrote: I use bbdb3; never got to grips with org-contacts and I have too many contacts in any case. No performance issues? bbdb3 provides a subtle improvement to bbdb2: better more logical key bindings and less surprising behaviour overall. I like it. Does bbdb3 provide more freedom to have some custom fields in my contacts structure? Org will interpret the anniversary (e.g. birthdays, wedding anniversary, other dates) field in bbdb entries to bring in information into the agenda view, if desired. Look at =org-bbdb-anniversary-format-alist=. Thank you for that. I wasn't aware of it. I am a confirmed gnus user. No other email system comes close to doing what gnus can do. Given the large volume of email I get, splitting and scoring are essential to survival! Integration with bbdb is also obviously key for me. I also decided to use Gnus, but, atm, have some problem with its setup. The funny thing is that I use it in the past, but forgot some things in the meantime. :-) Sincerely, Gour -- As the embodied soul continuously passes, in this body, from boyhood to youth to old age, the soul similarly passes into another body at death. A sober person is not bewildered by such a change. http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Re: [O] OBBDB(3) or org-contacts
Hi Gour, Eric S Fraga writes: Gour g...@atmarama.net writes: Do you use bbdb3 and what are important things it brings over bbdb2? Org will interpret the anniversary (e.g. birthdays, wedding anniversary, other dates) field in bbdb entries to bring in information into the agenda view, if desired. Look at =org-bbdb-anniversary-format-alist=. I could never get this to work satisfactorily, I can either see birthdays or wedding anniversaries in the agenda but not both. Have you, maybe, tried mu4e or should I simply stick with proven Gnus? I used to use gnus but changed to mu4e. My gnus broke during the change to emacs24 and I couldn't find the help out there to fix it. Mu4e has good documentation and a very helpful developer. It was very easy to change to mu4e. If I had a very high volume of emails I would consider having another go at gnus. Myles
[O] Automagically send all org table
Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, Xavier
Re: [O] colorg: Protocol [was: Re: Rudel - Real-Time collaborative editing of Org-Mode files]
Hi, This sounds really promising. But instead of creating your own protocol, have you thought about extending an already existing one? I see that you have read negative comments about tools using the obby protocol, but have you read about the protocol itself? For instance, even if the gobby seems quite a dead (not commit since 2011-08-07T16:07:00Z+0200), the obby protocol sounds like it has been well thought and should worth give a look. See for instance the annotated obby session[1]. By recreating a new protocol, you might be facing the same issues in synchronization that gooby faced at some time and spending useless effort trying to fix it. As far as I can see, the only thing that appears to be missing in the obby protocol is the possibility to move entries without deleting and reinserting. This makes sense since it is specific to outlined documents. Why not adding this feature to the obby protocol? If the obby protocol or any other RTCE protocol does not fit your needs causing the creation of a new protocol, I think it would be a good idea to write why on your wiki page. By the way, I tried this week end gobby server 0.4 and rudel client (last git version) and it did not manage to connect to the gobby server while a gobby client 0.4 succeeded. So sad... I can't wait to see RTCE of org document! Sincerely, [1] http://gobby.0x539.de/trac/wiki/AnnotatedObbySession François Pinard pin...@iro.umontreal.ca writes: François Pinard pin...@iro.umontreal.ca writes: So, inventing a protocol is still an avenue which I naively seek, and for which I dared giving some thought recently, trying to stay on the side of simplicity. Here is a stab at a simple protocol, which I documented in: https://github.com/pinard/ColOrg/wiki/Protocol I have the start of colorg.el, and now intend to write the skeleton of a server. Before committing them, I'll stretch both enough so they speak to one another. Then we will have a sandbox to play with. :-) François -- Konubinix GPG Key: 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A pgpjOhlldoV4J.pgp Description: PGP signature
Re: [O] [PATCH] Fix uncaught error when trying to open a link at point
Hi, I sent the request to ass...@gnu.org 10 days ago and wait for the documents. By the way, I messed up with parens when I remove dangling ones so don't bother about the last [PATCH] mail. Bastien b...@altern.org writes: Hi Samuel, Samuel Loury konubi...@gmail.com writes: In attachment is a patch making tests of the previous mail (id:87wqvtrxcp@konixwork.incubateur.ens-lyon.fr) pass. thanks for raising this issue again -- I agree with your point here, but I cannot apply the patch as it is too big to be considered a TINYCHANGE (way above 20 lines.) Would you consider assigning your copyright to the FSF? http://orgmode.org/cgit.cgi/org-mode.git/plain/request-assign-future.txt Thanks, -- Bastien -- Konubinix GPG Key: 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A pgppSQwmpU_si.pgp Description: PGP signature
[O] Bad time display agenda view
Hi, Updated org today (release_7.9.3d-823-gd06fa4), and the times displayed in agenda-view for events of default duration look as if the duration was chosen to be 17 hours: I get this, Talks: 14:30-1d 7:30sdf : lskdfjlskdjf Talks: 17:30-18:30 sdfsdfs : sdf (Here the second one has a timestamp like ... 17:30-18:30 and the first one like ... 14:30.) Everything works out when pushed using org-caldav, so I believe this is just hapening during display. What is happening ? BTW, my org-agenda-default-appointment-duration is set to 60. Best, -- Vincent Beffara
Re: [O] OBBDB(3) or org-contacts
On Mon, 14 Jan 2013 10:04:28 + Myles English mylesengl...@gmail.com wrote: I used to use gnus but changed to mu4e. My gnus broke during the change to emacs24 and I couldn't find the help out there to fix it. Mu4e has good documentation and a very helpful developer. It was very easy to change to mu4e. The problem is that mu4e does not handle nntp and 95% of the mailing lists I follow I do via gmane, so mu4e cannot solve all my mail-related tasks. Sincerely, Gour -- He is a perfect yogī who, by comparison to his own self, sees the true equality of all beings, in both their happiness and their distress, O Arjuna! http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: [O] Automagically send all org table
On Mon, Jan 14, 2013 at 11:25:27AM +0100, Xavier Garrido wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, I do not see any other way but writing some elisp code of your own. It should be simple to do, I think. Hope this helps, -- Suvayu Open source is the future. It sets us free.
Re: [O] Automagically send all org table
On 14 jan. 2013, at 11:25, Xavier Garrido xavier.garr...@gmail.com wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, Xavier Hi Xavier, this should do the trick (untested): (defun my-org-send-all-tables () (interactive) (org-table-map-tables (lambda () (orgtbl-send-table 'maybe HTH - Carsten
Re: [O] Automagically send all org table
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Mon, Jan 14, 2013 at 11:25:27AM +0100, Xavier Garrido wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, I do not see any other way There is a way but writing some elisp code of your own. Why not have Emacs write it for you? You dictate and Emacs will type out the elisp code. It should be simple to do, I think. Not simpler than resorting to macros. Here is how. Just hints. OP should help himself. -- Begin macro, do stuff, end macro, C-x (, do stuff, C-x ) Execute macro C-x e Or provide a local, on-the-move binding and execute it. C-x C-k b Name the macro and store it as a command in your .emacs. C-x C-k n, M-x insert-kbd-macro Run the stored macro from batch script (Hint: C-h v org-export-as-html-batch) emacs --batch --load=~/MyInitStuff.el --visit=MyFile --funcall MyNamedMacro -- For help with jumping to relevant Info portions, do C-h K C-x ( C-h K C-x C-k n (Note the CAPITAL `K' above) -- --
Re: [O] OBBDB(3) or org-contacts
I am a confirmed gnus user. No other email system comes close to doing what gnus can do. Given the large volume of email I get, splitting and scoring are essential to survival! Integration with bbdb is also obviously key for me. Slightly offtopic, but I'm a Mutt user that's eyeballed Gnus from a distance for years. Could you elaborate on some of your favorite Gnus features? -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] Automagically send all org table
On Mon, Jan 14, 2013 at 06:33:48PM +0530, Jambunathan K wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: Not simpler than resorting to macros. Indeed, macros are indeed more appropriate in this case. -- Suvayu Open source is the future. It sets us free.
Re: [O] OBBDB(3) or org-contacts
Russell Adams rlad...@adamsinfoserv.com writes: I am a confirmed gnus user. No other email system comes close to doing what gnus can do. Given the large volume of email I get, splitting and scoring are essential to survival! Integration with bbdb is also obviously key for me. Slightly offtopic, but I'm a Mutt user that's eyeballed Gnus from a distance for years. Could you elaborate on some of your favorite Gnus features? He named it, splitting and scoring. The ability to easily mark a whole thread as important or unimportant combined with expunged is (imo) essential to manage large volume of email. The expunge facility let me hide threads; when a message is expunged it is not only marked as read, it just doesn't appear at all unless I specifically ask otherwise. OTOH when the score of a thread is increased, all messages in this thread (old and new) will appear in bold. -- Daimrod/Greg pgp3UwPkLdLKl.pgp Description: PGP signature
Re: [O] Automagically send all org table
Jambunathan K kjambunat...@gmail.com writes: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Mon, Jan 14, 2013 at 11:25:27AM +0100, Xavier Garrido wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, I do not see any other way There is a way but writing some elisp code of your own. Why not have Emacs write it for you? You dictate and Emacs will type out the elisp code. It should be simple to do, I think. Not simpler than resorting to macros. Here is how. Just hints. OP should help himself. Here is what I (or rather Emacs) came up with. The Elisp snippet has control characters, so see the attachment. send-table.el Description: send-table.el Put that in to your .emacs or C-x C-e it. Then, if you know that your file has no more than N (say 100) tables, do C-x C-f myfile.html C-u 100 M-x send-table RET You are done. -- Begin macro, do stuff, end macro, C-x (, do stuff, C-x ) Execute macro C-x e Or provide a local, on-the-move binding and execute it. C-x C-k b Name the macro and store it as a command in your .emacs. C-x C-k n, M-x insert-kbd-macro Run the stored macro from batch script (Hint: C-h v org-export-as-html-batch) emacs --batch --load=~/MyInitStuff.el --visit=MyFile --funcall MyNamedMacro -- For help with jumping to relevant Info portions, do C-h K C-x ( C-h K C-x C-k n (Note the CAPITAL `K' above) -- --
[O] Compare a timestamp with existing agenda entries.
Hi there, I mainly use org-mode for planning, and one thing I often do is (i) insert a timestamp, and (ii) open the agenda at the given date and see if I had anything planned already. Would anyone have some experience to share with respect to automating step (ii) ? Atm, I'm thinking of writing a function that lists all agenda entries for which there is an intersection in the time range with a given timestamp, and optionally also lists entries that have no time spec but are planned on the same day. My use case is to ease the process of filling in a doodle. I already wrote a few lines to import the proposed dates of a given doodle into org-mode timestamps (see here: https://gist.github.com/4529894). Atm I have to open (C-c C-o) each time stamp to see if there's a clash. Any comment are welcome ! Thanks for your attention, -- Nico.
[O] [PATCH] Small type correction
Hi, This is a minor typo correction, Sincerely, -- Konubinix GPG Key: 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A From fef944e7f28407f37c9d0d45c35489875d5463b1 Mon Sep 17 00:00:00 2001 From: Samuel Loury konubinix...@gmail.com Date: Mon, 14 Jan 2013 15:25:16 +0100 Subject: [PATCH] Small typo correction TINYCHANGE --- lisp/org-agenda.el |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 642f173..5adc039 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -530,7 +530,7 @@ This is a list of four items: the project is considered to be not stuck. If you specify \*\ as a tag, any tag will mark the project unstuck. Note that this is about the explicit presence of a tag somewhere in the subtree, inherited - tags to not count here. If inherited tags make a project not stuck, + tags do not count here. If inherited tags make a project not stuck, use \-TAG\ in the tags part of the matcher under (1.) above. 4. An arbitrary regular expression matching non-stuck projects. -- 1.7.10.4 pgpA_2KnzdE_S.pgp Description: PGP signature
Re: [O] colorg: Protocol [was: Re: Rudel - Real-Time collaborative editing of Org-Mode files]
Samuel Loury konubi...@gmail.com writes: But instead of creating your own protocol, have you thought about extending an already existing one? Yes, of course. My goal is getting some solution, not creating my own thing. I only tried to look at the internals of Rudel and Etherpad-lite, and also to read some literature on the topic, starting with Wikipedia. In all cases, I felt stupid and overwhelmed. :-) This is not simple, as far as I can see. I see that you have read negative comments about tools using the obby protocol, but have you read about the protocol itself? Besides Rudel, no. By recreating a new protocol, you might be facing the same issues in synchronization that gooby faced at some time and spending useless effort trying to fix it. While not being fully sure, I think I have some understanding of the problem, and the solution I have in head might have no issue. Its optimization is going to be a bit hairy however, and there lies the danger for introducing errors. My fix would then be to not optimize, so with at least an inefficient solution, the effort is not useless. :-). As far as I can see, the only thing that appears to be missing in the obby protocol is the possibility to move entries without deleting and reinserting. This makes sense since it is specific to outlined documents. Why not adding this feature to the obby protocol? Because of the bad press, which gave me the unverified impression that by adopting Obby, I would have to spouse its problems, and get to solve them. I guess people much more brilliant than me already tried, and failed or abandoned, so I just have no chance of succeeding :-). It sounds important to me, for Org mode, to support some Move Block operation, which combines delete and reinsert the same contents as a single operation instead of two, as I suspect this is frequent when someone is reorganize an Org outline, and I would ideally like that people editing within a block which is being moved by someone else does barely notice s/he is being shuffled elsewhere. This is an Org specialty, that is unlikely part of other protocols, and this consideration pushed me into attempting something. Not that I currently have a Move Block operation in the protocol, but it should be easier to add to something that I well understand. By the way, I tried this week end gobby server 0.4 and rudel client (last git version) and it did not manage to connect to the gobby server while a gobby client 0.4 succeeded. So sad... I also got quick failures in my tries, of many kinds. [1] http://gobby.0x539.de/trac/wiki/AnnotatedObbySession Thanks for this one, which I did not see. I'll take a closer look! If the obby protocol or any other RTCE protocol does not fit your needs causing the creation of a new protocol, I think it would be a good idea to write why on your wiki page. I'm saving these messages and recycling their content on the Wiki. I should get more documentation on the Wiki, but did not have much time since I started, Friday evening, as I rather wanted to push on the code to have by Sunday at least some skeleton that moves a bit. And even then, I took the time to move some previous comments to the Wiki, and explain at least the current state of protocol. Documenting early helps at avoiding design errors. I can't wait to see RTCE of org document! Ista Zahn published a working solution on the Wiki, that one could use if in a hurry. It is said to work well, see: https://github.com/pinard/ColOrg/wiki/emacsclient François
Re: [O] Automagically send all org table
Thank you all, Xavier Le lun. 14 janv. 2013 14:58:32 CET, Jambunathan K a écrit : Jambunathan K kjambunat...@gmail.com writes: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Mon, Jan 14, 2013 at 11:25:27AM +0100, Xavier Garrido wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, I do not see any other way There is a way but writing some elisp code of your own. Why not have Emacs write it for you? You dictate and Emacs will type out the elisp code. It should be simple to do, I think. Not simpler than resorting to macros. Here is how. Just hints. OP should help himself. Here is what I (or rather Emacs) came up with. The Elisp snippet has control characters, so see the attachment. Put that in to your .emacs or C-x C-e it. Then, if you know that your file has no more than N (say 100) tables, do C-x C-f myfile.html C-u 100 M-x send-table RET You are done. -- Begin macro, do stuff, end macro, C-x (, do stuff, C-x ) Execute macro C-x e Or provide a local, on-the-move binding and execute it. C-x C-k b Name the macro and store it as a command in your .emacs. C-x C-k n, M-x insert-kbd-macro Run the stored macro from batch script (Hint: C-h v org-export-as-html-batch) emacs --batch --load=~/MyInitStuff.el --visit=MyFile --funcall MyNamedMacro -- For help with jumping to relevant Info portions, do C-h K C-x ( C-h K C-x C-k n (Note the CAPITAL `K' above) -- -- | |__ GARRIDO Xavier Laboratoire de l'Accélérateur Linéaire /\ NEMO Université Paris-Sud 11 /--\garr...@lal.in2p3.fr UMR 8607 | garr...@in2p3.fr Batiment 200 |__ +33 1.64.46.84.2891898 Orsay Cedex, France
Re: [O] Automagically send all org table
It works perfectly ! Thanks a lot. Le lun. 14 janv. 2013 13:56:50 CET, Carsten Dominik a écrit : On 14 jan. 2013, at 11:25, Xavier Garrido xavier.garr...@gmail.com wrote: Hi orgmoders, I am looking for a simple way to SEND all org tables in a given document to their RECEIVER counterparts. Of course, I can go through the whole document and do `org-table-send` one-by-one but I would like to do it without opening the document and for all tables at the same time. Is there a way ? Thanks for your help and advices, Xavier Hi Xavier, this should do the trick (untested): (defun my-org-send-all-tables () (interactive) (org-table-map-tables (lambda () (orgtbl-send-table 'maybe HTH - Carsten -- | |__ GARRIDO Xavier Laboratoire de l'Accélérateur Linéaire /\ NEMO Université Paris-Sud 11 /--\garr...@lal.in2p3.fr UMR 8607 | garr...@in2p3.fr Batiment 200 |__ +33 1.64.46.84.2891898 Orsay Cedex, France
[O] Checklist bug in version 7.9.3a
There is a bug in checklist handling. The following list will show the problem. 1. [ ] Use Cases 2. [ ] Threat Model 3. [ ] ITI Wiki 4. [ ] Maynard stuff 5. [ ] Annual Transition - wiki changes - ftp changes Context: Org-mode version 7.9.3a (release_7.9.3a @ /home/hornrj/.emacs.d/src/org-mode/lisp/) Git commit 4cac751536e9e75f822fae18d75de6df694c8f6f GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-11-08 on lakoocha, modified by Debian How to reproduce: If you go to the first line in the list of check boxes, line Use Cases, and use C-u C-u C-c C-c, it will set all of the checkboxes in the list to partial [-]. If you try it again you get the error user-error: Cannot toggle this checkbox (uncheccked subitems?). If the checkbox has an [X] for complete, C-u C-u C-c C-c will also set the entire list to partial. This only occurs for the first item on a checkbox list. C-u C-u C-c C-c behaves properly for all the other items. I suspect a context confusion, since the bulk change to [-] also changes the indent level for the two non-checkbox items in the list below item 5. R Horn rjh...@alum.mit.edu
[O] mobileorg encryption in iOS vs. Android
See this thread on the Android mobileorg mailing list for reference: - https://groups.google.com/forum/#!topic/mobileorg-android/IELoLsOCvos I was having issues with org-mobile-use-encryption, and think it ended up being that this variable is only for the iOS version. It encrypts with openssl (at least from what I could tell) evidenced by this in org-mobile.el: -- (defun org-mobile-encrypt-file (infile outfile) Encrypt INFILE to OUTFILE, using `org-mobile-encryption-password'. (shell-command (format openssl enc -aes-256-cbc -salt -pass %s -in %s -out %s (shell-quote-argument (concat pass: (org-mobile-encryption-password))) (shell-quote-argument (expand-file-name infile)) (shell-quote-argument (expand-file-name outfile) -- The Android version integrates encryption via Android Privacy Guard (http://thialfihar.org/projects/apg/), which decrypts gpg files. Thus, the Android procedure is: 1) Encrypt the desired org files: $ gpg -c file.org 2) Get org-mobile-files to update by either: - Adding file.org.gpg (or whatever you renamed the encrypted file to) to org-agenda-files - Adding the encrypted gpg file to org-mobile-files 3) M-x org-mobile-push 4) I was asked for the password three times; looks like once to decrypt and then twice for a new password to re-encrypt when pushing 5) Make sure Android Privacy Guard is installed on phone 6) Setup sync settings and syncronize 7) A popup via APG should ask for symmetric password Also, add this text at the top of the file so that emacs knows this is an orgmode file even thought it ends in .gpg: -*-mode:org-*- I'm wondering if there's a way to add some sort of variable, say `org-mobile-os` that could take ios or android as the inputs so that org-mobile-use-encryption worked more as expected for Android users? Just a thought and wanted to inquire about this. At the very least, it looks like the manual should be updated to reflect that the process is not the same for both mobileorg's when it comes to encryption. Thanks for any feedback, John
Re: [O] mobileorg encryption in iOS vs. Android
It seems that the android version should act like the ios version and just use the symmetric cipher. Is that hard, or is there some advantage to the gpg scheme? Or perhaps the android-style encryption should be supported directly in org? pgpZvBw3Y611F.pgp Description: PGP signature
Re: [O] mobileorg encryption in iOS vs. Android
On Mon, Jan 14, 2013 at 10:43 AM, Greg Troxel g...@ir.bbn.com wrote: It seems that the android version should act like the ios version and just use the symmetric cipher. Is that hard, or is there some advantage to the gpg scheme? Or perhaps the android-style encryption should be supported directly in org? I think it has to do with the method used. org-mobile-use-encryption uses openssl based encryption. From the APG entry on wikipedia [1]: -- The application provides strong, user-based encryption which is compatible with the Pretty Good Privacy (PGP) and GNU Privacy Guard (GPG) programs. -- When I encrypt with org-mobile-use-encryption, I get an APG popup with a blank entry field expecting a PGP message, and it features a Decrypt button at the bottom. When using gpg manually, I get a popup for a symmetric key password. Does this make sense? If so, this is my reasoning for thinking the change has to be on the org side. Alternatively, an openssl decryption method could be integrated into mobileorg Android. [1] http://en.wikipedia.org/wiki/Android_Privacy_Guard John
Re: [O] Checklist bug in version 7.9.3a
Hello, Robert Horn rjh...@alum.mit.edu writes: There is a bug in checklist handling. The following list will show the problem. 1. [ ] Use Cases 2. [ ] Threat Model 3. [ ] ITI Wiki 4. [ ] Maynard stuff 5. [ ] Annual Transition - wiki changes - ftp changes Context: Org-mode version 7.9.3a (release_7.9.3a @ /home/hornrj/.emacs.d/src/org-mode/lisp/) Git commit 4cac751536e9e75f822fae18d75de6df694c8f6f GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-11-08 on lakoocha, modified by Debian How to reproduce: If you go to the first line in the list of check boxes, line Use Cases, and use C-u C-u C-c C-c, it will set all of the checkboxes in the list to partial [-]. If you try it again you get the error user-error: Cannot toggle this checkbox (uncheccked subitems?). If the checkbox has an [X] for complete, C-u C-u C-c C-c will also set the entire list to partial. This only occurs for the first item on a checkbox list. C-u C-u C-c C-c behaves properly for all the other items. I suspect a context confusion, since the bulk change to [-] also changes the indent level for the two non-checkbox items in the list below item 5. Calling C-c C-c with an argument on the first item of a list or sub-list will apply the change on every item in the list. It looks consistent with what you get. What did you expect instead ? Regards, -- Nicolas Goaziou
Re: [O] Error building org-e-publish
J. David Boyd david at adboyd.com writes: Mine builds with no problem at all, using emacs 24.2.92. You sure you have the latest git source? I just did an update a moment ago... Thanks for the info. I've got the latest git, but I'm running emacs 23.2 (under Debian). I can evaluate all the code on org-e-publish.el, but get the error when I try to byte-compile it. I was able to build in on my Windows machine, which uses emacs 24. Anyone able to build on emacs 23? Kind Regards, Mike
Re: [O] mobileorg encryption in iOS vs. Android
John Hendy jw.he...@gmail.com writes: Does this make sense? If so, this is my reasoning for thinking the change has to be on the org side. Alternatively, an openssl decryption method could be integrated into mobileorg Android. What I meant was that it would be nice if there were a single scheme to encrypt org files, and all mobile clients implemented it. The use of openssl by ios mobileorg seems reasonable, and I don't know why android mobileorg doesn't use the same scheme. But if android mobileorg uses APG, then it seems that there should be elisp support to encrypt the files and put them in place. Is the use of APG for symmetric encryption, or is there a phone/org pubkey involved? pgp8EgpaojXfG.pgp Description: PGP signature
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz wrote: J. David Boyd david at adboyd.com writes: Mine builds with no problem at all, using emacs 24.2.92. You sure you have the latest git source? I just did an update a moment ago... Thanks for the info. I've got the latest git, but I'm running emacs 23.2 (under Debian). I can evaluate all the code on org-e-publish.el, but get the error when I try to byte-compile it. I was able to build in on my Windows machine, which uses emacs 24. Anyone able to build on emacs 23? I modified local.mk to use emacs23 and set ORG_ADD_CONTRIB = org-export org-e-* I then did ``make compile'' - I get the following errors/warning: , | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-e-publish.el... | | In toplevel form: | org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore) | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-e-texinfo.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-e-texinfo.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-element.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-element.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-entities.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-entities.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-eshell.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-eshell.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-exp-blocks.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-exp-blocks.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-exp.el... | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-exp.elc | Compiling /home/nick/src/emacs/org/org-mode/lisp/org-export.el... | | In toplevel form: | org-export.el:5242:59:Warning: variable assignment to constant | `org-export-stack-mode-map' | Wrote /home/nick/src/emacs/org/org-mode/lisp/org-export.elc ` I looked at the first one only: Not sure why emacs24 does not complain but org-e-publish contains this bit of code: , | ... | (org-export-async-start 'ignore | `(let ((org-e-publish-use-timestamps-flag | (if ',force nil ,org-e-publish-use-timestamps-flag))) |(org-e-publish-projects ',project-alist))) | ... ` and org-export-async-start in contrib/lisp/org-export.el says: , | (defmacro org-export-async-start (fun rest body) | Call function FUN on the results returned by BODY evaluation. | ... ` so there does seem to be a mismatch. HTH, Nick
Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Thorsten Jolitz tjol...@googlemail.com writes: Stelian Iancu li...@siancu.net writes: I just updated Org-mode from Git a few minutes ago, and, after having problems, deleted the repo and cloned it again, ran make and make autoloads, but still cannot load org.el (or start with my usual starter-kit customisations): [SNIP] Just my 2c: in my case, all I did was: - clone the git repo - add org-mode/lisp to the load-path - make autoloads - require 'org If you are using the starter-kit, then Org-mode is required as the first step of your Emacs initialization. This is necessary so that the `org-babel-load-file' function can be used to load your customization from .org files. In this case the best (only) way to ensure that the most recent version of Org-mode is loaded is to add the path to your Org-mode install to the emacs command line with something like the following. emacs --eval (add-to-list 'load-path \~/src/org-mode/lisp/\) This may be simplified with a command line alias like the following. alias emacs=emacs --eval '(add-to-list (quote load-path) \~/src/org-mode/lisp/\)' When I find time I plan to add this to the starter-kit documentation. -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] Error building org-e-publish
Nick Dokos nicholas.dokos at hp.com writes: Not sure why emacs24 does not complain but org-e-publish contains this bit of code: , | ... | (org-export-async-start 'ignore | `(let ((org-e-publish-use-timestamps-flag | (if ',force nil ,org-e-publish-use-timestamps-flag))) | (org-e-publish-projects ',project-alist))) | ... ` and org-export-async-start in contrib/lisp/org-export.el says: , | (defmacro org-export-async-start (fun rest body) | Call function FUN on the results returned by BODY evaluation. | ... ` so there does seem to be a mismatch. Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. Could you confirm that fixes it for you as well? If so, I'll submit a patch. Thanks for you help. --Mike
[O] org-caldav: New version with proper two-way sync
I just pushed a pretty big update to org-caldav. Get it at https://github.com/dengste/org-caldav The short story: org-caldav now does proper two-way syncing. It's pretty much a rewrite, actually. If you're already using org-caldav, you will have to start from scratch after updating. Please read the README before using this version. Most notably, org-caldav will set org-icalendar-store-UID when doing the iCalendar export, so every entry with an activate timestamp will get an ID property like this: :PROPERTIES: :ID: 6cdf8805-8d1a-46ac-94fc-d225cac5f098 :END: If you don't want this, do not use this package. Please report bugs here or in the github tracker. And please have backups. -David
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz wrote: Nick Dokos nicholas.dokos at hp.com writes: Not sure why emacs24 does not complain but org-e-publish contains this bit of code: , | ... | (org-export-async-start 'ignore | `(let ((org-e-publish-use-timestamps-flag | (if ',force nil ,org-e-publish-use-timestamps-flag))) |(org-e-publish-projects ',project-alist))) | ... ` and org-export-async-start in contrib/lisp/org-export.el says: , | (defmacro org-export-async-start (fun rest body) | Call function FUN on the results returned by BODY evaluation. | ... ` so there does seem to be a mismatch. Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. Not sure I understand. Can you explain why that would be a good fix? Thanks, Nick
Re: [O] Fixes for org-capture-templates-contexts
Bastien bzg at altern.org writes: If you can send a patch against master for this, I'd be happy to apply it! Thanks again for pointing to these problems, Below are patches against org.el and org-capture.el. Are you sure it works correctly? The following setting for the variable does causes an error for me out of the box, but does work with the changes in the patch. (setq org-capture-templates-contexts '((f (not-in-file . \\(espanol\\|verbs\\|nouns\\)\\.org)) (t (not-in-file . \\(espanol\\|verbs\\|nouns\\)\\.org)) (e (in-file . \\(espanol\\|verbs\\|nouns\\)\\.org)) (m (in-file . maths.*\\.org)) (M (in-file . med\\.org Also, very important. I updated to master in order to make the patch and found the current orgmode does not compile or even load. This is because ob-eval.el uses 'declare-function' which is undefined (it is defined in org-macs.el but ob-eval.el does not require that file). --- ./org.el2013-01-15 10:54:43.0 +1300 +++ /Users/paul/org.el 2013-01-15 11:17:01.0 +1300 @@ -8682,9 +8682,11 @@ (while (setq c (pop a)) (let (vrules repl) (cond -((not (assoc (car c) contexts)) +((and (not (assoc (car c) contexts)) + (not (assoc (string (elt (car c) 0)) contexts))) (push c r)) -((and (assoc (car c) contexts) +((and (or (assoc (car c) contexts) + (assoc (string (elt (car c) 0)) contexts)) (setq vrules (org-contextualize-validate-key (car c) contexts))) (mapc (lambda (vr) @@ -8712,27 +8714,49 @@ (defun org-contextualize-validate-key (key contexts) Check CONTEXTS for agenda or capture KEY. - (let (r rr res) -(while (setq r (pop contexts)) - (mapc - (lambda (rr) -(when - (and (equal key (car r)) - (if (functionp rr) (funcall rr) -(or (and (eq (car rr) 'in-file) - (buffer-file-name) - (string-match (cdr rr) (buffer-file-name))) -(and (eq (car rr) 'in-mode) - (string-match (cdr rr) (symbol-name major-mode))) -(when (and (eq (car rr) 'not-in-file) - (buffer-file-name)) - (not (string-match (cdr rr) (buffer-file-name -(when (eq (car rr) 'not-in-mode) - (not (string-match (cdr rr) (symbol-name major-mode))) - (push r res))) - (car (last r + (let (clause context res) +(while (setq clause (pop contexts)) + (let ((context-key (first clause)) + (old-key (second clause)) + (context-list (cddr clause))) +(mapc + (lambda (context) + (when + (cond +((and (= (length context-key) (length key)) + (not (equal key context-key))) + nil) +((and ( (length context-key) (length key)) + (not (string-prefix-p context-key key))) + nil) +((functionp context) + (funcall context)) +(t + (let ((context-spec (first context)) + (context-arg (rest context))) + (or (and (eq context-spec 'in-file) +(buffer-file-name) +(string-match context-arg + (buffer-file-name))) + (and (eq context-spec 'in-buffer) +(string-match context-arg + (buffer-name))) + (and (eq context-spec 'in-mode) +(eq context-arg major-mode)) + (when (and (eq context-spec 'not-in-file) + (buffer-file-name)) + (not (string-match context-arg +(buffer-file-name + (and (eq context-spec 'not-in-buffer) +(not (string-match context-arg + (buffer-name + (when (eq context-spec 'not-in-mode) + (not (eq context-arg major-mode))) + (push clause res))) + context-list))) (delete-dups (delq nil res + (defun org-context-p (rest contexts) Check if local context is any of CONTEXTS. Possible values in the list of contexts are `table', `headline', and `item'. --- ./org-capture.el2013-01-15 10:54:42.0 +1300 +++ /Users/paul/org-capture.el 2013-01-15 11:17:45.0 +1300 @@ -449,31 +449,63 @@ (defcustom org-capture-templates-contexts nil Alist of capture templates and valid contexts. +Each entry in the alist takes the form: + (KEY [USUAL-KEY]
Re: [O] OBBDB(3) or org-contacts
Gour g...@atmarama.net writes: On Mon, 14 Jan 2013 08:34:58 +1030 Eric S Fraga e.fr...@ucl.ac.uk wrote: I use bbdb3; never got to grips with org-contacts and I have too many contacts in any case. No performance issues? Not with BBDB, either version. I have 760 contacts in BBDB. bbdb3 provides a subtle improvement to bbdb2: better more logical key bindings and less surprising behaviour overall. I like it. Does bbdb3 provide more freedom to have some custom fields in my contacts structure? You can have any number of simple fields labelled whatever you want. I am not sure if you can define new structured ones (like addresses, I mean). I don't stress BBDB too much... I also decided to use Gnus, but, atm, have some problem with its setup. Maybe post on the gnus mailing list? Very helpful group. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-821-g35204a
Re: [O] org-caldav: New version with proper two-way sync
David Engster d...@randomsample.de writes: I just pushed a pretty big update to org-caldav. [...] The short story: org-caldav now does proper two-way syncing. Wow, that's amazing. I'm looking forward to trying this, although I switched to an Org-only calendar now. But it would be great with smart phones, I guess! –Rasmus -- Don't panic!!!
Re: [O] Compare a timestamp with existing agenda entries.
Nicolas Richard theonewiththeevill...@yahoo.fr writes: [...] My use case is to ease the process of filling in a doodle. I already wrote a few lines to import the proposed dates of a given doodle into org-mode timestamps (see here: https://gist.github.com/4529894). Atm I have to open (C-c C-o) each time stamp to see if there's a clash. I can't help you with your actual query unfortunately but just wanted to say that I look forward to any solution you get! I recently had a 75 entry (yech) doodle to complete and even the code you have posted above would have been quite helpful. Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-821-g35204a
Re: [O] OBBDB(3) or org-contacts
On Mon, 14 Jan 2013 08:34:58 +1030 Eric S Fraga e.fr...@ucl.ac.uk wrote: I use bbdb3; never got to grips with org-contacts and I have too many contacts in any case. No performance issues? bbdb3 provides a subtle improvement to bbdb2: better more logical key bindings and less surprising behaviour overall. I like it. Does bbdb3 provide more freedom to have some custom fields in my contacts structure? Org will interpret the anniversary (e.g. birthdays, wedding anniversary, other dates) field in bbdb entries to bring in information into the agenda view, if desired. Look at =org-bbdb-anniversary-format-alist=. Thank you for that. I wasn't aware of it. I am a confirmed gnus user. No other email system comes close to doing what gnus can do. Given the large volume of email I get, splitting and scoring are essential to survival! Integration with bbdb is also obviously key for me. I also decided to use Gnus, but, atm, have some problem with its setup. The funny thing is that I use it in the past, but forgot some things in the meantime. :-) Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities and become attached. But the wise should not unsettle them, although these duties are inferior due to the performers' lack of knowledge. http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: [O] Checklist bug in version 7.9.3a
Nicolas Goaziou n.goaz...@gmail.com writes: Calling C-c C-c with an argument on the first item of a list or sub-list will apply the change on every item in the list. It looks consistent with what you get. What did you expect instead ? I was expecting the single checklist item to go to [-]. On all other items of a checklist C-u C-u C-c C-c causes the item to be changed to [-]. That's the behavior described in section 5.6 for checkboxes. In 2.7 Plain Lists, it says C-c C-c toggles the state of a checkbox (if any). There is no mention of arguments. R Horn
Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Eric Schulte schulte.e...@gmail.com writes: If you are using the starter-kit, then Org-mode is required as the first step of your Emacs initialization. This is necessary so that the `org-babel-load-file' function can be used to load your customization from .org files. In this case the best (only) way to ensure that the most recent version of Org-mode is loaded is to add the path to your Org-mode install to the emacs command line with something like the following. emacs --eval (add-to-list 'load-path \~/src/org-mode/lisp/\) This may be simplified with a command line alias like the following. alias emacs=emacs --eval '(add-to-list (quote load-path) \~/src/org-mode/lisp/\)' When I find time I plan to add this to the starter-kit documentation. That would be a good idea, I remember having exactly that problem in the past using the starter-kit, but I worked it out somehow. At the moment I seem to have a more basic problem, since starting with emacs -Q the system knows about the org directory: M-x locate-library RET org.el: Library is file /usr/share/emacs/24.2/lisp/org/lisp/org.el which is a symlink to /home/tj/gitclone/org-mode/lisp/org.el: /usr/share/emacs/24.2/lisp: drwxr-xr-x 2 root root4096 18. Nov 08:40 obsolete lrwxrwxrwx 1 root root 26 30. Apr 2012 org - /home/tj/gitclone/org-mode -rw-r--r-- 1 root root 10926 23. Aug 07:33 outline.el.gz -rw-r--r-- 1 root root 35745 24. Aug 11:58 outline.elc but when I try to load org.el (e.g. from dired) I get an error. Evaluating (load-library org.el) in the *scratch* buffer gave me a better error message than before, so the problems seems to be in line 16185-16186 in org.el: (org-define-obsolete-function-alias 'org-days-to-time 'org-time-stamp-to-now 24.3) Debugger entered--Lisp error: (void-function org-define-obsolete-function-alias) (org-define-obsolete-function-alias (quote org-days-to-time) (quote org-time-stamp-to-now) 24.3) eval-buffer(#buffer *load* nil /usr/share/emacs/24.2/lisp/org/lisp/org.el nil t) ; Reading at buffer position 623963 load-with-code-conversion(/usr/share/emacs/24.2/lisp/org/lisp/org.el /usr/share/emacs/24.2/lisp/org/lisp/org.el nil nil) load(org.el) load-library(org.el) eval((load-library org.el) nil) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp nil nil) (symbol-file 'org-mode) /home/tj/gitclone/org-mode/lisp/org-loaddefs.el but (symbol-file 'org-define-obsolete-function-alias) nil -- cheers, Thorsten
[O] =C-c '= isn't working to visit setupfile; bug?
I can no longer =C-c '= to visit the file listed in #+setupfile: I get No special environment to edit here in the mini-buffer. M-x org-version: Org-mode version 7.9.3a (release_7.9.3a-803-gf8f548 Just to be sure, I loaded emacs with =emacs -q= followed by =M-x load-file=, and used the following minimal config: #+begin_src minimal.emacs (add-to-list 'load-path ~/.elisp/site-lisp/) (add-to-list 'load-path ~/.elisp/org.git/contrib/lisp/) (add-to-list 'load-path ~/.elisp/org.git/lisp/) #+end_src Same result. Can anyone else reproduce? John
Re: [O] Error building org-e-publish
On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. signature.asc Description: OpenPGP digital signature
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz wrote: On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. That'd probably be Nicolas Goaziou's async export stuff (commit 5319cec2). Nick
Re: [O] Error building org-e-publish
Nick Dokos nicholas.do...@hp.com wrote: Michael Gauland mikely...@no8wireless.co.nz wrote: On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. That'd probably be Nicolas Goaziou's async export stuff (commit 5319cec2). Sorry, missed a few - there seem to be three main ones (and two more on particular back-ends): 06872a4 export back-ends: Activate asynchronous export 5319cec org-e-publish: Activate asynchronous publishing ffb630b org-export: Add asynchronous process wrapper for export Nick
[O] Embedded checklists and C-u C-c C-c
Hi, Org people. This is for current Org (7.9.3d-827-g7cd81b, says the manual). In node node Checkboxes, near the end, we read: (3) `C-u C-c C-c' on the _first_ item of a list with no checkbox will add checkboxes to the rest of the list. It seems it only works for external checklists, but not for embedded ones. For example, given: | -- Left margin | - A - A1 - A2 - B `C-u C-c C-c' on the A line will create a checkbox on both A and B lines, which is expected. But `C-u C-c C-c' on the A1 line will open a checkbox on that line only, while I would have expected a checkbox on both A1 and A2 lines. Should it not? François
Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Thorsten Jolitz tjol...@googlemail.com writes: Eric Schulte schulte.e...@gmail.com writes: If you are using the starter-kit, then Org-mode is required as the first step of your Emacs initialization. This is necessary so that the `org-babel-load-file' function can be used to load your customization from .org files. In this case the best (only) way to ensure that the most recent version of Org-mode is loaded is to add the path to your Org-mode install to the emacs command line with something like the following. emacs --eval (add-to-list 'load-path \~/src/org-mode/lisp/\) This may be simplified with a command line alias like the following. alias emacs=emacs --eval '(add-to-list (quote load-path) \~/src/org-mode/lisp/\)' When I find time I plan to add this to the starter-kit documentation. That would be a good idea, I remember having exactly that problem in the past using the starter-kit, but I worked it out somehow. At the moment I seem to have a more basic problem, since starting with emacs -Q the system knows about the org directory: M-x locate-library RET org.el: Library is file /usr/share/emacs/24.2/lisp/org/lisp/org.el Org-mode is built into Emacs, so there will be an Org-mode in the load path from the moment Emacs starts. This is not a problem in and of itself. The important thing is to put the path to the Org-mode you want to use on the front of the load path (either with the command line flag above or with an `add-to-list' in your config) *before* the first time Org-mode is required with a (require 'org). That should be sufficient. -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] Has anybody noticed ellipses instead of the top line of the window?
My current kludge is to defadvice org-mode: (defadvice org-mode (after fix-visibility first (optional state) activate compile) ;;undo what org does (org-set-local 'outline-isearch-open-invisible-function (lambda (rest ignore) (alpha-org-show-canonical-liberal Where alpha-org-show-canonical-liberal is a kludge to try to set canonical visibility. Slow and buggy, but at least I got rid of the ellipsis on the first line. I think. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is no hope without action.