Re: [O] [BUG] org-agenda-open-link does not open bbdb links
Bastien writes: > Hi Matt, > > Matt Lundin writes: > >> The function org-agenda-open-link does not open bbdb links. >> >> The reason is that bbdb agenda lines contain links that are not found in >> the entry. > > I'm not sure I understand. Can you provide a minimal example/recipe? Hmmm... BBDB links from the agenda are now working for me. Sorry for the false alarm. Best, Matt
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Aaron, Thanks for staying with me on this. I'm not sure what you're suggesting. Nonetheless, I just updated org from `git clone git://orgmode.org/org-mode.git` So, now I'm got org-version release_8.0.7-377-gef2d47.dirty. Are you suggesting that with this patch.svg created with exporting graphics :file should now display in the emacs buffer when I toggle display of inline images? I wish they would. They do not, despite my adding "svg" to org-export-latex-inline-image-extensions. Are you suggesting that such a .svg created by org code block would be appear in the pdf created when I export to latex -> pdf? I wish that also... that's what I've been trying to accomplish. Thanks!, Malcolm PS - I see you are/were in PA in linguistics. My first job after my masters in AI from U Mass was at CMU's psych dept as a lisp programmer for John Anderson's intelligent tutoring systems. I then went on in computational linguistics a bit, working on a marcus parser based natural language processing system at wang labs. Ages ago. Now I'm in computational biology. The one commonality through it all? Emacs! -- Malcolm Cook h - 913.642.5257 c - 913.226.1542 w - 816.926.4449 On Thu, Aug 8, 2013 at 4:34 PM, Aaron Ecay wrote: > Hi Malcom, > > There is a patch that was added to the master branch of the org git > repository on Jul 27, which turns this from a link into a real inclusion > of the image. So, it will only work as intended if you are using a git > checkout from after that date. > > My apologies, I should have made this more prominent in my earlier > mails. > > -- > Aaron Ecay
[O] [PATCH v2] Timestamps: Handle sub-10-min ranges when updating timestamps
* lisp/org.el (org-get-compact-tod): Always pad minutes to two places. TINYCHANGE --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index b1a2fa8..e13c2b8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16077,7 +16077,7 @@ with the current time without prompting the user." (setq dh (- h2 h1) dm (- m2 m1)) (if (< dm 0) (setq dm (+ dm 60) dh (1- dh))) (concat t1 "+" (number-to-string dh) - (if (/= 0 dm) (concat ":" (number-to-string dm + (and (/= 0 dm) (format ":%02d" dm))) (defun org-time-stamp-inactive (&optional arg) "Insert an inactive time stamp. -- 1.8.3.4
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Hi Malcom, There is a patch that was added to the master branch of the org git repository on Jul 27, which turns this from a link into a real inclusion of the image. So, it will only work as intended if you are using a git checkout from after that date. My apologies, I should have made this more prominent in my earlier mails. -- Aaron Ecay
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
>In case of difficulties like this, I produce the tex file (C-c C-e l l) >and then I process it by hand: > > pdflatex --shell-escape foo.tex > >Separates concerns nicely. I will try your approach - thanks - I agree > >> Sleuthing, I see the output .tex file includes the following lines: >> >> \usepackage{svg} >> ... >> \includegraphics[width=.9\linewidth]{mtcars.png} >> @@backend:\includesvg{mtcars} >> > >This looks wrong. You probably want @@latex:\includesvg{mtcars}@@ in >your org file. In any case, the output in the tex file should be just > > \includesvg{mtcars} > >Also, not sure how the \includegraphics is produced (are you evaluating a >source block?) Yes > but it should probably not be there, otherwise you are >going to get two images in your PDF. I was going to conditionally suppress it depending on value of ox-backend. If I can get this whole gamish to work for me at all ~Malcolm > >-- >Nick >
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Aaron, Yeah, the zz was added by me whilst sleuthing. Sorry for the confusion. I added it across the board though. Before I added it, the message had been 'mtcars.zzpdf_tex' not found.' I know with org I can directly :export :file basename.svg The thing I am trying to accomplish is to find an approach that works for both org export to html and org export to latex->pdf without having to edit the org document in between exports. When I do :export :file basename.svg the resulting pdf does not inline the svg. Rather it contains a link to it. I thought the dance with the svg package was a way of accomplishing my aim. Do you see a better way? Thanks! -- Malcolm Cook h - 913.642.5257 c - 913.226.1542 w - 816.926.4449 On Thu, Aug 8, 2013 at 4:00 PM, Aaron Ecay wrote: > Hi Malcom, > > It looks like there are two things going on. The first is that you > are (as Nick suspected) including the file twice in the document. You > should change the header of the babel block to output a SVG file: > > #+begin_src R :results graphics output :exports both :file mtcars.svg >^^^ > > Then you don’t need the #+BEGIN/END_LATEX bit. > > The other bit is the svg package failing somehow. Does the mtcars.svg > file exist in the same directory? (It isn’t being generated by the > babel block, for example). Is the inkscape binary you installed on your > $PATH? I am suspicious about this line from the log file: > > , > | ! LaTeX Error: File `mtcars.zzpdf_tex' not found. > ` > > The “zz” should not be there. Could a stray “zz” have gotten into the > svg.sty file? > > The svg package doesn’t have the greatest error reporting; if > you keep having trouble it may be helpful to add \usepackage{trace} to > the top of the document, and \traceon just before the \includesvg > command, to try to see in more detail what steps it is trying (and > possibly failing). This will generate a voluminous log file... > > -- > Aaron Ecay
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Hi Malcom, It looks like there are two things going on. The first is that you are (as Nick suspected) including the file twice in the document. You should change the header of the babel block to output a SVG file: #+begin_src R :results graphics output :exports both :file mtcars.svg ^^^ Then you don’t need the #+BEGIN/END_LATEX bit. The other bit is the svg package failing somehow. Does the mtcars.svg file exist in the same directory? (It isn’t being generated by the babel block, for example). Is the inkscape binary you installed on your $PATH? I am suspicious about this line from the log file: , | ! LaTeX Error: File `mtcars.zzpdf_tex' not found. ` The “zz” should not be there. Could a stray “zz” have gotten into the svg.sty file? The svg package doesn’t have the greatest error reporting; if you keep having trouble it may be helpful to add \usepackage{trace} to the top of the document, and \traceon just before the \includesvg command, to try to see in more detail what steps it is trying (and possibly failing). This will generate a voluminous log file... -- Aaron Ecay
Re: [O] Handling Repeating events from google calendar / repeater interval
Stephen, I now have time to take a look if you send me an example ical. Cheers, Simon On 07/31/2013 11:18 PM, Simon Thum wrote: Yes, probably, but don't count on me in the next 4 days (vacation). On 07/31/2013 11:08 PM, Stephen Eglen wrote: On Wed, Jul 31 2013, Simon Thum wrote: Hi Stephen, I probably did not express myself well: The [UTC] means the timestamp was converted from UTC, which is the case. It is probably quite confusing to attach a TZ which is no longer supposed to be the case. I will probably change that. Is the org-mode time a correct local time now? I understand from ri_cal docs that ri_cal should do conversion as expected, but if not I can probably fix it easily. Cheers, Simon hi Simon, (dropping orgmode for now until we find a solution!) no, the org mode times are still GMT rather than with summer time added. Would it help if I made a test calendar to share with you? Stephen
Re: [O] possible org-insert-heading bug?
Indeed. Thank you very much! On 08/08/2013 09:28 AM, Carsten Dominik wrote: On 31.7.2013, at 21:15, Simon Thum wrote: Carsten, any news on this? I'm struggling with RET C-RET during notes taking. Hi Simon, This should be fixed now. - Carsten Cheers, Simon On 07/03/2013 05:52 AM, Carsten Dominik wrote: Hi, yes, org-insert-heading is broken - nad I am trying to find time to rewrite it. My top Org priority. - Carsten On 3.7.2013, at 00:11, John Hendy wrote: Hi Erik, Glad to see you around :) These all may be quite related. I haven't seen activity on those threads suggesting whether a) the documentation is, in fact, right or wrong or b) whether anyone has taken action to fix or adjust the behavior of M-RET or C-RET based on the complaints/counter-intuitive observations. Let me know if those are similar to your issue. Perhaps Bastien can comment on the state of these thread, now at least four in number... - http://www.mail-archive.com/emacs-orgmode@gnu.org/msg70718.html - http://osdir.com/ml/emacs-orgmode-gnu/2013-05/msg00846.html - http://permalink.gmane.org/gmane.emacs.orgmode/72399 I've taken to using C-RET in the meantime, as it seems to do what I often expect when reflexively pressing M-RET. Also, someone once corrected me on the documentation that "at the end of the line" might mean before the ellipsis, not after? Hope that helps! John On Tue, Jul 2, 2013 at 1:53 PM, Erik Iverson wrote: Hello, I am using a current git pull (Org-mode version 8.0.3, release_8.0.3-345-g239aa7) and noticed behavior that's easiest to show with a small example. If you save and visit the following org file, https://dl.dropboxusercontent.com/u/7514404/test.org you will see the behavior described and documented (assuming it's reproducible under your version of emacs and orgmode). Briefly M- at the end of a *folded* headline that contains plain list items will insert a new plain list item at the end of the subtree, instead of a new top-level headline. I believe this conflicts with the documentation for M-, which currently reads: ... If the command is used at the end of a folded subtree (i.e., behind the ellipses at the end of a headline), then a headline like the current one will be inserted after the end of the subtree... Best, --Erik
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Aaron, thanks so much, I've attached all three -- Malcolm Cook h - 913.642.5257 c - 913.226.1542 w - 816.926.4449 On Thu, Aug 8, 2013 at 2:36 PM, Aaron Ecay wrote: > Hi Malcom, > > 2013ko abuztuak 8an, Malcolm Cook-ek idatzi zuen: >> >> Aaron & Nick, >> >> Thanks for the help. I think I'm almost there. >> >> So far I did >> >> * install a latex package (first time for everything). I wound up >> just putting svg.sty file it for now in the same directory as the .org >> file since my attempts to date failed using $HOME/texfm >> * customize the emacs variable `org-latex-pdf-process` to include >> '--shell-escape' (following advice in >> http://orgmode.org/worg/org-dependencies.html, which outlines some >> other options) >> * upgrade to inkscape version 0.48.+ (which is more recent than our >> centOS repos proffered, but, hey) since the --export-latex switch that >> svg.sty depends upon is not implemented till this version >> >> When I "export to latex as PDF file", I get error "PDF file ./test.pdf >> wasn't produced" >> >> Sleuthing, I see the output .tex file includes the following lines: >> >> \usepackage{svg} >> ... >> \includegraphics[width=.9\linewidth]{mtcars.png} >> @@backend:\includesvg{mtcars} > ^ > > This looks like (malformed?) org markup that has “escaped” into the > exported .tex file. Are you still using some of the custom macros from > other threads? Can you send a minimal example of the file that you are > trying to export, and the resulting exported .tex file? The .log file > produced by LaTeX when compiling the .tex file may be helpful as well. > > Thanks, > > -- > Aaron Ecay testsvg.log Description: Binary data testsvg.tex Description: TeX document testsvg.org Description: Binary data
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Hi Malcom, 2013ko abuztuak 8an, Malcolm Cook-ek idatzi zuen: > > Aaron & Nick, > > Thanks for the help. I think I'm almost there. > > So far I did > > * install a latex package (first time for everything). I wound up > just putting svg.sty file it for now in the same directory as the .org > file since my attempts to date failed using $HOME/texfm > * customize the emacs variable `org-latex-pdf-process` to include > '--shell-escape' (following advice in > http://orgmode.org/worg/org-dependencies.html, which outlines some > other options) > * upgrade to inkscape version 0.48.+ (which is more recent than our > centOS repos proffered, but, hey) since the --export-latex switch that > svg.sty depends upon is not implemented till this version > > When I "export to latex as PDF file", I get error "PDF file ./test.pdf > wasn't produced" > > Sleuthing, I see the output .tex file includes the following lines: > > \usepackage{svg} > ... > \includegraphics[width=.9\linewidth]{mtcars.png} > @@backend:\includesvg{mtcars} ^ This looks like (malformed?) org markup that has “escaped” into the exported .tex file. Are you still using some of the custom macros from other threads? Can you send a minimal example of the file that you are trying to export, and the resulting exported .tex file? The .log file produced by LaTeX when compiling the .tex file may be helpful as well. Thanks, -- Aaron Ecay
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Malcolm Cook writes: > When I "export to latex as PDF file", I get error "PDF file ./test.pdf > wasn't produced" > In case of difficulties like this, I produce the tex file (C-c C-e l l) and then I process it by hand: pdflatex --shell-escape foo.tex Separates concerns nicely. > Sleuthing, I see the output .tex file includes the following lines: > > \usepackage{svg} > ... > \includegraphics[width=.9\linewidth]{mtcars.png} > @@backend:\includesvg{mtcars} > This looks wrong. You probably want @@latex:\includesvg{mtcars}@@ in your org file. In any case, the output in the tex file should be just \includesvg{mtcars} Also, not sure how the \includegraphics is produced (are you evaluating a source block?) but it should probably not be there, otherwise you are going to get two images in your PDF. -- Nick
Re: [O] how to handle svg files when exporting orgmode to html and pdf?
Aaron & Nick, Thanks for the help. I think I'm almost there. So far I did * install a latex package (first time for everything). I wound up just putting svg.sty file it for now in the same directory as the .org file since my attempts to date failed using $HOME/texfm * customize the emacs variable `org-latex-pdf-process` to include '--shell-escape' (following advice in http://orgmode.org/worg/org-dependencies.html, which outlines some other options) * upgrade to inkscape version 0.48.+ (which is more recent than our centOS repos proffered, but, hey) since the --export-latex switch that svg.sty depends upon is not implemented till this version When I "export to latex as PDF file", I get error "PDF file ./test.pdf wasn't produced" Sleuthing, I see the output .tex file includes the following lines: \usepackage{svg} ... \includegraphics[width=.9\linewidth]{mtcars.png} @@backend:\includesvg{mtcars} However, when they get processed, and the includesvg seeks the pdf_tex file, I get this error: ! LaTeX Error: File `mtcars.pdf_tex' not found. Type X to quit or to proceed, or enter new name. (Default extension: pdf_tex) Enter file name: ! Emergency stop. l.354 \includesvg{mtcars} If you have any suggestions to me for further sleuthing I would be much obliged. Thanks, Malcolm Cook On Sat, Jul 27, 2013 at 1:36 AM, Aaron Ecay wrote: > > Hi Malcom, > > 2013ko uztailak 17an, malcolm cook-ek idatzi zuen: > > > > Hi, > > > > I am creating .svg files with R source blocks and ESS in org. > > > > I am happily viewing them in-line in my emacs buffer. > > > > I am happily exporting as html and viewing them in-line in the resulting web > > page, including a table of images. > > > > I do not have an approach for including them into PDF when I export-tex-pdf. > > > > I'm thinking there might be an approach to converting them on-the-fly to png > > (or something) during the export->tex->pdf. > > > > A similar problem was addressed with custom macros here: > > http://thread.gmane.org/gmane.emacs.orgmode/56532/focus=58322 > > > > But it does not work with R source blocks that produce .svg files. > > > > Any suggestions for me? Is this a lost cause? Am I asking for too many > > assumptions to be made by such an auto-conversion process that it is doomed > > to fail anyway? > > I have been using a variant of this workflow with some success. Using a > patch I just pushed to the master branch, you should be able to > successfully export SVG image files to LaTeX documents, using the “svg” > LaTeX package: http://www.ctan.org/pkg/svg > > No configuration should be needed on the org side. > > The svg LaTeX package is a bit fussy. It only works under pdfTeX (it > can be patched to work with LuaTeX, but cannot work with XeTeX at all). > It also requires you to have the inkscape command line program > installed. But within those constraints it works very nicely. > > You may need to arrange for whatever compilation process you use for > LaTeX files to pass the “-shell-escape” command line option to pdftex. > This allows TeX code to execute command line programs, which is needed > to communicate with inkscape and convert the SVG into something LaTeX > can use. > > I think in the long run it would be nice if Org could help you translate > the image types in your document into image types an exporter > understands (basically an expanded and generalized version of what is > already done with LaTeX snippets for non-LaTeX export). But that is > a bigger project, I think. > > -- > Aaron Ecay
Re: [O] my auto-sitemap file problem
zy liu writes: > I come across a problem when I upgrade my org-mode from 7.83 to 8.07. > When I use the auto-sitemap ,the sitemap-file's entries all have the same > name,I do not know why. > I have uploaded my problems picture and my org-configuration pictures, Can > any one help me ? The problem came from files with no #+TITLE keyword. This should be fixed. You probably need to refresh publish cache, though. Thanks for the report. Regards, -- Nicolas Goaziou
Re: [O] fill-paragraph does not work in quote/example blocks
Hello, Thorsten Jolitz writes: > I just noticed that `fill-paragraph' does not work (anymore?) in quote or > example blocks. Is that a bug, intended behaviour, or a weird side-effect of > my personnal settings? This is the intended behaviour. Regards, -- Nicolas Goaziou
[O] fill-paragraph does not work in quote/example blocks
Hi List, I just noticed that `fill-paragraph' does not work (anymore?) in quote or example blocks. Is that a bug, intended behaviour, or a weird side-effect of my personnal settings? Steps to reproduce: 1. Insert block and write a lng line #+begin_verse This is a very long line that continues and continues and continues and continues and continues #+end_verse 2. Do M-q on that line - nothing happens 3. Mark that line and try M-q again - it is filled now, so `fill-region' seems to work #+begin_verse This is a very long line that continues and continues and continues and continues and continues #+end_verse -- cheers, Thorsten
Re: [O] How to pass named table reference in source block variable
Eric Schulte gmail.com> writes: > > It sounds like you want to use tables like key-value stores. I think > adding such behavior directly to Org-mode would overly complicate the > data structures passed between code blocks (which currently only > consists of scalars and tables). However, maybe the following could > work. > > > Attachment (key-value.org): text/x-org, 776 bytes > > > Cheers, > Thanks for the attachment. It works fine indeed! But should it be so complicated to add this behavior to Org-mode? I can rewrite your table as follows : #+name: table | | keys | values | |---+--+| | | foo | 1 | | ^ | | foo| | | bar | 2 | | ^ | | bar| Now I can refer to bar value as $bar in org-table. So, my suggestion is only to mimic this feature to assign value of source block variable like : #+headers: :results verbatim #+begin_src sh :var foo=table$foo :var bar=table$bar cat <
Re: [O] How to pass named table reference in source block variable
Roland Donat writes: > Thomas S. Dye tsdye.com> writes: > >> >> Roland Donat gmail.com> writes: >> >> >> >> >> Perhaps this can help: >> >> >> >> http://orgmode.org/worg/org-contrib/babel/examples/lob-table- >> > operations.html >> >> >> >> Alternatively, you might pass the table to a code block of a language >> >> that understands tables, such as an R data frame, and use that language >> >> to retrieve values by name. >> >> >> >> hth, >> >> Tom >> >> >> > >> > Thank you for the link, I'll check it but seems that it won't solve the >> > problem. But anyway, I found a workaround that doesn't involve to insert >> > table reference. >> >> What is the workaround? >> >> All the best, >> Tom > > Well, my main objective was to write piece of code in a given language X > including information stored in some org-table. > > So my solution for now was to create some python functions able to generate > my code. I use babel to pass my org-table as input to the python function > and the result is another source block of language X containing the code > taking into account the information of my org-table. > > I recognized that the solution seems quite heavy but I have already > developped some python wrapper for my language X so It takes me only 2 hours > to do the job. > > All the best. > It sounds like you want to use tables like key-value stores. I think adding such behavior directly to Org-mode would overly complicate the data structures passed between code blocks (which currently only consists of scalars and tables). However, maybe the following could work. Here's an example table with key/value data. #+name: table | keys | values | |--+| | foo | 1 | | bar | 2 | | baz | 3 | | qux | 4 | Here's a code block which can access the data in such a table by key. This could be added to the library of babel to make it usable from any Org-mode file. #+name: by-key #+begin_src sh :var data="" :var key="" echo "$data"|awk "{if(\$1 == \"$key\") print \$2}" #+end_src And here's an example usage. #+headers: :results verbatim #+begin_src sh :var foo=by-key(table,"foo") :var baz=by-key(table,"baz") cat < Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] my auto-sitemap file problem
Hello, zy liu writes: > I come across a problem when I upgrade my org-mode from 7.83 to 8.07. > When I use the auto-sitemap ,the sitemap-file's entries all have the same > name,I do not know why. > I have uploaded my problems picture and my org-configuration pictures, Can > any one help me ? I cannot reproduce your problem. Is Org correctly installed? Can you reproduce it with any file in the directory? Regards, -- Nicolas Goaziou
Re: [O] org-speed-commands-default 1 2 3
On Thu, Aug 8, 2013 at 9:01 AM, Carsten Dominik wrote: > > On 23.7.2013, at 15:48, Oleh wrote: > >> Hi all, >> >> I've recently started using `org-use-speed-commands', and I like it a lot, >> except I had to make one tweak: >> >>(setq org-use-speed-commands t) >>(setq org-speed-commands-user >> '(("1" . (org-shifttab 1)) >>("2" . (org-shifttab 2)) >>("3" . (org-shifttab 3 >> >> The corresponding values of `org-speed-commands-default' aren't that useful >> for GTD: >> >>("1" org-priority 65) >>("2" org-priority 66) >>("3" org-priority 67) > > That depends on wether you work with priorities. I find S-TAB easy enough, > so I do not > really see the need for speed commands here. Maybe I should elaborate my point of view on the usability. Priorities don't normally need "buttons" to jump between states, a "knob" is enough: only increase/decrease priority, not jump to priority 1, jump to priority 2 etc. Outlines, on the other hand, can benefit from the ability to jump between the levels of expansion. Level 1 is very useful - it minimizes everything, showing the structure of the file. S-TAB is useful and simple, but you have to repeat several times, checking each time if it has brought you to the level that you wanted to be on. Level 2 is very useful - and cannot, unlike Level 1, be reached by S-TAB. For my gtd.org, it shows the tasks and appointments, without expanding them, as well as the project names, but not what they contain. This gives a nice overview of my projects. Level 3 is very useful - and cannot be reached by S-TAB. It shows me the separate TODOs for my projects, without revealing my notes on them, just the headings. I even bound the rest of the digits to levels and it is useful sometimes. In my opinion, these shortcuts make org-mode a better outlining tool, and should be given priority before the priority shortcuts. Slightly off-topic, these type of shortcuts is why I use Ubuntu Unity (I think I managed to turn off the spying). It's got a feature that Super+1-9 switches between applications in the sidebar slots 1-9. Sure, it's possible to do with Alt-TAB, and that's what most other desktops do, but Super+1-9 is superior, since you don't have to wait for feedback, you instantly get what you want. regards, Oleh
Re: [O] [bug] latex export ascii encoding
Hello, Jan-Mark Batke writes: [...] > I am using the org-plus-contrib package now > (8.0.7-2-gf51616-elpaplus). This version is anterior to the patch. You need to update Org. Regards, -- Nicolas Goaziou
Re: [O] [bug] latex export ascii encoding
Hi, using XP and GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600) of 2013-03-17 on MARVIN exporting from an utf-8 org file to a buffer unfortunately still fails, e.g. % Created 2013-08-08 Do 14:46 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage[normalem]{ulem} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{amstext} \usepackage{hyperref} \tolerance=1000 \author{Jan-Mark Batke} \date{\today} \title{tmp} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 24.3.1 (Org mode 8.0.7)}} \begin{document} \maketitle \tableofcontents öäü % Emacs 24.3.1 (Org mode 8.0.7) \end{document} but ascii coding of the buffer is latin-1. Accordingly, on linux the latin-1 file export fails. I am using the org-plus-contrib package now (8.0.7-2-gf51616-elpaplus). Best Jan-Mark 2013/8/7 Nicolas Goaziou > Hello, > > Jan-Mark Batke writes: > > > BTW, I tested windows in the mean time - encoding is maintained for file > > export, but buffer export yields wrong encoding of the buffer. > > This should now be fixed. Thanks for the report. > > > Regards, > > -- > Nicolas Goaziou > -- Jan-Mark Batke bad...@gmx.net FON +49 511 33 64 800 FAX +49 511 22 09 521
Re: [O] org-clock-file-time-cell-format customize type
Hello, Kevin Ryde writes: > org-clock-file-time-cell-format and org-clock-total-time-cell-format in > org-clock.el each have defcustom > > :type 'boolean > > but if I understand their docstrings and the way they're used then I > expected 'string. Indeed. This is now fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou
Re: [O] Add figure/table numbers to HTML captions
Hello, Yoshinari Nomura writes: > I just want to update you on my completion of the assignment/disclaimer > process with FSF. Thank you. I added you to the list of FSF signed contributors. Regards, -- Nicolas Goaziou
Re: [O] org-mode automatically sets bookmarks org-capture-last-stored etc.
On 8.8.2013, at 08:46, Carsten Dominik wrote: > > On 18.7.2013, at 10:34, Oleh wrote: > >> Hi all, >> >> I'd like to point out that it's inconvenient for me >> that org stores the bookmarks "org-capture-last-stored", >> "org-refile-last-stored" and "org-capture-last-stored-marker" when I do >> capture/refile. > > Hi Oleh, > > can you explain why you find this inconvenient? After taking another look, I have installed a modified version of this patch. Thanks! - Carsten > > - Carsten > >> I'd like an option to turn them off selectively. >> Also it would be nice to customize the default names of these bookmarks. >> >> For the moment, I've just disabled in the source the >> "org-capture-last-stored-marker" >> and renamed the others to "oc: org-capture-last-stored-marker" and "or: >> org-refile-last-stored". >> But messing with the source is not a permanent solution. >> >> >> regards, >> Oleh >> >> >> >
[O] org-clock-file-time-cell-format customize type
org-clock-file-time-cell-format and org-clock-total-time-cell-format in org-clock.el each have defcustom :type 'boolean but if I understand their docstrings and the way they're used then I expected 'string.
Re: [O] [PATCH] Timestamps: Handle sub-10-min ranges when updating timestamps
Trevor Murphy writes: > Schedule an event for today with a five-minute duration. E.g: > > * TODO test out bug in `org-schedule' > SCHEDULED: <2013-08-07 Wed 17:00-17:05> > > Then hit C-c C-s (or however you have `org-schedule' bound). With the > default setup, you'd expect to see the following prompt in the > minibuffer: > > Date+time [2013-08-07]: 17:00+0:05 > > however what you'll get instead is: > > Date+time [2013-08-07]: 17:00+0:5 > > The latter is not a valid time spec. If you simply accept it, then at > least on my install org reschedules the event to: > > SCHEDULED: <2013-08-07 Wed-17:00> > > Which is not what I intended. I'll add that you can get the same buggy > behavior from any command that calls `org-time-stamp' on an > already-timestamped event with <10 minute duration. OK. Thank you for the explanation. > I tested that and it felt noticeably slower when I called > `org-reschedule'. The extra `if' and `concat' did not feel slower. I > didn't do explicit timings because of the subjective feel (also because > I'm not really sure how to do those tests yet). That being said, I > agree with you. I doubt the difference between the two is noticeable. Something else happened when calling `org-reschedule'. > If you prefer, I'll resubmit the patch without the if => when and using > the format string. Please do. I'll apply it then. Regards, -- Nicolas Goaziou
Re: [O] How to pass named table reference in source block variable
Thomas S. Dye tsdye.com> writes: > > Roland Donat gmail.com> writes: > > >> > >> Perhaps this can help: > >> > >> http://orgmode.org/worg/org-contrib/babel/examples/lob-table- > > operations.html > >> > >> Alternatively, you might pass the table to a code block of a language > >> that understands tables, such as an R data frame, and use that language > >> to retrieve values by name. > >> > >> hth, > >> Tom > >> > > > > Thank you for the link, I'll check it but seems that it won't solve the > > problem. But anyway, I found a workaround that doesn't involve to insert > > table reference. > > What is the workaround? > > All the best, > Tom Well, my main objective was to write piece of code in a given language X including information stored in some org-table. So my solution for now was to create some python functions able to generate my code. I use babel to pass my org-table as input to the python function and the result is another source block of language X containing the code taking into account the information of my org-table. I recognized that the solution seems quite heavy but I have already developped some python wrapper for my language X so It takes me only 2 hours to do the job. All the best. Roland.
Re: [O] org-insert-heading rewritten from scratch
Carsten Dominik writes: > Hi, > > I have rewritten org-insert-heading, because it had become an unmaintainable > beast. > Please follow up in this thread if you find problems with the new > implementation. > Very likely there will be bugs, but now I am at least confident they can be > fixed. > > - Carsten Awesome! Thanks very much for doing this. Will report back with bugs. E
Re: [O] possible org-insert-heading bug?
On 31.7.2013, at 21:15, Simon Thum wrote: > Carsten, > > any news on this? I'm struggling with RET C-RET during notes taking. Hi Simon, This should be fixed now. - Carsten > > Cheers, > > Simon > > On 07/03/2013 05:52 AM, Carsten Dominik wrote: >> Hi, >> >> yes, org-insert-heading is broken - nad I am trying to find time >> to rewrite it. My top Org priority. >> >> - Carsten >> >> On 3.7.2013, at 00:11, John Hendy wrote: >> >>> Hi Erik, >>> >>> >>> Glad to see you around :) >>> >>> These all may be quite related. I haven't seen activity on those >>> threads suggesting whether a) the documentation is, in fact, right or >>> wrong or b) whether anyone has taken action to fix or adjust the >>> behavior of M-RET or C-RET based on the complaints/counter-intuitive >>> observations. >>> >>> Let me know if those are similar to your issue. Perhaps Bastien can >>> comment on the state of these thread, now at least four in number... >>> >>> - http://www.mail-archive.com/emacs-orgmode@gnu.org/msg70718.html >>> - http://osdir.com/ml/emacs-orgmode-gnu/2013-05/msg00846.html >>> - http://permalink.gmane.org/gmane.emacs.orgmode/72399 >>> >>> I've taken to using C-RET in the meantime, as it seems to do what I >>> often expect when reflexively pressing M-RET. Also, someone once >>> corrected me on the documentation that "at the end of the line" might >>> mean before the ellipsis, not after? >>> >>> >>> Hope that helps! >>> John >>> >>> >>> On Tue, Jul 2, 2013 at 1:53 PM, Erik Iverson wrote: Hello, I am using a current git pull (Org-mode version 8.0.3, release_8.0.3-345-g239aa7) and noticed behavior that's easiest to show with a small example. If you save and visit the following org file, https://dl.dropboxusercontent.com/u/7514404/test.org you will see the behavior described and documented (assuming it's reproducible under your version of emacs and orgmode). Briefly M- at the end of a *folded* headline that contains plain list items will insert a new plain list item at the end of the subtree, instead of a new top-level headline. I believe this conflicts with the documentation for M-, which currently reads: ... If the command is used at the end of a folded subtree (i.e., behind the ellipses at the end of a headline), then a headline like the current one will be inserted after the end of the subtree... Best, --Erik >>> >> >> >> >
Re: [O] narrowing bug when inserting a headline
On 30.7.2013, at 20:30, Samuel Wales wrote: > To try to repro, narrow to two headlines. Go up. Insert a heading with > C-RET. > > Several characters will no longer be in the narrowed region. I think this is now fixed. - Carsten > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > > The disease DOES progress. MANY people have died from it. ANYBODY can get > it. > > Denmark: free Karina Hansen NOW. >
Re: [O] org-mode `org-capture-templates' %(sexp) must return string restriction
Hi Oleh, please provide a patch, I like the proposed change. - Carsten On 26.7.2013, at 09:09, Oleh wrote: > Hi all, > > Is this restriction really necessary? > This results in code like: > > (setq > org-capture-templates > '(("e" "elisp todo" >entry >(file+headline (concat org.d "gtd.org") "Tasks") >"* TODO %(progn (org-set-tags-to \"ELISP\") \"\")%^{Brief > Description}\n Added: %U %i\n %?\n"))) > > I think it should be fine to just return nil. That would be equivalent > to the empty string. > Here's the same code if returning nil would be acceptable: > > (setq > org-capture-templates > '(("e" "elisp todo" >entry >(file+headline (concat org.d "gtd.org") "Tasks") >"* TODO %(org-set-tags-to \"ELISP\")%^{Brief Description}\n > Added: %U %i\n %?\n"))) > > Any opinions on this? > > regards, > Oleh >
Re: [O] org-speed-commands-default 1 2 3
On 23.7.2013, at 15:48, Oleh wrote: > Hi all, > > I've recently started using `org-use-speed-commands', and I like it a lot, > except I had to make one tweak: > >(setq org-use-speed-commands t) >(setq org-speed-commands-user > '(("1" . (org-shifttab 1)) >("2" . (org-shifttab 2)) >("3" . (org-shifttab 3 > > The corresponding values of `org-speed-commands-default' aren't that useful > for GTD: > >("1" org-priority 65) >("2" org-priority 66) >("3" org-priority 67) That depends on wether you work with priorities. I find S-TAB easy enough, so I do not really see the need for speed commands here. - Carsten > > I'd suggest to change the default behavior to `org-shifttab'. > I don't know if people want this, but I like to just put the idea out there. > As an extra plus, it's similar to magit shortcuts. > > regards, > Oleh >
Re: [O] [bug?] inherit tags before org-refile
On 23.7.2013, at 14:10, Oleh wrote: > Hi all, > > When I call `org-refile' on a heading that inherits at tag > from its parent, but does not possess it, it looses this tag. > > To give an example, the parent heading has :boss: > tag attached to it - it means that all child headings have > something to do with the boss. > Now I choose to refile only the subheadings with concern > my meetings with the boss to a general meetings heading > in a different file. And in doing so, they loose the :boss: tag. > > I find this inconsistent, since before refiling > a heading, I could find it with C-c a m, and now I cannot. > > Is there a way to fix this? Hi Oleh, No, there is not. By refiling you show your intent that the heading should be in a different context, and that is reflected by the new tags. Regards - Carsten > > regards, > Oleh