[Orgmode] Re: e3144785114d12981e0e3429c76b6f8f15c4b00f breaks 22
doc-view does not exist in emacs 22 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] e3144785114d12981e0e3429c76b6f8f15c4b00f breaks 22
Cannot explain now. -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly serious disease for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE === I would like to see the original Lo et al. 2010 NIH/FDA XMRV paper. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [Ann] Updates to org-drill (org topics as interactive " flashcards" using spaced repetition)
Detlef Steuer gmx.de> writes: > What is the intended way to input a few hundred two-sided > cards? > > If I understand spanish.org correctly I need a headline like > > *** Noun :drill: > :PROPERTIES: > :DRILL_CARD_TYPE: twosided > :END: > > and subheadings > Language1 > text > > Language2 > text > > for each and every word? > Or is there a way to have one such headline followed by a lot of > pairs of text for both languages? > > Detlef Hi Detlef Your example card layout is correct. Note you can add other sections such as "Examples" as well -- any headings after the first 2 are always hidden during review. What I suggest is to enter your cards in an easy, regular format such as tab-delimited, or even into a spreadsheet and then export to a tab-delimited or comma-delimited text file. Then use query-replace-regexp (C-M-%) to turn them into drill items as in your example. eg: if your file contains: el perrothe dog el gatothe cat ... replace newlines with "^J***Noun^JLanguage1^J" replace TABs with "^JLanguage2^J" replace "*** Noun^J" with "*** Noun^J:PROPERTIES:^J..^J" (where ^J is the newline character, entered by pressing C-q C-j) There is no special way to "import" such a file into org, as far as I am aware. FWIW I followed a very similar process to the above yesterday with 450 cards exported from Anki, and it worked well. For entry of more words "as you learn", I very strongly suggest setting up an org capture template. Paul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [BUG] org-capture : latest git pull, template selection broken ?
Julien Fantin gmail.com> writes: > > > With the org-capture-templates described in the doc, right after the > template selection, the buffer disappears, and the empty template > gets written to the target file. The following messages are output : > > > Clipboard pasted as level 2 subtree I'm seeing this message too, when I invoke org-capture. What does it mean? -- Dave Abrahams BoostPro Computing http://boostpro.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: OT: orgmode on my palm TX?
> Matt Price writes: > > > Hi folks, > > > > Nowthat GTD is starting to work for me i really really miss having org > > available when i don't have my laptop handy. Everyone around me is buying > > proprietary iphones and Android phones with 3-year contracts and expensive > > data plans, but i don't even really want a smartphone -- i want my calendar > > and orgmode, like a little notebook to carry around with me; but that's it. > > > > > > I *do* have an old palm tx that has been sitting on the shelf for a while. > > Does anyone know if there's any way at all to get some version of orgmode > > working on it? and preferably google calendar tooo... if the solution > > involves putting linux on the thing, that's good, too. I cannot help you directly with the Palm but, in case you wish to consider a different little computer, the Nokia N810 (an internet tablet, not a phone) does a good job of running Emacs in a phone sized form factor (but with keyboard). I was (and still am every now and again) using this specifically for org-mode. The latest incarnation of this system (which started with the N770 and progress through the N800 and N810) is the N900 which is now a phone as well as an internet table. This also, I'm told, runs Emacs. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [Ann] Updates to org-drill (org topics as interactive "flashcards" using spaced repetition)
Hi! I'd like to learn vocabulary using org-drill. What is the intended way to input a few hundred two-sided cards? If I understand spanish.org correctly I need a headline like *** Noun :drill: :PROPERTIES: :DRILL_CARD_TYPE: twosided :END: and subheadings Language1 text Language2 text for each and every word? Or is there a way to have one such headline followed by a lot of pairs of text for both languages? Detlef On Thu, 26 Aug 2010 09:27:40 + (UTC) Paul Sexton wrote: > Org-Drill has recently been added to the contrib directory of the org > repository. > > Latest version is in repository at: > http://bitbucket.org/eeeickythump/org-drill > > I have made a couple of major updates recently. Changelogs are below. > Reports of user experiences are welcome. > > Version 1.0 > Added README with more detailed documentation. > Items which are failed during session are presented again before the session > ends. > Items which were failures at the last review session are presented first in > the > next session. > Added recognition of leech items, based on excessive number of failures. > Leeches can be skipped or warned about. > When reviewing an item, the prompt shows the number of items remaining. > When the session finishes, the minibuffer shows a brief report givisng > statistics about total time spent reviewing, number of cards that > still need review, etc. > Fixed the regexp for cloze-deleted text. > Optional face for cloze text in org mode buffers. > New card type: twosided. > > Version 1.1 > Added implementation of SM2 algorithm (now supports both SM2 and SM5). > Add option 'org-drill-spaced-repetition-algorithm': choose either SM2 or SM5 > algorithm. > Add option 'org-drill-add-random-noise-to-intervals-p': randomly vary > repetition > intervals slightly, to avoid clumping. > Fixed a bug in org-learn's SM5 algorithm (intervals much too long). > Use overlays to display cloze deletions as '[...]' during reviews. > Cloze text can contain hints, which will visible during review. > Add option 'org-drill-failure-quality': customise which quality is regarded as > unambiguous failure (1 or 2). > Expanded documentation, and added section on 'incremental reading', with > example > setup. > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] ledger tutorial on Worg
On Fri, 27 Aug 2010 09:27:07 -0600, "Eric Schulte" wrote: > > Hi Eric, > > I hope you don't mind, I've taken the liberty of moving this tutorial > into the languages directory, and linking to it from the Babel supported > languages page [1]. I'd like to move towards having an introductory > tutorial for every language present in this directory. Once Worg > refreshes these changes should appear. This is perfectly fine with me. Sounds like a reasonable structure. I probably should have asked before simply putting stuff in! > Thanks for contributing the tutorial! -- Eric You're very welcome. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode + pomodoro
I do this using Org-Mode and a kitchen timer. I clock in when I wind the timer, and clock out when it dings, instead of just marking with X's. To record distractions I keep a scratch buffer in org-mode open, although there may be a better way to capture distractions on the urgent and unplanned list using remember mode to file them away into a more organized system. I just haven't had time to read about it. I like the fact that the urgent & unplanned items don't go anywhere unless I decide to file them though, because it keeps my to-do list cleaner that way. During my most distracted periods I tend to capture a lot of stray to-do items of only marginal utility. I'm not sure my personal workflow will work exactly right for anyone but myself (and it's still a work in progress for me too!), but I'm happy to answer any other questions you might have about it. -- A. Ryan Reynolds ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-mode + pomodoro
Hi all, Are there ways to use Pomodoro technique (http://www.pomodorotechnique.com/) with org-mode? If there are what are the best practices? Thank you in advice. -- Sergey Konoplev Blog: http://gray-hemp.blogspot.com / Linkedin: http://ru.linkedin.com/in/grayhemp / JID/GTalk: gray...@gmail.com / Skype: gray-hemp / ICQ: 29353802 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] stuck project and check boxes
Hello, I'd like to setup my project like this: * project ** TODO buy house - [ ] check house market - [ ] save money I would like to list stuck projects with the following definition: - projects that do not have check boxes - projects that have all their check boxes set Is it possible? Kind regards, -- Ivan Kanis http://kanis.fr Only the wise possess ideas; the greater part of mankind are possessed by them. -- Samuel Taylor Coleridge ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] a bit offtopic, fonts in exported PDF documents - oops
On Thu, 26 Aug 2010 12:34:08 -0500 Erik Iverson wrote: > Hello, > > I'm wondering if anyone can > > 1) reproduce what I'm seeing > 2) help in understanding what's going on. > > If I export an Org file to LaTeX, the resulting > .tex file contains the following in its header: Erik, I just realised that I had added \usepackage{lmodern} to get the result that I mentioned in my last post. Without the lmodern package, the output still looks OK, but the fonts are "No Name" Type 3 Embedded. HTH, Alan > > Thanks! > Erik > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] a bit offtopic, fonts in exported PDF documents
On Thu, 26 Aug 2010 12:34:08 -0500 Erik Iverson wrote: > Hello, > > I'm wondering if anyone can > > 1) reproduce what I'm seeing > 2) help in understanding what's going on. > > If I export an Org file to LaTeX, the resulting > .tex file contains the following in its header: > > \usepackage[T1]{fontenc} > \usepackage{t1enc} > > Long story short: > > The resulting .PDF file from pdflatex looks quite > bad in evince, and quite good in Acroread. By "quite bad", > I mean the fonts are practically illegible, very thin > and wiry. > Hi Erik, I'm on Debian Squeeze, and I don't seem to have this problem. The fonts reported in the Properties are LMRoman and they look ok in Evince. I have all the latex extras installed. Let me know if I can give you any more info. Cheers, Alan > Erik > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Latest git pull has bug in (org-babel-remove-temporary-directory)
Hello, It looks like the delete-directory bug was fixed, but on emacs 23.2 at least, (delete-file) only takes one argument, so org-babel-remove-temporary-directory is still throwing an error in my case, since we have: (delete-file file nil) --Erik Detlef Steuer wrote: Hi Eric, I have to confirm that bug. Org-mode as of today, emacs 23.1.1. Here is, what my *MESSAGES* buffer tells: CONTENTS...done (No files need saving) org-babel-remove-temporary-directory: Wrong number of arguments: delete-directory, 2 When done with a buffer, type C-x # Auto-saving...done Ciao Detlef On Thu, 26 Aug 2010 06:14:26 -0600 "Eric Schulte" wrote: Hi Noorul, Can I ask what error the directory deletion is causing for you? I have the following delete-directory in my Emacs (latest from Git) ,[delete-directory] | delete-directory is an interactive compiled Lisp function in | `files.el'. | | (delete-directory DIRECTORY &optional RECURSIVE TRASH) | | Delete the directory named DIRECTORY. Does not follow symlinks. | If RECURSIVE is non-nil, all files in DIRECTORY are deleted as well. | TRASH non-nil means to trash the directory instead, provided | `delete-by-moving-to-trash' is non-nil. | | When called interactively, TRASH is t if no prefix argument is | given. With a prefix argument, TRASH is nil. | | [back] ` The second argument to `delete-directory' ensures that subdirectories are recursively deleted. Are you using a different version of Emacs (maybe XEmacs?) in which `delete-directory' accepts a different number of arguments? Thanks -- Eric Noorul Islam writes: Latest pull is throwing error while quitting emacs. Here is the patch to fix this. ob.el: Fix minor bug * lisp/ob.el (org-babel-remove-temporary-directory) : Pass correct number of arguments to (delete-directory) Thanks and Regards Noorul diff --git a/lisp/ob.el b/lisp/ob.el index 33dbfef..32e2a54 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1679,7 +1679,7 @@ of `org-babel-temporary-directory'." (defun org-babel-remove-temporary-directory () "Remove `org-babel-temporary-directory' on Emacs shutdown." (when (boundp 'org-babel-temporary-directory) -(delete-directory org-babel-temporary-directory t))) +(delete-directory org-babel-temporary-directory))) (add-hook 'kill-emacs-hook 'org-babel-remove-temporary-directory) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] beamer export question
I have been outlining a beamer presentation using BEAMER_FRAME_LEVEL: 0 so that I could have some flexibility in deciding what is and isn't a frame. I had a piece of my outline where there's a lot of detail, so the slides are at level 4 (). I was disappointed to find that the level 3 heading above the level 4 frames /also/ got turned into a frame, although it was not flagged as one. Is there some way to make the exporter turn this level three headline into a subsubsection, instead of emitting a bogus frame? Or should I just tag it as noexport? thanks! r ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: beamer export question
On 8/27/10 Aug 27 -10:35 AM, Robert Goldman wrote: > I have been outlining a beamer presentation using BEAMER_FRAME_LEVEL: 0 > so that I could have some flexibility in deciding what is and isn't a frame. > > I had a piece of my outline where there's a lot of detail, so the slides > are at level 4 (). I was disappointed to find that the level 3 > heading above the level 4 frames /also/ got turned into a frame, > although it was not flagged as one. > > Is there some way to make the exporter turn this level three headline > into a subsubsection, instead of emitting a bogus frame? > > Or should I just tag it as noexport? Sigh. I should have tried this before blithering. I can't use "noexport" for this purpose, because it will be inherited, and the items below the level three header will be suppressed, which is not at all what I want. Thanks for any suggestions! ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Latest git pull has bug in (org-babel-remove-temporary-directory)
Fixed, Thanks -- Eric Erik Iverson writes: > Hello, > > It looks like the delete-directory bug was fixed, but > on emacs 23.2 at least, (delete-file) only takes one > argument, so org-babel-remove-temporary-directory is still > throwing an error in my case, since we have: > > (delete-file file nil) > > --Erik > > > > Detlef Steuer wrote: >> Hi Eric, >> >> I have to confirm that bug. >> Org-mode as of today, emacs 23.1.1. >> >> Here is, what my *MESSAGES* buffer tells: >> CONTENTS...done >> (No files need saving) >> org-babel-remove-temporary-directory: Wrong number of arguments: >> delete-directory, 2 >> When done with a buffer, type C-x # >> Auto-saving...done >> >> >> Ciao >> Detlef >> >> On Thu, 26 Aug 2010 06:14:26 -0600 >> "Eric Schulte" wrote: >> >>> Hi Noorul, >>> >>> Can I ask what error the directory deletion is causing for you? >>> >>> I have the following delete-directory in my Emacs (latest from Git) >>> >>> ,[delete-directory] >>> | delete-directory is an interactive compiled Lisp function in >>> | `files.el'. >>> | | (delete-directory DIRECTORY &optional RECURSIVE TRASH) >>> | | Delete the directory named DIRECTORY. Does not follow >>> symlinks. >>> | If RECURSIVE is non-nil, all files in DIRECTORY are deleted as well. >>> | TRASH non-nil means to trash the directory instead, provided >>> | `delete-by-moving-to-trash' is non-nil. >>> | | When called interactively, TRASH is t if no prefix argument is >>> | given. With a prefix argument, TRASH is nil. >>> | | [back] >>> ` >>> >>> The second argument to `delete-directory' ensures that subdirectories >>> are recursively deleted. Are you using a different version of Emacs >>> (maybe XEmacs?) in which `delete-directory' accepts a different number >>> of arguments? >>> >>> Thanks -- Eric >>> >>> Noorul Islam writes: >>> Latest pull is throwing error while quitting emacs. Here is the patch to fix this. ob.el: Fix minor bug * lisp/ob.el (org-babel-remove-temporary-directory) : Pass correct number of arguments to (delete-directory) Thanks and Regards Noorul diff --git a/lisp/ob.el b/lisp/ob.el index 33dbfef..32e2a54 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1679,7 +1679,7 @@ of `org-babel-temporary-directory'." (defun org-babel-remove-temporary-directory () "Remove `org-babel-temporary-directory' on Emacs shutdown." (when (boundp 'org-babel-temporary-directory) -(delete-directory org-babel-temporary-directory t))) +(delete-directory org-babel-temporary-directory))) (add-hook 'kill-emacs-hook org-babel-remove-temporary-directory) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> ___ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >> >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] ledger tutorial on Worg
Hi Eric, I hope you don't mind, I've taken the liberty of moving this tutorial into the languages directory, and linking to it from the Babel supported languages page [1]. I'd like to move towards having an introductory tutorial for every language present in this directory. Once Worg refreshes these changes should appear. Thanks for contributing the tutorial! -- Eric Carsten Dominik writes: > Hi Eric, > > the example directory is not published. If you want to > get this published, please move it into the org-tutorials directory > and link to it from the index page in that directory. > > Thanks! > > - Carsten > > > On Aug 27, 2010, at 1:06 AM, Eric S Fraga wrote: > >> Hello, >> >> I have just placed on Worg [1] a short tutorial/example for using >> ledger with babel. Please have a look and comment etc! >> >> Thanks, >> eric >> >> >> [1] Hopefully at >>http://orgmode.org/worg/org-contrib/babel/examples/ledger.php >>when the php file is eventually created by the automated system. >> -- >> Eric S Fraga >> GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Footnotes: [1] http://orgmode.org/worg/org-contrib/babel/languages.php#langs ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] user control of source block header line exporting formats
Hi David, I agree we would like to allow more control over the appearance of exported code blocks. Since this patch admits better control over the format of name and arguments of code blocks on export, could you include a couple of example customizations along with their results? I've just applied this patch to my system, and although it works in most cases, it raises an error when exporting the following subtree to html --8<---cut here---start->8--- ** lob -- writing results out to files #+source: table #+begin_src emacs-lisp (mapcar (lambda (el) (number-sequence el (+ el 3))) (number-sequence 0 4)) #+end_src writes the results out as csv file #+call: write(data=table, file="~/Desktop/example.csv") :results silent writes the results out as tab separated file #+call: write(data=table, file="~/Desktop/example.tsv") :results silent write the results out as a normal org-mode file #+call: write(data=table, file="~/Desktop/example.org") :results silent --8<---cut here---end--->8--- Cheers -- Eric "David O'Toole" writes: > I've attached a diff of my apparently-working changes to allow better > control of the way ob-exp.el formats the name and arguments of source > code blocks. > > What do you think? > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] ledger tutorial on Worg
Hi Eric, the example directory is not published. If you want to get this published, please move it into the org-tutorials directory and link to it from the index page in that directory. Thanks! - Carsten On Aug 27, 2010, at 1:06 AM, Eric S Fraga wrote: Hello, I have just placed on Worg [1] a short tutorial/example for using ledger with babel. Please have a look and comment etc! Thanks, eric [1] Hopefully at http://orgmode.org/worg/org-contrib/babel/examples/ledger.php when the php file is eventually created by the automated system. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Accepted] [Orgmode] Bug: :step day doesn't work for agenda clockreport [7.01trans (release_7.01h.214.g7be6.dirty)]
Patch 244 (http://patchwork.newartisans.com/patch/244/) is now "Accepted". Maintainer comment: Used 'org-float-time' instead of time-to-second and added ChangeLog to commit message. Otherwise, not ugly at all :-) This relates to the following submission: http://mid.gmane.org/%3Cm2wrrcxp00.fsf%40erlang-solutions.com%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Bug: :step day doesn't work for agenda clockreport > [7.01trans (release_7.01h.214.g7be6.dirty)] > Date: Fri, 27 Aug 2010 16:40:31 - > From: Magnus Henoch > X-Patchwork-Id: 244 > Message-Id: > To: emacs-orgmode@gnu.org > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > > > I just tried adding :step day to org-agenda-clockreport-parameter-plist, > but then hitting R in the agenda caused a crash, since > org-clocktable-steps expects ts and te to be strings, though in fact > they are Gregorian day numbers. > > This patch fixes the problem for me. It's quite ugly, so I don't expect > it to be committed in its current form :) but I hope it serves as > inspiration for someone to figure out the right way to solve this. > Emacs : GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS > apple-appkit-1038.32) > of 2010-08-16 on Magnus-Henochs-MacBook-Pro.local > Package: Org-mode version 7.01trans (release_7.01h.214.g7be6.dirty) > > current state: > == > (setq > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) > org-agenda-clockreport-parameter-plist '(:link t :maxlevel 3 :step day) > org-agenda-files '("~/org/") > org-metaup-hook '(org-babel-load-in-session-maybe) > org-capture-templates '(("e" "dotemacs" entry > (file+headline "~/org/dotemacs.org" "Graduated > snippets") > "* %^{dotemacs snippet titled}\nAdded on > %U.\n#+BEGIN_SRC emacs-lisp\n %?\n#+END_SRC" :unnarrowed) > ("t" "To do" entry (file "~/org/notes.org") "* TODO > %?\n%a" :prepend t) > ("4" "New activity" entry (file "~/org/notes.org") > "* %^{New activity}\n%?\n%a" :prepend t :clock-in t) > ("n" "Note" entry (clock) "* Notes %T\n%?")) > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) > org-export-latex-format-toc-function 'org-export-latex-format-toc-default > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-tab-first-hook '(org-hide-block-toggle-maybe > org-babel-hide-result-toggle-maybe) > org-src-mode-hook '(org-src-babel-configure-edit-buffer > org-src-mode-configure-edit-buffer) > org-confirm-shell-link-function 'yes-or-no-p > org-export-first-hook '(org-beamer-initialize-open-trackers) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-export-preprocess-before-normalizing-links-hook > '(org-remove-file-link-modifiers) > org-use-speed-commands t > org-mode-hook '((lambda nil > (org-add-hook (quote change-major-mode-hook) >(quote org-babel-show-result-all) (quote append) (quote > local)) > ) > #[nil "\300\301\302\303\304$\207" >[org-add-hook change-major-mode-hook org-show-block-all > append local] 5] > #[nil "\300\301\302\303\304$\207" >[org-add-hook change-major-mode-hook > org-babel-show-result-all append local] >5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-refile-targets '((org-agenda-files :maxlevel . 2)) > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point > org-babel-execute-safely-maybe) > org-confirm-elisp-link-function 'yes-or-no-p > org-export-interblocks '((lob org-babel-exp-lob-one-liners) > (src org-babel-exp-inline-src-blocks)) > org-occur-hook '(org-first-headline-recenter) > org-from-is-user-regexp "\\" > org-export-preprocess-before-selecting-backend-code-hook > '(org-beamer-select-beamer-code) > org-clock-report-include-clocking-task t > org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc >org-beamer-auto-fragile-frames >org-beamer-place-default-actions-for-lists) > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-export-blocks '(
Re: [Orgmode] [babel] help debugging org-babel-execute-buffer
This fix has now been applied. Best -- Eric "Eric Schulte" writes: > Hi Nick, > > Thanks for hunting this bug down. > > Nick Dokos writes: > >> Austin Frank wrote: >> >> >>> I have a document that always throws an error when I call >>> org-babel-execute-buffer. I'd guess that there's one particular block >>> that is to blame, but I can't tell which block babel is in at the point >>> when the error is thrown. >>> >>> The error is: >>> >>> #v+ >>> Debugger entered--Lisp error: (invalid-function org-save-outline-visibility) >>> org-save-outline-visibility(t 1 nil nil) >>> org-babel-execute-buffer(nil) >>> call-interactively(org-babel-execute-buffer nil nil) >>> #v- >>> >>> Looking at the macro for org-save-outline-visibility, I think the >>> problem has to do with the last two arguments being passed in as nil >>> nil. I don't, however, know how this is happening. >>> >> >> I think this is a bug: org-save-outline-visibility is indeed a macro, >> defined in org.el, but ob.el does not require org.el, so when it is >> compiled, the compiler thinks it's a function that will be defined elsewhere. >> If the uncompiled ob.el is loaded, there should be no problem. >> >> Two possible solutions: >> >> - (require 'org) in ob.el. > > This first solution can't work, because org.el requires ob.el, and > circular requires are not allowed. > >> >> - move the definition of the macro to org-macs.el (which is required >> by ob.el *and* org.el.) >> >> I'd vote for the second, but Carsten and/or Eric might have a different >> preference. >> > > I agree this sounds like a good solution, if Carsten agrees then I will > apply it. > > Thanks -- Eric > >> >> Nick >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-table: Table Navigation esp. for multi-line cells?
Juan, thank you for your response. In my particular context, I am using org-tables more for tracking/storing data 'visually' in columns - rather than as a true spreadsheet with formulae, etc. Essentially, I resorted to multi-lines cells since I would like to have each field be immediately readable in it's entirety (some columns run several english sentences long, really) I can experiment with 'regular' single-line cells in this context and see if it feels convenient after some use: I will probably either use + to make the text visible, OR + read it off the tooltip 'hovering' over the cell (both with column-width specifications) Regards Livin Stephen Sharma PS: I *may* be able to get what i need without any tables at all.. using column-view and related features. Thanks. On Aug 27, 2010, at 18:11:01 , Juan Pechiar wrote: > Hi Livin, > > As far as I know, orgmode does not support multi-line cells. > > The example table you provided contains 7 rows (+ formatting at top) > plus 2 h-lines ("horizontal separator"). > > h-lines separate table sections (e.g. headings from contents). > > In this context, the behaviour you are reporting with M-a and M-e is > correct. > > Regards, > .j. > > On Fri, Aug 27, 2010 at 03:59:16PM +0530, Livin Stephen Sharma wrote: >> The Manual describes these keys like this: >>> M-a Move to beginning of the current table field, or on to the previous >>> field. >>> M-e Move to end of the current table field, or on to the next field. >> >> Are they supposed to work the same within mult-line cells? >> >> If cursor is before 'amet' in entry E-01, >> is there a single command to move it: >> a. to the end of "consectetur", or >> b. to the beginning of "Lorem" in the same cell. >> >> |---+---+--+--| >> | / | <>| <> | <> | >> | | <5> | <20> | <20> | >> | | s.no. | type;| text | >> |---+---+--+--| >> | | E-01 | original | Lorem ipsum dolor| >> | | | | sit amet,| >> | | | | consectetur | >> |---+---+--+--| >> | | E-02 | caps | Lorem Ipsum Dolor| >> | | | | Sit Amet,| >> | | | | Consectetur | >> |---+---+--+--| >> >> I find that the first 'M-a' will move the cursor to just before 'sit', >> and a second 'M-a' will move it into the 'type;' column. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-table: Table Navigation esp. for multi-line cells?
Hi Livin, As far as I know, orgmode does not support multi-line cells. The example table you provided contains 7 rows (+ formatting at top) plus 2 h-lines ("horizontal separator"). h-lines separate table sections (e.g. headings from contents). In this context, the behaviour you are reporting with M-a and M-e is correct. Regards, .j. On Fri, Aug 27, 2010 at 03:59:16PM +0530, Livin Stephen Sharma wrote: > The Manual describes these keys like this: > > M-a Move to beginning of the current table field, or on to the previous > > field. > > M-e Move to end of the current table field, or on to the next field. > > Are they supposed to work the same within mult-line cells? > > If cursor is before 'amet' in entry E-01, > is there a single command to move it: > a. to the end of "consectetur", or > b. to the beginning of "Lorem" in the same cell. > >|---+---+--+--| >| / | <>| <> | <> | >| | <5> | <20> | <20> | >| | s.no. | type;| text | >|---+---+--+--| >| | E-01 | original | Lorem ipsum dolor| >| | | | sit amet,| >| | | | consectetur | >|---+---+--+--| >| | E-02 | caps | Lorem Ipsum Dolor| >| | | | Sit Amet,| >| | | | Consectetur | >|---+---+--+--| > > I find that the first 'M-a' will move the cursor to just before 'sit', > and a second 'M-a' will move it into the 'type;' column. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
I was going to fix the issues described in the first reply - not enough items in particular - and resubmit soon. I got a bit distracted by finals. I'll see if I can figure out the export problem, as well. Thanks, Nathaniel Flath On Fri, Aug 27, 2010 at 5:44 AM, Jacob Mitchell wrote: > > > On Fri, Aug 27, 2010 at 6:53 AM, Bernt Hansen wrote: >> >> Carsten Dominik writes: >> >> > On Jul 29, 2010, at 10:27 PM, Nathaniel Flath wrote: >> > >> >> Hello all, >> >> >> >> One thing that had been bugging me was the inability to have an >> >> ordered list of the form: >> >> >> >> a. Item 1 >> >> b. Item 2 >> >> c. Item 3 >> >> >> >> The following patch enables this, with lists going from a-z and A-Z. >> >> Let me know if there are any issues with it. >> > >> > Hi, >> > >> > I am not really sure we need these. They cause problems when lists get >> > really long - also you patch does not further than "z", after that I >> > get "{". >> > >> > Furthermore the export backends implement their own numbering >> > rules anyway. So it seems to me that we do not need this addition. >> > >> > Any other votes here? >> >> I'm not currently missing this feature. I think it definitely would >> have to handle more entries if this was to be included in org-mode. > > I agree, that would be nice. > >> >> Maybe going something like >> >> a. >> b. >> ... >> z. >> aa. >> ab. >> ... >> az. >> ba. >> bb. >> ... >> zz. >> ... and if you really need more entries than that (unlikely) you can >> do >> aaa. >> aab. >> ... >> and just keep going indefinitely. > > As a practical matter we should consider whether it's worth making a > non-terminating sequence that can be handled by the exporters. LaTeX's > enumerate package doesn't like going beyond (z): > > \documentclass[letterpaper]{article} > \usepackage{enumerate} > > \begin{document} > \begin{enumerate}[(z)] > \item > ... > \end{document} > > The items beyond the 26th are mapped to "()". > > Of course there are going to be ways around these issues, but the question > is whether it's desirable enough to implement and maintain that. Either way > is fine with me--I'm new on the mailing list and haven't done any > development for org-mode yet. > > -Jake >> >> -Bernt >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: OT: orgmode on my palm TX?
Hi. Matt Price writes: > Hi folks, > > Nowthat GTD is starting to work for me i really really miss having org > available when i don't have my laptop handy. Everyone around me is buying > proprietary iphones and Android phones with 3-year contracts and expensive > data plans, but i don't even really want a smartphone -- i want my calendar > and orgmode, like a little notebook to carry around with me; but that's it. > > > I *do* have an old palm tx that has been sitting on the shelf for a while. > Does anyone know if there's any way at all to get some version of orgmode > working on it? and preferably google calendar tooo... if the solution > involves putting linux on the thing, that's good, too. This is quite an old message, but just in case, here's a pointer to an earlier post that could be useful to you I guess : http://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00750.html Hope this helps. Best regards, -- Olivier BERGER - OpenPGP: 6B829EEC Ingénieur Recherche - Dept INF - T&MSP (http://www.it-sudparis.eu) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
On Fri, Aug 27, 2010 at 6:53 AM, Bernt Hansen wrote: > Carsten Dominik writes: > > > On Jul 29, 2010, at 10:27 PM, Nathaniel Flath wrote: > > > >> Hello all, > >> > >> One thing that had been bugging me was the inability to have an > >> ordered list of the form: > >> > >> a. Item 1 > >> b. Item 2 > >> c. Item 3 > >> > >> The following patch enables this, with lists going from a-z and A-Z. > >> Let me know if there are any issues with it. > > > > Hi, > > > > I am not really sure we need these. They cause problems when lists get > > really long - also you patch does not further than "z", after that I > > get "{". > > > > Furthermore the export backends implement their own numbering > > rules anyway. So it seems to me that we do not need this addition. > > > > Any other votes here? > > I'm not currently missing this feature. I think it definitely would > have to handle more entries if this was to be included in org-mode. > I agree, that would be nice. > > Maybe going something like > > a. > b. > ... > z. > aa. > ab. > ... > az. > ba. > bb. > ... > zz. > ... and if you really need more entries than that (unlikely) you can > do > aaa. > aab. > ... > and just keep going indefinitely. > As a practical matter we should consider whether it's worth making a non-terminating sequence that can be handled by the exporters. LaTeX's enumerate package doesn't like going beyond (z): \documentclass[letterpaper]{article} \usepackage{enumerate} \begin{document} \begin{enumerate}[(z)] \item ... \end{document} The items beyond the 26th are mapped to "()". Of course there are going to be ways around these issues, but the question is whether it's desirable enough to implement and maintain that. Either way is fine with me--I'm new on the mailing list and haven't done any development for org-mode yet. -Jake > > -Bernt > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: :step day doesn't work for agenda clockreport [7.01trans (release_7.01h.214.g7be6.dirty)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I just tried adding :step day to org-agenda-clockreport-parameter-plist, but then hitting R in the agenda caused a crash, since org-clocktable-steps expects ts and te to be strings, though in fact they are Gregorian day numbers. This patch fixes the problem for me. It's quite ugly, so I don't expect it to be committed in its current form :) but I hope it serves as inspiration for someone to figure out the right way to solve this. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 4fa0397..18a60c8 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1971,10 +1971,22 @@ the currently selected interval size." (when block (setq cc (org-clock-special-range block nil t) ts (car cc) te (nth 1 cc) range-text (nth 2 cc))) -(if ts (setq ts (org-float-time - (apply 'encode-time (org-parse-time-string ts) -(if te (setq te (org-float-time - (apply 'encode-time (org-parse-time-string te) +(cond + ((numberp ts) + ;; If ts is a number, it's an absolute day number from org-agenda. + (destructuring-bind (month day year) (calendar-gregorian-from-absolute ts) + (setq ts (time-to-seconds (encode-time 0 0 0 day month year) + (ts + (setq ts (org-float-time + (apply 'encode-time (org-parse-time-string ts)) +(cond + ((numberp te) + ;; Likewise for te. + (destructuring-bind (month day year) (calendar-gregorian-from-absolute te) + (setq te (time-to-seconds (encode-time 0 0 0 day month year) + (te + (setq te (org-float-time + (apply 'encode-time (org-parse-time-string te)) (setq p1 (plist-put p1 :header "")) (setq p1 (plist-put p1 :step nil)) (setq p1 (plist-put p1 :block nil)) Emacs : GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) of 2010-08-16 on Magnus-Henochs-MacBook-Pro.local Package: Org-mode version 7.01trans (release_7.01h.214.g7be6.dirty) current state: == (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-clockreport-parameter-plist '(:link t :maxlevel 3 :step day) org-agenda-files '("~/org/") org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-templates '(("e" "dotemacs" entry (file+headline "~/org/dotemacs.org" "Graduated snippets") "* %^{dotemacs snippet titled}\nAdded on %U.\n#+BEGIN_SRC emacs-lisp\n %?\n#+END_SRC" :unnarrowed) ("t" "To do" entry (file "~/org/notes.org") "* TODO %?\n%a" :prepend t) ("4" "New activity" entry (file "~/org/notes.org") "* %^{New activity}\n%?\n%a" :prepend t :clock-in t) ("n" "Note" entry (clock) "* Notes %T\n%?")) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-use-speed-commands t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((org-agenda-files :maxlevel . 2)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp "\\" org-export-preprocess-be
[Orgmode] Re: [babel] support plantuml
"Eric Schulte" writes: > zwz writes: > >> "Eric Schulte" writes: >> >>> Hi, >>> >>> I agree plantuml certainly makes sense as a new code block type. I'd >>> like to include your ob-plantuml.el file into Org-mode/Babel, would > you >>> be willing to complete the FSF assignment process for contributing to >>> Org-mode as described at http://orgmode.org/worg/org-contribute.php? >>> >>> Thanks! -- Eric >>> >> Yes, I am glad to. >> And I just fill the form and send it. >> > > Great! > > Please do send in the form and then keep me and Carsten posted of the > progress of your FSF assignment so that we can add you to the Org-mode > contributors list when it's complete. > > I've just added ob-plantuml.el to Org-mode and pushed it up to the git > repository. It's now part of `org-babel-load-languages' so it can be > activated just like any other language, the only other configuration > required is to set the value of `org-plantuml-jar-path' to point to the > plantuml.jar file. > > I just tried this out myself and it works wonderfully. > > Thanks! -- Eric > Thank you, Eric. Org-babel is great. I use it a lot. And I am happy to give something back. :) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-mode Epic Win RPG
A colleague of mine has been using the Epic Win Iphone app to get things done: http://www.epicwinapp.com/ It combines TODO lists, with an RPG game... The more you get done, the more you level up. It made me wonder, has anyone done something like this for org-mode? R. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [ANN] List improvement v.2
Carsten Dominik writes: > Hi, > > I am close to merging these changes into the master branch. > > Any objections? I'm currently using this list implementation full-time. We found two export bugs just yesterday which I believe are now fixed. There are no outstanding bugs that I'm aware of at this time. Including it in master would get more testers in a hurry which is probably a good thing. I think this implementation is currently stable enough to be included. Regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Alphabetical ordered lists
Carsten Dominik writes: > On Jul 29, 2010, at 10:27 PM, Nathaniel Flath wrote: > >> Hello all, >> >> One thing that had been bugging me was the inability to have an >> ordered list of the form: >> >> a. Item 1 >> b. Item 2 >> c. Item 3 >> >> The following patch enables this, with lists going from a-z and A-Z. >> Let me know if there are any issues with it. > > Hi, > > I am not really sure we need these. They cause problems when lists get > really long - also you patch does not further than "z", after that I > get "{". > > Furthermore the export backends implement their own numbering > rules anyway. So it seems to me that we do not need this addition. > > Any other votes here? I'm not currently missing this feature. I think it definitely would have to handle more entries if this was to be included in org-mode. Maybe going something like a. b. ... z. aa. ab. ... az. ba. bb. ... zz. ... and if you really need more entries than that (unlikely) you can do aaa. aab. ... and just keep going indefinitely. -Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-table: Table Navigation esp. for multi-line cells?
GNU Emacs 23.1.90.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) of 2010-05-14 on... org-mode-2010_08_24: 7.01trans Hi, I would appreciate some info/help on table-navigation. The Manual describes these keys like this: > M-a Move to beginning of the current table field, or on to the previous > field. > M-e Move to end of the current table field, or on to the next field. Are they supposed to work the same within mult-line cells? If cursor is before 'amet' in entry E-01, is there a single command to move it: a. to the end of "consectetur", or b. to the beginning of "Lorem" in the same cell. |---+---+--+--| | / | <>| <> | <> | | | <5> | <20> | <20> | | | s.no. | type;| text | |---+---+--+--| | | E-01 | original | Lorem ipsum dolor| | | | | sit amet,| | | | | consectetur | |---+---+--+--| | | E-02 | caps | Lorem Ipsum Dolor| | | | | Sit Amet,| | | | | Consectetur | |---+---+--+--| I find that the first 'M-a' will move the cursor to just before 'sit', and a second 'M-a' will move it into the 'type;' column. Regards Livin Stephen Sharma ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [babel] support plantuml
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/08/10 19:34, Eric Schulte wrote: > Rainer M Krug writes: > >> plantuml looks great - and it could save me quite a bit of work! >> >> Could you announce on the list as soon as it is uploaded to git so that >> I could try it? >> > > This is now in the Org repository. For setup and usage information see > http://eschulte.github.com/babel-dev/DONE-integrate-plantuml-support.html Thanks a lot - I'll try it out. Rainer > > Best -- Eric > >> >> Cheers, >> >> Rainer >> >> >> On 26/08/10 16:26, zwz wrote: >>> >>> "Eric Schulte" writes: >>> Hi, I agree plantuml certainly makes sense as a new code block type. I'd like to include your ob-plantuml.el file into Org-mode/Babel, would you be willing to complete the FSF assignment process for contributing to Org-mode as described at http://orgmode.org/worg/org-contribute.php? Thanks! -- Eric >>> Yes, I am glad to. >>> And I just fill the form and send it. >>> >>> >>> ___ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx3dqsACgkQoYgNqgF2egpppQCeJiUnrv8OQTWuglVVO3uzhaxK GVMAoIZX3VR3YFks2UqiBdSeumc1NdLZ =N6Tu -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] List improvement v.2
Hi, I am close to merging these changes into the master branch. Any objections? - Carsten On Jul 22, 2010, at 11:08 PM, Nicolas Goaziou wrote: Hello, Here is a new, and probably final feature-wise, suggestion of list improvement in Org Mode. Table of Contents = 1 What is it about again ? 2 Is that all ? 2.1 Preserving blank lines 2.2 Timer lists 2.3 Automatic rules 2.4 `org-apply-on-list' 3 Where can it be tried ? 1 What is it about again ? ~~~ I redefined lists in Org Mode. Lists start, as before, at a bullet (whose true regexp is at `org-item-beginning-re'), and end at either `org-list-end-regexp', a new headline, or, obviously, end of buffer. `org-list-end-regexp' is customizable and defaults to 2 blank lines, but `org-empty-line-terminates-plain-lists' has precedence over it. Moreover, any `org-list-end-regexp' found in special blocks does not end list. Here are two examples of valid lists: Case 1: `org-list-end-regexp' is at default value - First item - Sub item #+BEGIN_EXAMPLE Two blank lines below Two blank lines above #+END_SRC - Last sub item List has ended at the beginning of this line. Case 2: `org-list-end-regexp' is "^[ \t]*___[ \t]*\n" - item 1 - item 2 - sub-item - sub-item 2 - item 3 __ List has ended at the beginning of this line. Now, Org Mode knows when a list has ended and how to indent line accordingly. In other words, you can `org-return-indent' three times to exit a list and be at the right column to go on with the text. This new definition is also understood by exporters (LaTeX, DocBook, HTML or ASCII) and `org-list-end-regexp' will appear in source as a blank line, whatever its value is (as long as it starts with a caret and ends with a newline character, as specified in doc-string). Another advantage is that you can have two lists of different types in a row like in the example below: - item - item 1. item 2. item In this example, you can move (or cycle, or indent) items in the second list without worrying about changing the first one. 2 Is that all ? Yes and no. I tried as much as possible to keep compatibility with previous implementation. But, as I was at it, I made a number of minor improvements I am now going to describe. 2.1 Preserving blank lines === `org-move-item-up' and `org-move-item-down' will not eat blank lines anymore. You can move an item up and down and stay assured list will keep its integrity. The same is true for `org-sort-list' that would previously collapse the list being sorted. Sorting is now safe. `org-insert-item', when 'plain-list-item is set to 'auto in `org-blank-before-new-entry' (the default, I think), will work hard to guess the appropriate number of blank lines to insert before the item to come. The function is also much more predictable (in previous version, trying to insert an item with point on a blank line between 2 items would create a new headline). 2.2 Timer lists There are three improvements in timer lists (C-c C-x -). 1. When a new item is created, it should be properly indented and not sticked to column 0 anymore, 2. When an item is inserted in a pre-existing timer list, it will take profit of what has been done to `org-insert-item', 3. `org-sort-list' can now sort timer lists with the t and T commands. /Note/: in order to preserve lists integrity, Org Mode will send an error if you try to insert a timer list inside a list of another type. 2.3 Automatic rules I've added sets of rules (applied by default) that can improve lists experience. You can deactivate them individually by customizing `org-list-automatic-rules'. Bullet rule: Some may have noticed that you couldn't obtain * as a bullet when cycling a list at column 0 or Org would have taken them for headings. I extended the idea. Now, * bullet will be changed to - if you outdent it to column 0. This and the fact that LaTeX exporter now recognizes such lists as valid make *-lists very usable. In the same register, cycling items of a description list will not offer 1. or 1), as ordered and description lists are incompatible. Checkbox rule: It replaces `org-provide-checkbox-statistics' which has become obsolete. Indent rule: This set prevents user from breaking his list by inadvertence, when indenting or outdenting items and sub-trees. Only moves that keep list integrity are allowed. The main advantage of it is when you insert a new item and immediately press one or more TAB, pos
Re: [Orgmode] [PATCH] Alphabetical ordered lists
On Jul 29, 2010, at 10:27 PM, Nathaniel Flath wrote: Hello all, One thing that had been bugging me was the inability to have an ordered list of the form: a. Item 1 b. Item 2 c. Item 3 The following patch enables this, with lists going from a-z and A-Z. Let me know if there are any issues with it. Hi, I am not really sure we need these. They cause problems when lists get really long - also you patch does not further than "z", after that I get "{". Furthermore the export backends implement their own numbering rules anyway. So it seems to me that we do not need this addition. Any other votes here? - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [BUG] export to latex breaks
Hi, On Aug 26, 2010, at 9:17 PM, Puneeth wrote: Hi All, I'm on Org-mode version 7.01trans (release_7.01h.205.ge3d2) The LaTeX export of document test.org breaks. The headings Day 1 and Day 2 and content under them is not visible. [I have org-odd-levels-only set] Git bisect says - bb0a1f190be361ce1d717d79d411b88406d74c33 is the first bad commit commit bb0a1f190be361ce1d717d79d411b88406d74c33 Author: Stephen Eglen Date: Tue Jul 27 20:04:42 2010 + I have for now reverted Stephen's patch. Maybe you can work on a patch that will eventually work fully correctly. - Carsten The patch below fixes the problem partially. Export of test.org works. But, export of test2.org breaks. The subheading Day 2 does not show up. [test2.org produces the same output without applying the patch, too. I'm do not think that is an acceptable output.] HTH, Puneeth - PARTIAL FIX - diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 4f27f42..6bc6f71 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -966,10 +966,10 @@ If ODD Is non-nil, assume subcontent only contains odd sections." (number-to-string (+ (if odd 4 2) level)) ",\\}\\) \\(.*\\)$") nil t) - (setq nstars (1- (- (match-end 1) (match-beginning 1 + (setq nstars (- (match-end 1) (match-beginning 1))) (setq new-level (if odd - (/ (+ 3 nstars) 2);; not entirely sure why +3! - nstars))) + (- nstars 2) + (1- nstars (if nstars (org-export-latex-parse-global new-level odd) nil) ; subcontent is nil - ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Argument to org-insert-subheading should be optional [7.01trans]
On Aug 25, 2010, at 5:28 PM, M. Creidieki Crouch wrote: The (org-insert-subheading arg) function in org.el should probably have "arg" as an optional argument. It's used only as a parameter to (org-insert-heading (&optional force-heading invisible-ok)), so it doesn't make much sense as a mandatory parameter. In what way is that bothering you? Under what circumstances does it make a difference? - Carsten I believe that this is also true of (org-insert-todo-subheading arg). I'm sorry for not submitting a patch, I'm still just learning lisp. -- Creidieki M. Crouch Emacs : GNU Emacs 24.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-08-18 on creidieki-netbook Package: Org-mode version 7.01trans current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- vars) org-agenda-custom-commands '(("H" "TODO items" tags-todo "HOME|COMPUTER" nil) ("h" "TODO items" tags-todo "HOME" nil) ("D" "Daily Action List" ((agenda "" ((org-agenda-ndays 1) (org-agenda-sorting-strategy (quote ((agenda time-up habit-up priority-down tag-down (org-deadline-warning-days 0)) ) ) nil) ("c" "TODO items" tags-todo "COMPUTER" nil) ("T" "TODO items" tags-todo "TOWN" nil)) org-agenda-files '("~/docs/projects/streaming.org" "~/org/data/3f/d84f17-284d-433e-b397-a8199d1b663b/periodicity paper summary" "~/org/gtd.org") org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-attach-directory "~/org/data/" org-agenda-todo-ignore-scheduled 'all org-agenda-time-leading-zero t org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-format-latex-options '(:foreground default :background default :scale 1.3 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-deadline-warning-days 7 org-export-latex-format-toc-function 'org-export-latex-format-toc- default org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "~/org//notes.org" org-directory "~/org/" org-habit-graph-column 60 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((org-agenda-files :level . 1)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-start-on-weekday 0 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-habit org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode