Re: [Orgmode] Re: export to latex
On Jan 12, 2009, at 4:22 PM, sergio_101 wrote: Uwe Jochum uwe.joc...@uni-konstanz.de writes: 22.3.1): Before exporting to LaTeX I export to html. That done an export to LaTeX works fine (all four commands). I have no clue why this is necessary on my WinXP machine. At home, on my Linux machine, okay, i tried this.. and still no luck.. this is kind of a bummer, as i was using orgmode for all my table generating tasks in tex.. Hi Sergio, don't worry we will sort this out. What I need is a case where I can reproduce things. Maybe we have some different setup, so you could help my making a case that works with emacs -q -l .emacs.minimal where you put a minimal setup into .emacs. And then a step by step guide on how you get tings to hang. - Carsten ___ peace, sergio http://www.village-buzz.com ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] BUG: clock table gets corrupted (Emacs 21)
Hi, today I decided to bisect a major annoyance that has bugged me for quite some time now. I'm using a relatively old version of Emacs on Fedora 5. Emacs 21.4.1 from emacs-21.4-14.x86_64.rpm, to be exact. Upon clocking in, a single CLOCK: line is converted to a :CLOCK: block, and this is where the trouble is. On my machine, this is what happens. Before: * Test CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] = 0:00 After clocking in: * Test :CLOCK: CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] = 0:00 :END:CLOCK: [2009-01-12 Mon 23:27] The exact changeset that broke this is: f70127dd3f95473ac80aa407bafca8f68f08e002 And within that specifically the (org-clock-in): Use org-indent-line-function to indent clock lines. part (+1/-1 line). When I revert this single line in the current head, it starts working again. HTH Stefan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: BUG: clock table gets corrupted (Emacs 21)
When I revert this single line in the current head, it starts working again. Actually I also have to revert the change to org-clock-find-position. Sorry, missed that before. Stefan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Links to id:xxxxxx don't work in exported html
On Jan 12, 2009, at 5:09 PM, Friedrich Delgado Friedrichs wrote: Hiho Carsten Dominik schrieb: On Jan 9, 2009, at 5:59 PM, Friedrich Delgado Friedrichs wrote: same relative path ./ - work or the other way round it's . - ../ This is exactly what I meant, and how it works in my own test case here --Zitatende--- Ok, works here too. The id locations were outdated for some reason. Good to hear. I guess I need to make a more prominent notice about the need to occasionally update these. When you follow an ID link and the entry can not be found in the target file, then an update happens automatically. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Does secondary filtering allow multiple tags?
On Jan 12, 2009, at 6:37 PM, Hsiu-Khuern Tang wrote: * On Sat 11:12AM +, 10 Jan 2009, Carsten Dominik (domi...@science.uva.nl ) wrote: Hi Hsiu, nice hack. But I am still wondering why you do not use primary filtering for this, i.e. a tags search for project1|project2 C-c a m project1|project2 RET I couldn't get such a search to work with a daily/weekly/monthly agenda view. I was trying to restrict the weekly (say) agenda view to just two projects (identified by tags), which seems like a nice view for scheduling tasks. I would love a simple way to do this. If different projects were in different files, then one can modify org-agenda-files temporarily to achieve this, but my projects are not always cleanly separated that way. Yes, you are right, for the agenda this cannot be achieved, except for constructing your own org-agenda-skip-function. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Searching SCHEDULED/DEADLINE properties turns up spurious headings
On Jan 12, 2009, at 6:50 PM, Hsiu-Khuern Tang wrote: * On Sat 08:54PM +, 10 Jan 2009, Carsten Dominik (domi...@science.uva.nl ) wrote: Hi Hsiu, I believe this is a misunderstanding. You are constructing a sparse tree. Sparse tree always show all top-level headlines. The search really only matches the second one, as you can see from the highlighted stars. When I run that search (C-c \ +DEADLINE=2009-01-28 RET), all the three headlines have highlighted stars. (I am running Org-mode 6.17trans.) Hi Hsiu, thanks for insisting. You are right, there was a bug. Fixed now. - Carsten - Carsten On Jan 10, 2009, at 12:32 AM, Hsiu-Khuern Tang wrote: I find that doing a tags search for SCHEDULED or DEADLINE turns up headings that do not have any schedule or deadlines. Using the example from http://article.gmane.org/gmane.emacs.orgmode/10274 : , | #+SEQ_TODO: NEXT WAITING | DONE | #+STARTUP: overview | | * DONE Test1 |CLOSED: [2009-01-07 Wed 12:26] | | * NEXT Test2 |DEADLINE: 2009-01-28 Wed | | * Test3 ` If I type C-c \ +DEADLINE=2009-01-28 RET all three headlines are selected! I expected to match the second headline only. -- Best, Hsiu-Khuern. ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil
I recently installed 6.17c org-mode on Windows XP withg GNU Emacs. When I create an agenda view, switch on column view, then attempt to modify the effort estimate with shift-right arror keys I get an error message Wrong type argument stringp, null. I know this was working the other day but I think it was an earlier version of org-mode. This is the configuration of my file: #+STARTUP: overview #+STARTUP: hidestars #+STARTUP: logdone #+PROPERTY: Effort_ALL 0:10 0:20 0:30 1:00 2:00 4:00 6:00 8:00 #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Time{:} %6CLOCKSUM{Total} #+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:q00 3:00 4:00 8:00 #+TAGS: { OFFICE(o) HOME(h) } COMPUTER(c) PROJECT(p) READING(r) #+TAGS: DVD(d) WAITING(w) #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) CANCELLED(c) DEFERRED(f) And here is the stack trace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(^[[]\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\) +\\([^]-+0-9 \n ]*\\)\\( \\([0-9]\\{2\\}\\):\\([0-9]\\{2\\}\\)\\)?\\)[^]\n]\\{0,16\\}[]]$ nil) (if (string-match (concat ^ org-ts-regexp3 $) s) (progn (let* ... ... ... ... ... ... ... ... ... ...))) (when (string-match (concat ^ org-ts-regexp3 $) s) (let* (... ... ... time-before time-after) (unless active ...) (setf ... ...) (setf ... ...) (setf ... ...) (setq time-before ...) (setq time-after ...) (setf ... ...) (setf ... ...) (mapcar ... ...))) org-colview-construct-allowed-dates(nil) (or (org-property-get-allowed-values pom key) (and (memq ... ...) (quote ...)) (org-colview-construct-allowed-dates value)) (let* ((col ...) (key ...) (value ...) (bol ...) (eol ...) (pom ...) (line-overlays ...) (allowed ...) nval) (when (integerp nth) (setq nth ...) (if ... ...)) (when (equal key ITEM) (error Cannot edit item headline from here)) (unless (or allowed ...) (error Allowed values for this property have not been defined)) (if (member key ...) (setq nval ...) (if previous ...) (cond ... ... ...)) (cond (... ... ...) (t ... ... ...))) org-columns-next-allowed-value() call-interactively(org-columns-next-allowed-value) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil
Charles == Charles Cave charles_c...@optusnet.com.au writes: Charles I recently installed 6.17c org-mode on Windows XP withg GNU Charles Emacs. When I create an agenda view, switch on column view, Charles then attempt to modify the effort estimate with shift-right Charles arror keys I get an error message Wrong type argument stringp, Charles null. Charles I know this was working the other day but I think it was an Charles earlier version of org-mode. Charles This is the configuration of my file: Charles #+STARTUP: overview #+STARTUP: hidestars #+STARTUP: logdone Charles #+PROPERTY: Effort_ALL 0:10 0:20 0:30 1:00 2:00 4:00 6:00 8:00 Charles #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) Charles %5Time{:} %6CLOCKSUM{Total} #+PROPERTY: Effort_ALL 0 0:10 0:20 Charles 0:30 1:00 2:q00 3:00 4:00 8:00 #+TAGS: { OFFICE(o) HOME(h) } Charles COMPUTER(c) PROJECT(p) READING(r) #+TAGS: DVD(d) WAITING(w) Charles #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) Charles CANCELLED(c) DEFERRED(f) #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Effort{:} %6CLOCKSUM{Total} ^^ #+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00 ^ Two small changes and I hope it should work. -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with archive location
Carsten Dominik domi...@science.uva.nl writes: On Jan 11, 2009, at 4:08 PM, Matthew Lundin wrote: I had one more question/request concerning archives. Would it perhaps be possible to enable the file name substitution (i.e., %s) after the double semi-colon, so that the file name can be used as a headline within the archive file? My ideal setup would be to have a single archive file for each year's work, with headlines named according to the original files of the archived subtrees. This is now implemented. Thanks for the idea. - Carsten Thanks! - Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: BUG: clock table gets corrupted (Emacs 21)
Stefan Ring wrote: When I revert this single line in the current head, it starts working again. Actually I also have to revert the change to org-clock-find-position. Sorry, missed that before. But then creating the clock table doesn't work anymore... So all is lost ;). ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BUGs?] TBLFM export to LaTeX
Hi, everyone, I have a problem with 1. formulas in table and 2. LaTeX export of tables Org-mode version 6.17c GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Win XP -Hydrogen.org-- -*- mode: org; -*- * TBLFM: references and columns I do not consider the first column with # and I assume that 1st \n Temp is the first column | | 1st ||3rd | 4th | | 6th | | | Temp | Temp | EXPNS | $\alpha$ | $\alpha_{c}$ | Calcd EXPNS | | | |(K) || | x1e6 |x1e6 | |---+--+++--+--+-| | / | ||| | || | ! | | T || | c_a | c_expn | | # | 20 |293 | 0 | 4.78e-6 | 4.78 | 0 | | # | |294 || | | | | # | 27 |300 | 34e-6 | 4.82e-6 | 4.82 | 34 | | # | |303 || | | | | # | |313 || | | | | # | 47 |320 | 131e-6 | 4.91e-6 | 4.91 | 131 | | # | |323 || | | 146 | | # | |333 || | | 195 | | # | 67 |340 |230 | 4.99e-6 | 4.99 | 230 | |---+--+++--+--+-| | $ | | T0=293 || | | | #+TBLFM: $2=$T-273.15;%.0f::$c_a=0.8651+2.3569e-2*$3-4.2277e-5($3^2)+2.5408e-8*($3^3);%.2f::$c_expn=0.8651*($3-T0)+2.3569e-2*0.5*($3^2-T0^2)-4.2277e-5*0.33*($3^3-T0^3)+2.5408e-8*0.25*($3^4-T0^4);%.0f If I C-c on the TBLFM only the first formula is applied: $2=$T-273.15;%.0f The other columns remain the same. Perhaps the numbering is wrong and I should also consider the column with #, but it worked with version org-6.15d On the other hand if I C-c on the TBLFM of the following table it /works/. The formula is different in some ways: 1. columns are referred to with numbers and not names 2. T0 is substituted by its value (and not used as a parameter) 3. the numbering of columns considers the column with #s as the first column $1 || $2 ||| $5 | | $7 | || Temp | Temp | EXPNS | $\alpha$ | $\alpha_{c}$ | Calcd EXPNS | || |(K) ||4 | x1e6 | x1e6| |+--+++--+--+-| | / | ||| | || | ! | | T || | c_a | c_expn | | # | 20 |293 | 0 | 4.78e-6 | 4.78 | 0 | | # | |294 || | | | | # | 27 |300 | 34e-6 | 4.82e-6 | 4.82 | 34 | | # | |303 || | | | | # | |313 || | | | | # | 47 |320 | 131e-6 | 4.91e-6 | 4.91 | 131 | | # | |323 || | | | | # | |333 || | | | | # | 67 |340 |230 | 4.99e-6 | 4.99 | 230 | |+--+++--+--+-| | $ | | T0=293 || | | | #+TBLFM:$2=$3-273.15;%.0f::$6=0.8651+2.3569e-2*$3-4.2277e-5($3^2)+2.5408e-8*($3^3);%.2f::$7=0.8651*($3-293)+2.3569e-2*0.5*($3^2-293^2)-4.2277e-5*0.33*($3^3-293^3)+2.5408e-8*0.25*($3^4-293^4);%.0f * LaTeX export of columns with # The previous columns are exported to a LaTeX file with the column with #s, whereas this column does not appear in the HTML export. I think this is a bug. cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Minor latex export issue
I'm have a *minor* issue to report. It occurs when I export an org file with footnotes to LaTeX. Specifically, it has to do with the combination of American style quotation marks and footnotes. According to many American manuals of style, quotation marks are to be placed after a sentence ending period if the quoted passage is at the end of the sentence. E.g. , | Here is a quote. | | not | | Here is a quote. ` When I use American style quotation in conjuction with a footnote, the exporter does not convert the closing quote marks into a two single quotation marks (i.e., LaTeX smart quotes). Thus, the following source snippet: , | This is a footnote with a quote.[fn:sample] And here is another | footnote with a quote.[fn:another] | | [fn:sample] Here is the sample footnote. | | [fn:another] Another footnote. ` Becomes , | This is a footnote ``with a quote.\footnote{Here is the sample | footnote. } And here is another footnote ``with a | quote''.\footnote{Another footnote. } ` Notice the double quotation mark (rather than two single apostrophes) at the end of the first sentence. Notice also the correct quotation mark format appears in the second sentence, where the period comes after the quotation mark. Obviously, it is simple enough to fix this with a query-replace after the export, but I thought I'd report the issue nonetheless, as it interferes with immediate output to PDF. Thanks, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Searching SCHEDULED/DEADLINE properties turns up spurious headings
* On Tue 09:35AM +, 13 Jan 2009, Carsten Dominik (domi...@science.uva.nl) wrote: On Jan 12, 2009, at 6:50 PM, Hsiu-Khuern Tang wrote: * On Sat 08:54PM +, 10 Jan 2009, Carsten Dominik (domi...@science.uva.nl ) wrote: Hi Hsiu, I believe this is a misunderstanding. You are constructing a sparse tree. Sparse tree always show all top-level headlines. The search really only matches the second one, as you can see from the highlighted stars. When I run that search (C-c \ +DEADLINE=2009-01-28 RET), all the three headlines have highlighted stars. (I am running Org-mode 6.17trans.) Hi Hsiu, thanks for insisting. You are right, there was a bug. Fixed now. - Carsten It does work now! Thank you very much for fixing this! -- Best, Hsiu-Khuern. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: export to latex
Carsten Dominik domi...@science.uva.nl writes: have some different setup, so you could help my making a case that works with emacs -q -l .emacs.minimal okay, i did this.. well.. i backed up my .emacs file, and started with an new .emacs file that ONLY has orgmode in it.. and everything seems to have loaded up just fine.. so this tells me that it's somewhere else.. i am going to start adding pieces back in little by little and see if it works.. thanks! ___ peace, sergio http://www.village-buzz.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Windows and emacs
Thanx to all those hints given here - very much appreciated! As of yet I am not quite sure which way to go, since I still have a some time I'll let it broil a little in my skull ... :-) Thank you again ... :-) ray ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-mode and remind integration
Daniel Martins daniel...@gmail.com writes: I did your test wuth a null regexp It is a regexp problem! Org-mode has two variables: org-deadline-string and org-scheduled-string (see below) and I want to match tasks which have a timestamp, ie satisfies the org-ts-regexp2 BUT DO NOT have org-deadline-string NOR org-scheduled-string I tried (org2rem-pure-timestamps-string (concat \\( org-deadline-string \\| org-scheduled-string \\)\\{0\\})) in order that a regexp such as \\(org-deadline-string\\|org-scheduled-string\\)\\{0\\} would match only zero {0} occurrences of (org-deadline-string|org-scheduled-string) but this seems to be a mistake. Any hint?? I can only suggest the empty regexp, as before: (org2rem-pure-timestamps-string ) If this doesn't work, I don't know. Regards, Olaf ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Bugfix: Functions were renamed so rename the callers too
Rename functions missed in commit 1371205. Changing timestamps for the currently clocked task generated the following error: org-clock-update-time-maybe: Symbol's function definition is void: org-update-mode-line --- I sent this patch to the list a day or two ago but it looks like it never made it so here's a resend. Carsten: This commit is available in my 'for-carsten' branch. Regards, Bernt lisp/org.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index f9db516..125c4f3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2665,7 +2665,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables. (declare-function org-clock-save-markers-for-cut-and-paste org-clock (beg end)) -(declare-function org-update-mode-line org-clock ()) +(declare-function org-clock-update-mode-line org-clock ()) (defvar org-clock-start-time) (defvar org-clock-marker (make-marker) Marker recording the last clock-in.) @@ -2702,7 +2702,7 @@ Otherwise, return nil. (setq org-clock-start-time (apply 'encode-time (org-parse-time-string (match-string 1 - (org-update-mode-line))) + (org-clock-update-mode-line))) (t (and (match-end 4) (delete-region (match-beginning 4) (match-end 4))) (end-of-line 1) -- 1.6.1.28.gc32f76 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Bugfix: Functions were renamed so rename the callers too
Thanks! - Carsten On Jan 14, 2009, at 12:34 AM, Bernt Hansen wrote: Rename functions missed in commit 1371205. Changing timestamps for the currently clocked task generated the following error: org-clock-update-time-maybe: Symbol's function definition is void: org-update-mode-line --- I sent this patch to the list a day or two ago but it looks like it never made it so here's a resend. Carsten: This commit is available in my 'for-carsten' branch. Regards, Bernt lisp/org.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index f9db516..125c4f3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2665,7 +2665,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables. (declare-function org-clock-save-markers-for-cut-and-paste org-clock (beg end)) -(declare-function org-update-mode-line org-clock ()) +(declare-function org-clock-update-mode-line org-clock ()) (defvar org-clock-start-time) (defvar org-clock-marker (make-marker) Marker recording the last clock-in.) @@ -2702,7 +2702,7 @@ Otherwise, return nil. (setq org-clock-start-time (apply 'encode-time (org-parse-time-string (match-string 1 - (org-update-mode-line))) + (org-clock-update-mode-line))) (t (and (match-end 4) (delete-region (match-beginning 4) (match-end 4))) (end-of-line 1) -- 1.6.1.28.gc32f76 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Call org-reveal after archiving
Sometimes archiving a task displays the next task heading after ... at the end of a folded task. This keeps the next task the cursor is on starting in column 1 which feels more natural. --- Carsten: This is also available on my 'for-carsten' branch. lisp/org-archive.el |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-archive.el b/lisp/org-archive.el index d37f843..6ae6743 100644 --- a/lisp/org-archive.el +++ b/lisp/org-archive.el @@ -306,7 +306,8 @@ this heading. (message Subtree archived %s (if (eq this-buffer buffer) (concat under heading: heading) -(concat in file: (abbreviate-file-name afile))) +(concat in file: (abbreviate-file-name afile)) + (org-reveal)) (defun org-archive-to-archive-sibling () Archive the current heading by moving it under the archive sibling. @@ -357,7 +358,8 @@ sibling does not exist, it will be created at the end of the subtree. (outline-up-heading 1 t) (hide-subtree) (org-cycle-show-empty-lines 'folded) - (goto-char pos + (goto-char pos))) + (org-reveal)) (defun org-archive-all-done (optional tag) Archive sublevels of the current tree without open TODO items. -- 1.6.1.28.gc32f76 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Regexp problem: org-mode and remind integration
Sorry for the confusion, I did try the empty regexp as suggested and it worked ie no problem appeared. My problem is to find a regexp for timestamps outside DEADLINE: and SCHEDULE: rows In other words, given three variables A B C with regexps. If I have a regexp given by variable A and I want to find a text which satisfies A but DO NOT satisfy B nor C how can I write uch regexp? 2009/1/13 Olaf Dietsche olaf+list.orgm...@olafdietsche.deolaf%2blist.orgm...@olafdietsche.de Daniel Martins daniel...@gmail.com writes: I did your test wuth a null regexp It is a regexp problem! Org-mode has two variables: org-deadline-string and org-scheduled-string (see below) and I want to match tasks which have a timestamp, ie satisfies the org-ts-regexp2 BUT DO NOT have org-deadline-string NOR org-scheduled-string I tried (org2rem-pure-timestamps-string (concat \\( org-deadline-string \\| org-scheduled-string \\)\\{0\\})) in order that a regexp such as \\(org-deadline-string\\|org-scheduled-string\\)\\{0\\} would match only zero {0} occurrences of (org-deadline-string|org-scheduled-string) but this seems to be a mistake. Any hint?? I can only suggest the empty regexp, as before: (org2rem-pure-timestamps-string ) If this doesn't work, I don't know. Regards, Olaf ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] BUG: clock table gets corrupted (Emacs 21)
Hi Stefan, this problem seems only to happen in Emacs 21, and I have stopped putting time into Emacs 21 support. Can't you just get a more recent version of Emacs? - Carsten On Jan 12, 2009, at 11:42 PM, Stefan Ring wrote: Hi, today I decided to bisect a major annoyance that has bugged me for quite some time now. I'm using a relatively old version of Emacs on Fedora 5. Emacs 21.4.1 from emacs-21.4-14.x86_64.rpm, to be exact. Upon clocking in, a single CLOCK: line is converted to a :CLOCK: block, and this is where the trouble is. On my machine, this is what happens. Before: * Test CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] = 0:00 After clocking in: * Test :CLOCK: CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] = 0:00 :END:CLOCK: [2009-01-12 Mon 23:27] The exact changeset that broke this is: f70127dd3f95473ac80aa407bafca8f68f08e002 And within that specifically the (org-clock-in): Use org-indent- line-function to indent clock lines. part (+1/-1 line). When I revert this single line in the current head, it starts working again. HTH Stefan ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Call org-reveal after archiving
Thanks. - Carsten On Jan 14, 2009, at 1:04 AM, Bernt Hansen wrote: Sometimes archiving a task displays the next task heading after ... at the end of a folded task. This keeps the next task the cursor is on starting in column 1 which feels more natural. --- Carsten: This is also available on my 'for-carsten' branch. lisp/org-archive.el |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-archive.el b/lisp/org-archive.el index d37f843..6ae6743 100644 --- a/lisp/org-archive.el +++ b/lisp/org-archive.el @@ -306,7 +306,8 @@ this heading. (message Subtree archived %s (if (eq this-buffer buffer) (concat under heading: heading) -(concat in file: (abbreviate-file-name afile))) +(concat in file: (abbreviate-file-name afile)) + (org-reveal)) (defun org-archive-to-archive-sibling () Archive the current heading by moving it under the archive sibling. @@ -357,7 +358,8 @@ sibling does not exist, it will be created at the end of the subtree. (outline-up-heading 1 t) (hide-subtree) (org-cycle-show-empty-lines 'folded) - (goto-char pos + (goto-char pos))) + (org-reveal)) (defun org-archive-all-done (optional tag) Archive sublevels of the current tree without open TODO items. -- 1.6.1.28.gc32f76 ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Inline images in exported HTML
On Jan 12, 2009, at 9:14 PM, Bernt Hansen wrote: Graham Smith myotis...@gmail.com writes: I am exporting to HTML with a lnk to a pdf with instant opening in Firefox on a Mac. Originally, I had a description on the link, and as the manual says, in the browser, I get the description in the browser which opens the pdf when I click on it. But I want the image to appear without clicking on it, so I can print out the file with the images visible After reading the manual, I have edited the link to remove the description, but it still needs me to click on the link in the browser to open the pdf. I have now added file: to the front of the link and I still need to click on it to see the pdf in the browser. The link is now: [[file:/Users/graham/Dropbox/Jacobs/GQ3/Analysis/Graphics/ Hazard1aBootsrappedMedianProbabilityPlot.pdf]] Which still works fine when I click on it, but doesn't automatically open. Can someone tell me what I am doing wrong. Many thanks, I was under the impression that only graphic files (PNG/JPG, etc) were inlined - I didn't think inlining a PDF was possible. Unfortunately, the right thing to do here depends on the LaTeX processor you use. If you use latex and then something like dvips to process to postscript, only .ps and .eps files can be inlined in LaTeX output. On the other hand, if you use pdflatex to process the files, only .jpg and .pdf files cab be included. I am not sure if HTML allows to *inline* pdf, probably not. Hmm, I welcome suggestions on a strategy for this. - Carsten -Bernt ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode