Re: [O] [PATCH] Add catch-up all LaTeX errors
Nicolas Goaziou wrote: Hello, Nicholas and Francesco, Francesco Pizzolante fpz-djc/ipccudyqhejpep6iedvlejwur...@public.gmane.org writes: The issue is the fact that, when exporting to PDF, in some cases, Org tells that the export has been done successfully while the PDF file has not been produced! As an example, if you open the target PDF file with Adobe Reader and, in the meantime, you export your Org file again to PDF, you'll see that Org will tell you it's OK (Process Completed) while, if you look at the *Org PDF LaTeX Output* buffer, you'll see an error such as: ! I can't write on file `toto.pdf'. [...] The problem comes from the fact that Org just checks for a couple of error messages (defined in org-latex-known-errors) and report it's OK if it doesn't find those messages: Errors are not related to your problem. Actually, ox-latex.el uses a rather weak check to know if process was successful or not: (if (not (file-exists-p pdffile)) (error (concat (format PDF file %s wasn't produced pdffile) (when errors (concat : errors ... (message (concat Process completed (if (not errors) . (concat with errors: errors) First, I have subsequent messages in this thread and the discussion. Should Nick's observation, that IOW, it cannot tell the difference between a successful export and an export failure with an already existing PDF also include the qualification that the existing PDF file is also opened at the time of the second export? I base this on Francesco's example above and the following. I usually export a subtree to LaTeX as PDF file and open. If I make small corrections to the subtree and export again, AND forget to close the PDF file that is already opened from the earlier export, Org reports a successful export; however, the revised exported PDF does not exist. (Also I use EXPORT_FILE_NAME: in PROPERTIES as the top of the subtree.) If I remember to close the first exported PDF, the revised subtree exports OK. I'm just curious, does the problem exist iff the pdf, that is to be replaced, is opened? Charlie Millar
Re: [O] Agenda view in Fortnight mode
Dave, J. David Boyd wrote: I've searched the docs, and looked through my .emacs and custom.el files, but I don't see anywhere that lets me set the default view for the Agenda. I would like it to come up in Fortnight mode as a default. Is this possible? I can't recall if there is specific fortnight span. I use (setq org-agenda-span 14) Charlie Millar
Re: [O] Contacts/Resources/People
A discussion about contacts, etc. from a couple of years ago might be useful. http://comments.gmane.org/gmane.emacs.orgmode/57972 Charlie Millar
Re: [O] Update of git repo does not work? Still?
Suvayu Ali wrote: On Tue, May 13, 2014 at 01:53:01PM +0200, Rainer M Krug wrote: Is there a problem with git? I can't update via git: , | $ git remote -v | origingit://orgmode.org/org-mode.git (fetch) | origingit://orgmode.org/org-mode.git (push) | $ git pull | fatal: read error: Connection reset by peer | $ make update | rm -f | git checkout | M etc/R/org_functions.R | M lisp/ob-R.el | git remote update | Fetching origin | fatal: read error: Connection reset by peer | error: Could not fetch origin | make: *** [up0] Error 1 ` I can confirm this. I just tried (2014-05-14) to update and am still receiving an error message. rm -f git checkout git remote update Fetching origin fatal: read error: Connection reset by peer error: Could not fetch origin mk/targets.mk:111: recipe for target 'up0' failed make: *** [up0] Error 1 Org-mode version 8.2.6 (release_8.2.6-959-g08e259 @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
If I attempt to move headline 2b above 2a (M-up) * 1 ** 2a ** 2b # LocalWords: the result is * 1 ** 2b # LocalWords: Y ** 2a The number of lines between ** 2b and # LocalWords makes no difference and the headline level makes no difference. Location in the file makes no difference. Flyspell-mode on GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Org-mode version 8.2.6 (release_8.2.6-1022-gc23d9e @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) Windows Vista SP2 Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
Hi Bastien, Bastien wrote: Hi Charles, Charles Millar mill...@verizon.net writes: If I attempt to move headline 2b above 2a (M-up) * 1 ** 2a ** 2b # LocalWords: the result is * 1 ** 2b # LocalWords: Y ** 2a Yes, # LocalWords: Y is part of the ** 2b headline. Should it be as such, since # LocalWords since it is associated with ispell/flyspell and really has nothing to do with headline ** 2b? Of course what I neglected to mention was that I would expect, which would be * 1 ** 2b ** 2a # LocalWords: Y Regards, Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
Hi, again, Bastien, Bastien wrote: Hi Charles, Charles Millar mill...@verizon.net writes: If I attempt to move headline 2b above 2a (M-up) * 1 ** 2a ** 2b # LocalWords: the result is * 1 ** 2b # LocalWords: Y ** 2a Yes, # LocalWords: Y is part of the ** 2b headline. I now realize that since # LocalWords is considered part of a previous headline, any refile to a file that contains # LocalWords (or possibly any similar special construct) is placed after # LocalWords. I would expect that the refile, at the very least, would be placed between the last headline and # LocalWords. Possibly this situation could cause errors would be in exporting. Best, Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
Bastien and all, Bastien wrote: Hi Charles, There will be no problem with comments at export time since comments are not exported. Thanks for the pointer concerning that # is comment in all exporting situations. The way it works now is deeply into the ADN of Org, *everything* within a subtree moves with this subtree, and nothing is *not* part of a subtree (except text before the first headline.) I am only now teaching myself emacs lisp and common lisp, mostly so I can at least try to understand the code. Based on Brian van den Broeck's message and my observation following his message, is it possible, actually is it worth the time and effort, for Org Mode only, to make # LocalWords: into a #+ LocalWords: into a top level buffer setting, and furthermore any additions would be placed into the top level setting and not at the end of the buffer? Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
Bastien wrote: Charles Millar mill...@verizon.net writes: I am only now teaching myself emacs lisp and common lisp, mostly so I can at least try to understand the code. Based on Brian van den Broeck's message and my observation following his message, is it possible, actually is it worth the time and effort, for Org Mode only, to make # LocalWords: into a #+ LocalWords: into a top level buffer setting, and furthermore any additions would be placed into the top level setting and not at the end of the buffer? Perhaps -- I don't know what LocalWords is supposed to do. I'd say: go ahead and experiment, and tell us if it's work? OK I'll try. Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Possible bug - shifting headline - hashmark and what follows is considered part of headline that is shifted
Hi Sebastien, Bastien and all, Bastien wrote: Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: The syntax is LocalWords: prefixed by the current comment prefix. Hence, I don't really understand why we would want to transform it in #+ LocalWords:. Yes. Last evening I realized that changing # LocalWords: to #+ LocalWords: was a terrible idea since it would be of no use for ispell. [snip] Putting this in a separate configuration section at the end of the file is probably the way to go. However, I thought I would try to place # LocalWords: at the top of a file between any #+ KEYWORDS: and the first * headline. That way it does not become part of a tree/subtree. Is this OK? Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] M-RET does not work as described in the manual
Kevin Van Horn wrote: Thank you for your help -- I have been beating my head against this for quite some time. Putting the cursor at the beginning of the line does in fact work. I'm going to argue that there is still a problem here, though. Here's what I read at http://orgmode.org/manual/Structure-editing.html: If the command is used at the beginning of a headline, the new headline is created before the current line. IMHO the definition of a headline is clear in the manual 2.2 Headlines Headlines define the structure of an outline tree. The headlines in Org *start* with one or more stars, on the left margin Regards, Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] LaTex export questions
Hi Steven, Steven Arntson wrote: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? Thank you! Steven Arntson In addition to Igor's suggestion you may want to check out http://orgmode.org/worg/org-tutorials/org-latex-export.html As mentioned in the title the following is for the earlier version of org-export; however I used the Thomas Dye's examples and made the appropriate changes for the new exporter in Org v8. Again, please note, that you will have to make adjustments. Also, search this list; for instance Dr. Dye's posts concerning this subject. Regards, Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] Literate Programming site
Hi, I was investigating literate programming, etc. and found the following site http://literateprogramming.com/ There is no mention of emacs, much less org mode, as a tools. The evil one is! GNU and open office are included as projects. I am not sure if any of the articles posted in this list are mentioned. I thought about posting a comment to the above site; however I decided to post here for those who know more about these things to decide if something should be forwarded. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] [PATCH] docstring improvement of org-agenda-refile
Daimrod wrote: +When GOTO is '(14) or \\[universal-argument] \\[universal-argument], go to the location of the last refiled item. ^^ '(16) --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] [PATCH] docstring improvement of org-agenda-refile
Charles Millar wrote: Daimrod wrote: +When GOTO is '(14) or \\[universal-argument] \\[universal-argument], go to the location of the last refiled item. ^^ '(16) Just opened my own reply and the '(16) may be misaligned. Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] org-agenda-write to .org exports headings in reversed order?!
Martin, M wrote: Hi, I'm still experimenting with agenda export and I found that I can write an agenda to an org-mode file by C-x C-w (org-agenda-write). However, if I do that and select filename.org as target, I get all headings in the agenda, but the last one first and the first one last. Is there an option which can reverse the order to leave it as it is in the agenda itself? I know very little of the wonders of emacs lisp, but I wonder if org-agenda.el line 3362 is the reason for this. (mapcar (lambda (s) (org-paste-subtree 1 s)) (reverse content)) I was using org-agenda-write several months ago; I exported to a text file and the result just as you report. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] new to exporting: how to export to a specific location (aromatically?)
Hi Xebar Xebar Saram wrote: Hi list im new (in general and to exporting in particular). I have a few questions: 1.how does one specify a location where exported files go? can one set this per file or perhaps per export type etc? Org manual section 12.3 at the end EXPORT_FILE_NAME for subtrees; IUC this cannot be applied to a buffer - footnote 133 There is no buffer-wide equivalent for this property. The file name in this case is derived from the file associated to the buffer, if possible, or asked to the user otherwise. Like you I am also answers to the other two questions. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] LATEX_HEADER export problem
Hi, I have the following in a file that I export to LaTeX #+LATEX_CLASS: mysetup #+LATEX_HEADER: \newcommand{\RATE}{65.00} mysetup class (add-to-list 'org-latex-classes '(mysetup \\documentclass[11pt,letterpaper,oneside]{scrartcl} \\usepackage{verbatim} % \\usepackage[T1]{fontenc} % \\usepackage{charter,parskip,setspace,layout} commented out for Komascript \\usepackage{charter,setspace,layout} \\usepackage{array,graphicx} \\usepackage{tabularx,tabulary} \\usepackage{longtable} \\usepackage{numprint} \\npstyleenglish \\usepackage[at]{easylist} \\usepackage{csquotes} %\\usepackage[letterpaper,margin=1.00in]{geometry} \\usepackage[letterpaper,left=1.00in,right=1.00in,top=1.00in,bottom=0.50in]{geometry} % \\usepackage[top=1.0in,bottom=0.4in,left=1.2in,nohead]{geometry} %\\pagestyle{empty} \\pagenumbering{arabic} %\\newcommand\\foo{bar} [NO-DEFAULT-PACKAGES] [NO-PACKAGES] [EXTRA] (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s}))) When I export the pdf is generated, however with an error; the following output to the *.tex results ss[11pt,letterpaper,oneside]{scrartcl} \usepackage{verbatim} % \usepackage[T1]{fontenc} % \usepackage{charter,parskip,setspace,layout} \usepackage{charter,setspace,layout} \usepackage{array,graphicx} \usepackage{tabularx,tabulary} \usepackage{longtable} \usepackage{numprint} \npstyleenglish \usepackage[at]{easylist} \usepackage{csquotes} %\usepackage[letterpaper,margin=1.00in]{geometry} \usepackage[letterpaper,left=1.00in,right=1.00in,top=1.00in,bottom=0.50in]{geometry} % \usepackage[top=1.0in,bottom=0.4in,left=1.2in,nohead]{geometry} %\pagestyle{empty} \pagenumbering{arabic} %\newcommand\foo{bar} \newcommand{\RATE}{65.00} \newcommand{\RATE}{65.00} \newcommand{\RATE}{65.00} \date{} Note - the triple |newcommand{\RATE}{65.00} is present whether\newcommand\foo{bar} is commented or uncommented in mysetup When *.tex is typset there are two \RATE already defined errors. I have searched around for an answer/solution. Any suggestions? As I said, the pdf is still typeset; all I want is to be rid of this error. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] dropping the debian version
Sharon, Sharon Kimble wrote: This has been probably been asked many times before but auntie google can't find it if so. I've just updated my git clone of org-mode to its version '409913b253de2de1b49f9468a4b77b9292e090c4' from 'ORIG_HEAD' and I've done --8---cut here---start-8--- M-x org-version --8---cut here---end---8--- which now shows ╭ │Org-mode version 8.2.6 (release_8.2.6-1 @ /usr/local/share/emacs/24.3.93/lisp/org/) ╰ How do I drop the debian version and stick with the git version please? I have this as part of my init file. --8---cut here---start-8--- ;;; -*- emacs-lisp-mode -*- --- init file ;;; mine from 27-11-13. Heavily influenced by http://www.aaronbedra.com/emacs.d/ ;; Show errors in this file: (setq debug-on-error t debug-on-signal nil debug-on-quit nil) (setq load-path (cons /home/boudiccas/.emacs.d/lisp load-path)) (add-to-list 'load-path /home/boudiccas/git/org-mode/lisp load-path) (require 'org-install) (add-to-list 'load-path /home/boudiccas/git/org-mode/contrib/lisp load-path) --8---cut here---end---8--- Thanks Sharon. Pretty much what Eric and Achim have already siad. I run make update2 each morning; the most recent org mode is in my /home/directory/.elisp and my .emacs.d/init.el loads it via (add-to-list 'load-path /home/directory/.elisp/org-mode/lisp) (add-to-list 'load-path /home/directory/.elisp/org-mode/contrib/lisp/) Essentially I copied it from section 1.2 of the manual. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Table formula with @I
Andrea Rossetti wrote: Loris Bennett loris.benn...@fu-berlin.de writes: In the following: | | | | | | | | |---+---+---| | 1 | 1 | 1 | #+TBLFM: @I$3=1 I expected to get a '1' just in the third column. Where am I going wrong? (apologies in advance for suggesting just a workaround instead of a rational explanation, hope it helps anyway) It happened to me too some time ago, I used a slightly different formula and it worked: #+TBLFM: @I+1$3..@I+1$3=1 Does it work for you too? Kindest regards, Andrea I must be missing something. When I recalculate the table (update table) applying both above TBLFM's - on the line to be updated, in the TBLFM line, and in the table itself, an error is returned can't assign to hline relative reference Org-mode version 8.3beta (release_8.3beta-304-ga4a1d8 @ c:/cygwin/home/Charlie01/.elisp/org-mode/lisp/) GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Windows Vista SP2 Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] simple expense tracking with org
Thorsten Jolitz wrote: torys.ander...@gmail.com (Tory S. Anderson) writes: Could you give a few snippets of examples -- what the org files with tags look like, what the result looks like? I'm interested because I also use Org to do my budgeting and finances. You two know about ledger-cli, emacs ledger-mode, and ob-ledger.el, don't you? Eike e...@eknet.org writes: Hello there, I thought to share a little elisp thingy that I wrote to track my expenses with org. I use the org's capture mechanism to add expense items to some files and the following code only searches through all these files and creates summaries of all found expenses. It is possible to search by date, tags etc. You can have a look here: https://github.com/eikek/org-expenses Regards, Eike -- gpg: AD7AC35E finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E I have found that ledger and Sacha Chua's org-capture-template, modified to my needs, does a great job keeping trackn of my day of day to expenses, amongst other things, Emacs: Recording ledger entries with org-capture-templates Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] Exporter dispatcher bug?
Have I missed an announcement? Today, using C-c C-e, the dispatcher shows only the LaTeX and Publisher options. I tried M-x org-export-dispatch and HTML was also included. i have exited emacs and restarted - same results. Org-mode version 8.3beta (release_8.3beta-400-g200eeb @ c:/cygwin/home/Charlie01/.elisp/org-mode/lisp/) GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Windows Vista SP2 Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Exporter dispatcher bug?
Brady Trainor wrote: Charles Millar mill...@verizon.net writes: Today, using C-c C-e, the dispatcher shows only the LaTeX and Publisher options. What is the result C-h v org-export-backends? -- snip -- Its value is (ascii html icalendar latex) -- snip -- Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Exporter dispatcher bug?
Brady and Charles and all, Thanks for your suggestions. The following is rather long-winded. Charles Berry wrote: Brady Trainor algebrat at uw.edu writes: Charles Millar millarc at verizon.net writes: Brady Trainor wrote: Charles Millar millarc at verizon.net writes: Today, using C-c C-e, the dispatcher shows only the LaTeX and Publisher options. What is the result C-h v org-export-backends? -- snip -- Its value is (ascii html icalendar latex) -- snip -- Charlie Looks normal! Wild guess, had to try :) I think you want to check (mapcar 'org-export-backend-name org-export--registered-backends) to see what backends are actually available to the export dispatcher. and (mapcar 'org-export-backend-menu org-export--registered-backends) to see what menu options should be there. HTH, Chuck I found (mapcar 'org-export-backend-menu org-export--registered-backends); however (mapcar 'org-export-backend-name org-export--registered-backends) does not exist in my ox.el. On my Linux learning machine (Jessie, same org version) the dispatcher is fine. However there appears to be no (mapcar 'org-export-backend-name org-export--registered-backends) In the meantime, I did my regular org update and still have the same problem. The dispatcher (on my Vista machine) shows the toggled options at the top and bottom. In between the LaTeX and Publish backends with options are shown, but no others. (There has not been a problem with the toggled options) So I did M-x org-export-to-[tab] which gave Possible completions are: org-ascii-export-to-ascii org-beamer-export-to-latex org-beamer-export-to-pdf org-bibtex-export-to-kill-ring org-html-export-to-html org-icalendar-export-to-ics org-latex-export-to-latex org-latex-export-to-pdf org-md-export-to-markdown org-odt-export-to-odt org-org-export-to-org I decided to choose ascii, which reported an export to a txt file (did not check it out). After that the ascii backend had been loaded into the dispatcher as well as the LaTeX and Publish. I did a M-x org-export-to-html, which reported an export to html; the dispatcher now had ascii, html, LaTeX and Publish Org-mode version 8.3beta (release_8.3beta-400-g200eeb @ c:/cygwin/home/Charlie01/.elisp/org-mode/lisp/) GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Exporter dispatcher bug?
What I meant was: You should eval (mapcar 'org-export-backend-name org-export--registered-backends) to see what backends are available to the dispatcher. If you copy that line into an emacs buffer (like *scratch*), put point after it and type C-x C-e, you will see the backend names listed in the minibuffer and the *Messages* buffer. Same results as C-c C-e; only LaTeX and Publish are listed. This list *ought to* correspond to `org-export-backends'. If it does not there is a hiccup or unusual customization in your setup - more digging might be needed. I suspect my set up and perhaps more specifically a Cygwin problem. I update org via Cygwin. Just before receiving your most recent reply I commented out everything in my .emacs/init.el file, except for (add-to-list 'load-path c:/cygwin/home/Charlie01/.elisp/org-mode/lisp) (add-to-list 'load-path c:/cygwin/home/Charlie01/.elisp/org-mode/contrib/lisp) Instead of just eval-buffer, i restarted emacs. C-c C-e only listed Publisher, not even LaTeX If it does correspond, then use the customize menu to reset `org-export-backends' to your desired value and save the change as you need it. will give it a try. HTH, Chuck Thanks, Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Export dispatcher interface change
In case it helps to track the bug, I reported this to the list a week or two ago. See my message of 9/24 and the subsequent messages of how M-x org-export-html, etc added to the export dsipatcher Charlie Millar Jacek Generowicz wrote: Hello, I am used to the export dispatcher offering sections for export to HTML [h] and LaTeX [l]. After having upgraded a number of things on my system (including a small bump of Emacs, but NOT (to my knowledge) org mode), the dispatcher no longer offers the [h] and [l] options ... until I invoke one of the commands via M-x. In other words, M-x org-html-export-to-html causes the [h] section to be available in the dispatcher thereafter. Any ideas what might have caused this change, or what I might do to have the [h] and [l] dispatcher options be available automatically? My versions: (emacs-version) GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-09-08 on binet, modified by Debian (org-version) 8.2 Thanks. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Export dispatcher interface change
Charles Millar wrote: In case it helps to track the bug, I reported this to the list a week or two ago. See my message of 9/24 and the subsequent messages of how M-x org-export-html, etc added to the export dsipatcher Charlie Millar My apologies to Brady Trainor and Charles Berry - I neglected to mention that they attempted to assist me. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Org Tutorials need more structure
Hi Carsten, On 9/28/2013 2:11 AM, Carsten Dominik wrote: Hi everyone, today I looked at our tutorial page at http://orgmode.org/worg/org-tutorials/index.html and came away with the feeling that that this page has become somewhat useless for people who are really new to Org. - I disagree. Your Google talk was just right - for me. It was my first exposure to Org Mode. Can we have a discussion here on how this path should look like? When you came to Org-mode as a newby, what were the three resources that really made an impression on by being accessible and providing feel and promise for digging deeper? About three years ago I stumbled across Org Mode when I was searching Emacs in general. (I already was familiar with Emacs, but only to fool around.) After viewing the Google talk, I specifically searched Org Mode. The three resources that made an impression: - the general tutorials, starting with David O'Toole's, - the Compact Guide with the Further Readings, (I did not look at the ones in the Org Manual) since this gave me a sense of how Org is and can be used, and - *the mailing list*, which was the one resource that has made the greatest impression on me from the beginning. It has been and is my best resource; it provides the greatest exposure to Org Mode both as to its uses and sense of the Org community. - Thank you Carsten, Bastien and all the rest if you for Org Mode. Charlie Millar
Re: [O] Org Tutorials need more structure
On 9/28/2013 3:52 PM, Thomas S. Dye wrote: Aloha Carsten, snip First, I think that most statements about what Org-mode is are outdated. Many of them are quite good, but they represent the previous state of an evolving system and so fail to capture the full scope. To my mind, Org-mode is a research programming interface written by and for scientists who take very seriously certain core values of the scientific enterprise--reproducibility, open access, and open source (a partial list). Strongly disagree with the sentiment. My undergraduate degree may gave been Physics, but I work as a freelance paralegal. I use Org Mode for project (file) planning, scheduling, drafting documents, etc. Also, I believe that there are some very active participants on this list who are not scientists and have made great contributions. Its original focus on project planning has expanded with two amazing and fundamental contributions, Eric and Dan's mature Babel implementation and Nicolas' new export framework. I use the LaTeX export to create pdf documents, such as contracts and pleadings, nothing scientific there. Sometimes I will export to utf-8 text file, so I can copy and paste into those other document formats. (Sorry to say, but most of the US legal community is still MS Word and WordPerfect oriented.) I believe that I can eventually use Org-Babel for reproducible research, research being more other than scientific. These core values are manifest most clearly in the Org-mode community and its organ, the mailing list. There isn't a tutorial on how to use the mailing list! I'm confident that others in the Org-mode community admire Nick Dokos' contributions to the list as much as I do. It would be great to have his perspective and approach in a short, welcoming tutorial. No argument about the mailing list - see my earlier post. Also, Nick has helped me a few times; and I might add, I make sure that I read your posts - this is not to curry favor! hth, Tom Charlie Millar
Re: [O] Org Tutorials need more structure
On 9/28/2013 5:52 PM, John Hendy wrote: On Sat, Sep 28, 2013 at 4:31 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Dnia 2013-09-28, o godz. 16:50:09 Charles Millar mill...@verizon.net napisał(a): On 9/28/2013 3:52 PM, Thomas S. Dye wrote: Aloha Carsten, snip First, I think that most statements about what Org-mode is are outdated. Many of them are quite good, but they represent the previous state of an evolving system and so fail to capture the full scope. To my mind, Org-mode is a research programming interface written by and for scientists who take very seriously certain core values of the scientific enterprise--reproducibility, open access, and open source (a partial list). Strongly disagree with the sentiment. My undergraduate degree may gave been Physics, but I work as a freelance paralegal. I use Org Mode for project (file) planning, scheduling, drafting documents, etc. Also, I believe that there are some very active participants on this list who are not scientists and have made great contributions. +1. Although I'm also a scientist (mathematics), I used Org-mode /once/ for science, and it turned out that I felt very much constrained and quickly got back to LaTeX, where I felt much more comfortable. http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University This is starting to remind me of bike-shedding. Org-mode is a toolbox providing various things that can work toward whatever end one wants. It's agnostic to field. It doesn't really matter what the end uses are -- Org-mode is what functions it provides. How those are combined by others in various fields, lines of work, or so on are simply illustrations of it's capabilities with respect to neat ways of combining various aspects of what Org is. Thus, I wouldn't try to pitch these things one way or another (Org is great for paralegals or Org is the answer for those doing re-producible research); I'd simply list what it does as what is is and what it can be used for as a way to entice new users and help get into the top results of some google searches for tools/solutions/etc.. It seems we all get what it really is, (TODOs/agenda, universal markdown - export to tons of formats, allowing mixing of prose/code/results, and so on), but are sort of trying to lay claim to why these tools make it best suited toward some particular field. Whether you use one of Org's features or all of them, it is what it is and this can be highlighted in a neat manner and made appealing to those looking for help in these relevant areas of life. John You said it better than I. Charlie
Re: [O] Difficulties Accessing git Repository
Hello, On 10/8/2013 1:32 PM, Josiah Schwab wrote: Hi All, I just tried to pull from the main org-mode git repository. I encountered the following failure. , | monolith:(stable) org-mode$ git pull | fatal: read error: Connection reset by peer ` I can confirm this issue. I successfully pulled earlier today though. This seems to be intermittent. It worked (~8 hours) later on October 2. I tried to update a few minutes ago and again had a failure. Is there any other information that would be useful to report? I tried to pull while at my home (residential ISP) and then my work (university), and had failures both times. Josiah This morning and just now I tried to update using cd ~/.elisp/org-mode make update2 and the following failure resulted rm -f git remote update Fetching origin fatal: read error: Connection reset by peer error: Could not fetch origin make: *** [up0] error 1 Charlie Millar
Re: [O] Difficulties Accessing git Repository
Hi again, On 10/9/2013 3:17 AM, Carsten Dominik wrote: Hi, I just pulled successfully. - Carsten It is four hours after Carsten's post and I was not successful on either my Vista machine using Cygwin 1.7.25 or my Debian Lenny. Charlie
[O] Bug: Is radio tables broken?
I tried to use the LaTeX radio tables that I included in a file that I set up a year ago. When point was in the first cell of the table, C-c C-c gave C-c C-c can do nothing useful at this location. I copied the LaTeX radio table (section A.6.2) from the manual into a scratch.org file, put the point in the first cell, C-c C-c 'd with the same result. Out of curiosity I changed one of the Days number for January, C-c C-c'd the TBLFM: and again the same message. Is there a bug or what am I missing in the manual? Charlie Millar
Re: [O] Bug: Is radio tables broken?
On 11/8/2013 10:24 AM, Charles Millar wrote: I tried to use the LaTeX radio tables that I included in a file that I set up a year ago. When point was in the first cell of the table, C-c C-c gave C-c C-c can do nothing useful at this location. I copied the LaTeX radio table (section A.6.2) from the manual into a scratch.org file, put the point in the first cell, C-c C-c 'd with the same result. Out of curiosity I changed one of the Days number for January, C-c C-c'd the TBLFM: and again the same message. Is there a bug or what am I missing in the manual? Forgot to mention that GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Org-mode version 8.2.2 (release_8.2.2-180-g71152d @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) on Windows Vista Home Premium SP2
Re: [O] Bug: Is radio tables broken?
Nick On 11/8/2013 3:56 PM, Nick Dokos wrote: Charles Millar mill...@verizon.net writes: I tried to use the LaTeX radio tables that I included in a file that I set up a year ago. When point was in the first cell of the table, C-c C-c gave C-c C-c can do nothing useful at this location. I copied the LaTeX radio table (section A.6.2) from the manual into a scratch.org file, put the point in the first cell, C-c C-c 'd with the same result. Out of curiosity I changed one of the Days number for January, C-c C-c'd the TBLFM: and again the same message. Is there a bug or what am I missing in the manual? You need to turn on orgtbl-mode as a minor mode: M-x orgtbl-mode But putting the example in an org document misses the point I think: the idea is that you have a *LaTeX document* (not an org one), but you want to be able to create a table using org syntax and to then automatically create the LaTeX table from the org table. So you add the code into your LaTeX document, turn on orgtbl-mode as a minor mode and then press C-c C-c on the ORGTBL: SEND line which turns the org table into a LaTeX table and inserts it at the spot specified with the BEGIN/END RECEIVE ORGTBL stufff. Nick Thanks. I obviously forgot the procedure. I used org mode for the entire file. When it came time to use the radio tables I would M-x tex-mode and then M-x orgtbl-mode and proceeded from there. Charlie
Re: [O] LaTeX export with documentclass ltugboat
Jason, On 11/28/2013 7:02 AM, Jason Lewis wrote: Hi, How can I export an org file to LaTeX with a document class of ltugboat? I've seen the example linked below but it doesn't appear to work in 8.2.1 and in fact states its for org 8.0. http://orgmode.org/worg/org-tutorials/org-latex-export.html Is this documented somewhere for versions 8.0? Any pointers would be appreciated. Thanks, Jason I just started LaTeX export recently and referred to that page. I added (require 'ox-latex) to my .emacs and the custom classes example (as modified for my purposes) worked fine. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] LaTeX export with documentclass ltugboat
On 11/29/2013 12:21 AM, Jason Lewis wrote: Hi Charles, Thanks for your suggestion. I've tried it out it doesn't work for me. I ran this elisp to add the export class (require 'org-latex) (unless (boundp 'org-export-latex-classes) (add-to-list 'org-export-latex-classes '(ltugboat \\documentclass{ltugboat} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s}))) made an org file: #+LaTeX_CLASS: ltugboat TEST but when I export it gives an error: user-error: Unknown LaTeX class `ltugboat' Thanks, Jason Charles Millar wrote, On 28/11/2013 11:37 PM: Jason, On 11/28/2013 7:02 AM, Jason Lewis wrote: Hi, How can I export an org file to LaTeX with a document class of ltugboat? I've seen the example linked below but it doesn't appear to work in 8.2.1 and in fact states its for org 8.0. http://orgmode.org/worg/org-tutorials/org-latex-export.html Is this documented somewhere for versions 8.0? Any pointers would be appreciated. Thanks, Jason I just started LaTeX export recently and referred to that page. I added (require 'ox-latex) to my .emacs and the custom classes example (as modified for my purposes) worked fine. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com I have read of your success using Tom Dye's suggestion. I realize that my original reply was not complete, so just to be sure - did you put (require 'ox-letex) before your customized LaTeX class? Charlie --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] Problem updating Org
I update org daily (at least I try to) using make-update2 in Cygwin git. Today I received the following message - - - - begin message - - - - rm -f git checkout Dcontrib/lisp/ob-groovy.el Mcontrib/lisp/ob-oz.el Mcontrib/lisp/org-mac-link.el Mlisp/ob-C.el Dlisp/ob-J.el Mlisp/ob-latex.el Mlisp/ob-maxima.el Mlisp/org-agenda.el Mlisp/org-element.el Mlisp/org-habit.el Mlisp/org-inlinetask.el Mlisp/org-table.el Mlisp/org.el Mlisp/ox-html.el Mlisp/ox-latex.el Mlisp/ox-texinfo.el Mlisp/ox.el Mtesting/lisp/test-ob.el Mtesting/lisp/test-ox.el Your branch is behind 'origin/master' by 6 commits, and can be fast-forwarded. git remote update Fetching origin From git://orgmode.org/org-mode 13bb116..6e51188 master - origin/master 1a3591c..03ce57e maint - origin/maint git pull error: Your local changes to the following files would be overwritten by merge: lisp/ox-html.el Please, commit your changes or stash them before you can merge. Aborting Updating e23bbda..6e51188 mk/targets.mk:111: recipe for target 'up0' failed make: *** [up0] Error 1 - - - - end message - - - - I have not opened ox-html.el and I do not export to html. (I do export to LaTeX.) GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN Org-mode version 8.2.4 (release_8.2.4-357-gda05ab.dirty @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Export each top level heading to separate file
Ista and all, On 1/4/2014 5:29 PM, Ista Zahn wrote: Hi all, I'm looking for a way to export each top-level heading to a separate markdown file. Ideally I would like to have the exported files named according to the heading. For example I would like this org file --- * Section one Section one text * Section two ** Section two a Section two text * Section three Section three text --- To generate three files: --- Section one.md --- Section one text --- --- Section two.md--- ## Section two a Section two text --- --- Section three.md - # Section three Section three text --- I suspect that the publishing framework might support this, but I've thus far avoided it because it looks pretty complicated to set up. Before I dive in I'd like to know if the publishing framework is the correct place to look for this functionality or if there is an easier way to do it. I have a similar question regarding LaTeX export. How to export a heading (any heading, regardless of level) within a file to heading.tex instead of file.tex? So far the only solution I have cobbled together is to C-x C-f 'file.tex and then C-x C-w heading.tex . I then typeset heading.tex using TeXworks. Perhaps I should note that my exported heading is tagged so that the heading is ignored. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Export each top level heading to separate file
Alan, On 1/4/2014 6:41 PM, Alan L Tyree wrote: Use properties to set the export file name -- example: :PROPERTIES: :EXPORT_TITLE: Internet banking fraud :EXPORT_FILE_NAME: internet-fraud :EXPORT_AUTHOR: Alan L Tyree :Citation: (2011) 22 JBFLP 214 :EXPORT_OPTIONS: num:nil toc:nil :END: If I understood your question properly. Cheers, Alan Thank you. Using C-c C-e C-s l o now exports to a pdf file no problem. Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Problem updating Org
Thank you. On 1/2/2014 2:01 PM, Nathan DeGruchy wrote: Try checking out the version already in HEAD: git checkout -- lisp/ox-html.el Then pull again. *Nathan DeGruchy* nat...@degruchy.org mailto:nat...@degruchy.org Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Using checkboxes: nested lists
jone...@teksavvy.com wrote: - [2/2] maintest - [X] test2 - [X] test3 - [1/2] test4 - [X] test4a - [ ] test4b This may be a solution for your purposes - [2/3] maintest - [X] test2 - [X] test3 - [ ] test4 [1/2] - [X] test4a - [ ] test4b Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Space around tables in LaTeX export?
Peter Davis wrote: In the resulting PDF, there's no space between the table and the surrounding text. how about #+BEGIN_LATEX \vspace{/somelength}/ #+END_LATEX // --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] Space around tables in LaTeX export?
Peter Davis wrote: On Fri, Feb 14, 2014 at 12:18:20PM -0500, Charles Millar wrote: Peter Davis wrote: In the resulting PDF, there's no space between the table and the surrounding text. how about #+BEGIN_LATEX \vspace{/somelength}/ #+END_LATEX Ok, but I was hoping for a more org-mode-y solution. Thanks! -pd Correction somehow a couple of / crept in --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] orgtble and flyspell interaction causing mem exhaustion error?
I have had the same problem on Vista. On my system it started about six to eight weeks ago. As I recall, a couple of times I attempted to create an org-table from a tab separated Excel spreadsheet using C-c |. The first bar appeared and emacs froze. I also have experienced the same behavior as Alexander - enter the first bar, then some text. When I attempt to enter the second bar - emacs freezes. I just tried it and emacs still freezes under those circumstances. GNU Emacs 24.3.1 (i386-mingw-nt6.0.6002) of 2013-03-17 on MARVIN; Org-mode version 8.2.5h (release_8.2.5h-634-gea4eb4 @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) flyspell mode on; Charlie Alexander Vorobiev wrote: I am seeing similar behavior with tables: if I type a bar and some text, then as soon as I enter second bar emacs freezes. Turning flyspell off seems to fix the problem. I actually see this both on Windows 7 with hunspell and on linux with aspell. I use org-mode from git on both but I haven't used tables in a while so I don't really know when the problem began. In non-org buffers flyspell doesn't seem to care about bars. Alex On Fri, Nov 29, 2013 at 12:10 AM, Sivaram Neelakantan nsivaram@gmail.com wrote: On Fri, Nov 29 2013,Nick Dokos wrote: Sivaram Neelakantan nsivaram@gmail.com writes: When I try to create an table using org-table-create, the table outline shows up and upon writing any word in any cell, it causes Emacs to freeze up with an error like 95% physical mem used. When I disable flyspell mode and try it again, the issue does not happen. Anyone else experiencing this or is it only me? Worked fine here. sorry, forgot to mention, mine is win32 Emacs 24.3 on win 7 with aspell from cygwin and the latest git snapshot of org. sivaram -- --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[O] org-latex-with-hyperref missing?
Has the above command been removed and been replaced with org-latex-hyperref-template? Can't find anything concerning this. Just checking before I change my init file. Nicholas Goaziou referred to org-latex-with-hyprref as recently as Feb 17, 2014. org version Org-mode version 8.2.5h (release_8.2.5h-664-g737146 @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] org-latex-with-hyperref missing?
On 3/2/2014 11:01 AM, Charles Millar wrote: Has the above command been removed and been replaced with org-latex-hyperref-template? Can't find anything concerning this. Just checking before I change my init file. Nicholas Goaziou referred to org-latex-with-hyprref as recently as Feb 17, 2014. org version Org-mode version 8.2.5h (release_8.2.5h-664-g737146 @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com So,I changed my init file anyway before waiting for any answer. I set the template to an empty string, which works for me. Even so, was there any mention of this change? Charlie Millar --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] org-latex-with-hyperref missing?
On 3/2/2014 4:37 PM, Nick Dokos wrote: Charles Millar mill...@verizon.net writes: On 3/2/2014 11:01 AM, Charles Millar wrote: Has the above command been removed and been replaced with org-latex-hyperref-template? Can't find anything concerning this. Just checking before I change my init file. Nicholas Goaziou referred to org-latex-with-hyprref as recently as Feb 17, 2014. org version Org-mode version 8.2.5h (release_8.2.5h-664-g737146 @ c:/cygwin/home/owner/.elisp/org-mode/lisp/) So,I changed my init file anyway before waiting for any answer. I set the template to an empty string, which works for me. Even so, was there any mention of this change? The commit is commit 73714684e4f8836a80891c053b952151a90b93da Author: Joe Hirn joseph.h...@gmail.com Date: Fri Feb 28 09:40:37 2014 +0100 ox-latex: Allow customization of hyperrefsetup * lisp/ox-latex.el (org-latex-hyperref-template): New variable. (org-latex-with-hyperref): Remove variable. (org-latex-template): Use new variable. There was a fairly extensive discussion in this thread: http://thread.gmane.org/gmane.emacs.orgmode/82430 Thanks, Nick. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Re: [O] orgtble and flyspell interaction causing mem exhaustion error?
Hi Bastien, Bastien wrote: Hi Charles, Charles Millar mill...@verizon.net writes: I have had the same problem on Vista. On my system it started about six to eight weeks ago. As I recall, a couple of times I attempted to create an org-table from a tab separated Excel spreadsheet using C-c |. The first bar appeared and emacs froze. is it getting any better with latest Org? Seems rather annoying, if should get this fixed somehow. I guess it's fixed. Believe it or not, until earlier today, I did not have any reason to convert an Excel tab delimited file. I did so with no problem. I had forgotten about my earlier problem in this regards. Thanks for keeping on top of this. Charlie
Re: [O] org-export-latex-hyperref-options-format
Thomas, Thomas S. Dye wrote: Aloha Nick, Nick Dokos ndo...@gmail.com writes: #+BIND is supposed to bind the variable *during export*. The test is to run the export and see if the hyperref stuff is gone from the tex file. Nick I did run the export and the hyperref stuff was still in the tex file. I'm exporting asynchronously--perhaps that's the problem? The old #+OPTIONS: texht:nil worked for asynchronous export, though, so I was expecting that BIND would do the same. I guess I could set org-export-hyperref-template to in the asynchronous export initialization file ... All the best, Tom Nick pointed out this thread to me when I had a similar (or the same) problem. I changed the hyperref template to the empty string. http://thread.gmane.org/gmane.emacs.orgmode/82430 Charlie Millar
Re: [O] Extremely slow org-table operations
Hi, York Zhao wrote: I think Org 8.3 should improve the situation. Please test it if you can. I was aware that my emacs -Q test was done against org-mode version 8.2.x. However, I use the latest org-mode from Git everyday. For example, the version I'm currently using is (from M-x org-version): Org-mode version 8.3beta (release_8.3beta-509-g86ec0a.dirty @ /usr/local/share/emacs/site-lisp/org/). So apparently the problem had never been addressed. Meanwhile, I suggest to insert some subsections in your file. What do you mean by insert some subsections? Thanks On Wed, Oct 29, 2014 at 5:43 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, York Zhao gtdplatf...@gmail.com writes: A few months ago I tried Emacs 24.4 and was disappointed because almost all of the org-table operations became AT LEAST ten times slower. Because recently Emacs 24.4 gets officially released, I finally switched over. However, the problems I had several months ago were still there, i.e., in a big file, org-table operations are at least ten times slower. I tried profiling it but didn't help much. So I decided to report the issue here. [...] In summery, the file test.org has more than 5000 org-table tables, each table has a formula. If you move the point to the tables not too far away from the beginning of the buffer and press C-c C-c on the formula line, you will notice that the speed is very fast which is great. However, if you move the point far away enough from the beginning of the buffer (move to the end for example), you will find that C-c C-c on the formula line becomes much slower. Many other operations are also very slow. However, because I haven't been able to create the ECMs for those operations yet, lets focus on this one first. I think Org 8.3 should improve the situation. Please test it if you can. Meanwhile, I suggest to insert some subsections in your file. Regards, -- Nicolas Goaziou IIRC Carsten Dominik made the following observation: org tables are extremely slow if they are used as workbooks/spreadsheets and there are many entries (many is undefined). He recommended that a spreadsheet program in such situations. I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. Charlie Millar
Re: [O] Extremely slow org-table operations
Hi Michael Michael Brand wrote: Hi Charles First I would like to point out that to my understanding there are now two separate issues in discussion in this thread which are easy to mix up: 1) The same table calculates fast or slow depending on the position within the same entry, see OP. I did not understand; I thought that the speed slowed down as the OP progressed from table to table in the file. 2) An entry with nothing but a single table, as you describe it: True; I did not bother to mention other files in which I had multiple tables, some with references to other tables in the file. At times M-x org-table-iterate-buffer-tables seemed to take eternity, squared. (Imagine a smiley face placed here.) On Thu, Oct 30, 2014 at 12:40 AM, Charles Millar mill...@verizon.net wrote: I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. Only out of curiosity I would like to see the TBLFM. And do you see still the same slowness with 8.3beta? It has been quite a while and I suspect that my experience may have been with org 8.0. I try to find the older files, give them a run and let you know. I will also give org another shot using multiple tables, as spreadsheets, in one file. The worst that can happen is that I will have to export the tables. Charlie
Re: [O] Extremely slow org-table operations
Earlier today I attempted to send the following. Charles Millar wrote: Hi Michael, Michael Brand wrote: Hi Charles First I would like to point out that to my understanding there are now two separate issues in discussion in this thread which are easy to mix up: 1) The same table calculates fast or slow depending on the position within the same entry, see OP. I did not understand; I thought that the speed slowed down as the OP progressed from table to table in the file. 2) An entry with nothing but a single table, as you describe it: True; I did not bother to mention other files in which I had multiple tables, some with references to other tables in the file. At times M-x org-table-iterate-buffer-tables seemed to take eternity, squared. (Imagine a smiley face placed here.) On Thu, Oct 30, 2014 at 12:40 AM, Charles Millar mill...@verizon.net wrote: I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. Only out of curiosity I would like to see the TBLFM. And do you see still the same slowness with 8.3beta? It has been quite a while and I suspect that my experience may have been with org 8.0. I try to find the older files, give them a run and let you know. I will also give org another shot using multiple tables, as spreadsheets, in one file. The worst that can happen is that I will have to export the tables. Charlie
[O] Fwd: Re: Extremely slow org-table operations
---BeginMessage--- Hi Michael, Michael Brand wrote: Hi Charles First I would like to point out that to my understanding there are now two separate issues in discussion in this thread which are easy to mix up: 1) The same table calculates fast or slow depending on the position within the same entry, see OP. I did not understand; I thought that the speed slowed down as the OP progressed from table to table in the file. 2) An entry with nothing but a single table, as you describe it: True; I did not bother to mention other files in which I had multiple tables, some with references to other tables in the file. At times M-x org-table-iterate-buffer-tables seemed to take eternity, squared. (Imagine a smiley face placed here.) On Thu, Oct 30, 2014 at 12:40 AM, Charles Millar mill...@verizon.net wrote: I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. Only out of curiosity I would like to see the TBLFM. And do you see still the same slowness with 8.3beta? It has been quite a while and I suspect that my experience may have been with org 8.0. I try to find the older files, give them a run and let you know. I will also give org another shot using multiple tables, as spreadsheets, in one file. The worst that can happen is that I will have to export the tables. Charlie ---End Message---
Re: [O] Extremely slow org-table operations
Hi Michael, Michael Brand wrote: Hi Charles First I would like to point out that to my understanding there are now two separate issues in discussion in this thread which are easy to mix up: 1) The same table calculates fast or slow depending on the position within the same entry, see OP. I did not understand; I thought that the speed slowed down as the OP progressed from table to table in the file. 2) An entry with nothing but a single table, as you describe it: True; I did not bother to mention other files in which I had multiple tables, some with references to other tables in the file. At times M-x org-table-iterate-buffer-tables seemed to take eternity, squared. (Imagine a smiley face placed here.) On Thu, Oct 30, 2014 at 12:40 AM, Charles Millar mill...@verizon.net wrote: I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. Only out of curiosity I would like to see the TBLFM. And do you see still the same slowness with 8.3beta? It has been quite a while and I suspect that my experience may have been with org 8.0. I try to find the older files, give them a run and let you know. I will also give org another shot using multiple tables, as spreadsheets, in one file. The worst that can happen is that I will have to export the tables. Charlie
Re: [O] Extremely slow org-table operations
Hi York, York Zhao wrote: @Charlie Millar: IIRC Carsten Dominik made the following observation: org tables are extremely slow if they are used as workbooks/spreadsheets and there are many entries (many is undefined). Thanks for the information, could you please clarify what entry means? Does it mean org headline, or a row in an org-table? I learned that the hard way when I had one table - four columns, three simple addition formulas with about 1,000 entries. It seemed an eternity before the addition was completed. I guess the entries here mean the table rows right? Please confirm. You are correct; I should have said rows. In my file there were 1000 (+/-) rows and each row had up to three entries, not including the description in the first row. For instance (without any formulas) in the following row I entered each amount in columns 2,3 4. | this was a transaction | 100.00 | 200.00 | 300.00| So I considered this three entries. So actually there were 3,000 (+/-) entries. Charlie
Re: [O] How to specify output file for org-latex-export-to-pdf
Hi Guido, Guido Van Hoecke wrote: Hi, How can I specify the desired output filename so that org-latex-export-to-pdf does no longer prompt me in the minibuffer? I call it from a temporary buffer *perls* and always want to export to /tmp/perls.pdf I've read the docs and tried to understand the lisp files, but did not come up with a solution. TIA for your suggestions, Guido. Is this what you are looking for ** subtree heading :PROPERTIES: :EXPORT_FILE_NAME: path/to/filename :END: See the last paragraph in Org Manual Section 12.3 Charlie Millar
[O] bug - active and inactive time stamps incorrect year for current date and rest of month
When I call either active or inactive timestamps and enter the current date from the keyboard, i.e. 2/10, rather than simply pressing enter the result is 2016-02-10 Wed or [2016-02-10 Wed], i.e. the year is already advanced. If I enter any date in the rest of the month in same manner such as 2/28 same result, 2016-02-28 Sun or [2016-02-28 Sun] the year and day of the week are advanced. The behavior disappears when I go to the next month. GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2014-12-19 on brahms, modified by Debian Org-mode version 8.3beta (release_8.3beta-806-g0be849 @ /usr/share/emacs/site-lisp/org-mode/lisp/) Is it intended that only the shift + arrow keys be used during the current month? Charlie Millar
Re: [O] How to include time when generating timestamp for DEADLINE/SCHEDULE
On 02/12/2015 07:37 PM, Yuri Niyazov wrote: PS It is clear that you can *both* select the correct date using calendar, and *then* type in the time while still in the calendar selector, right? On Thu, Feb 12, 2015 at 5:36 PM, Yuri Niyazov yuri.niya...@gmail.com wrote: On Thu, Feb 12, 2015 at 4:16 PM, Subhan Michael Tindall subh...@familycareinc.org wrote: Not really an acceptable answer. Having to use 2 different interface methods to fill in one time/date stamp value is confusing and cludgy. Plus, if you type in a full time/date stamp + time, you can still move around in the calendar, but it doesn't update the selected datestamp in yellow. Also confusing. Cludgy is in the eye of the beholder. I am hugely bothered by various inconsistencies in org-mode user interface (see my other posts to this list) but this one is very far down on the list. This is why: When I need to schedule a date, it is sufficiently close to today's date that it is usually 2-3 S+ARROWS keystrokes away from today, so the calendar with today selected as default is great. So, let's see how a time selector would work: When you bring up a time selector, it could by default show one of the following three options: 1) The current time 2) The last time you selected when you used the time selector 3) Some default configurable time like noon When I need to schedule a time for an event, the time that something needs to happen is usually not related to any times on that list, so using S+ARROWS would be less efficient than typing out the time, which is at most four keystrokes if its on the hour. (E.g. 10pm ). Of course, this is only true if you are a touch-typist. Why bother with the arrow keys at all? I have a capture template for appointments and deadlines which requests date and time. Calendar is called. Rather than arrow keys I type the datespacetime (optional duration) and then enter - e.g. call the template, then 2/28 13:30 (and then enter the rest of template requests such as 'What has to be done Charlie Millar Charlie Millar
Re: [O] How to include time when generating timestamp for DEADLINE/SCHEDULE
On 02/13/2015 08:14 AM, Charles Millar wrote: On 02/12/2015 07:37 PM, Yuri Niyazov wrote: PS It is clear that you can *both* select the correct date using calendar, and *then* type in the time while still in the calendar selector, right? On Thu, Feb 12, 2015 at 5:36 PM, Yuri Niyazov yuri.niya...@gmail.com wrote: On Thu, Feb 12, 2015 at 4:16 PM, Subhan Michael Tindall subh...@familycareinc.org wrote: Not really an acceptable answer. Having to use 2 different interface methods to fill in one time/date stamp value is confusing and cludgy. Plus, if you type in a full time/date stamp + time, you can still move around in the calendar, but it doesn't update the selected datestamp in yellow. Also confusing. Cludgy is in the eye of the beholder. I am hugely bothered by various inconsistencies in org-mode user interface (see my other posts to this list) but this one is very far down on the list. This is why: When I need to schedule a date, it is sufficiently close to today's date that it is usually 2-3 S+ARROWS keystrokes away from today, so the calendar with today selected as default is great. So, let's see how a time selector would work: When you bring up a time selector, it could by default show one of the following three options: 1) The current time 2) The last time you selected when you used the time selector 3) Some default configurable time like noon When I need to schedule a time for an event, the time that something needs to happen is usually not related to any times on that list, so using S+ARROWS would be less efficient than typing out the time, which is at most four keystrokes if its on the hour. (E.g. 10pm ). Of course, this is only true if you are a touch-typist. Why bother with the arrow keys at all? I have a capture template for appointments and deadlines which requests date and time. Calendar is called. Rather than arrow keys I type the datespacetime (optional duration) and then enter - e.g. call the template, then 2/28 13:30 (and then enter the rest of template requests such as 'What has to be done Charlie Millar Forgot to mention that with the deadline I also might enter a lead time
Re: [O] Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE?
Hi Martin, On 03/28/2015 12:28 AM, M wrote: I wonder how difficult it would be to add a 3rd TARGET date to headings/tasks, which is treated similar to Deadline and Scheduled dates (can be used in agenda, can be easily set and modified, ...) : example: * TODO [#A] My org-mode task TARGET: 2015-04-01 Mi SCHEDULED: 2015-03-30 Mo Maybe something like this in your .emacs or init.el? I just added the target dates entry; good idea! ;;; Added the following on 2013-08-11; used Sacha Chua's code ;;; for ledger entries as a template ;;; intended for different TODO type of entries (setq org-capture-templates ;;; tasks todo on a specific date, not appointments (append '((t Todo entries) (ts Scheduled entry (file ~/Data/Emacs-Files/Org-Files/Bucket.org) * TODO %?%^{What do you want to do?} %i\ SCHEDULED: %^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent info} %i\n\t:END:\n\t\tDate Entered %U\n :empty-lines 1) ;; tasks wtih a target date (tt Target dates entry (file ~Data/Emacs-Files/Org-Files/Bucket.org) * TODO %?%^{What do you want to do?} %i\ TARGET-DATE: %^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent info} %i\n\t:END:\n\t\tDate Entered %U\n :empty-lines 1) ;; tasks with definite deadlines (td Deadline entry (file ~/Data/Emacs-Files/Org-Files/Bucket.org) * TODO %?%^{What do you want to do?} %i\ DEADLINE: %^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent info} %i\n\t:END:\n\t\tDate Entered %U\n :empty-lines 1) ;; plain vanilla task todo's (tt PlainTODO entry (file ~/Data/Emacs-Files/Org-Files/Bucket.org) * TODO %?%^{What do you want to do?} %i\ %^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent info} %i\n\t:END:\n\t\tDate Entered %U\n :empty-lines 1)) org-capture-templates)) Regards, Charlie Millar
[O] Emacs-Orgmode Archive search fails
It has been a while since I searched the mailing list archives. Did I miss an announcement or is the search engine broken? For the past few days, any search request in the mailing list archives either yields no result or just one and the same result - Citations, continued, etc. /archive/html/emacs-orgmode/2015-02/msg00028.html https://lists.gnu.org/archive/html/emacs-orgmode/2015-02/msg00028.html (7,961 bytes) This occurs on both Debian and Windows 7 machine. Charlie Millar
Re: [O] Emacs-Orgmode Archive search fails
On 04/03/2015 10:11 AM, Nick Dokos wrote: Charles Millar mill...@verizon.net writes: It has been a while since I searched the mailing list archives. Did I miss an announcement or is the search engine broken? For the past few days, any search request in the mailing list archives either yields no result or just one and the same result - Citations, continued, etc. /archive/html/ emacs-orgmode/2015-02/msg00028.html (7,961 bytes) This occurs on both Debian and Windows 7 machine. I tried a simple search through Gnus search on the newsgroup (G G) and on the web page http://news.gmane.org/gmane.emacs.orgmode. Both succeeded, so whatever it was seems to have been fixed. My searches on gmane.emacs.emacs succeeded, In the past, when the search engine failed (and it has failed a couple of times), a message to LarsI with the details of the failure has been enough to get things going again (sometimes with a couple of days delay). Unfortunately searches on the orgmode list still fail. I will do as you suggest. Thanks, Nick Charlie
[O] ob-rec.el
It appears that ob-rec.el is in org-mode - somewhere - because when I evaluate #+begin_src rec :data Testrec2.rec #+end_src the output in the is no org-babel execute function for rec However once I add (rec . t) to my org-babel-load-languages and restart emacs and then evaluate the block, etc. #+begin_src rec :data Testrec2.rec #+end_src #+RESULTS: | %Bar| %Baz| |--+---| | entrybar1 | entrybaz1 | | entrybar2 | entrybaz2 | So first question - where is ob-rec.el in org-mode? Second - should rec-utils be added as a supported language or should some reference be made so that users know to add (rec . t) to their org-babel-load-languages, if so desired? Charlie
Re: [O] ob-rec.el
On 05/15/2015 11:07 PM, Nick Dokos wrote: Charles Millar mill...@verizon.net writes: It appears that ob-rec.el is in org-mode - somewhere - because when I evaluate #+begin_src rec :data Testrec2.rec #+end_src the output in the is no org-babel execute function for rec However once I add (rec . t) to my org-babel-load-languages and restart emacs and then evaluate the block, etc. #+begin_src rec :data Testrec2.rec #+end_src #+RESULTS: | %Bar| %Baz| |--+---| | entrybar1 | entrybaz1 | | entrybar2 | entrybaz2 | So first question - where is ob-rec.el in org-mode? M-x locate-library RET ob-rec RET In my case, ob-rec was not present (but see below). Second - should rec-utils be added as a supported language or should some reference be made so that users know to add (rec . t) to their org-babel-load-languages, if so desired? I downloaded recutils-1.7.tar.gz from http://ftp.gnu.org/gnu/recutils/ and, after unpacking it, found rec-mode.el and ob-rec.el in the etc/ subdirectory of the unpacked tarball. Thanks Nick. For me it ob-rec.el is hiding in plain sight - it is in my emacs/site-lisp directory by itself since I unpacked the tarball in that directory.Per your instruction, I used M-x locate-library and there it was and is. Maybe you can add a pointer to where to get it (and a few words about what it does) to http://orgmode.org/worg/org-contrib/babel/languages.html on Worg. N.B. the language should be rec, not rec-utils. I would like to give it a shot however I believe that Jose Marchesi the person for this. Charlie
[O] Appears that org-mode 8.3 breaks org-collector.el
I have just started using org-collector so . . . org-collector works as expected using GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.2.10 release_8.2.10 but fails if GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 As I reported yesterday my first attempt to use collector was using 8.3beta, etc. When using the 8.3beta release, I evaluated the example downloaded from orgmode.org/worg/org-contrib/org-collector-example.html http://orgmode.org/worg/org-contrib/org-collector-example.html All columns except ITEM evaluated to the default error. The ITEM column does evaluate as expected. I (usually) download daily the recent org-mode version from git to my directory at /usr/share/emacs/site-lisp/org-mode. In my .emacs I commented out (add-to-list 'load-path /usr/share/emacs/site-lisp/org-mode/lisp) and left (add-to-list 'load-path /usr/share/emacs/site-lisp/org-mode/contrib/lisp) org-collector worked as expected,without the 8.3 beta version. (8.2.10 was loaded by default) As an exercise I searched ORG-NEWS 8.3 and 8.2 for collector, table, orgtbl, dblock. Having just started to learn emacs lisp I had no idea if any changes mentioned would have affected org-collector. Thanks for listening. Charlie Millar
Re: [O] Appears that org-mode 8.3 breaks org-collector.el
Did the recent property drawer syntax changes ahve anything to do with this? On 04/18/2015 08:59 AM, Charles Millar wrote: I have just started using org-collector so . . . org-collector works as expected using GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.2.10 release_8.2.10 but fails if GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 As I reported yesterday my first attempt to use collector was using 8.3beta, etc. When using the 8.3beta release, I evaluated the example downloaded from orgmode.org/worg/org-contrib/org-collector-example.html http://orgmode.org/worg/org-contrib/org-collector-example.html All columns except ITEM evaluated to the default error. The ITEM column does evaluate as expected. I (usually) download daily the recent org-mode version from git to my directory at /usr/share/emacs/site-lisp/org-mode. In my .emacs I commented out (add-to-list 'load-path /usr/share/emacs/site-lisp/org-mode/lisp) and left (add-to-list 'load-path /usr/share/emacs/site-lisp/org-mode/contrib/lisp) org-collector worked as expected,without the 8.3 beta version. (8.2.10 was loaded by default) As an exercise I searched ORG-NEWS 8.3 and 8.2 for collector, table, orgtbl, dblock. Having just started to learn emacs lisp I had no idea if any changes mentioned would have affected org-collector. Thanks for listening. Charlie Millar
Re: [O] org-collector bug
Spoke too soon. Went to a terminal, loaded emacs -q and then loaded org-ocllector.el. It worked as advertised. Then loaded emacs (normally) and org-collector.el did not yield expected results, So I will check my .emacs Charlie Millar On 04/17/2015 06:43 PM, Charles Millar wrote: I have attempted to use org-collector. Each time, including the example at [Search domain orgmode.org] https://duckduckgo.com/?q=org%2Dcollector%20worg+site:orgmode.orgorgmode.org/worg/org-contrib/org-collector-example.html http://orgmode.org/worg/org-contrib/org-collector-example.html all columns except ITEM evaluate to the default error. The ITEM column does evaluate as expected. GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 Charlie Millar
[O] org-collector bug
I have attempted to use org-collector. Each time, including the example at [Search domain orgmode.org] https://duckduckgo.com/?q=org%2Dcollector%20worg+site:orgmode.orgorgmode.org/worg/org-contrib/org-collector-example.html http://orgmode.org/worg/org-contrib/org-collector-example.html all columns except ITEM evaluate to the default error. The ITEM column does evaluate as expected. GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 Charlie Millar
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
Hi, On 06/08/2015 11:23 AM, Eric S Fraga wrote: Hello, as monitors get bigger and bigger, I tend to have lots of (emacs) windows in a frame. No matter how many I have, org-capture takes over the whole frame which is kind of wasteful. Obviously, I can bring up any buffer I want while in the capture buffer but it would be nice to have control over where and how the capture window is created and placed, along the lines of org-src-window-setup and org-agenda-window-setup. That would be nice! Eric, thanks for bringing this up. Would such a feature be possible, assuming it is not there already. I have not found the correct variable should it already be there... Thanks, eric Charlie Millar
[O] help for summing column when exporting table
How do you execute #+TBLFM: @$='(apply '+ '(@I$..@$));N%.2f while the following is being exported to LaTeX/pdf begin #+LATEX_CLASS: mysetup #+LaTeX: \setlength{\extrarowheight}{1.0ex} #+LaTeX: \begin{center} #+LaTeX: \textbf{SCHEDULE A}\\ #+LaTeX: \textbf{PRINCIPAL RECEIVED} #+LaTeX: \end{center} #+BEGIN_LaTeX \vspace{-10.0ex} #+END_LaTeX #+NAME: SCHEDA #+begin_src rec :data foo.rec :type Finance :fields AssetDate,Description,Basis AccountSchedule = A #+end_src #+ATTR_LATEX: :environment longtable :align p{60pt}p{315pt}N{8}{2} #+TBLNAME: SCHEDA #+TBLFM: @$='(apply '+ '(@I$..@$));N%.2f end the table is generated from a recutils file and there are approximately 16 other tables which are generated using essentially the same format (AccountSchedule= is different in each one), and some may be five or six columns rather than three. When I export to the pdf all the tables exported, except that the total is not executed before export. The SCHEDDA table, as shown in the .org file is #+NAME: SCHEDA #+begin_src rec :data foo.rec :type Finance :fields AssetDate,Description,Basis AccountSchedule = A #+end_src #+ATTR_LATEX: :environment longtable :align p{60pt}p{315pt}N{8}{2} #+TBLNAME: SCHEDA | AssetDate | Description | Basis | |+--+---| | 2015-12-15 | | 385162.27 | | 2015-12-15 | yy | 99962.29 | | 2015-12-15 | z | 108185.37 | || Total | | #+TBLFM: @$='(apply '+ '(@I$..@$));N%.2f I believe that executing emacs lisp table formula (rather than the org-calc #+TBLFM: @$=vsum(@I$..@$);%.2f) may be the way to go and that a separate src block may be needed such as #+NAME: schedtotal #+begin_src emacs-lisp :results silent (defun schedtotal () (#+TBLFM: @$='(apply '+ '(@I$..@$));N%.2f)) #+end_src for execution using :post schedtotal in the header, so that once the table is generated the :post schedtotal will sum the last column and then the subtree will be exported with each table and its last column added. I am attempting to learn emacs lisp and I have tried the above schedtotal, but the # is a problem; if you remove that then the ; may be problem since everything after that is a comment. Any help as well as solution will be greatly appreciated. Charlie Millar
[O] evaluate TBLFM
Hi, I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. At the moment I am more interested in solving the column sum problem; i can kludge an added row using a dummy record in the database. Charlie Millar
[O] Evaluate TBLFM in babel export to LaTeX (reposted)
Posted this request for assistance with an incomplete subject line Hi, I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. At the moment I am more interested in solving the column sum problem; i can kludge an added row using a dummy record in the database. Charlie Millar
Re: [O] Evaluate TBLFM in babel export to LaTeX (reposted)
I just realized that I misread org-sbe as org-she (as in shebang); so of course my search for org-she yielded no results; now on to org-sbe Charluie Millar On 06/11/2015 05:11 PM, Charles Millar wrote: Posted this request for assistance with an incomplete subject line Hi, I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. At the moment I am more interested in solving the column sum problem; i can kludge an added row using a dummy record in the database. Charlie Millar
[O] [BUG] org-collector.el broken by 8.3 beta
Not sure if I should have reported this again sooner than this. As I reported on April 18th org-collector works as expected using GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.2.10 release_8.2.10 but fails if GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 now version Org-mode version 8.3beta release_8.3beta-1191-g9e1591
Re: [O] Org keymap question
On 07/04/2015 10:56 AM, Alan wrote: Function orgtbl-setup (in lisp/org/org-table.el.gz, where my Emacs is GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org) has a number of key bindings that seem to get defined in minor mode orgtbl-mode, but don't get defined when using Org (as in editing a file that has extension .org). My first use of Org was in creating a table of information. I used the Org Mode Manual (Info node org on my distribution) as a guide. In node (org) Built-in table editor some of these missing keymap definitions are listed. The one of interest to me was org-table-insert-column. I didn't find it bound to any key and wondered why isn't it bound. So, my question is why isn't e.g. org-table-insert-colunn bound to a key when using Org? And why does the Info manual suggest that such a key binding exists, without qualification? That function (and others) can be found in a keymap--as described above--but that binding seems to be reserved for minor mode orgtbl-mode (invoking that mode when in Org is not allowed). Is this what you are looking for shift-alt-rightarrrow to insert column? likewise shift-alt-leftarrow removes a column Also org has a list emacs-orgmode@gnu.org
Re: [O] Clocktable feature requests
Hi Dan, Maybe Tom Marble's timesheet..el is what you are looking for https://github.com/tmarble/timesheet.el As I recall if was discussed on this list awhile ago. Also see his interview with Sacha Chua's interview with Tom http://emacslife.com/emacs-chats/chat-tom-marble.html Hate to say this, but I still haven't tried it myself. Charlie Millar On 07/06/2015 12:05 PM, Daniel E. Doherty wrote: I typically keep a list of tasks I'm working on in a subtree that is simply a bunch of subheads that describe the task, like so: , | * Time Records | ** Review filings for Johnson--Morgan | CLOCK: [2014-08-27 Wed 09:13]--[2014-08-27 Wed 12:20] = 3:07 | ** Discussion with Smith re Johnson possible violation | CLOCK: [2014-08-27 Wed 10:35]--[2014-08-27 Wed 10:55] = 0:20 | ** Prepare and send demand letter for Johnson | CLOCK: [2014-08-28 Mon 11:18]--[2014-08-28 Thu 12:20] = 1:02 | ** Forward summary to Smith following on discussion | CLOCK: [2014-08-29 Fri 09:35]--[2014-08-29 Fri 09:45] = 0:10 | ** Receive and review letter from Willy Wonka re demand | CLOCK: [2014-09-11 Thu 09:38]--[2014-09-11 Thu 10:39] = 1:01 | ** Prepare reply to Wonka response letter | CLOCK: [2014-09-11 Thu 10:40]--[2014-09-11 Thu 11:30] = 0:50 ` I clock in and out of tasks as I work on them. There is typically no 'SCEDULED' or 'DEADLINE' associated with the tasks. I would like to produce a clocktable that works as a passible bill. There are two things that make this difficult: 1. I would like the clocktable to have a column that indicates the date on which the activity took place. 2. I would like the an optional 'Rate' and 'Charge' columns to be added As to 1: The timestamp feature almost takes care of 1, except that it will not use the CLOCK property to set the timestamp. Using the date (optional time) at which the CLOCK started would work as a good timestamp, and probably better than something like the SCHEDULED or DEADLINE. If the purpose is to indicate when the activity occurred, it would seem that the best order for picking the time stamp would be something like TIMESTAMP, TIMESTAMP_IA, CLOCK (begin), SCHEDULED, then DEADLINE, that is from more specific to more general. As to 2: With an option like :rate set to, say, 50, the time column could be converted to dollars (or whatever currency) at rate * hours. It would also be nice to have that amount summed in the same way that time is summed by levels now. With those items added, the clocktable would be usable as a billing mechanism. As it is now, it makes a nice start, but requires a lot of massaging to turn a clocktable into an invoice. Any chance of getting these features added? Dan Doherty
Re: [O] Emacs-Orgmode Archive search fails
On 08/04/2015 08:00 PM, Bastien Guerry wrote: Hi Charles, Charles Millar mill...@verizon.net writes: It has been a while since I searched the mailing list archives. Did I miss an announcement or is the search engine broken? Did you get any answer by Lars on this? Thanks, No. I just tried the mail list archive search again with simply latex and LaTeX and still the one and only result is to a February 2015 message. Other similar simple searches yield nothing. Charlie
Re: [O] evaluate TBLFM
FWIW, the code in Miguel Ruiz's post earlier today TBLFM added to updated table as result of a emacs-lisp src block has pretty much answered my questions. Thank you, Miguel. I'm not sure if it the most efficient or even elegant but here is what I came up with, so please comment and correct if there is a better way #+Name: ATableP #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount :results silent #+end_src #+TBLNAME: ATable src emacs-lisp :var table=ATableP :exports results (setq table (cons 'hline table)) (setq table (cons '(Date Description Inventory) table)) (setq table (append table '((|Total (setq table (append table '((\n#+TBLFM: @$=vsum(@I$..@$);%.2f:: table #+end_src #+ATTR_LATEX: :environment longtable :align p{60pt}p{280pt}N{8}{2} #+TBLNAME: SCHEDA | date | Description | Amount| (resulting table, after C-c C-v s) |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | | Total |3.00| On 06/11/2015 03:45 PM, Charles Millar wrote: Hi, I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. At the moment I am more interested in solving the column sum problem; i can kludge an added row using a dummy record in the database. Charlie Millar
Re: [O] Infinite loop using :post header argument that calls a emacs-lisp src block
I neglected to mention that the elisp code is based on Miguel Ruiz's post to this list earlier today. On 07/30/2015 09:49 PM, Charles Millar wrote: emacs version GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3beta (release_8.3beta-1302-g00142f @ /usr/share/emacs/site-lisp/org-mode/lisp/) the following produces a table with header, hline, a row with TOTAl and #+TBLFM immediately after the table #+NAME: SCHEDAP #+begin_src rec :data foo.rec :type bar :fields AssetDate,Description,Basis :results silent (some recutils sexes) #+end_src #+NAME: SCHEDA #+begin_src emacs-lisp :var table=SCHEDAP :export results (setq table (cons 'hline table)) (setq table (cons '(Date Description Basis) table)) (setq table (append table '((|Total (setq table (append table '((\n#+TBLFM: @$=vsum(@I$..@$);%.2f:: table #+end_src #+TBLNAME: SCHEDA What I would like to use is #+NAME: insertstuff #+begin_src emacs-lisp :var table=() :results silent (setq table (cons 'hline table)) (setq table (cons '(Date Description Basis) table)) (setq table (append table '((|Total (setq table (append table '((\n#+TBLFM: @$=vsum(@I$..@$);%.2f:: table #+end_src #+NAME: SCHEDA #+begin_src rec :data foo.rec :type bar :fields AssetDate,Description,Basis :post insertstuff :var table=SCHEDA (some recutils sexes) #+end_src #+TBLNAME: SCHEDA which results in an infinite loop, or so it appears. What am I missing? Or, is the first example my only choice? Charlie Millar
[O] Infinite loop using :post header argument that calls a emacs-lisp src block
emacs version GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3beta (release_8.3beta-1302-g00142f @ /usr/share/emacs/site-lisp/org-mode/lisp/) the following produces a table with header, hline, a row with TOTAl and #+TBLFM immediately after the table #+NAME: SCHEDAP #+begin_src rec :data foo.rec :type bar :fields AssetDate,Description,Basis :results silent (some recutils sexes) #+end_src #+NAME: SCHEDA #+begin_src emacs-lisp :var table=SCHEDAP :export results (setq table (cons 'hline table)) (setq table (cons '(Date Description Basis) table)) (setq table (append table '((|Total (setq table (append table '((\n#+TBLFM: @$=vsum(@I$..@$);%.2f:: table #+end_src #+TBLNAME: SCHEDA What I would like to use is #+NAME: insertstuff #+begin_src emacs-lisp :var table=() :results silent (setq table (cons 'hline table)) (setq table (cons '(Date Description Basis) table)) (setq table (append table '((|Total (setq table (append table '((\n#+TBLFM: @$=vsum(@I$..@$);%.2f:: table #+end_src #+NAME: SCHEDA #+begin_src rec :data foo.rec :type bar :fields AssetDate,Description,Basis :post insertstuff :var table=SCHEDA (some recutils sexes) #+end_src #+TBLNAME: SCHEDA which results in an infinite loop, or so it appears. What am I missing? Or, is the first example my only choice? Charlie Millar
Re: [O] [BUG] org-collector.el broken by 8.3 beta
Hi Bastien, On 08/04/2015 08:01 PM, Bastien Guerry wrote: Hi Charles, Charles Millar mill...@verizon.net writes: org-collector works as expected using GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.2.10 release_8.2.10 but fails if GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.3beta release_8.3beta-1030-g65bbb1 Can you be more specific on the kind of failure do you have? To start off - Linux Mint Mate 17.1 GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3.1 (release_8.3.1-1-gb5f5d6.dirty @ /usr/share/emacs/site-lisp/org-mode/lisp/) If I copy the code blocks that are in Eric's explanation at http://orgmode.org/worg/org-contrib/org-collector.html into my org-collector-example.org file and then evaluate (execute?) the src blocks the results are #+BEGIN: propview :id december :conds ((string= spendtype food)) :cols (ITEM amount) | ITEM | amount | |--+| |--+| | || #+END: #+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match example | ITEM | (+ 400 amount) | |---+| | ** December Spending| 0 | | *** Week One| 0 | | Grocery Store [2008-12-01 Mon] | 0 | | Athletic club [2008-12-02 Tue] | 0 | | *** Week Two| 0 | | Restaurant [2008-12-08 Mon]| 0 | |---+| | || #+END: This happens both in Lint mate 17.1 environment as well as in terminal if simply load emacs, i.e. click on the icon, call emacs in the command line, etc. On the other hand if I go to a terminal and load emacs -q and then load org-collector.org I get the expected results, i.e. #+BEGIN: propview :id december :conds ((string= spendtype food)) :cols (ITEM amount) | ITEM | amount | |--+| | Grocery Store [2008-12-01 Mon] | 56.77 | | Restaurant [2008-12-08 Mon]| 30.67 | |--+| | || #+END: #+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match example | ITEM | (+ 400 amount) | |--+| | December Spending | 0 | | Week One | 0 | | Grocery Store [2008-12-01 Mon] | 456.77 | | Athletic club [2008-12-02 Tue] | 475.0 | | Week Two | 0 | | Restaurant [2008-12-08 Mon]| 430.67 | |--+| | || #+END: Just in case I attach a copy of my init file which is a mess. Also, version 8.2.10 appears to have no problem. Charlie ;;; Started 2014-10-26 /home/charlie00 GNU Emacs 24.3.1 (i486-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-06-06 on babin, modified by Debian Org-mode version 8.3beta (release_8.3beta-482-g926553 @ /usr/share/emacs/24.3/site-lisp/org-mode/lisp/) ;;; Look for .customs.emacs file and load it if found ;(if ~/.emacs-w3m.el ;(load ~/.emacs-w3m.el t t)) (if ~/.customs.emacs (load ~/.customs.emacs t t)) ;;; Art: added with v. 23.1 to make spacebar complete filenames (8/17/2009) ;;; may be from Brendt or Adams, can't recall (progn (define-key minibuffer-local-completion-map 'minibuffer-complete-word) (define-key minibuffer-local-filename-completion-map 'minibuffer-complete-word) (define-key minibuffer-local-must-match-filename-map 'minibuffer-complete-word)) ;;; Art: added with v. 23.1 ;;; Set env variable this way? I used the traditional way instead ;(info (emacs) Windows HOME) ;;; turn off the menu, tool and scroll bars (menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) ;;; display column information in mode line (column-number-mode t) ;;; show size of the buffer (size-indication-mode t) ;;; display time in 24 hour mode (display-time) (setq display-time-24hr-format t) ;;; display battery charge (setq display-battery-mode t) ;;; no blinking cursor (setq blink-cursor-mode t) ;;; turn off transient mode mark - my option (setq transient-mark-mode nil) ;;; turn on word wrap for all modes ;(global-visual-line-mode nil) ;;; enable narrow to region (put 'narrow-to-region 'disabled nil) ;;; increase recursion depth (setq max-specpdl-size 1) (setq max-lisp-eval-depth 1) (setq debug-on-error t) ;;; New bell/warning sound (from emacs wiki) ;(setq ring-bell-function (lambda () ; (call-process Windows Media Player nil 0 nil ; c:\\Windows
[O] library-of-babel location
From the org manual 14.6 Library of Babel * * * * The central repository of code blocks in the “Library of Babel” is housed in an Org mode file located in the ‘contrib’ directory of Org mode. However (at least in my case, Org-mode version 8.2.10 and also Org-mode version 8.3beta (release_8.3beta-1316-ga70604) the lob is located in the 'doc' directory /path/to/org-mode/doc/library-of-babel.org So should the does the manual need updating or correction? Charlie Millar
Re: [O] evaluate TBLFM
Hi Grant, On 07/21/2015 09:28 AM, Grant Rettke wrote: On Thu, Jun 11, 2015 at 2:45 PM, Charles Millar mill...@verizon.net wrote: I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. I'm not sure what you are trying to perform with this code. That probably says more about me than you. Are you loading the contents of a recfile into an Org-Mode table and them performing a manipulation on that table? Is that what you want to do? You said that you are not sure how to implement this and I am not sure what precisely you want to implement. By the time I arrived at the end of my message the question was vague - very vague! I have no trouble generating a table using the a src block from a recutils file #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable results in #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable | date | Description | Amount | ||-|| | 6-7| blah| 1.00 | | 6-8| blah blah | 2.00 | Using code I would like to insert a row after the last row from the recutil file, put the word Total in the last cell in the Description column and in the last cell in the Amount column total the cells above. From what I have read, I think source code at the beginning of the file would be possible and then that code would be called using the :post header command the desired result is #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount (possibly wiht :post *this* #+end_src #+TBLNAME: ATable | date | Description | Amount | ||-|| | 6-7| blah| 1.00 | | 6-8| blah blah | 2.00 | || Total | 3.00 | I want to avoid using the keyboard to modify the table, i.e. go to last row, M-S-down to add a row, go to Description column last cell and insert Total and then evaluate a #+TBLFM: @$=vsum(@I$..@$);%.2f (Eventually there may be as many as twenty different tables; the above is the most simple type.) My knowledge of emacs lisp is only enough to try to figure it out when I see the code; all other languages forget about it. Charlie Millar
[O] Featur request org-table-iterate-table-subtree
Please see the attached example. If I call org-table-iterate-buffer-tables, Summary1 and Summary2 both are calculated using the referenced tables in heading "first set of tables" and the tables in the second heading are disregarded. Without going into the details there are times when I use certain form tables in separate headlines in the same file. The entries are different in each and I believe that a function perhaps "org-table-iterate-subtree-tables" would be a useful addition to org-table.el. Please note that narrowing the buffer to the second headline does not help since the code in org-table-iterate-buffer-tables widens the buffer. Charlie Millar * first set of tables #+TBLNAME: SUMMARY1 | CHARGES| | | | Schedule "A" | 6.00 | | | Schedule "A-1" | 6.00 | | | Schedule "A-2" | 6.00 | | | total | | 18.00 | #+TBLFM: @>$>=vsum(@2$2..@4$2);%.2f::@2$2=remote(SCHEDA,@>$>);%.2f::@3$2=remote(SCHEDA1,@>$>);%.2f::@4$2=remote(SCHEDA2,@>$>);%.2f #+TBLNAME: SCHEDA | Description | Basis | |--+---| | Something A | 1.00 | | Something else A | 2.00 | | Another thing A | 3.00 | | Total| 6.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f #+NAME: SCHEDA1 #+TBLNAME: SCHEDA | Description| Basis | |+---| | Something A-1 | 1,00 | | Something else A-1 | 2.00 | | Another thing A-1 | 3.00 | | Total | 6.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f #+NAME: SCHEDA2 #+TBLNAME: SCHEDA | Description| Basis | |+---| | Something A-2 | 1.00 | | Something else A-2 | 2.00 | | Another thing A-2 | 3.00 | | Total | 6.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f * second set of tables #+TBLNAME: SUMMARY2 | CHARGES| | | | Schedule "A" | 6.00 | | | Schedule "A-1" | 6.00 | | | Schedule "A-2" | 6.00 | | | total | | 18.00 | #+TBLFM: @>$>=vsum(@2$2..@4$2);%.2f::@2$2=remote(SCHEDA,@>$>);%.2f::@3$2=remote(SCHEDA1,@>$>);%.2f::@4$2=remote(SCHEDA2,@>$>);%.2f #+TBLNAME: SCHEDA | Description | Basis | |--+---| | Something A | 3.00 | | Something else A | 2.00 | | Another thing A | 3.00 | | Total| 8.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f #+NAME: SCHEDA1 #+TBLNAME: SCHEDA | Description| Basis | |+---| | Something A-1 | 3.00 | | Something else A-1 | 2.00 | | Another thing A-1 | 3.00 | | Total | 8.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f #+NAME: SCHEDA2 #+TBLNAME: SCHEDA | Description| Basis | |+---| | Something A-2 | 3.00 | | Something else A-2 | 2.00 | | Another thing A-2 | 3.00 | | Total | 8.00 | #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f
Re: [O] bug: latex exporter
I see that Rasmus has fixed this. Thank you. On 09/29/2015 03:00 PM, Rainer M Krug wrote: Envoyé de mon iPhone Le 29 sept. 2015 à 11:37, Charles Millar <mill...@verizon.net> a écrit : Since Monday morning (New York time) I have not been able to export to pdflatex (worked OK the night before). Instead the message buffer reads symbol's value as variable is void - compile GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /usr/share/emacs/site-lisp/org-mode/lisp/) I can confirm this - please see my other post for an example. Rainer Charlie Millar
Re: [O] bug: latex exporter
On 10/01/2015 09:07 AM, Rainer M Krug wrote: Kaushal Modi <kaushal.m...@gmail.com> writes: It seems as if no one got the email I sent out yesterday, very odd. On Sep 30, 2015 4:59 PM, "Charles Millar" <mill...@verizon.net> wrote: This is indeed a twisted and strange thread... Not only this thread but the list for about two days. At times over 24 hours elapsed before a message showed up. It appears that this bug relating to the latex exporter was reported three times. According to the dates Rainer Krug first reported it at 05:11 on Sep 29; before I sent my message (this thread on Sep 29 at 05:37) ) I checked to see if it had been reported and nothing showed. Kushai apparently sent his report a few hours later. AFIK none of these were on the list for several hours. I checked gmane and the org list as well as my email for any replies. I discovered that the exporter bug had been fixed when I looked at the orgmode git site, so I posted a thank you. Again, at that time I posted, nothing on the list reported the fix had been taken care of, although it is obvious that two hours before I sent that message Nick and Rasmus had posted messages to that effect. Since this morning everything seems fine. Above are just observations, nothing more. Charlie I see that Rasmus has fixed this. Thank you. On 09/29/2015 03:00 PM, Rainer M Krug wrote: Envoyé de mon iPhone Le 29 sept. 2015 à 11:37, Charles Millar <mill...@verizon.net> a écrit : Since Monday morning (New York time) I have not been able to export to pdflatex (worked OK the night before). Instead the message buffer reads symbol's value as variable is void - compile GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /usr/share/emacs/site-lisp/org-mode/lisp/) I can confirm this - please see my other post for an example. Rainer Charlie Millar
Re: [O] Delays in posting
Hi Nick, On 10/01/2015 11:57 AM, Nick Dokos wrote: This is just an FYI. Over the past couple of days, I've noticed delays in posting. I posted a couple of things two days ago that didn't show up until one day later. I believe a couple of other people have noticed the same thing. I figured that since the posts *did* show up, the problems were resolved, but another post from this morning still hasn't shown up four hours later. I use Gnus/nntp to get to news.gmane.org, not email, so I believe the problem is with gmane, but this is just a guess. Nick It was and just gmane, but also email and the "official" org mail list Charlie Millar P.S. Not sure if you have seen my post about this issue that I added to the bug latex exporter thread
[O] bug: latex exporter
Since Monday morning (New York time) I have not been able to export to pdflatex (worked OK the night before). Instead the message buffer reads symbol's value as variable is void - compile GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /usr/share/emacs/site-lisp/org-mode/lisp/) Charlie Millar
Re: [O] emacs-lisp babel won't print
maybe add :results output to the last block On 09/25/2015 12:04 PM, Lawrence Bottorff wrote: #+BEGIN_SRC emacs-lisp (setq animals '(gazelle giraffe lion tiger)) #+END_SRC #+RESULTS: | gazelle | giraffe | lion | tiger | and then this #+begin_src emacs-lisp (defun print-elements-of-list (list) "Print each element of LIST on a line of its own." (while list (print (car list)) (setq list (cdr list #+end_src #+RESULTS: : print-elements-of-list and finally #+BEGIN_SRC emacs-lisp (print-elements-of-list animals) #+END_SRC
Re: [O] org-collector unable to handle macros
This may be related to the problem or is the same that I reported in April and May and again earlier this month when Bastien's requested details in his August 4th message. org-collector does not work with org 8.3, but does with 8.2.10 Charlie Millar On 08/28/2015 02:11 PM, Mark Edgington wrote: I have had problems getting org-collector.el to generate tables where the content of the tables should include macros. At some point in the past this worked, but at this time (latest git version of org-mode), the following example fails (unless you remove the macro from the property definition): # comment-macro #+MACRO: c * Notes :PROPERTIES: :ID: sched_table :COLUMNS: %WEEKNUM(Week #) %DAY(Day) %INCLASS(In-class Content) %READINGS(Readings) %PRECLASS(Pre-class Assignments / Homework) :END: ** WEEK 1 *** DAY :PROPERTIES: :INCLASS: ABC {{{c(stuff)}}} DEF :DAY: T :WEEKNUM: 1 :END: blah * Schedule # type C-c C-c on the #BEGIN line to attempt to generate the table #+BEGIN: propview :id sched_table :defaultval :conds ((not (string= DAY ))) :cols (WEEKNUM DAY INCLASS READINGS PRECLASS) :noquote t :colnames (Week # Day In-class Content Readings Pre-class Assignments / Homework) #+END: Any help in resolving this problem would be appreciated! Thanks.
Re: [O] what is atril?
Thank you Richard and Johann. In the future I must remember to check the packages list (in this case that comes with LMDE2) as well as aptitude and apt-cache. It never occurred to me that it was related to a pdf reader since my output opens in Evince. Have to check further into atril. Charlie On 12/06/2015 04:49 PM, Charles Millar wrote: I just noticed that after I export a subtree to latex the following appears in the minibuffer running atril /path/to/output/file What is atril? I have tried info-apropos, C-h f, C-h v, Google, etc. Charlie Millar
Re: [O] problem with org-capture
Hi, On 12/02/2015 04:24 PM, Nicolas Goaziou wrote: Hello, Eric S Fragawrites: However, it only partially fixed. The system does now prompt as it should but the mini-buffer input only allows single words. Hitting space bar attempts to do completion. I believe the input should be free form? Fixed (again). Thank you. Regards, I think it is still broken in another way my template for capturing time as I work on a files - ("s" "timeslip" table-line (file "/mnt/Data/ActiveFiles/EmacsFiles/timeslips.org") "\| %(org-read-date)\| %^{FileName} %i\| %^{Narrative} %i\| %^{Time} %i\| %^{Expense} %i" Last week the prompt org-read-date would pull up the calendar first; now the template jumps first to FileName, then Narrative,then Time, then Expense, then back to org-read-date. After C-c C-c there is anywhere 5 to 20 second delay. Charlie Millar
Re: [O] problem with org-capture
On 12/03/2015 04:02 AM, Nicolas Goaziou wrote: Hello, Charles Millar <mill...@verizon.net> writes: I think it is still broken in another way my template for capturing time as I work on a files - ("s" "timeslip" table-line (file "/mnt/Data/ActiveFiles/EmacsFiles/timeslips.org") "\| %(org-read-date)\| %^{FileName} %i\| %^{Narrative} %i\| %^{Time} %i\| %^{Expense} %i" Last week the prompt org-read-date would pull up the calendar first; now the template jumps first to FileName, then Narrative,then Time, then Expense, then back to org-read-date. Well, this one is to be expected. S-exp placeholders are evaluated only once. This currently happens at the end of the process because some users do %(do-stuff "%i") Here you want it to happen at the beginning of the process, which is not quite compatible with the behaviour above. I guess we could check if the S-exp contains any placeholder to decide if it should be evaluated at the beginning or the end of the process, but that somehow sounds cheesy. OK; however, why should this change within the past few days (at least in my case)? I have been using this template for over three and I believe four years and the calendar prompt always started first, not last. After C-c C-c there is anywhere 5 to 20 second delay. I'm not sure this is related to the change. Could you use elp-intrument-package and post the details? You are right, it's not. Charlie
[O] what is atril?
I just noticed that after I export a subtree to latex the following appears in the minibuffer running atril /path/to/output/file What is atril? I have tried info-apropos, C-h f, C-h v, Google, etc. Charlie Millar
Re: [O] problem with org-capture
On 12/03/2015 05:38 PM, Nicolas Goaziou wrote: Hello, Mike McLeanwrites: At the risk of piling on, I too am having problems with Org Capture templates that haven't changed in a long time. The sample below used to function like: 1. I would call it from org-capture, select the “af” template 2. I would get prompted for a date from file+datetree+prompt and I would select the date 3. I would get prompted for the week number from the ~%^{prompt|%<%Y-W%V>}~ clause. This would default to the current week in ISO format (2015-W49). I would change it or not (usually not) 4. The ISO week entered from that prompt would get substituted into the AR_DATE property in multiple places. The two big differences with release_8.3.2-381-gb7ee96 are 1. The substitution for %Y and %V does not happen before the prompt in step 3; I get a default value of [%<%Y-W%V>] 2. Even if I manually type the ISO week string (2015-W09) it no longer gets substituted into the AR_DATE properties via %\1 I pushed a commit which should fix these issues and the others mentioned in the thread. Thank you. Let me know if something is still wrong. Regards, Works for me. Thank you, Nicholas. Regards, Charlie Millar
Re: [O] Featur request org-table-iterate-table-subtree
Hi Aaron, On 12/03/2015 02:17 PM, Aaron Ecay wrote: Hi Charlie, 2015ko azaroak 27an, Charles Millar-ek idatzi zuen: Any thoughts? Any body? Well, FWIW... #+tblname’s should be unique within a document. Your problems stem from that, and your proposed solutions all work around it in some way. I can’t think of any better way to address your desired usage than the ones you listed (and would caution you that using narrowing to defeat the uniqueness assumption, while perhaps adequate for the short term, is fragile and could break at any time). Thanks for the input. Charlie
[O] Bug: time duration in capture template broken
Until recently given the following capture template "* APPOINTMENT %?%^{BeginTimeDuration}T %^{Location} %^{Reason}" When prompted for the BeginTimeDuration and entered 2/29 09:00+1:00, etc would result in * APPOINTMENT <2016-02-29 Mon 09:00-10:00> Location Reason it now results in ** APPOINTMENT <2016-02-29 Mon (system time when capture made)> Location Reason If no duration is given, the date and time as entered into the template are correctly captured * APPOINTMENT <2016-02-29 Mon 09:00> Location Reason Same error if I use 13:00-14:00 or 13:00--14:00 for duration, the start and end time still results in the system time when I C-c C-c the capture. LMDE2 GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Org-mode version 8.3.2 (release_8.3.2-457-g4a6d19 @ /usr/local/share/emacs/site-lisp/org-mode/lisp/) Charlie Millar
Re: [O] Bug: time duration in capture template broken
Hi, On 01/05/2016 05:31 PM, Nicolas Goaziou wrote: Hello, Charles Millar <mill...@verizon.net> writes: Until recently given the following capture template "* APPOINTMENT %?%^{BeginTimeDuration}T %^{Location} %^{Reason}" When prompted for the BeginTimeDuration and entered 2/29 09:00+1:00, etc would result in * APPOINTMENT <2016-02-29 Mon 09:00-10:00> Location Reason it now results in ** APPOINTMENT <2016-02-29 Mon (system time when capture made)> Location Reason If no duration is given, the date and time as entered into the template are correctly captured * APPOINTMENT <2016-02-29 Mon 09:00> Location Reason Same error if I use 13:00-14:00 or 13:00--14:00 for duration, the start and end time still results in the system time when I C-c C-c the capture. Fixed. Thank you. Works now. Thank you.
Re: [O] How to hide past days in Agenda view
Hi, On 11/27/2015 08:45 AM, sgeorgii . wrote: Hello! The subject question. When I M-x org-agenda and it is now Friday - in my weekly agenda view I want only to see Friday (today), Saturday and Sunday. I.e. only remaining part of the week. By default my agenda shows from Monday till Sunday regardless of current day. How do I filter our days which are in past in my Agenda? Any help? As to agenda starting today I have the following in my init.el (setq org-agenda-start-on-weekday nil) ;starts agenda week view "today" ;rather than a fixed day each week Perhaps you can set org-agenda-span someway to show only the remaining days in the week. I set it to (setq org-agenda-span 14) so that I see the next 14 days I believe setting it to 'fortnight also works. Charlie Millar