[Orgmode] repeated events
Dear all, I am a new user of org-mode. I searched the manual and watched a lot of tutorials about org-mode. It is not clear to me how to set the repeated events in the org mode manual. What are the key strokes to make an item repeated so many days, weeks or years? Also how can I see the month view in agenda? Best regards, Asst. Prof. Mehmet A. Guler TOBB University of Economics and Technology, Department of Mechanical Engineering, Söğütözü cad. No:43, Söğütözü, Ankara. Tel: +90 312 292 4088 Fax: +90 312 292 4182 e-mail: mailto:mgu...@etu.edu.tr mgu...@etu.edu.tr http://mguler.etu.edu.tr/ http://mguler.etu.edu.tr ___ 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] Leading stars not always hidden
In both cases (both the truly hidden stars and the incorrectly visible stars) the face is 'org-hide'. It's properties are all unspecified according to describe-face except for Foreground which is set to 'black'. I have set it to black using Customize, because by default they were white (and I'm using a black background). Could this be an Emacs bug? -- Christer Enfors --- On Wed, 2/10/10, Carsten Dominik carsten.domi...@gmail.com wrote: From: Carsten Dominik carsten.domi...@gmail.com Subject: Re: [Orgmode] Leading stars not always hidden To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Date: Wednesday, February 10, 2010, 7:20 PM On Feb 10, 2010, at 6:54 PM, Christer Enfors wrote: Could it be a problem with my terminal? I'm using GLink, and I think the TERM environment variable is set to dtterm, if that's of any relevance. Unfortunately, I have no idea. If you go to the incorrectly visible stars and execute M-x describe-face RET, do you then get something different from when you do it on the normal hidden stars? - Carsten --Christer Enfors From: Carsten Dominik carsten.domi...@gmail.com To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Sent: Wed, February 10, 2010 6:03:18 PM Subject: Re: [Orgmode] Leading stars not always hidden I have never seen this eeffect - Carsten On Feb 10, 2010, at 4:13 PM, Christer Enfors wrote: I use org-indent-mode and (setq org-hide-leading-stars t). This mostly works, but sometimes the supposedly hidden stars are visible as white (my default foreground color) on some headlines. I'm not sure, but I think it's always the first and / or the last sibling headline that show this problem. The middle headings are never affected, if I remember correctly. Does anybody else have this problem? Is it a known bug? I've attached a screenshot (in a Word document, because my work computer doesn't have MS Paint or similar for some bizarre reason). - AIX 5.3 - Emacs 23.1.2 - Org-mode 6.34c --Christer Enfors org-picture.doc___ 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 - 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] Re: Org-mode and searching for multiple occurances
Also sprach Matt Lundin: evita moreno evitamoren...@live.com writes: I am a teacher trying to teach young people how to use org-mode for writing. We have created a database with notes on literature review outlined in org-mode in the following format: * jones2000 blah blah blah keyword1 keyword2 *jones2007 blah blah keyword2 and so on. I was wondering whether there is a way where one can search for a keyword in the database (more than 350 papers up to now) and can get in an automatic fashion in which of the jones' entries these keywords occur (pretty much like using MS Access and running a query). Is this possible? Maybe what I am asking for is outright crazy/ impossible but I thought I should give it a go! You can use org-search-view (C-c a s). Best, Matt Just a remark: If the file is not in org-agenda-files it is C-c a s Greetings, Stephan ___ 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: Org-mode and searching for multiple occurances
Stephan Schmitt drmab...@cs.tu-berlin.de writes: Hi, Stephan, Also sprach Matt Lundin: evita moreno evitamoren...@live.com writes: * jones2000 blah blah blah keyword1 keyword2 *jones2007 blah blah keyword2 and so on. I was wondering whether there is a way where one can search for a keyword in the database (more than 350 papers up to now) and can get in an automatic fashion in which of the jones' entries these keywords occur You can use org-search-view (C-c a s). Just a remark: If the file is not in org-agenda-files it is C-c a s well I don't think that using *Agenda* is what Evita is looking for, or at least I was not able to obtain a satisfactory view of the authors with keyword2 occurrence in my test.org file. I think that your first solution: M-x org-occur is the best *org-option* (Isn't better using bibtex and bibtex tools?) cheers, Giovanni ___ 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 Babel Bug
Hi Eric, I have been away from my own computer for a while. I have just applied the patch and it works for me. Thanks! Ian. Since the patch below greatly simplifies the code, and it has worked in all my tests, I'm going to apply it now. Please do let me know if the export problems persist. Best -- Eric Eric Schulte schulte.e...@gmail.com writes: Hi Ian, The implementation of our block exportation has been bothering me for some time now. The attached patch *greatly* simplifies the exportation code. Could you please give it a try and let me know if it fixes your bug? If so I will apply it to the main repository. Thanks -- Eric diff --git a/contrib/babel/lisp/org-babel-exp.el b/contrib/babel/lisp/org-babel-exp.el index 8ce52b6..b299d57 100644 --- a/contrib/babel/lisp/org-babel-exp.el +++ b/contrib/babel/lisp/org-babel-exp.el @@ -73,20 +73,10 @@ results - just like none only the block is run on export ensuring none - do not display either code or results upon export (interactive) (message org-babel-exp processing...) - (flet ((cond-progress-marker () (when (and progress-marker ( progress-marker (point))) - progress-marker))) -(or (and (re-search-backward org-babel-src-block-regexp (cond-progress-marker) t) - (setq progress-marker (match-end 0)) - (org-babel-exp-do-export (org-babel-get-src-block-info) 'block)) -(save-excursion - (forward-line 0) - (and (org-babel-where-is-src-block-head) - (goto-char (org-babel-where-is-src-block-head)) - (org-babel-exp-do-export (org-babel-get-src-block-info) 'block))) -(and (re-search-backward org-block-regexp (cond-progress-marker) t) - (setq progress-marker (match-end 0)) - (match-string 0)) -(error Unmatched block [bug in `org-babel-exp-src-blocks']. + (when (member (first headers) org-babel-interpreters) +(save-excursion + (goto-char (match-beginning 0)) + (org-babel-exp-do-export (org-babel-get-src-block-info) 'block (defun org-babel-exp-inline-src-blocks (start end) Process inline src blocks between START and END for export. diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 1d43d3a..af53b60 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -183,13 +183,15 @@ specified in BLOCKS which default to the value of (setq body (save-match-data (org-remove-indentation body (unless (memq type types) (setq types (cons type types))) (save-match-data (interblock start (match-beginning 0))) - (if (setq func (cadr (assoc type org-export-blocks))) - (progn -(replace-match (save-match-data + (when (setq func (cadr (assoc type org-export-blocks))) +(let ((replacement (save-match-data (if (memq type org-export-blocks-witheld) - (apply func body headers))) t t) + (apply func body headers) + (when replacement +(replace-match replacement t t) (unless preserve-indent - (indent-code-rigidly (match-beginning 0) (match-end 0) indentation + (indent-code-rigidly + (match-beginning 0) (match-end 0) indentation) (setq start (match-end 0))) (interblock start (point-max)) Ian Barton li...@manor-farm.org writes: I am using Babel to maintein my .emacs file. When I try to publish I am getting a Babel error from one of my org files. The offending section of the org file seems to be: #+BEGIN_SRC emacs-shell 127.0.0.1 mail.wilkesley.org localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts #+END_SRC I am using a recent git checkout of org and GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0). The backtrace is: Debugger entered--Lisp error: (error Unmatched block [bug in org-babel-exp-src-blocks'].) signal(error (Unmatched block [bug in `org-babel-exp-src-blocks'].)) error(Unmatched block [bug in `org-babel-exp-src-blocks'].) (or (and (re-search-backward org-babel-src-block-regexp ... t) (setq progress-marker ...) (org-babel-exp-do-export ... ...)) (save-excursion (forward-line 0) (and ... ... ...)) (and (re-search-backward org-block-regexp ... t) (setq progress-marker ...) (match-string 0)) (error Unmatched block [bug in org-babel-exp-src-blocks'].)) (progn (fset (quote cond-progress-marker) (function* ...)) (or (and ... ... ...) (save-excursion ... ...) (and ... ... ...) (error Unmatched block [bug in `org-babel-exp-src-blocks'].))) (unwind-protect (progn (fset ... ...) (or ... ... ... ...)) (if --cl-letf-bound-- (fset ...
Re: [Orgmode] Bold text beginning line produces empty PDF
On Thu, 11 Feb 2010 01:54:11 -0500, Raffi R raf...@gmail.com wrote: If I begin a line with bolded text, like so: *Case 1:* it produces the following LaTeX: \textbf{Case 1:\} Exporting with C-c C-e d produces an empty LaTeX document. Is this reproducible? Is it a bug? It works fine with me so long as I have something before this line, even just the template generated by C-x C-e t. (see attached file) However, in testing this out, I have run into two little problems: 1. if I simply visit a buffer (not a file), say x.org, and try exporting to Latex in a temporary buffer (C-c C-e L), I get the following error: , | Debugger entered--Lisp error: (wrong-type-argument stringp nil) | file-name-nondirectory(nil) | org-export-as-latex(nil nil nil *Org LaTeX Export*) | org-export-as-latex-to-buffer(nil) | call-interactively(org-export-as-latex-to-buffer) | org-export(nil) | call-interactively(org-export nil nil) ` 2. if I subsequently save the buffer into a file (C-x C-w x.org), for some reason I get prompted for a file name when trying C-c C-e L. This is all with org-mode from git as of this morning. eric x.org Description: Binary data ___ 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: Org-mode and searching for multiple occurances
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: Stephan Schmitt drmab...@cs.tu-berlin.de writes: Hi, Stephan, Also sprach Matt Lundin: evita moreno evitamoren...@live.com writes: * jones2000 blah blah blah keyword1 keyword2 *jones2007 blah blah keyword2 and so on. I was wondering whether there is a way where one can search for a keyword in the database (more than 350 papers up to now) and can get in an automatic fashion in which of the jones' entries these keywords occur You can use org-search-view (C-c a s). Just a remark: If the file is not in org-agenda-files it is C-c a s well I don't think that using *Agenda* is what Evita is looking for, or at least I was not able to obtain a satisfactory view of the authors with keyword2 occurrence in my test.org file. I think that your first solution: M-x org-occur is the best *org-option* I'm not sure I follow you here. The function org-search-view (C-c a s) searches all org-agenda files for a regexp and/or word (or as Stephan pointed out searches the current file with a restriction) and returns a list of entry headings that contains that keyword. AFAICT, this is the behavior the OP was looking for: --8---cut here---start-8--- Search words: keyword2 Press `[', `]' to add/sub word, `{', `}' to add/sub regexp, `C-u r' to edit test: jones2000 test: jones2007 --8---cut here---end---8--- One more consideration: If the OP wants genuine tag functionality, perhaps it would be better to add the keywords as tags. E.g., --8---cut here---start-8--- ** jones2000 :keyword1:keyword2: blah blah ** jones2007 :keyword2: blah blah --8---cut here---end---8--- Best, Matt ___ 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] Bold text beginning line produces empty PDF
On Thu, 11 Feb 2010 12:36:07 +, Scot Becker scot.bec...@gmail.com wrote: [1 text/plain; ISO-8859-1 (7bit)] Eric, Others will know better, but I think it's right to say, that's just how latex export (currently) works. It needs to have your buffer saved (C-x C-s), and not just written to a file somewhere (C-x C-w). This seems true even if all you want to do is get your latex in a temporary buffer. It's not ideal for rustling up a quick piece of throwaway LaTeX, but, as I remember, it's always been that way. Scot Thanks. Sounds reasonable! eric ___ 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: OrgmodeOrg-publish: adding a new format?
On Wed, 10 Feb 2010 23:43:05 -0500, Bill Powell b...@billpowellisalive.com said: BP Does anyone have any suggestions for adding a new format to BP org-publish? Any articles, or threads on the mailing list? I've BP looked around but haven't found anywhere to start. You might check out org-export-generic in the contrib directory. http://orgmode.org/worg/org-contrib/org-export-generic.php -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/ ___ 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: search for DEADLINE in warning period
Carsten Dominik carsten.domi...@gmail.com writes: On Feb 9, 2010, at 3:48 PM, Matt Lundin wrote: Interesting. The docstring for org-agenda-todo-ignore-deadlines seems to suggest otherwise. Is this documentation inaccurate? , | Documentation: | Non-nil means don't show near deadline entries in the global todo list. | Near means closer than `org-deadline-warning-days' days. | The idea behind this is that such items will appear in the agenda anyway. | See also `org-agenda-todo-ignore-with-date'. | See also the variable `org-agenda-tags-todo-honor-ignore-options'. ` This ist just to explain what near means in the sentence before. I have improved the docstring, thanks. Thanks for the explanation Carsten. That explains why setting the value to 'near produced the expected behavior. But I see now that t does the same thing. Best, Matt ___ 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] repeated events
Mehmet Ali Güler mgu...@etu.edu.tr wrote: It is not clear to me how to set the repeated events in the org mode manual. What are the key strokes to make an item repeated so many days, weeks or years? See sections 8.1 Timestamps and 8.2 Creating Timestamps in the Org manual. Basically, just enter a time stamp and add the repeater interval (e.g. +1w), so it looks like this: 2010-02-18 Thu +1w Also how can I see the month view in agenda? v is a prefix key (sort of) for setting the agenda view. v m will select the month view. HTH, 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
[Orgmode] remember template with prompting for different note files possible?
Hi there, I am keeping snippets of various information gems in note files, which are selected by topic, e.g emacs.txt for Emacs related stuff, python.txt for python stuff, machine-name.txt for stuff to do with the setup and maintenance of that machine and so on. I would now like to move this over to org-mode and remember. Now I would like to be able to select the right file from a list of files and then possible define a topic. From the dacumentation, it seems that this is not possible; I would have to collect them first and file them, which is what I am doing now with ideas, todo items and so fort. But maybe somebody here as an idea how this can be achieved? All the best, Christian ___ 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] Bold text beginning line produces empty PDF
Interestingly, my LaTeX also chokes on the sample x.org; while I can export it, I get the error The file x.org could not be opened because it is empty. This is on OS X 10.6 Snow Leopard using Preview. It only occurs using PDFs generated from org, as far as I can tell. I will explore some more to see if it's due to LaTeX or Preview or something else. Has anyone else had this problem? On Thu, Feb 11, 2010 at 7:54 AM, Eric S Fraga ucec...@ucl.ac.uk wrote: On Thu, 11 Feb 2010 12:36:07 +, Scot Becker scot.bec...@gmail.com wrote: [1 text/plain; ISO-8859-1 (7bit)] Eric, Others will know better, but I think it's right to say, that's just how latex export (currently) works. It needs to have your buffer saved (C-x C-s), and not just written to a file somewhere (C-x C-w). This seems true even if all you want to do is get your latex in a temporary buffer. It's not ideal for rustling up a quick piece of throwaway LaTeX, but, as I remember, it's always been that way. Scot Thanks. Sounds reasonable! eric ___ 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: search for DEADLINE in warning period
Hi Lukasz, thanks for the patch. I am wondering: What would be a good use case for the `far' setting? Thanks. - Carsten On Feb 10, 2010, at 7:41 PM, Łukasz Stelmach wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Feb 9, 2010, at 3:48 PM, Matt Lundin wrote: Interesting. The docstring for org-agenda-todo-ignore-deadlines seems to suggest otherwise. Is this documentation inaccurate? , | Documentation: | Non-nil means don't show near deadline entries in the global todo list. | Near means closer than `org-deadline-warning-days' days. | The idea behind this is that such items will appear in the agenda anyway. | See also `org-agenda-todo-ignore-with-date'. | See also the variable `org-agenda-tags-todo-honor-ignore-options'. ` This ist just to explain what near means in the sentence before. I have improved the docstring, thanks. And I've made it work with 'near and 'far symbols. Now org-agenda-todo-ignore-with-date can be set to: nil - to show (not ignore) notes with deadline timestamps 'far- to ignore notes which are further than the warning period 'near - to hide deadlines that are really close, good for an ostrich ;-) non-nil - do not show *any* notes with deadline timestamps on a todo list Check it out http://github.com/steelman/steelman-org-mode/tree/org-agenda-todo-ignore-close-deadlines http://github.com/steelman/steelman-org-mode.git -- Miłego dnia, Łukasz Stelmach ___ 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] Leading stars not always hidden
On Feb 11, 2010, at 10:17 AM, Livin Stephen Sharma wrote: Possibly related issue: screenshot at end/below. After I run a sparse-tree command [say, C-c / m matchers - I used 'A' for this example] then the matched sub-trees have the stars visible in secondary- selection face To come out of the sparse-tree view, I use S-TAB even after this the previously matched starts remain visible [see screenshot]. However, this is corrected easily with C-c C-c . This is all as it should be. The stars are highlighted to indicate where the search matched. - Carsten Livin Stephen Sharma On Feb 11, 2010, at 13:33:26 , Carsten Dominik wrote: On Feb 11, 2010, at 8:28 AM, Christer Enfors wrote: In both cases (both the truly hidden stars and the incorrectly visible stars) the face is 'org-hide'. It's properties are all unspecified according to describe-face except for Foreground which is set to 'black'. I have set it to black using Customize, because by default they were white (and I'm using a black background). Could this be an Emacs bug? An Emacs bug for your specific system, very possible, yes. - Carsten -- Christer Enfors --- On Wed, 2/10/10, Carsten Dominik carsten.domi...@gmail.com wrote: From: Carsten Dominik carsten.domi...@gmail.com Subject: Re: [Orgmode] Leading stars not always hidden To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Date: Wednesday, February 10, 2010, 7:20 PM On Feb 10, 2010, at 6:54 PM, Christer Enfors wrote: Could it be a problem with my terminal? I'm using GLink, and I think the TERM environment variable is set to dtterm, if that's of any relevance. Unfortunately, I have no idea. If you go to the incorrectly visible stars and execute M-x describe-face RET, do you then get something different from when you do it on the normal hidden stars? - Carsten --Christer Enfors From: Carsten Dominik carsten.domi...@gmail.com To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Sent: Wed, February 10, 2010 6:03:18 PM Subject: Re: [Orgmode] Leading stars not always hidden I have never seen this eeffect - Carsten On Feb 10, 2010, at 4:13 PM, Christer Enfors wrote: I use org-indent-mode and (setq org-hide-leading-stars t). This mostly works, but sometimes the supposedly hidden stars are visible as white (my default foreground color) on some headlines. I'm not sure, but I think it's always the first and / or the last sibling headline that show this problem. The middle headings are never affected, if I remember correctly. Does anybody else have this problem? Is it a known bug? I've attached a screenshot (in a Word document, because my work computer doesn't have MS Paint or similar for some bizarre reason). - AIX 5.3 - Emacs 23.1.2 - Org-mode 6.34c --Christer Enfors org-picture.doc___ 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 - Carsten - 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 org_stars - 2010-02-11 at 14.45.47 .png ___ 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] Re: timestamps
On Feb 9, 2010, at 8:21 AM, Rares Pop wrote: Thanks for the answer Carsten. There is any plan to support it in future releases? No plans yet. One thing you could do is to use one of the hooks like org-export- proprocess-hook to install a function that will find clock tasks and format then in a way that they will look nice. Then you can show us the result and convince us that this would be good to have as a built-in option. How about that? - Carsten Thanks, Rares On Tue, Feb 9, 2010 at 12:42 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Feb 8, 2010, at 5:23 PM, Rares Pop wrote: Hi Matt, It worked almost everything, with the exception of publishing and exporting. That doesn't work only if i delete the CLOCK: string before the timestamp. Here is the line: CLOCK: [2010-02-08 Mon 15:31]--[2010-02-08 Mon 16:32] = 1:01 I searched through the doco but i didn't not find any solution, to export it the way it is. Can you give some more ideas? Clock lines are currently unconditionally removed during export. Mainly because I think they look ugly and nobody wants to see them. - Carsten Best regards, RAres On Mon, Feb 8, 2010 at 3:14 PM, Matt Lundin m...@imapmail.org wrote: Rares Pop rares@gmail.com writes: I'm using orgmode 6.30d, under the OS Ubuntu 8.04 and the general idea is to use it to log my work and i'm facing the following issues: * insert a constant timestamp (e.g. i forgot to insert an activity that i did yesterday, and i want to log it. Ican't insert a clock with previous start and end date) You can insert an timestamp with HH:MM by typing C-u C-c !. Here is a *very simple* function I use to insert a clock line at point: --8---cut here---start-8--- (defun my-org-insert-old-clock () Insert a clock line interactively at point. (interactive) (open-line 1) (insert CLOCK: ) (org-time-stamp-inactive t) (insert --) (org-time-stamp-inactive t) (org-clock-update-time-maybe)) --8---cut here---end---8--- * change a timestamp inserted with a clock log in (e.g. i booked an activity to had started at 01:40PM but it actually started at 02:00 PM, how can i change it to have it delayed 20 minutes later) You can change a time stamp by using Shift and the arrow keys. S-left and S-right move forward and backward by day. S-up and S-down change individual elements of the clock (hour, minutes, etc.). See manual section 8.2: Creating timestamps. * export the org mode document with the clocks timestamp (e.g. i want to export the working log with all the timestamp both HTML and PDF but i have no success. The clock timestamps are not displayed in the output file) Are your timestamps in a :LOGBOOK: drawer? If so, you can turn on the inclusion of drawers in export by adding the following line to the top of your file: #+OPTIONS: d:t Or you can set org-export-with-drawers to t. Hope this helps. Matt ___ 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 - 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] id links changed?
Hi Samuel, org-store-link does create an ID link for me. - Carsten On Feb 6, 2010, at 11:03 PM, Samuel Wales wrote: org-store-link used to store an org-id link. I think this required org-id.el to be loaded. Now it does not. Maybe I changed something? I approve of loading files not having side effects :), but how do I enable the storing of an id link again? Thanks. -- Q: How many CDC scientists does it take to change a lightbulb? A: You only think it's dark. [CDC has denied ME/CFS for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html ___ 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] id links changed?
Hi Carsten, Works now. Thanks. Samuel -- Q: How many CDC scientists does it take to change a lightbulb? A: You only think it's dark. [CDC has denied ME/CFS for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html ___ 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-publish: adding a new format?
At Thu, 11 Feb 2010 07:41:10 +0100, Carsten Dominik wrote: Hi Bill, the best approach might be to write an elisp program to do the post processing you do now in perl, and then to hook this function into `org-publish-after-export-hook'. - Carsten Thanks, Carsten! I will look into that. Thanks also to Wes for pointing out your org-export-generic. (It was already on my export screen, and I only noticed it this morning.) The problem there is that all the *bold* and /italic/ and unicode characters and tables and things won't be converted to HTML, unless I'm mistaken. On the other hand, I'm glad to have this brought to my attention, as I'm sure I'll find a use for it. :) Bill Powell On Feb 11, 2010, at 5:43 AM, Bill Powell wrote: Hi all, Does anyone have any suggestions for adding a new format to org-publish? Any articles, or threads on the mailing list? I've looked around but haven't found anywhere to start. I want to convert an org file to a tab-separated format, so that it can be imported into a flashcard program called Anki [[http://ichi2.net/anki/]]. The basic idea is that each *** header is a prompt, and the following text is the answer. *** Who wrote /War and Peace/? Leo Tolstoy. *** What is the preferred editor for using Org-mode? Windows Notepad. and so on. The catch is, I'd also like to preserve the *bold* and /italic/ formatting. Not to mention those awesome org-tables. Now, Anki understands HTML formatting. So, ideally, I can use the excellent export to HTML that org-publish already does. That's 95% of the work right there. In fact, I have already written a Perl script that takes an exported HTML file and chomps it into a .tsv. (Almost.) But although my elisp is pretty rudimentary, I have a couple reasons I'd like to implement this within org-publish instead: 1) I could share my work (at least by posting it on my web site; my elisp isn't ready for official contributions yet), and 2) It might make it easier to access the different org-elements directly. For instance, I use *** headers as prompts, so that I can use * and ** to organize the flashcards in the org-file. But, I would like to be able to save the * and ** headers, and use them as tags in the final Anki flashcard. (Anki lets you tag your flashcard.) Similarly, I'd like to convert org-mode :tags: as well. I can do all this in Perl, but it feels messy and inelegant, not to mention brittle. On the other hand, those who know org-publish may feel that this is a tall order for org-export-html-final-hook, and just the sort of job that Perl does best. Any thoughts? Thanks, Bill Powell ___ 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
[Orgmode] PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix
If you only have a repeating SCHEDULED item, allow using the interface to update DEADLINE; also vice-versa. In other words, allow org-schedule or org-deadline to update normal timestamps in the existance of other types of repeating timestamps in the same heading. -- Paul Holcomb *pholcomb\@ cpoint net* GPG key fingerprint 2B62 05AE EE74 845A 705F D716 28C4 FE1C 088F CFAC lisp/org.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 9134e1d..640802a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -10710,7 +10710,7 @@ scheduling will use the corresponding date. org-log-redeadline)) (org-remove-timestamp-with-keyword org-deadline-string) (message Item no longer has a deadline.)) - (if (org-get-repeat) + (if (org-get-repeat org-deadline-string) (error Cannot change deadline on task with repeater, please do that by hand) (org-add-planning-info 'deadline time 'closed) (when (and old-date org-log-redeadline @@ -10734,7 +10734,7 @@ scheduling will use the corresponding date. org-log-reschedule)) (org-remove-timestamp-with-keyword org-scheduled-string) (message Item is no longer scheduled.)) - (if (org-get-repeat) + (if (org-get-repeat org-scheduled-string) (error Cannot reschedule task with repeater, please do that by hand) (org-add-planning-info 'scheduled time 'closed) (when (and old-date org-log-reschedule ___ 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] Leading stars not always hidden
Thanks, Carsten. Turning the the threads back to you and Christian... hope my interjection wasn't too far OT. On 11 February 2010 21:40, Carsten Dominik carsten.domi...@gmail.comwrote: On Feb 11, 2010, at 10:17 AM, Livin Stephen Sharma wrote: Possibly related issue: screenshot at end/below. After I run a sparse-tree command [say, C-c / m matchers - I used 'A' for this example] then the matched sub-trees have the stars visible in secondary-selection face To come out of the sparse-tree view, I use S-TAB even after this the previously matched starts remain visible [see screenshot]. However, this is corrected easily with C-c C-c . This is all as it should be. The stars are highlighted to indicate where the search matched. - Carsten Livin Stephen Sharma On Feb 11, 2010, at 13:33:26 , Carsten Dominik wrote: On Feb 11, 2010, at 8:28 AM, Christer Enfors wrote: In both cases (both the truly hidden stars and the incorrectly visible stars) the face is 'org-hide'. It's properties are all unspecified according to describe-face except for Foreground which is set to 'black'. I have set it to black using Customize, because by default they were white (and I'm using a black background). Could this be an Emacs bug? An Emacs bug for your specific system, very possible, yes. - Carsten -- Christer Enfors --- On Wed, 2/10/10, Carsten Dominik carsten.domi...@gmail.com wrote: From: Carsten Dominik carsten.domi...@gmail.com Subject: Re: [Orgmode] Leading stars not always hidden To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Date: Wednesday, February 10, 2010, 7:20 PM On Feb 10, 2010, at 6:54 PM, Christer Enfors wrote: Could it be a problem with my terminal? I'm using GLink, and I think the TERM environment variable is set to dtterm, if that's of any relevance. Unfortunately, I have no idea. If you go to the incorrectly visible stars and execute M-x describe-face RET, do you then get something different from when you do it on the normal hidden stars? - Carsten --Christer Enfors From: Carsten Dominik carsten.domi...@gmail.com To: Christer Enfors cenf...@yahoo.com Cc: Emacs org-mode emacs-orgmode@gnu.org Sent: Wed, February 10, 2010 6:03:18 PM Subject: Re: [Orgmode] Leading stars not always hidden I have never seen this eeffect - Carsten On Feb 10, 2010, at 4:13 PM, Christer Enfors wrote: I use org-indent-mode and (setq org-hide-leading-stars t). This mostly works, but sometimes the supposedly hidden stars are visible as white (my default foreground color) on some headlines. I'm not sure, but I think it's always the first and / or the last sibling headline that show this problem. The middle headings are never affected, if I remember correctly. Does anybody else have this problem? Is it a known bug? I've attached a screenshot (in a Word document, because my work computer doesn't have MS Paint or similar for some bizarre reason). - AIX 5.3 - Emacs 23.1.2 - Org-mode 6.34c --Christer Enfors org-picture.doc___ 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 - Carsten - 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 org_stars - 2010-02-11 at 14.45.47 .png ___ 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
[Orgmode] Org-style outline
Dear all, I'm writing to see if there's anyway to use org-like outline in ALL kinds of files, like my emacs configuration file, whose suffix is .el. Could I tell Emacs ;;; headline 1 ;; headline 2 And it begin to have the ability to display my el file just as Org does? Besides, is there any active mailing list of common Emacs questions? Any suggestion is welcomed, thanks! Chao ___ 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] automatically kill html buffer after org-export
I find the html [and probably tex, etc] buffers that org-export generates during export as html and open file in browser to get in the way quite a lot - i end up having to frequently kill them to reduce keystrokes required when selecting the buffer I want to switch to. If a user *wants* the buffer to linger post-export, perhaps a C-u prefix could enable that? [just a suggestion!] This would be a great convenience to have. Especially since I prefer to use iswitch-buffer (instead of 'org-iswitchb). [ have only started using org-mode in everyday-work very recently ] 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