Re: [O] New feature: loop over siblings for some commands
After a first look at the macro and its usage I have the feeling that the macro would be wrong and/or a bad design choice. It conditionally implements a mapping of body to a headline's siblings. Thus it is a specialized case of applying a function to zero or more headlines based on a selection criteria: In other words it is a special case of org-map-entries. So first there is duplicate code. Second the usage of the macro in for instance `org-schedule'. The macro is wrapped around the entire function body (except the interactive expression) and its only use is avoidance of creating a separate function with the scheduling implementation. I highly recommend to not use this macro but to build the intended functionality with separate building blocks: Factor out the flesh of the respective functions (e.g. org-schedule) and use org-map-entries to map. As far as I can see, the latter provides all we need: (org-map-entries FUNC &optional MATCH SCOPE &rest SKIP) We have FUNC (schedule) and MATCH (siblings). Region is the SCOPE (we have to extend map-entries here). We might even extend the syntax of MATCH to accept symbols indicating concepts like "sibling" and the like. Ideally: #+begin_src emacs-lisp (if (or (not (org-region-active-p)) (not org-loop-over-siblings-within-active-region-p)) ;; -p? its not a predicate function! (org-really-do-the-schedule) (org-map-entries 'org-really-do-the-schedule 'siblings 'region)) #+end_src Another abstraction: Instead 'org-loop-over-siblings-with-active-region' something like: 'org-loop-over-headlines-with-active-region' that can be set to a symbol or a list of symbols indicating which headings to loop over (e.g. 'siblings, 'children, ...). Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp1ROKL7JIb5.pgp Description: PGP signature
Re: [O] org-edit-file ?
Dov Grobgeld writes: > I just thought of an idea that I wonder if someone has implemented. > > While writing my journal I find myself wanting to insert a graphics > file, e.g. a svg file and I write file:foo.svg . After having written > the name I enter inkscape to create the contents of the file. To do > that I have to run inkscape manually and eventually doing saveas and > navigate to the correct directory to save the file. So my idea is to > have a a new command org-edit-file that would: > > If the file does not exist, copy a skeleton file to the filename > or generate the skeleton file by an emacs-function or by calling > an external application. > Call the configured editor application on the new file. > If invoked with Ctrl-u , allow the user to specify what editor to > run on the file, e.g. inkscape, or killustrator on svg files. > > Does something like this already exists? Start from C-h f org-open-file. > > Regards, > Dov > > > --
Re: [O] ODT Export does not seem to recognise org-export-default-language
Jambunathan K writes: > Hello Rainer > >> Hi! >> >> Exporting an org file via C-c C-e O to an ODT file does not seem to >> recognise the >> org-export-default-language setting. > I can confirm the bug and I have a fix for this issue. I will include > the fix in the next set of patches which I plan to submit in another few > hours. I am attaching 3 patches. Patches 1 & 2 are misc improvements. Patch 3 fixes the above issue. Jambunathan K. >From 6877ee1c53fddd7bd04c15acd56b768856ae1670 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Wed, 20 Jul 2011 15:02:53 +0530 Subject: [PATCH 1/3] org-lparse: Update docstring of org-lparse-debug * contrib/lisp/org-lparse.el (org-lparse-debug): Improve docstring. --- contrib/lisp/org-lparse.el | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/contrib/lisp/org-lparse.el b/contrib/lisp/org-lparse.el index 7665591..c96ec84 100755 --- a/contrib/lisp/org-lparse.el +++ b/contrib/lisp/org-lparse.el @@ -1595,9 +1595,24 @@ the alist of previous items." (defvar org-lparse-output-buffer) (defcustom org-lparse-debug nil - "Turn on/off debugging for `org-lparse'." - :type 'boolean - :group 'org-lparse) + "Enable or Disable logging of `org-lparse' callbacks. +The parameters passed to the backend-registered ENTITY-CONTROL +and ENTITY-FORMAT callbacks are logged as comment strings in the +exported buffer. (org-lparse-format 'COMMENT fmt args) is used +for logging. Customize this variable only if you are an expert +user. Valid values of this variable are: +nil : Disable logging +control : Log all invocations of `org-lparse-begin' and + `org-lparse-end' callbacks. +format : Log invocations of `org-lparse-format' callbacks. +t : Log all invocations of `org-lparse-begin', `org-lparse-end' + and `org-lparse-format' callbacks," + :group 'org-lparse + :type '(choice + (const :tag "Disable" nil) + (const :tag "Format callbacks" format) + (const :tag "Control callbacks" control) + (const :tag "Format and Control callbacks" t))) (defun org-lparse-begin (entity &rest args) "Begin ENTITY in current buffer. ARGS is entity specific. -- 1.7.2.3 >From 90cb47ff00c667ec499bc32f0b56fa2f48b79de2 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Wed, 20 Jul 2011 15:44:12 +0530 Subject: [PATCH 2/3] org-odt: Simplify org-odt-format-org-entity * contrib/lisp/org-odt.el (org-odt-format-org-entity): Simplify. Component xml files in odt document are always utf-8 encoded. As a result, emitting of numeric character references based on utf-8 value is superfluous. --- contrib/lisp/org-odt.el |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el index bd2ea33..e0790de 100644 --- a/contrib/lisp/org-odt.el +++ b/contrib/lisp/org-odt.el @@ -771,9 +771,7 @@ PUB-DIR is set, use this as the publishing directory." (format "\n\n" comment))) (defun org-odt-format-org-entity (wd) - ;; FIXME: Seems to work. But is this correct? - (let ((s (org-entity-get-representation wd 'utf8))) -(and s (format "%x;" (string-to-char s) + (org-entity-get-representation wd 'utf8)) (defun org-odt-fill-tabs-and-spaces (line) (replace-regexp-in-string -- 1.7.2.3 >From 0fcc4a6d4158355ac4e8c0127db6ec794b133f33 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Wed, 20 Jul 2011 19:07:23 +0530 Subject: [PATCH 3/3] org-odt: Use lang specific value for "Table Of Contents" * contrib/lisp/org-odt.el (org-odt-begin-toc): Use lang specific value for "Table Of Contents". --- contrib/lisp/org-odt.el |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el index e0790de..ea4e32b 100644 --- a/contrib/lisp/org-odt.el +++ b/contrib/lisp/org-odt.el @@ -691,14 +691,15 @@ PUB-DIR is set, use this as the publishing directory." " level level))) - (insert " + (insert + (format " - Table of Contents + %s -")) +" lang-specific-heading))) (defun org-odt-end-toc () (insert " -- 1.7.2.3
Re: [O] iCalendar export
Gustav Wikström writes: Hi Gustav, > So my question to this newsgroup is; If you use the iCalendar export > function, what software do you use to view this information? Yeah, I convert to ical files on save, and there's some cron job that copies these files to some webpage. From there, I import into Google Calendar. But that doesn't show todos of imported ical files and has major encoding issues with german umlauts and so on. > And have anyone got this information to their mobile devices? Android? Well, I have it there using the Google Calendar app. It's ok to see my appointments in some graphical read-only view, but nothing more... Bye, Tassilo
Re: [O] Org-capture from Firefox: ^M or not ^M?
Hi Otto , Otto Pichlhöfer wrote: > Sebastien Vauban writes: >> In the exact same conditions (I mean, Emacs settings, etc.), when I capture >> some regions from Web pages, they sometimes: >> >> - are mixed "all one one line" >> Example: >> http://lists.gnu.org/archive/html/help-gnu-emacs/2007-03/msg00670.html >> >> - are copied as on the screen, but with ending ^M at every line >> Example: http://www.emacswiki.org/emacs/DiaryMode >> >> I'm not sure anymore whether or when it is correct: >> - region on multiple lines (as on the screen), and >> - no ending ^M... >> >> Questions: >> >> - Do you see the same behavior as mine? I'm on Windows XP with Firefox >> 3.6.18. >> >> - Is there some work around so that you would not have to fiddle with the >> copied text? > > I do this: > > (defun remove-ctrl-M () > "Remove ^M at end of line in the whole buffer." > (interactive) > (save-match-data > (save-excursion > (let ((remove-count 0)) > (goto-char (point-min)) > (point-max) t) ; so passt es nur am Ende der Zeile > (while (re-search-forward (char-to-string 13) (point-max) t) > (setq remove-count (+ remove-count 1)) > (replace-match "" nil nil)) > (message (format "%d ^M removed from buffer." remove-count)) > > and: > > (add-hook 'org-capture-mode-hook 'remove-ctrl-M) Thanks for sharing this code which resolves... the easiest problem of the 2 described above. That's already one step. But do you get paragraphs ouput as one very long line as well -- when captured --, in the first link above? If yes, do you have a solution for that one? Best regards, Seb -- Sebastien Vauban
Re: [O] "DONE" all subtasks recursively
*bump* Hey guys, if someone could guide me a hint on where I should look to hack some elisp code in order to do that, I'd be grateful ;) Cheers, Marcelo. On Mon, Jul 18, 2011 at 1:30 PM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > Hey guys > > If I have a headline with children, like this: > > * Project > ** TODO Task > ** TODO Task > ** SubProject > *** TODO Task > *** TODO Task > > Does org have any functionality that allows me to automatically close > (Change TODO->DONE, put DONE when TODO is not available (in the case of > Projects)) automatically and recursively for each child if I close the main > parent headline? > > Thanks in advance, > > - Marcelo. > > > > >
Re: [O] New backend for org-agenda: (Was Calendar-like view of the org-agenda)
Hi Rasmus and Giovanni, At Wed, 20 Jul 2011 15:31:04 +0200, Giovanni Ridolfi wrote: > : > > What does '/per-se/' mean ? > > :-) > it is Latin, an ancient *European* language > it means: > - 'In itself' > - Also "by itself" > or: > - Without referring to anything else, intrinsically, > taken without qualifications, Thanks for your commentary. I could understand the meaning and that '/' means italic. Thank you, -- SAKURAI, Masashi (family, given) m.saku...@kiwanami.net
[O] Bug: inconsistent docstring of org-agenda-prefix-format [7.6 (release_7.6.143.g98b7c)]
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. The docstring of `org-agenda-prefix-format' is heavily broken. First it says An alist with four entries, for the different agenda types. and then it goes on enumerating *five* keys: The keys to the sublists are `agenda', `timeline', `todo', `search' and `tags'. And finally, it presents an example where the value is not an alist but a simple string. As another example, if you don't want the time-of-day of entries in the prefix, you could use: (setq org-agenda-prefix-format " %-11:c% s") Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.0.11) of 2011-07-18 on thinkpad Package: Org-mode version 7.6 (release_7.6.143.g98b7c)
[O] Bug: Refiling is broken [7.6 (release_7.6.132.gd8bd4)]
Hi Bastien, Bulk refiling from the agenda (B r) no longer works for me. Git bisect identifies the following commit as the problem: , | $ git bisect bad | 651a537e49495b283602d7ef8979d364ef8dfbf9 is the first bad commit | commit 651a537e49495b283602d7ef8979d364ef8dfbf9 | Author: Bastien Guerry | Date: Mon Jul 18 22:57:53 2011 +0200 | | org.el: exclude current heading from the refile table. | | * org.el (org-refile-get-location): exclude current heading | from the refile table. | | Thanks to Jason Dunsmore for this idea. | | :04 04 98cea08554cd006a6efa65ec6af084c9193a5411 3352e4868cbc7ae3a8be1ae52a22b86ad38947a8 Mlisp ` I get the following backtrace when trying to bulk refile from the agenda: , | Debugger entered--Lisp error: (error "Before first headline at position 4767 in buffer *Org Agenda*") | signal(error ("Before first headline at position 4767 in buffer *Org Agenda*")) | error("Before first headline at position %d in buffer %s" 4767 #) | (condition-case nil (outline-back-to-heading invisible-ok) (error (error "Before first headline at position %d in buffer %s" ... ...))) | org-back-to-heading(t) | (save-excursion (org-back-to-heading t) (if (looking-at ...) (match-string 1) "")) | org-get-heading() | (assoc (org-get-heading) org-refile-target-table) | (delq (assoc (org-get-heading) org-refile-target-table) org-refile-target-table) | (setq org-refile-target-table (delq (assoc ... org-refile-target-table) org-refile-target-table)) | (let ((org-refile-targets org-refile-targets) (org-refile-use-outline-path org-refile-use-outline-path)) (setq org-refile-target-table (org-refile-get-targets default-buffer)) (setq org-refile-target-table (delq ... org-refile-target-table)) (unless org-refile-target-table (error "No refile targets")) (let* (... ... ... ... ... ... ... ... ... pa answ parent-target child parent old-hist) (setq old-hist org-refile-history) (setq answ ...) (setq pa ...) (org-refile-check-position pa) (if pa ... ...))) | org-refile-get-location("Refile to" # confirm) | (setq rfloc (org-refile-get-location "Refile to" (marker-buffer ...) org-refile-allow-creating-parent-nodes)) | (cond ((equal action 36) (setq cmd ...)) ((equal action 65) (setq cmd ...)) ((member action ...) (setq rfloc ...) (if ... ...) (setq cmd ... redo-at-end t)) ((equal action 116) (setq state ...) (setq cmd ...)) ((memq action ...) (setq tag ...) (setq cmd ...)) ((memq action ...) (let* ... ...)) ((equal action 83) (if ... ... ...)) ((assoc action org-agenda-bulk-custom-functions) (setq cmd ... redo-at-end t)) ((equal action 102) (setq cmd ...)) (t (error "Invalid bulk action"))) | (let* ((action ...) (org-log-refile ...) (entries ...) redo-at-end cmd rfloc state e tag pos (cnt 0) (cntskip 0)) (cond (... ...) (... ...) (... ... ... ...) (... ... ...) (... ... ...) (... ...) (... ...) (... ...) (... ...) (t ...)) (setq entries (sort entries ...)) (while (setq e ...) (setq pos ...) (if ... ... ... ... ... ...)) (setq org-agenda-bulk-marked-entries nil) (org-agenda-bulk-remove-all-marks) (when redo-at-end (org-agenda-redo)) (message "Acted on %d entries%s" cnt (if ... "" ...))) | org-agenda-bulk-action(nil) | call-interactively(org-agenda-bulk-action nil nil) ` Refiling also seems to be similarly broken (C-c C-w) Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version 7.6 (release_7.6.132.gd8bd4) Regards, Bernt
Re: [O] TODO type problem on speedbar and imenu.
Hello, Osamu OKANO writes: > I found a problem on speedbar and imenu. > Reproducing date is here > -8<---cut here---start->8--- > * someday/maybe > * SOMEDAY/maybe > * SOMEDAY maybe > * someday maybe > * read/review > * READ/review > * conf > #+TYP_TODO: SOMEDAY > --8<---cut here---end--->8--- > > When a head line includes TODO state name, > I am afraid that displayed head line names on speedbar are wrong. > Because SOMEDAY is TODO type but "someday/maybe" and "SOMEDAY/maybe" > is not TODO task. This is a regexp problem: `org-complex-heading-regexp' recognizes "someday" and a TODO keyword in both "someday/maybe" and "SOMEDAY/maybe". It is defined as the following (I let the concat form for better readability): #+begin_src emacs-lisp (concat "^\\(\\*+\\)[ \t]+\\(?:\\(" (mapconcat 'regexp-quote org-todo-keywords-1 "\\|") "\\)\\>\\)?\\(?:[ \t]*\\(\\[#.\\]\\)\\)?[ \t]*\\(.*?\\)" "\\(?:[ \t]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ \t]*$") #+end_src The problem in at the "\\>" part. The following change may solve the problem. #+begin_src emacs-lisp (concat "^\\(\\*+\\)[ \t]+\\(?:\\(" (mapconcat 'regexp-quote org-todo-keywords-1 "\\|") "\\)[ \t]+\\)?\\(?:[ \t]*\\(\\[#.\\]\\)\\)?[ \t]*\\(.*?\\)" "\\(?:[ \t]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ \t]*$") #+end_src I think it is better to enforce some whitespace after a TODO keyword than a word boundary. There are a few places where this could also be changed (i.e. `org-complex-heading-regexp-format'). Any opinion on this? Regards, -- Nicolas Goaziou
[O] [BABEL,PATCH] ob-fortran, ert tests
ob-fortran.el: fix a bug with string input, add ob-fortran tests with ert. >From ed4e14fd509cad8d9ccc66bef570f2d8796213ca Mon Sep 17 00:00:00 2001 From: Litvinov Sergey Date: Thu, 21 Jul 2011 00:44:50 +0200 Subject: [PATCH] ob-fortran.el: fix bug with string input, add ob-fortran tests with ert --- contrib/babel/langs/ob-fortran.el|4 +- testing/README.org |1 + testing/examples/ob-fortran-test.org | 86 +++--- testing/lisp/test-ob-fortran.el | 80 +++ 4 files changed, 131 insertions(+), 40 deletions(-) create mode 100644 testing/lisp/test-ob-fortran.el diff --git a/contrib/babel/langs/ob-fortran.el b/contrib/babel/langs/ob-fortran.el index f2f5cb2..6b0b144 100644 --- a/contrib/babel/langs/ob-fortran.el +++ b/contrib/babel/langs/ob-fortran.el @@ -142,8 +142,8 @@ of the same value." ((or (characterp val)) (format "character, parameter :: %S = '%S'\n" var val)) ((stringp val) - (format "character, parameter :: %S(%d) = '%s'\n" - var (length val) val)) + (format "character(len=%d), parameter :: %S = '%s'\n" + (length val) var val)) ((listp val) (format "real, parameter :: %S(%d) = %s\n" var (length val) (ob-fortran-transform-list val))) diff --git a/testing/README.org b/testing/README.org index 648a30d..3cc0487 100644 --- a/testing/README.org +++ b/testing/README.org @@ -78,6 +78,7 @@ First tangle this file out to your desktop. (org-id-update-id-locations (list (concat org-dir "/testing/examples/babel.org") (concat org-dir "/testing/examples/normal.org") + (concat org-dir "/testing/examples/ob-fortran-test.org") (concat org-dir "/testing/examples/link-in-heading.org") (concat org-dir "/testing/examples/links.org"))) diff --git a/testing/examples/ob-fortran-test.org b/testing/examples/ob-fortran-test.org index ade9f43..d48ae4e 100644 --- a/testing/examples/ob-fortran-test.org +++ b/testing/examples/ob-fortran-test.org @@ -1,76 +1,86 @@ -* Test org fortran file -#+begin_src fortran +#+Title: a collection of examples for ob-fortran tests +#+OPTIONS: ^:nil + +* simple programs + :PROPERTIES: + :ID: 459384e8-1797-4f11-867e-dde0473ea7cc + :END: +#+source: hello +#+begin_src fortran :results silent print *, 'Hello world' #+end_src -#+begin_src fortran +#+source: fortran_parameter +#+begin_src fortran :results silent integer, parameter :: i = 10 -print *, 'i = ', i +write (*, '(i2)') i #+end_src -#+begin_src fortran :var N = 10 -print *, 'N = ', N +* variable resolution + :PROPERTIES: + :ID: d8d1dfd3-5f0c-48fe-b55d-777997e02242 + :END: +#+begin_src fortran :var N = 15 :results silent +write (*, '(i2)') N #+end_src Define for preprocessed fortran -#+begin_src fortran :defines N 42 +#+begin_src fortran :defines N 42 :results silent implicit none -print *, 'N = ', N +write (*, '(i2)') N #+end_src -#+begin_src fortran :var s="word" -print *, 's = ', s -print *, 'size(s) = ', size(s) +#+begin_src fortran :var s="word" :results silent +write (*, '(a4)') s #+end_src - -#+begin_src fortran :var s=42.0 -print *, 's = ', s -print *, 'kind(s) = ', kind(s) +* arrays + :PROPERTIES: + :ID: c28569d9-04ce-4cad-ab81-1ea29f691465 + :END: +Real array as input +#+begin_src fortran :var s='(1.0 2.0 3.0) :results silent +write (*, '(3f5.2)'), s #+end_src -#+begin_src fortran -program ex -print *, "output of ex program" -end program ex +#+tblname: test_tbl +| 1.0 | +| 2.0 | + +#+begin_src fortran :var s=test_tbl :results silent +write (*, '(2f5.2)'), s #+end_src +* failing + :PROPERTIES: + :ID: 891ead4a-f87a-473c-9ae0-1cf348bcd04f + :END: Should fail (TODO: add input variables for the case with explicit program statement) -#+begin_src fortran :var s="word" +#+begin_src fortran :var s="word" :results silent program ex print *, "output of ex program" end program ex #+end_src -Real array as input -#+begin_src fortran :var s='(1.0 2.0 3.0) -print *, s -#+end_src - -#+tblname: test_tbl -| 1.0 | -| 2.0 | - -Real array as input -#+begin_src fortran :var s=test_tbl -print *, s -#+end_src - Fails to compile (TODO: error check in ob-fortran.el) -#+begin_src fortran :var s='(1 ()) +#+begin_src fortran :var s='(1 ()) :results silent print *, s #+end_src Should fail to compile with gfortran -#+begin_src fortran :flags --std=f95 --pedantic-error +#+begin_src fortran :flags --std=f95 --pedantic-error :results silent program ex integer*8 :: i end program ex #+end_src +* programs input parameters + :PROPERTIES: + :ID: 2d5330ea-9934-4737-9ed6-e1d3dae2dfa4 + :END: Pass parameters to the program -#+begin_src fortran :cmdline "23" +#+begin_src fortran :cmdline "23" :results silent character(len=255) :: cmd -call get_command(cmd) +call get_command_argument(1, cmd) write (*,*) trim(cmd) #+end_src diff --git a/testing/lisp/test-ob-fortran.el b/testin
Re: [O] bug report: archiving an indirect buffer
Hello, Ilya Shlyakhter writes: > org-archive-subtree calls (abbreviate-file-name (buffer-file-name)) > but the buffer file name is nil for indirect buffers. I have committed a fix for that problem. If you have time, could you confirm that it's working? Thanks. Regards, -- Nicolas Goaziou
Re: [O] Org-capture from Firefox: ^M or not ^M?
Hi Otto , Otto Pichlhöfer wrote: >> In the exact same conditions (I mean, Emacs settings, etc.), when I capture >> some regions from Web pages, they sometimes: >> >> - are mixed "all one one line" >> Example: >> http://lists.gnu.org/archive/html/help-gnu-emacs/2007-03/msg00670.html Just to be complete, what's weird in this case is that lines are well "apart" (or "unfilled", in Emacs terminology) in the HTML source. Of course, we can imagine putting a "filling" command in the capture hook, but this will often break things -- you don't want code to be automatically (and irresponsibly) filled, do you? Best regards, Seb -- Sebastien Vauban
Re: [O] CLOCKTABLE multiply time expended by hourly rate?
On Jul 20, 2011, at 4:38 PM, Daniel E. Doherty wrote: > > Hi all, > > I am trying to use orgmode to bill for time. My idea is to add a column > that multiplies the elapsed time column by an hourly rate. > Unfortunately, the elapsed time is interpreted (I believe) as a fraction > in calc, so, for example, a time of 0:58 becomes a zero. > > Is there a way to make the elapsed time get formatted as a decimal, or a > function to convert it to a decimal, so I can multiply the time by a > decimal and get teh right answer. I also use clock tables in this way and would be very interested in such a feature. -- A. Ryan Reynolds
[O] CLOCKTABLE multiply time expended by hourly rate?
Hi all, I am trying to use orgmode to bill for time. My idea is to add a column that multiplies the elapsed time column by an hourly rate. Unfortunately, the elapsed time is interpreted (I believe) as a fraction in calc, so, for example, a time of 0:58 becomes a zero. Is there a way to make the elapsed time get formatted as a decimal, or a function to convert it to a decimal, so I can multiply the time by a decimal and get teh right answer. Here is what I'm getting now, using 50 as a multiplier: | Headline | Time| | | | |---+-+---+--+---| | *Total time* | *28:09* | | | 0 | |---+-+---+--+---| | Lawsuit for Debt Against Rose Funding, LLC (1016-cv18431) | 28:09 | | | 0 | | Activities| | 28:09 | | 0 | | DONE Activity Log | | | 0:05 | 0 | | DONE Draft Complaint for Damages | | | 5:40 | 25:4 | | DONE Meet with Kevin Jones and Elizabeth Bennett re Complaint | | | 0:32 | 0 | | DONE [#A] Motion for Appointment of Private Process Server| | | 1:24 | 25:12 | | DONE [#A] File Affidavit of Service with Court| | | 0:25 | 0 | | [2010-07-27 Tue 11:16] Phone call from Mark Sheister | | | 0:11 | 0 | | Research regarding compulsory counterclaim, res judicata | | | 1:23 | 50:23 | | Work on brief in opposition to motion to dismiss. | | | 3:03 |50 | | Prepared for Hearing | | | 0:24 | 0 | | Hearing on Case Status (Div 25:7th Flr) <2010-10-19 Tue 09:00>| | | 0:30 | 0 | | Hearing on Motion to Dismiss <2010-11-30 Tue 09:00> | | | 1:15 | 10:3 | | Hearing on Motion to Dismiss <2010-12-21 Tue 09:00> | | | 1:09 | 50:9 | | Status Hearing <2011-01-25 Tue 09:00> | | | 1:31 | 50:31 | | Status Hearing <2011-04-26 Tue 09:00> | | | 1:42 | 25:21 | | Called Kevin [[bbdb:Stacy]]. Left voicemail to call re settlement offer. | | | 0:04 | 0 | | DONE Call [[bbdb:Sheister]] with counter offer. | | | 0:06 | 0 | | [#B] Draft Interrogatories for Rose, Swords | | | 4:48 | 25:6 | | Argo Status Hearing <2011-06-28 Tue 09:00>| | | 1:09 | 50:9 | | Letter of Discovery Deficiencies | | | 2:48 | 25:12 | #+TBLFM: $5=$4*50;Df2 #+END: Reagards, -- Daniel E. Doherty Up the airy mountain, Down the rushy glen, We daren't go a-hunting, For fear of little men. --- William Allingham (Donegal, Ireland)
Re: [O] Suggestion: Stackoverflow for Orgmode
> On Wed, 20 Jul 2011 09:02:03 -0700, Rehan Iftikhar > said: RI> Personally I feel that the StackExchange interface is more accessible RI> to newcomers than mailing lists or Worg. Its a great way to ask a RI> questions and get an answer. (and it's worth noting that org-mode questions already get asked on the existing Stack Overflow: http://stackoverflow.com/search?q=org ) RI> The mailing list is better at having conversations about a topic. Worg RI> is a great resource for hand-curated advice, which will always be RI> useful. RI> I would definitely use a StackExchange-like application for Org if it existed. RI> On Wed, Jul 20, 2011 at 6:45 AM, Memnon Anon RI> wrote: >> Thomas Renkert writes: >> >>> I noticed that - as more people with a diverse range of background knowledge >>> start to use orgmode - the mailing list is getting more and more difficult >>> to >>> navigate: >> >> I do agree that the volume of mails did considerably increase. >> >>> a lot of threads are long and winding and many of the posts are basic >>> questions from beginners and questions about special use cases or >>> scenarios from >>> more experienced users. >> >> At this point, however, I have a different impression. >> Yes, there are some long threads, but those seem to be rarley those >> interesting for new users while setting up their orgworld. >> Those threads are *imho* usually about new features that need >> discussion, clarification etc.: a ping pong of ideas. >> When subareas emerge, tags like [BABEL] or now [CALFW] make it easy to >> parse them out if you are not interested. >> >> OTOH, I am used to dealing with mailing lists and I find them very >> convenient. Others may very well have a different impression. >> Is this worth a poll in a new thread? >> >>> An idea: >>> Many of you may be familiar with the Q&A-Sites www.stackoverflow.com or >>> www.superuser.com. >> >> There are already some questions about org on stackoverflow, if people >> are interested in this format, they can already go there. Setting this >> up seems overkill to me, especially, because we have Worg to collect >> the nuggets of all threads. If newcomers find the volume on this list >> overwhelming, I think splitting it into a -dev and a -user list would >> be the next logical step, first. >> >> However, I am not opposed to this idea when others agree it would be >> usefull. I can't really see myself using it so far, but that may very >> well change. >> >> Memnon >> >> >> >> RI> -- RI> -Rehan -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/
Re: [O] Suggestion: Stackoverflow for Orgmode
Personally I feel that the StackExchange interface is more accessible to newcomers than mailing lists or Worg. Its a great way to ask a questions and get an answer. The mailing list is better at having conversations about a topic. Worg is a great resource for hand-curated advice, which will always be useful. I would definitely use a StackExchange-like application for Org if it existed. On Wed, Jul 20, 2011 at 6:45 AM, Memnon Anon wrote: > Thomas Renkert writes: > >> I noticed that - as more people with a diverse range of background knowledge >> start to use orgmode - the mailing list is getting more and more difficult to >> navigate: > > I do agree that the volume of mails did considerably increase. > >> a lot of threads are long and winding and many of the posts are basic >> questions from beginners and questions about special use cases or scenarios >> from >> more experienced users. > > At this point, however, I have a different impression. > Yes, there are some long threads, but those seem to be rarley those > interesting for new users while setting up their orgworld. > Those threads are *imho* usually about new features that need > discussion, clarification etc.: a ping pong of ideas. > When subareas emerge, tags like [BABEL] or now [CALFW] make it easy to > parse them out if you are not interested. > > OTOH, I am used to dealing with mailing lists and I find them very > convenient. Others may very well have a different impression. > Is this worth a poll in a new thread? > >> An idea: >> Many of you may be familiar with the Q&A-Sites www.stackoverflow.com or >> www.superuser.com. > > There are already some questions about org on stackoverflow, if people > are interested in this format, they can already go there. Setting this > up seems overkill to me, especially, because we have Worg to collect > the nuggets of all threads. If newcomers find the volume on this list > overwhelming, I think splitting it into a -dev and a -user list would > be the next logical step, first. > > However, I am not opposed to this idea when others agree it would be > usefull. I can't really see myself using it so far, but that may very > well change. > > Memnon > > > > -- -Rehan
Re: [O] Move to item to the bottom
[Feature suggestion] (related to what I described in the last post of this thread): Keep configuration options for an org file in a separate file. Could be: * nameoftheorgfile.conf I know it seems awkward, but I think it'd be nice if we could keep org file configurations outside of the org file, of course, as an optional feature. Now, this wouldn't be complicated to implement, I'm sure, and I could even try to hack it as part of some much needed elisp exercise. Would that make sense? Cheers, Marcelo. On Thu, Jul 7, 2011 at 10:51 AM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > It's obvious, but here's the snippet to promote the headline for your > convenience: > > > (defun ngz-move-headline-up () > "Move current headline to the top of the tree" > (interactive) > (unless (org-at-heading-p) (error "Not at an headline")) > (save-excursion (while (ignore-errors (org-move-subtree-up) > > > The only minor issue I have now is with my org file conf section. It's > supposed to be the last item in the file, but when I send the item to the > bottom, it starts pilling up as I add more. > > It would be nice if we could setup a special tag for the conf section of > the org file, i.e: > > * conf :HIDDEN: > #+STARTUP: overview > ... > > HIDDEN items would be hidden unless show-hidden-items toggles. Does that > make sense? > > Cheers, > > Marcelo. > > On Mon, Jul 4, 2011 at 10:27 PM, Marcelo de Moraes Serpa < > celose...@gmail.com> wrote: > >> I definitely need to get my head around elisp. Thank you very much. >> >> >> On Sun, Jul 3, 2011 at 4:39 AM, Nicolas Goaziou wrote: >> >>> Hello, >>> >>> Marcelo de Moraes Serpa writes: >>> >>> > Nicolas, the function works quite well! Thanks. Just one last request: >>> Is >>> > it possible to not follow the item until the bottom? The issue is that, >>> once >>> > running it and when the item is sent to the bottom of the file, the >>> pointer >>> > is also put there and the buffer scrolls down with it. >>> >>> >>> Sure, it's simple as packing it into a (save-excursion ...) >>> >>> #+begin_src emacs-lisp >>> (defun ngz-move-headline-at-bottom () >>> "Move current headline to the last position in the same tree" >>> (interactive) >>> (unless (org-at-heading-p) (error "Not at an headline")) >>> (save-excursion (while (ignore-errors (org-move-subtree-down) >>> #+end_src >>> >>> Regards, >>> >>> -- >>> Nicolas Goaziou >>> >> >> >
Re: [O] Suggestion: Stackoverflow for Orgmode
On Wed, Jul 20, 2011 at 8:53 AM, Rainer M Krug wrote: > > > On Wed, Jul 20, 2011 at 2:13 PM, Thomas Renkert > wrote: >> >> Jambunathan K gmail.com> writes: >> >> > >> > The biggest diasadvantage would be fragmentation of information. >> > >> > All information needs to have authoritative sources and archives. I >> > believe the info manual, GNU mailing list and the Orgmode.org domain (of >> > which Worg is but a part) are the right place for such archival >> > references. >> >> Sure. But reading the manual from a to z or searching the mailing list for >> the >> right line of elisp is sometimes very slow if you need a quick solution. I >> am by >> no means suggesting that we should give up the established ways of >> archiving >> information or discussion, though. >> >> I simply think that something like "ask.orgmode.org" with a >> stackexchange-like >> interface could be very helpful for a larger portion of users. >> >> It may happen that redundant information is produced by this idea but I >> think it >> will make orgmode more usable and less intimidating for new users. >> Something >> similar has happened before: the orgguide was Carsten's solution for the >> complex >> 200+ pages of the original manual. >> >> Besides I find that useful information is already pretty much fragmented >> across >> the threads of this mailing list (there is also a lot of bugfixing, >> regression >> reports and feature request going on). >> >> Sure, the knowledge is there somewhere but it would be nice to see what >> works >> and what is useful without having to try everything for yourself. >> >> >> >> > I don't think anyone would object to having a secondary marketplace for >> > trading of orgmode related tips and tricks. >> >> >> My question is if anyone on this list would actively participate to get it >> off >> the ground. And I think that hosting it on the orgmode.org-server would >> make a >> lot of sense. >> >> Is somebody here interested in starting this? >> >> > > Not starting - but I think it is a really good idea. > Nothing against worg (an absolutely fantastic resource) - but I consider the > way that worg is edited as more static then a dynamic FAQ page, which this > would result in if I understand correctly. > I would definitely add to it. I agree that this should not replace any of > the great resources of org, but it could supplement as a more dynamic format > then worg, but more structured then a mailing list. I'd definitely participate. I keep an "emacs" label in gmail with the mailing list items where I've specifically had a question resolved. I have to refer to them often. Sometimes my searches for the mailing list exchange I *know* happened result in diddly because I just can't remember the title of the email dialog. I think something like SE would be fantastic, and in my opinion is a much more robust than mailing lists *once the answer is determined.* Mailing lists are great for hashing out discussions and getting input... but I think a more concrete (but still modify-able) repository would be better once a tangible outcome from the mailing list has resulted. Honestly, I don't see much difference than doing the same thing with a wiki... but SE is infinitely more fun to contribute to. I could see the benefit of SE's multiple answers format as well, since my observation on the mailing list has often been that many users do things differently. I'd be open to starting this in Area51 if there is significant interest. I don't think it's all that difficult and it's fairly self-fulfilling; if users commit/participate... it launches. If not, it won't. John > Cheers, > Rainer > > -- > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, > UCT), Dipl. Phys. (Germany) > > Centre of Excellence for Invasion Biology > Stellenbosch University > South Africa > > Tel : +33 - (0)9 53 10 27 44 > Cell: +33 - (0)6 85 62 59 98 > Fax (F): +33 - (0)9 58 10 27 44 > > Fax (D): +49 - (0)3 21 21 25 22 44 > > email: rai...@krugs.de > > Skype: RMkrug > >
Re: [O] Org-capture from Firefox: ^M or not ^M?
Sebastien Vauban writes: > > Hello, > > In the exact same conditions (I mean, Emacs settings, etc.), when I capture > some regions from Web pages, they sometimes: > > - are mixed "all one one line" > Example: > http://lists.gnu.org/archive/html/help-gnu-emacs/2007-03/msg00670.html > > - are copied as on the screen, but with ending ^M at every line > Example: http://www.emacswiki.org/emacs/DiaryMode > > I'm not sure anymore whether or when it is correct: > - region on multiple lines (as on the screen), and > - no ending ^M... > > Questions: > > - Do you see the same behavior as mine? I'm on Windows XP with Firefox > 3.6.18. > > - Is there some work around so that you would not have to fiddle with the > copied text? > > Best regards, > Seb > I do this: (defun remove-ctrl-M () "Remove ^M at end of line in the whole buffer." (interactive) (save-match-data (save-excursion (let ((remove-count 0)) (goto-char (point-min)) (point-max) t) ; so passt es nur am Ende der Zeile (while (re-search-forward (char-to-string 13) (point-max) t) (setq remove-count (+ remove-count 1)) (replace-match "" nil nil)) (message (format "%d ^M removed from buffer." remove-count)) and: (add-hook 'org-capture-mode-hook 'remove-ctrl-M) Regards, Otto
Re: [O] Suggestion: Stackoverflow for Orgmode
I think on the whole that this is a good idea; I do wonder if it might harmfully divide the effort on the documentation rather than provide a complement to the manual and guide, but I think the best way to find out is just to try it and see what people use. If the existing FOSS designed to fill this niche are unacceptable to our purposes we can always make our own. Such a site would not be complicated to build, and I would be very willing to put in effort toward this goal. I do not know Elisp very well, which prevents me from contributing much to this project even though I depend heavily on Org-mode, but web programming I can contribute. -- A. Ryan Reynolds
Re: [O] bug when tuning agenda views
Роман Новиков writes: > org-7.5 ,[ (info "(org)Feedback") ] |For bug reports, please first try to reproduce the bug with the | latest version of Org available--if you are running an outdated | version, it is quite possible that the bug has been fixed already. ` http://orgmode.org/index.html#sec-2: The current version is 7.6. To see what has changed in recent releases, check this detailed list of changes. hth Memnon
Re: [O] Can't follow links with id property
Suvayu Ali writes: > Hi everyone, > > I can't follow links with an ID property. I have attached a minimal > example org file. Org complains it cannot find a match and prompts to > create a new headline. Answering yes to the prompt creates a new > headline like this: > > * id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO I confirm Suvayu's bug. I clicked with the mouse on the link. The backtrace follows. cheers, Giovanni (save-current-buffer (set-buffer (or reference-buffer ...)) (if (string-match " +\\'" path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (with-current-buffer (or reference-buffer (current-buffer)) (if (string-match " +\\'" path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (let (type path link line search (pos ...)) (catch (quote match) (save-excursion ... ...) (when ... ... ...) (save-excursion ...) (save-excursion ...) (when ... ... ...)) (unless path (error "No link found")) (with-current-buffer (or reference-buffer ...) (if ... ...) (if ... ...) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...))) (cond ((and ... ... ...) (or ... ...)) ((run-hook-with-args-until-success ...)) ((org-at-timestamp-p t) (org-follow-timestamp-link)) ((and ... ...) (org-footnote-action)) (t (let ... ... ... ...))) (if (call-interactively (function org-babel-open-src-block-result)) nil (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) (unless (call-interactively (function org-babel-open-src-block-result)) (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) org-open-at-point() org-open-at-mouse((mouse-2 (# 46572 (258 . 40) 25770435 nil 46572 (32 . 2) nil (2 . 8) (8 . 16 call-interactively(org-open-at-mouse nil nil)
[O] org-edit-file ?
I just thought of an idea that I wonder if someone has implemented. While writing my journal I find myself wanting to insert a graphics file, e.g. a svg file and I write *file:foo.svg* . After having written the name I enter inkscape to create the contents of the file. To do that I have to run inkscape manually and eventually doing saveas and navigate to the correct directory to save the file. So my idea is to have a a new command org-edit-file that would: - If the file does not exist, copy a skeleton file to the filename or generate the skeleton file by an emacs-function or by calling an external application. - Call the configured editor application on the new file. - If invoked with Ctrl-u , allow the user to specify what editor to run on the file, e.g. inkscape, or killustrator on svg files. Does something like this already exists? Regards, Dov
Re: [O] New backend for org-agenda:
SAKURAI Masashi writes: Hi Masashi, > > At Tue, 19 Jul 2011 01:06:14 +0200, > Bastien wrote: >> : >> > I'm sure that the caching mechanism is useful, but I'm not sure that >> > we should do it with paying the large cost of rewrite whole codes. >> >> FWIW, this is a two separate steps process: 1) write a usable cache, >> then 2) re-implement (parts of) the agenda by using it. >> >> I think (1) could be interesting /per-se/ and if it helps calfw, then >> it's even more interesting. > > What does '/per-se/' mean ? :-) it is Latin, an ancient *European* language it means: - 'In itself' - Also "by itself" or: - Without referring to anything else, intrinsically, taken without qualifications, > Excuse me for asking a trivial word. You should excuse our Eurocentrism ;-) cheers, Giovanni
Re: [O] Can't follow links with id property
On Wed, Jul 20, 2011 at 4:10 PM, Giovanni Ridolfi wrote: > Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af > GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO > > I confirm Suvayu's bug. For the record, exporting to HTML has a properly functional link. Just org-open-at-point doesn't work in the orgmode buffer. -- Suvayu Open source is the future. It sets us free.
Re: [O] Suggestion: Stackoverflow for Orgmode
Thomas Renkert writes: > I noticed that - as more people with a diverse range of background knowledge > start to use orgmode - the mailing list is getting more and more difficult to > navigate: I do agree that the volume of mails did considerably increase. > a lot of threads are long and winding and many of the posts are basic > questions from beginners and questions about special use cases or scenarios > from > more experienced users. At this point, however, I have a different impression. Yes, there are some long threads, but those seem to be rarley those interesting for new users while setting up their orgworld. Those threads are *imho* usually about new features that need discussion, clarification etc.: a ping pong of ideas. When subareas emerge, tags like [BABEL] or now [CALFW] make it easy to parse them out if you are not interested. OTOH, I am used to dealing with mailing lists and I find them very convenient. Others may very well have a different impression. Is this worth a poll in a new thread? > An idea: > Many of you may be familiar with the Q&A-Sites www.stackoverflow.com or > www.superuser.com. There are already some questions about org on stackoverflow, if people are interested in this format, they can already go there. Setting this up seems overkill to me, especially, because we have Worg to collect the nuggets of all threads. If newcomers find the volume on this list overwhelming, I think splitting it into a -dev and a -user list would be the next logical step, first. However, I am not opposed to this idea when others agree it would be usefull. I can't really see myself using it so far, but that may very well change. Memnon
Re: [O] [org-babel] a patch with fortran support
Hi Sergey, Sergey Litvinov writes: > Please consider an implementation of fortran support for > org-babel. The patch adds contrib/babel/langs/ob-fortran.el > (modification of lisp/ob-C.el) and > testing/examples/ob-fortran-test.org with tests. FWIW: this patch has already been applied: I guess there are some delays wrt mailing list delivery. -- Bastien
Re: [O] [bug] Org-capture bug due to recent dired-buffers related feature
Hi Puneeth, Puneeth Chaganti writes: > The recent commit that adds a dired-buffer related feature, breaks > org-capture when dired-mode has not been loaded. The dired-buffers > variable becomes available only when dired-mode has been loaded > atleast once. Fixed by requiring dired with (require 'dired) in org-capture.el. Thanks, -- Bastien
Re: [O] Suggestion: Stackoverflow for Orgmode
On Wed, Jul 20, 2011 at 2:13 PM, Thomas Renkert < tunnelbl...@quantentunnel.de> wrote: > Jambunathan K gmail.com> writes: > > > > > The biggest diasadvantage would be fragmentation of information. > > > > All information needs to have authoritative sources and archives. I > > believe the info manual, GNU mailing list and the Orgmode.org domain (of > > which Worg is but a part) are the right place for such archival > > references. > > Sure. But reading the manual from a to z or searching the mailing list for > the > right line of elisp is sometimes very slow if you need a quick solution. I > am by > no means suggesting that we should give up the established ways of > archiving > information or discussion, though. > > I simply think that something like "ask.orgmode.org" with a > stackexchange-like > interface could be very helpful for a larger portion of users. > > It may happen that redundant information is produced by this idea but I > think it > will make orgmode more usable and less intimidating for new users. > Something > similar has happened before: the orgguide was Carsten's solution for the > complex > 200+ pages of the original manual. > > Besides I find that useful information is already pretty much fragmented > across > the threads of this mailing list (there is also a lot of bugfixing, > regression > reports and feature request going on). > > Sure, the knowledge is there somewhere but it would be nice to see what > works > and what is useful without having to try everything for yourself. > > > > > I don't think anyone would object to having a secondary marketplace for > > trading of orgmode related tips and tricks. > > > My question is if anyone on this list would actively participate to get it > off > the ground. And I think that hosting it on the orgmode.org-server would > make a > lot of sense. > > Is somebody here interested in starting this? > > > Not starting - but I think it is a really good idea. Nothing against worg (an absolutely fantastic resource) - but I consider the way that worg is edited as more static then a dynamic FAQ page, which this would result in if I understand correctly. I would definitely add to it. I agree that this should not replace any of the great resources of org, but it could supplement as a more dynamic format then worg, but more structured then a mailing list. Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
[O] bug when tuning agenda views
Hi! when adding this string to my .emacs agenda is generating well, but when into agenda window I typing 't' to change TODO state of entry - emacs is hanging and only rebooting helps. without '\n' everything works well. (org-agenda-prefix-format "[ ] \n %T: ") emacs-23.3 org-7.5 Win7 Regards, Roman FSF member 9492
Re: [O] org-publish: Best practice to generate a html header on a per-file basis ?
Hi Sander, Sander Boer writes: > I've been investigating a viable way to generate for every exported html > file in an org-publish project a list of links to all the other html files > in the directory-tree and I'm stuck. Not tested: perhaps you can try to generate the sitemap.org file and include it into your other Org files with #+INCLUDE? > Incidently, it took a long time to figure out that one cannot pass > mere functions to html-preamble like this: > :html-preamble 'my-cool-function-that-returns-a-string You can use :html-preamble my-cool-function-that-returns-a-string with no "'" Note that this function must take no argument and output a string since the commit I just pushed. Thanks, -- Bastien
Re: [O] regression: capture vs dired
Fixed, thanks. Greg Troxel writes: > When doing capture, after selecting 'task', I get: > > Template key: > call-interactively: Symbol's value as variable is void: dired-buffers > > This is on: > > GNU Emacs 23.3.1 (i386--netbsdelf, GTK+ Version 2.24.4) of 2011-06-25 on > fnord.ir.bbn.com > > I suspect it may be this commit: > > commit 819fbec64160c3c33884b116734c01f56be7606b > Author: Nicolas Goaziou > Date: Mon Jul 18 17:42:01 2011 +0200 > -- Bastien
Re: [O] [bug] Org-capture bug due to recent dired-buffers related feature
Hi Nicolas, Nicolas Goaziou writes: > True. This should be fixed now. Let me know if this isn't the case. Your fix is better -- I reverted mine. Thanks! -- Bastien
Re: [O] New backend for org-agenda: (Was Calendar-like view of the org-agenda)
SAKURAI Masashi writes: > What does '/per-se/' mean ? It means 'as such' Here is the entry from Merriam Webster Unabriged , | per se | Function: adverb | Etymology: Latin | : by, of, or in itself or oneself or themselves : as such : INDEPENDENTLY, INTRINSICALLY | | | | | | ` > Excuse me for asking a trivial word. No worries. No worries. –Rasmus -- Sent from my Emacs
Re: [O] ODT Export does not seem to recognise org-export-default-language
Hello Rainer > Hi! > > Exporting an org file via C-c C-e O to an ODT file does not seem to recognise > the > org-export-default-language setting. > Export of the same subtree to HTML does recognise the setting and produce a > german > translation of "table of contents". DOT export sticks with "table of > contents". I can confirm the bug and I have a fix for this issue. I will include the fix in the next set of patches which I plan to submit in another few hours. As a temporary workaround, you can rebuild the indices (and hence TOC) with Tools->Update->Update All from OpenOffice UI. Jambunathan K. > > Org-mode version 7.6 (release_7.6.129.gfe0c) > > does somebody else use a non "en" export and experience the same? > > - Rainer > > > --
[O] iCalendar export
Hello! I like the feature that TODO-items and calendar-items can be exportet to an iCalendar file. But one thing bugs me, I'm having trouble finding suitable software that supports the iCalendar-standard with vtodo items... So my question to this newsgroup is; If you use the iCalendar export function, what software do you use to view this information? And have anyone got this information to their mobile devices? Android? Having this information on the go would be killer... Regards Gustav
Re: [O] Suggestion: Stackoverflow for Orgmode
Jambunathan K gmail.com> writes: > > The biggest diasadvantage would be fragmentation of information. > > All information needs to have authoritative sources and archives. I > believe the info manual, GNU mailing list and the Orgmode.org domain (of > which Worg is but a part) are the right place for such archival > references. Sure. But reading the manual from a to z or searching the mailing list for the right line of elisp is sometimes very slow if you need a quick solution. I am by no means suggesting that we should give up the established ways of archiving information or discussion, though. I simply think that something like "ask.orgmode.org" with a stackexchange-like interface could be very helpful for a larger portion of users. It may happen that redundant information is produced by this idea but I think it will make orgmode more usable and less intimidating for new users. Something similar has happened before: the orgguide was Carsten's solution for the complex 200+ pages of the original manual. Besides I find that useful information is already pretty much fragmented across the threads of this mailing list (there is also a lot of bugfixing, regression reports and feature request going on). Sure, the knowledge is there somewhere but it would be nice to see what works and what is useful without having to try everything for yourself. > I don't think anyone would object to having a secondary marketplace for > trading of orgmode related tips and tricks. My question is if anyone on this list would actively participate to get it off the ground. And I think that hosting it on the orgmode.org-server would make a lot of sense. Is somebody here interested in starting this?
[O] Wrong type argument listp on export
Hello, I narrowed down my problem to the following short example: * My Test Block This is a test #+source testblock #+begin_src python :var x=3 :exports both :results output print x*x #+end_src executing the source-bock yields the correct result. When exporting this file however I get the folowing error: Wrong type argument: listp, 3 Am I doing something wrong here? I'm using Org-mode 7.6 (release_7.6.129.gfe0c). regards, Dirk.
Re: [O] Suggestion: Stackoverflow for Orgmode
> The biggest advantage, IMO, is the aspect of self-organization: The biggest diasadvantage would be fragmentation of information. All information needs to have authoritative sources and archives. I believe the info manual, GNU mailing list and the Orgmode.org domain (of which Worg is but a part) are the right place for such archival references. I don't think anyone would object to having a secondary marketplace for trading of orgmode related tips and tricks. Jambunathan K. --
[O] ODT Export does not seem to recognise org-export-default-language
Hi! Exporting an org file via C-c C-e O to an ODT file does not seem to recognise the org-export-default-language setting. Export of the same subtree to HTML does recognise the setting and produce a german translation of "table of contents". DOT export sticks with "table of contents". Org-mode version 7.6 (release_7.6.129.gfe0c) does somebody else use a non "en" export and experience the same? - Rainer
Re: [O] [BUG] Changing TODO states sometimes modifies the schedulingof the next heading
Hello, Tom writes: > Bottom line: the problem does not occur in the English locale, > because there all day abbreviations are 3 chars long, so the > above described simple way of restoring the cursor position > always works. But this is not true for all locales, so org > shouldn't rely on that. Would you mind telling me if the following patch fixes your problem? If so, I'll apply it to the code base. Regards, -- Nicolas Goaziou >From 6ab4222325f304d89bb161085956bc3c2d1d7617 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 20 Jul 2011 10:18:31 +0200 Subject: [PATCH] Fix bug with TODO states changes modifying scheduling of next headline * lisp/org.el (org-timestamp-change): some locales don't use the same length for date abbreviations. Set a marker at origin in case length of new timestamp is different. Thanks to Tom for analyzing this. --- lisp/org.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index fee13b7..c08ab75 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15567,7 +15567,7 @@ With prefix ARG, change that many days." The date will be changed by N times WHAT. WHAT can be `day', `month', `year', `minute', `second'. If WHAT is not given, the cursor position in the timestamp determines what will be changed." - (let ((pos (point)) + (let ((pos (copy-marker (point))) with-hm inactive (dm (max (nth 1 org-time-stamp-rounding-minutes) 1)) org-ts-what @@ -15631,6 +15631,7 @@ in the timestamp determines what will be changed." (org-insert-time-stamp time with-hm inactive nil nil extra)) (org-clock-update-time-maybe) (goto-char pos) + (move-marker pos nil) ;; Try to recenter the calendar window, if any (if (and org-calendar-follow-timestamp-change (get-buffer-window "*Calendar*" t) -- 1.7.6
[O] Suggestion: Stackoverflow for Orgmode
Hello, I have been using Orgmode for the last two years. In fact, I started learning Emacs only to use orgmode (btw: a huge thank you to Carsten and the other contributors!). I noticed that - as more people with a diverse range of background knowledge start to use orgmode - the mailing list is getting more and more difficult to navigate: a lot of threads are long and winding and many of the posts are basic questions from beginners and questions about special use cases or scenarios from more experienced users. Long story short: Orgmode is in itself so complex and powerful and its use cases and the demands of its users are so diverse that I think we need a better method of "getting quickly to the answer". To clarify: the manual, worg and the mailing list are superb! I just think we could speed up things, especially for new users. This could also attract new users and make the mailing list a bit "leaner" in the end. An idea: Many of you may be familiar with the Q&A-Sites www.stackoverflow.com or www.superuser.com. This is pretty much what I have in mind. The closest to Orgmode is maybe http://tex.stackexchange.com which is the same concept for a similarly large and powerful system, LaTeX. The biggest advantage, IMO, is the aspect of self-organization: Good questions get upvoted and attract better answers. "Good" can mean anything here: a fundamental / innovative / original / detailed / effective question. Questions and answers can be tagged. Contributors are rewarded with badges. New users will find basic answers without extended searches and experienced users can discuss about new and interesting problems basically in realtime. And: Good solutions, once they are found, don't get buried in long threads. It is hard to explain it this way: just have a look at http://tex.stackexchange.com and try to find the answers to a simple and to a more obscure problem in LaTeX: No matter what your level of knowledge is, you will get to the solution very quickly. My proposal: could we have something like this for Orgmode as well? There are basically 4 viable options, IMO: 1. Hosted by stackexchange: Stackexchange is commercial, but they host a dedicated Q&A-Site if it attracts enough interest in their sandbox: http://area51.stackexchange.com We could propose an Orgmode-stackexchange site to them and then vote for it. This may take some time, if it happens at all. 2. Hosted by shapado.com (commercial) Looks less polished but seems to work (maybe with ads?). They have a free plan http://shapado.com/plans (at the bottom of the page) 3. Self-hosted with http://askbot.org/ (FOSS and looks good) 4. Self-hosted with http://www.osqa.net (FOSS) If there is enough capacity on our server, I would suggest to try askbot (or osqa) because of the level of autonomy and independence this would give us. If we don't have the capacity, it might be worth it to set up a test site on shapado or to propose this to stackexchange. A site hosted by stackexchange might itself attract new users. What do you think?
Re: [O] New backend for org-agenda: (Was Calendar-like view of the org-agenda)
Hi Bastien, At Tue, 19 Jul 2011 01:06:14 +0200, Bastien wrote: > : > > I'm sure that the caching mechanism is useful, but I'm not sure that > > we should do it with paying the large cost of rewrite whole codes. > > FWIW, this is a two separate steps process: 1) write a usable cache, > then 2) re-implement (parts of) the agenda by using it. > > I think (1) could be interesting /per-se/ and if it helps calfw, then > it's even more interesting. What does '/per-se/' mean ? Excuse me for asking a trivial word. I'm also think about cache in the calfw side, such as an alist: (date . [a list of contents]). Then, uses can refresh the cache explicitly. It is easy to implement. Is the plan(1) the same idea? Regards, -- SAKURAI, Masashi (family, given) m.saku...@kiwanami.net
Re: [O] Calendar-like view of the org-agenda
Hi Bastien, At Mon, 18 Jul 2011 10:53:22 +0200, Bastien wrote: > : > > Please check it and let me know any ideas. > > I suggest everyone to use [calfw] as a tag in the subject of the > emails sent to the list, it will help filter through these requests. Thanks for your advice. I will add a tag. Regards -- SAKURAI, Masashi (family, given) m.saku...@kiwanami.net
Re: [O] [bug] Org-capture bug due to recent dired-buffers related feature
Nicolas, On 7/19/11, Nicolas Goaziou wrote: > Hello, > > Puneeth Chaganti writes: > >> The recent commit that adds a dired-buffer related feature, breaks >> org-capture when dired-mode has not been loaded. The dired-buffers >> variable becomes available only when dired-mode has been loaded >> atleast once. > > True. This should be fixed now. Let me know if this isn't the case. Fixed, thanks! -- Puneeth