Re: #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3
Ihor Radchenko writes: > Another OrgMeetup will be scheduled on the second Wednesday of July, > in two weeks. > > Previous meetup notes: > https://list.orgmode.org/87h6dlidhz.fsf@localhost/T/#u > > URL: https://bbb.emacsverse.org/b/iho-h7r-qg8-led > Time & Date: <2024-07-10 Wed 19:00-21:00 @+03,Europe/Istanbul> > The room will be open half an hour before the official start. Is this still on? The site tells me the meeting hasn't started yet. I double checked the time, seems like I have it right, it's 1909 in Instanbul. -Dave
Re: orgmode tables
Jude DaShiell writes: > As it happens c-s-right comes back with c-s-right is undefined. > This is emacs-nativecomp 29 on slint and slint is the international > version of slackware. > At this point I think orgmode could use is a tool to be run that will find > and let the user or installer know all of the undefined key combinations > in their current version of orgmode that are supposed to be defined along > with a percentage of the total keystrokes so a user or installer can take > further appropriate action. So is there some reason you're pressing C-S-Right? This key wasn't discussed in this thread before now. > > -- > Jude > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. > Please use in that order." > Ed Howdershelt 1940. > > On Mon, 22 Apr 2024, Jude DaShiell wrote: > >> m-s-right is meta-shift-rightarrow if I have that correct. Now if I put >> point in the last column of the table and do that, I'll get a column to >> the left which will be blank. What I tried to ask is if I put point in >> the last column of the table what can I do to have a new column appear to >> the right of where point exists? >> >> >> -- >> Jude >> "There are four boxes to be used in defense of liberty: >> soap, ballot, jury, and ammo. >> Please use in that order." >> Ed Howdershelt 1940. >> >> On Mon, 22 Apr 2024, Leo Butler wrote: >> >> > (info "(org)Built-in Table Editor") >> > >> > ‘M-S-’ (‘org-table-insert-column’) >> > Insert a new column at point position. Move the recent column and >> > all cells to the right of this column to the right. >> > >> > Leo >> > >> > On Mon, Apr 22 2024, Jude DaShiell wrote: >> > >> > > when making a table in orgmode, I forgot to add three columns to the >> > > table. What command or commands would I use to add columns to a table? >> > > >> > > >> > > -- >> > > Jude >> > > "There are four boxes to be used in defense of liberty: >> > > soap, ballot, jury, and ammo. >> > > Please use in that order." >> > > Ed Howdershelt 1940. >> >>
Re: orgmode tables
Jude DaShiell writes: > m-s-right is meta-shift-rightarrow if I have that correct. Now if I put > point in the last column of the table and do that, I'll get a column to > the left which will be blank. What I tried to ask is if I put point in > the last column of the table what can I do to have a new column appear to > the right of where point exists? Try putting the point at the end of the line, *after* the last column. Works for me. > > -- > Jude > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. > Please use in that order." > Ed Howdershelt 1940. > > On Mon, 22 Apr 2024, Leo Butler wrote: > >> (info "(org)Built-in Table Editor") >> >> ‘M-S-’ (‘org-table-insert-column’) >> Insert a new column at point position. Move the recent column and >> all cells to the right of this column to the right. >> >> Leo >> >> On Mon, Apr 22 2024, Jude DaShiell wrote: >> >> > when making a table in orgmode, I forgot to add three columns to the >> > table. What command or commands would I use to add columns to a table? >> > >> > >> > -- >> > Jude >> > "There are four boxes to be used in defense of liberty: >> > soap, ballot, jury, and ammo. >> > Please use in that order." >> > Ed Howdershelt 1940.
Re: Interest in an Org video meetup?
Russell Adams writes: > Would there be any interest in a monthly 1-2 hour long ad-hoc screen > sharing and video discussion for Org-mode? I'm interested. -Dave
Re: Clocktable :formatter to record time in hours or work-days
William Denton writes: > I've been clocking in and out of a project for a few months and now it's > over. > I tagged each entry with "search", so a brief clocktable report looks like > this: > > #+BEGIN: clocktable :maxlevel 1 :scope file :tags t :match "search" > #+CAPTION: Clock summary at [2023-04-11 Tue 13:48] > > | Tags | Headline |Time | > |--+---+-| > | | Total time| 4d 6:23 | > |--+---+-| > | | 2022-09 September |0:38 | > | | 2022-10 October |2:46 | > | | 2022-11 November |7:41 | > | | 2022-12 December | 10:41 | > | | 2023-01 January | 10:16 | > | | 2023-02 February | 1d 3:56 | > | | 2023-03 March | 1d 3:47 | > | | 2023-04 April | 14:38 | > #+END > > How could I format the Time column in hours? How could I format it to > hours/8, > rounded, to represent work-days? I only want this formatting for this table, > I > have other clocktables in the same file I don't want to change. > > I've read about clocktables and the :formatter option, which I assume is what > will do it, but I can't find any helpful examples so I'm stuck. I just had to rediscovery this recently. Check `org-duration-format`. -Dave
Re: Bug: HTML export of src_c{*foo} inserts a stray comma (,) before *foo [9.4 (9.4-31-g49f4c3-elpa @ /home/davemarq/.emacs.d/elpa/org-20201109/)]
Thanks! --- On Mon, Apr 12 2021, Nicolas Goaziou wrote: Hello, Dave Marquardt writes: > After I filed this I got the bright idea to try exporting to Github > Flavored Markdown and ASCII text. In all cases, src_c{*foo} was > exported as ",*foo". So this has something to do with export C code or > code in general. It could still be a backend issue if these backends > share code. Fixed. Thank you. Regards, -- Nicolas Goaziou
Re: Bug: HTML export of src_c{*foo} inserts a stray comma (,) before *foo [9.4 (9.4-31-g49f4c3-elpa @ /home/davemarq/.emacs.d/elpa/org-20201109/)]
After I filed this I got the bright idea to try exporting to Github Flavored Markdown and ASCII text. In all cases, src_c{*foo} was exported as ",*foo". So this has something to do with export C code or code in general. It could still be a backend issue if these backends share code. --- On Mon, Apr 12 2021, Dave Marquardt wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Exporting this small file to HTML #+PROPERTY: header-args :exports code Set src_c{*foo} to 1. yields, after all the prolog CSS, Set ,*foo to 1. Note the comma (,) before "*foo". I dig "git bisect" on the source tree, running "make" then "make vanilla" then exporting for each release tag from release_9.4 back to release_8.3. The comma persisted. I gave up when I built release_8.2 but the "vanilla" make target no longer existed. Emacs : GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.27, cairo version 1.16.0) of 2021-03-27 Package: Org mode version 9.4 (9.4-31-g49f4c3-elpa @ /home/davemarq/.emacs.d/elpa/org-20201109/) current state: == (setq org-duration-format 'h:mm org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-latex-listings t org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-enforce-todo-dependencies t org-odt-format-headline-function 'org-odt-format-headline-default-function org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f") org-agenda-files '("~/org/aix.org" "~/org/ibm.org" "~/pers/personal.org") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-modules '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail ol-w3m) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-mime-src-mode-hook '(org-mime-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-load-languages '((emacs-lisp . t) (gnuplot . t) (ditaa . t) (dot . t) (mscgen . t)) org-clock-clocktable-default-properties '(:maxlevel 2 :scope file :formula %) org-export-backends '(org odt icalendar gfm md html beamer latex ascii) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-agenda-loop-over-headlines-in-active-region nil org-icalendar-include-todo t org-occur-hook '(org-first-headline-recenter) org-log-into-drawer t org-agenda-include-diary t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "WAIT(w@)" "|" "DONE(d)" "CANCELED(c@)")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link)
Bug: HTML export of src_c{*foo} inserts a stray comma (,) before *foo [9.4 (9.4-31-g49f4c3-elpa @ /home/davemarq/.emacs.d/elpa/org-20201109/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Exporting this small file to HTML #+PROPERTY: header-args :exports code Set src_c{*foo} to 1. yields, after all the prolog CSS, Set ,*foo to 1. Note the comma (,) before "*foo". I dig "git bisect" on the source tree, running "make" then "make vanilla" then exporting for each release tag from release_9.4 back to release_8.3. The comma persisted. I gave up when I built release_8.2 but the "vanilla" make target no longer existed. Emacs : GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.27, cairo version 1.16.0) of 2021-03-27 Package: Org mode version 9.4 (9.4-31-g49f4c3-elpa @ /home/davemarq/.emacs.d/elpa/org-20201109/) current state: == (setq org-duration-format 'h:mm org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-latex-listings t org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-enforce-todo-dependencies t org-odt-format-headline-function 'org-odt-format-headline-default-function org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f") org-agenda-files '("~/org/aix.org" "~/org/ibm.org" "~/pers/personal.org") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-modules '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail ol-w3m) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-mime-src-mode-hook '(org-mime-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-load-languages '((emacs-lisp . t) (gnuplot . t) (ditaa . t) (dot . t) (mscgen . t)) org-clock-clocktable-default-properties '(:maxlevel 2 :scope file :formula %) org-export-backends '(org odt icalendar gfm md html beamer latex ascii) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-agenda-loop-over-headlines-in-active-region nil org-icalendar-include-todo t org-occur-hook '(org-first-headline-recenter) org-log-into-drawer t org-agenda-include-diary t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "WAIT(w@)" "|" "DONE(d)" "CANCELED(c@)")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("w3m" :store org-w3m-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("eww" :follow org-eww-open :store org-eww-store-link) ("docview"
Re: [O] Org Usenet
What about gmane.emacs.orgmode? --- On Thu, Jan 04 2018, Eric S Fraga wrote: On Wednesday, 3 Jan 2018 at 13:39, M. P. wrote: > Is their an org mode usenet group? The closest we have that I am aware of is gmane.emacs.help. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.6
Re: [O] Clocktable Naming
I wanted to add a #+PLOT to the clock table header, and used the advice mechanism to do it. E.g. (defadvice org-clock-report (after insert-plot-line activate) "Add #+PLOT: line appropriate for clock table." (insert "#+PLOT: ind:1 deps:(4) type:2d with:histograms set:\"style fill solid\" ")) You might be able to do something similar for your purpose. You might also check to see if there's some sort of hook to use when inserting clock tables. --- On Mon, Oct 09 2017, Shawn Way wrote: Is there a method for automatically naming a timeclock? For example, :name table1 to be used in the #+BEGIN line? This would allow the clocktable to be post processed using something like perl or python for in depth analysis. SHAWN WAY, P.E.
Re: [O] Source maps?
"Davis, Peter"writes: > I'm working on a moderately complex ruby-on-rails project now, and I'd > love to be able to generate source maps. Specifically, I'd like to be > able to generate dot files (and GraphViz diagrams) showing the file > relationships: this controller goes with this view, etc. > > I was thinking of writing a script to walk the project tree and > generate the dot code based on rails' file naming conventions, but > then I thought I'd like to put all this into an org-mode document, and > be able to click on the filenames to open the files. > > Has anyone tried anything like this? Or found anything similar? Would a tool like 'doxygen' help here? I think it can do some of what you're looking for. I don't know if anyone has linked doxygen to org-mode and then published something about it. -Dave
Re: [O] habits not working
Tyler Smithwrites: > Habits don't seem to be working for me anymore, and I'm not sure why. > How did I break this? > > Emacs version: > GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.5) of > 2015-12-24 > > Org mode version: > Org-mode version 8.3.2 (8.3.2-59-g3d4c46-elpaplus @ > /home/tws/.emacs.d/elpa/org-plus-contrib-20160104/) Did you happen to update org-mode recently? There was a change around the 8.3 timeframe about where you could put properties. See http://orgmode.org/Changes.html -Dave
Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Dave Marquardt <davem...@linux.vnet.ibm.com> writes: > Is this just a problem with the ELPA installation? I'm going to try > removing and reinstalling the ELPA package, then if that doesn't change > anything, try instaling from the Git tree. I reinstalled the ELPA package, same result. I removed the ELPA package, installed from the Git tree I cloned yesterday, same problem. Next steps are to temporarily remove my Org customizations, and if that fails, do some "git bisect" work to see if I can find out when this broke. -Dave
Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Dave Marquardt <davem...@linux.vnet.ibm.com> writes: > Dave Marquardt <davem...@linux.vnet.ibm.com> writes: > >> Is this just a problem with the ELPA installation? I'm going to try >> removing and reinstalling the ELPA package, then if that doesn't change >> anything, try instaling from the Git tree. > > I reinstalled the ELPA package, same result. I removed the ELPA package, > installed from the Git tree I cloned yesterday, same problem. > > Next steps are to temporarily remove my Org customizations, and if that > fails, do some "git bisect" work to see if I can find out when this > broke. I did git bisect on a couple of x86_64 Linux systems: - RHEL 6.7 with Emacs 24.3.2 - Fedora 22 with Emacs 24.5.1 The result was # first bad commit: [6d2ab4071960f8a7f20138291424b468722ab522] org-table: Fix radio tables containing macros The table I ran M=x org-plot/gnuplot on was from the Org Mode info page "Org-Plot": #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]" | Sede | Max cites | H-index | |---+---+-| | Chile |257.72 | 21.39 | | Leeds |165.77 | 19.68 | | Sao Paolo | 71.00 | 11.50 | | Stockholm |134.19 | 14.33 | | Morelia |257.56 | 17.67 | Stack backtrace is as mentioned earlier: Debugger entered--Lisp error: (void-function org-export-create-backend) org-export-create-backend(:parent org :transcoders ((table lambda (table contents info) (concat nil contents nil)) (table-row lambda (row contents info) (if (eq (org-element-property :type row) (quote rule)) nil (let ((headerp (org-export-table-row-in-header-p row info)) (lastp (not (org-export-get-next-element row info))) (last-header-p (org-export-table-row-ends-header-p row info))) (when contents (cond nil nil nil (t (concat ...))) (table-cell lambda (cell contents info) (let ((headerp (org-export-table-row-in-header-p (org-export-get-parent-element cell) info)) (column (1+ (cdr (org-export-table-cell-address cell info) nil (when contents nil (cond nil (t (setq contents (funcall ... contents) (if (or nil (plist-get info :orgtbl-ignore-sep) (not (org-export-get-next-element cell info))) contents (concat contents " " (macro lambda (m c i) (org-element-macro-interpreter m nil orgtbl-to-generic((("*Total time*" "*4:11*" "" "100.0") ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") ("Team" "" "0:42" "16.7")) (:sep " " :fmt org-plot-quote-tsv-field :plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set ("style fill solid") :deps (4))) org-plot/gnuplot-to-data((("*Total time*" "*4:11*" "" "100.0") ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") ("Team" "" "0:42" "16.7")) "/tmp/org-plot18132EYn" (:plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set ("style fill solid") :deps (4))) org-plot/gnuplot() call-interactively(org-plot/gnuplot record nil) command-execute(org-plot/gnuplot record) execute-extended-command(nil "org-plot/gnuplot") call-interactively(execute-extended-command nil nil) -Dave
Re: [O] Delays in posting
Nick Dokoswrites: > 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. I'm seeing the same thing. -Dave
Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Dave Marquardt <davem...@linux.vnet.ibm.com> writes: > >> I did git bisect on a couple of x86_64 Linux systems: >> - RHEL 6.7 with Emacs 24.3.2 >> - Fedora 22 with Emacs 24.5.1 >> >> The result was >> >> # first bad commit: [6d2ab4071960f8a7f20138291424b468722ab522] org-table: >> Fix radio tables containing macros >> >> The table I ran M=x org-plot/gnuplot on was from the Org Mode info page >> "Org-Plot": >> >> #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms >> set:"yrange [0:]" >> | Sede | Max cites | H-index | >> |---+---+-| >> | Chile |257.72 | 21.39 | >> | Leeds |165.77 | 19.68 | >> | Sao Paolo | 71.00 | 11.50 | >> | Stockholm |134.19 | 14.33 | >> | Morelia |257.56 | 17.67 | >> >> Stack backtrace is as mentioned earlier: >> >> Debugger entered--Lisp error: (void-function org-export-create-backend) > > Fixed. Thank you. I've verified that this is fixed. Thanks! -Dave
Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Nick Dokos <ndo...@gmail.com> writes: > Dave Marquardt <davem...@linux.vnet.ibm.com> writes: > >> I attempted to plot a table after installing the 20150928 ELPA package, >> and got >> >> Debugger entered--Lisp error: (void-function org-export-create-backend) >> org-export-create-backend(:parent org :transcoders ((table lambda >> (table contents info) (concat nil contents nil)) (table-row lambda >> (row contents info) (if (eq (org-element-property :type row) (quote >> rule)) nil (let ((headerp (org-export-table-row-in-header-p row info)) >> (lastp (not (org-export-get-next-element row info))) (last-header-p >> (org-export-table-row-ends-header-p row info))) (when contents (cond >> nil nil nil (t (concat ...))) (table-cell lambda (cell contents >> info) (let ((headerp (org-export-table-row-in-header-p >> (org-export-get-parent-element cell) info)) (column (1+ (cdr >> (org-export-table-cell-address cell info) nil (when contents nil >> (cond nil (t (setq contents (funcall ... contents) (if (or nil >> (plist-get info :orgtbl-ignore-sep) (not (org-export-get-next-element >> cell info))) contents (concat contents " " (macro lambda (m c >> i) (org-element-macro-interpreter m nil >> orgtbl-to-generic((("*Total time*" "*4:11*" "" "100.0") ("Time" >> "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" >> "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") >> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" >> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" >> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") >> ("Team" "" "0:42" "16.7")) (:sep " " :fmt org-plot-quote-tsv-field >> :plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" >> "%") :set ("style fill solid") :deps (4))) >> org-plot/gnuplot-to-data((("*Total time*" "*4:11*" "" "100.0") >> ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" >> "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") >> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" >> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" >> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") >> ("Team" "" "0:42" "16.7")) "/tmp/org-plot18132EYn" (:plot-type 2d >> :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set >> ("style fill solid") :deps (4))) >> org-plot/gnuplot() >> call-interactively(org-plot/gnuplot record nil) >> command-execute(org-plot/gnuplot record) >> execute-extended-command(nil "org-plot/gnuplot") >> call-interactively(execute-extended-command nil nil) >> >> org-table.el has a declare-function call that points to a "org-export" >> file, but I don't find such a file in either the code installed by ELPA >> or the daily snapshot: >> >> (declare-function org-export-create-backend "org-export" ( rest)) >> >> Calling org-plot/gnuplot worked last week, before I upgraded to 20150928. >> >> -Dave > > This sounds like a mixed installation: different versions of org > installed and you are picking up bits from both of them. > Search the list for "mixed installation", e.g. check out > > http://thread.gmane.org/gmane.emacs.orgmode/68240/focus=68265 > > and the link therein: > > http://orgmode.org/worg/org-faq.html#mixed-install Yes, I've run into that issue before. I specifically removed the org installation that was provided with Gnu Emacs 24.3.2 some time back. I went back and looked at whether that was an issue here, and I discovered some .elc files had crept into the Emacs directory tree, so I removed them. When I check each org function in the backtrace, each function definition is in a file in my ELPA installation. orgtbl-to-generic is in ~/.emacs.d/elpa/org-20150928/org-table.el org-plot/gnuplot-to-data is in ~/.emacs.d/elpa/org-20150928/org-plot.el org-plot/gnuplot is in ~/.emacs.d/elpa/org-20150828/org-plot.el I checked the Git tree, and saw the change that was made related to the declare-function definitions. From the doc information on declare-function, it's not clear to me this does anything at run time. It references "org-export", and I don't see that when I grab the Git tree. Is "org-export" a file built by the make process? Is this just a problem with the ELPA installation? I'm going to try removing and reinstalling the ELPA package, then if that doesn't change anything, try instaling from the Git tree. -Dave
[O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
I attempted to plot a table after installing the 20150928 ELPA package, and got Debugger entered--Lisp error: (void-function org-export-create-backend) org-export-create-backend(:parent org :transcoders ((table lambda (table contents info) (concat nil contents nil)) (table-row lambda (row contents info) (if (eq (org-element-property :type row) (quote rule)) nil (let ((headerp (org-export-table-row-in-header-p row info)) (lastp (not (org-export-get-next-element row info))) (last-header-p (org-export-table-row-ends-header-p row info))) (when contents (cond nil nil nil (t (concat ...))) (table-cell lambda (cell contents info) (let ((headerp (org-export-table-row-in-header-p (org-export-get-parent-element cell) info)) (column (1+ (cdr (org-export-table-cell-address cell info) nil (when contents nil (cond nil (t (setq contents (funcall ... contents) (if (or nil (plist-get info :orgtbl-ignore-sep) (not (org-export-get-next-element cell info))) contents (concat contents " " (macro lambda (m c i) (org-element-macro-interpreter m nil orgtbl-to-generic((("*Total time*" "*4:11*" "" "100.0") ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") ("Team" "" "0:42" "16.7")) (:sep " " :fmt org-plot-quote-tsv-field :plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set ("style fill solid") :deps (4))) org-plot/gnuplot-to-data((("*Total time*" "*4:11*" "" "100.0") ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") ("Team" "" "0:42" "16.7")) "/tmp/org-plot18132EYn" (:plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set ("style fill solid") :deps (4))) org-plot/gnuplot() call-interactively(org-plot/gnuplot record nil) command-execute(org-plot/gnuplot record) execute-extended-command(nil "org-plot/gnuplot") call-interactively(execute-extended-command nil nil) org-table.el has a declare-function call that points to a "org-export" file, but I don't find such a file in either the code installed by ELPA or the daily snapshot: (declare-function org-export-create-backend "org-export" ( rest)) Calling org-plot/gnuplot worked last week, before I upgraded to 20150928. -Dave
Re: [O] org-habit and Org 8.3
John Wiegley jo...@newartisans.com writes: I've upgrade today to Org 8.3.1, and I've noticed that any customization which used overlays (mainly, org-habit) now displays no overlays in the Agenda buffer. Is this something others have already seen and found a fix for? Check to see that the properties drawer that specifies that a task is a habit is just after SCHEDULED or a similar keyword. This was a change made in 8.3 or 8.3.1. See http://orgmode.org/Changes.html for a function to repair your properties drawers. -Dave
Re: [O] Changing TODO status on non-current date
Marcin Borkowski mb...@mbork.pl writes: assume that I have a habit (or other TODO headline where the /date/ of converting to DONE is important), and I completed it, say, at 23:30 and forgot to change the status immediately. Is there any way to tell Org that the change was not today, but e.g. yesterday or two days ago etc.? This is especially important with habits, since the date information is then recorded in two places, so changing it manually is a nuisance. Yeah, I run into this frequently. It's almost a habit with me :) I haven't looked for a solution, and usually just go edit things by hand, which is error prone. -DAve
Re: [O] Latest clocktable mis-formats headings
Nicolas Goaziou m...@nicolasgoaziou.fr writes: torys.ander...@gmail.com (Tory S. Anderson) writes: Ah. So does the current code, which uses \emsp (which, if displayed properly, would be what I meant by giving me a space) assume a non-nil org-pretty-entities? I would have hoped that would be mentioned, or defaulted, somewhere... It doesn't require a non-nil `org-pretty-entities'. This is only eye-candy. OTOH, it assumes `org-export-with-entities' is non-nil, which is the default. Sorry to revive an old thread, but I'm also having problems with \emsp in clocktables. I like to run M-x org-plot/gnuplot on clocktables, and having \emsp rather than \_ in the first column causes the items in the X axis to bleed into each other in the plot. I don't think org-plot/gnuplot did anything with \_, but a _ before each item in the X axis was much less noticeable than emsp before each item. I looked at the code a while back that adds \emsp, and it isn't configurable, as far as I can tell. Is it configurable and I missed it? I.e. is there a way to either turn off this prefixing or change the string? Thanks. -Dave
Re: [O] Latest clocktable mis-formats headings
Dave Marquardt davem...@linux.vnet.ibm.com writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: torys.ander...@gmail.com (Tory S. Anderson) writes: Ah. So does the current code, which uses \emsp (which, if displayed properly, would be what I meant by giving me a space) assume a non-nil org-pretty-entities? I would have hoped that would be mentioned, or defaulted, somewhere... It doesn't require a non-nil `org-pretty-entities'. This is only eye-candy. OTOH, it assumes `org-export-with-entities' is non-nil, which is the default. Sorry to revive an old thread, but I'm also having problems with \emsp in clocktables. I like to run M-x org-plot/gnuplot on clocktables, and having \emsp rather than \_ in the first column causes the items in the X axis to bleed into each other in the plot. I don't think org-plot/gnuplot did anything with \_, but a _ before each item in the X axis was much less noticeable than emsp before each item. I looked at the code a while back that adds \emsp, and it isn't configurable, as far as I can tell. Is it configurable and I missed it? I.e. is there a way to either turn off this prefixing or change the string? Oops, never mind. I looked again, and I can set the clocktable indent option to nil, and my plot looks much better. -Dave
Re: [O] Auto insert and change date in header?
Xebar Saram zelt...@gmail.com writes: does any one know of a way to auto insert/change the date in each sections header when the section is edited?IE have a date in the header showing last edited date. Is this technically possible? Try setting before-save-hook. See (elisp) Saving Buffers. -Dave
Re: [O] [TABLE-OF-CONTENTS] with ODT exporter?
Jambunathan K kjambunat...@gmail.com writes: this means that [TABLE-OF-CONTENTS] isn't supported in the ODT exporter. Fixed. Please pull again. That works. Thanks! -Dave
[O] [TABLE-OF-CONTENTS] with ODT exporter?
I'm using Org-mode version 7.8.02. I'd like to move the table of contents using [TABLE-OF-CONTENTS] as documented in (org)Top:: *Note Markup:: *Note Structural markup elements:: Table of contents. I'm exporting to ODT, and the table of contents always shows up just after the title information, no matter where I put [TABLE-OF-CONTENTS], and the string [TABLE-OF-CONTENTS] shows up in the ODT document. I assume this means that [TABLE-OF-CONTENTS] isn't supported in the ODT exporter. Is it coming any time soon? Thanks. -Dave
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Bastien b...@altern.org writes: Hi Dave, Dave Marquardt davem...@us.ibm.com writes: I modified the Makefile to do what I expected. With this change, make install copies the style files to $(prefix)/share/emacs/etc/styles, and ODT export now works as expected. Thanks for the patch -- I've applied it, using etcdir= $(lispdir)/../etc as Achim suggested. Cool. Thanks! -Dave
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
suvayu ali fatkasuvayu+li...@gmail.com writes: Hi Alan and Dave, On Wed, Dec 14, 2011 at 22:56, Alan L Tyree alanty...@gmail.com wrote: On 15/12/11 08:35:20, suvayu ali wrote: On Wed, Dec 14, 2011 at 21:28, Dave Marquardt davem...@us.ibm.com wrote: When I run org-export-as-odt by C-c C-e o, I get this message: Cannot find factory styles file. I believe this is fixed in the git head. I'm not so sure. I just pulled the latest and get the same error message: Debian Squeeze, emacs 23.2.1, LibreOffice 3.4.3. I was mistaken in saying it has been fixed. Its actually a setup problem reported originally by Christian. Take a look at the following thread. http://thread.gmane.org/gmane.emacs.orgmode/49846/focus=50001 In case you still think its a bug causing the issue in your case, it would be help if you could post an ECM (minimal complete example in French) which replicates the problem. No, I don't think that thread has anything to do with my problem. I had not previously used the ODT exporter in any way. When I run make install I really expect all the necessary files to be installed in the default location where the code expects to find them if I do no customization. I have not tried installing from the head, as I usually prefer to update only at release boundaries, so I can't say yet whether this problem is fixed by the latest changes. I was frankly quite surprised that make install didn't install the necessary pieces in 7.8.02. -Dave
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Jambunathan K kjambunat...@gmail.com writes: Dave Marquardt davem...@us.ibm.com writes: Bastien b...@altern.org writes: as the subject says. Please all test this heavily and report any problems. This will be part of Org 7.8 and soon in Emacs. Thanks a lot to Jambunathan for all this efforts, let's make sure everything is smooth before the release! I installed Org 7.8.02 by downloading the tarball, untarring it, running make, then make install install-info. When I run org-export-as-odt by C-c C-e o, I get this message: Cannot find factory styles file. Check package dir layout Setting debug-on-error, I get this traceback. Did the suggestions in the followup posts work for you? Could you please confirm. I haven't had time to check. I worked around the problem for now by installing the style files by hand. Debugger entered--Lisp error: (error Cannot find factory styles file. Check package dir layout) signal(error (Cannot find factory styles file. Check package dir layout)) error(Cannot find factory styles file. Check package dir layout) byte-code(दध\दन\थऩ Interesting to see Hindi here characters ... Must be your font, as they show up as something else here. -Dave
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Dave Marquardt davem...@us.ibm.com writes: Jambunathan K kjambunat...@gmail.com writes: Dave Marquardt davem...@us.ibm.com writes: Bastien b...@altern.org writes: as the subject says. Please all test this heavily and report any problems. This will be part of Org 7.8 and soon in Emacs. Thanks a lot to Jambunathan for all this efforts, let's make sure everything is smooth before the release! I installed Org 7.8.02 by downloading the tarball, untarring it, running make, then make install install-info. When I run org-export-as-odt by C-c C-e o, I get this message: Cannot find factory styles file. Check package dir layout Setting debug-on-error, I get this traceback. Did the suggestions in the followup posts work for you? Could you please confirm. I haven't had time to check. I worked around the problem for now by installing the style files by hand. I tried again with a clean /usr/local/share/emacs/site-lisp. I ran make all and make install install-info, and then tried to export a file to ODT. No change, same problem. I believe the problem is that the install target in the Makefile doesn't copy the style files to $(prefix)/share/emacs/etc/styles or $(prefix)/share/emacs/site-lisp/etc/styles as the code expects. -Dave
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Dave Marquardt davem...@us.ibm.com writes: Dave Marquardt davem...@us.ibm.com writes: Jambunathan K kjambunat...@gmail.com writes: Dave Marquardt davem...@us.ibm.com writes: Bastien b...@altern.org writes: as the subject says. Please all test this heavily and report any problems. This will be part of Org 7.8 and soon in Emacs. Thanks a lot to Jambunathan for all this efforts, let's make sure everything is smooth before the release! I installed Org 7.8.02 by downloading the tarball, untarring it, running make, then make install install-info. When I run org-export-as-odt by C-c C-e o, I get this message: Cannot find factory styles file. Check package dir layout Setting debug-on-error, I get this traceback. Did the suggestions in the followup posts work for you? Could you please confirm. I haven't had time to check. I worked around the problem for now by installing the style files by hand. I tried again with a clean /usr/local/share/emacs/site-lisp. I ran make all and make install install-info, and then tried to export a file to ODT. No change, same problem. I believe the problem is that the install target in the Makefile doesn't copy the style files to $(prefix)/share/emacs/etc/styles or $(prefix)/share/emacs/site-lisp/etc/styles as the code expects. I modified the Makefile to do what I expected. With this change, make install copies the style files to $(prefix)/share/emacs/etc/styles, and ODT export now works as expected. Here's a unified diff: --- Makefile~ 2011-12-15 02:37:30.0 -0600 +++ Makefile2011-12-15 11:02:57.054573287 -0600 @@ -19,6 +19,12 @@ # Where local lisp files go. lispdir = $(prefix)/share/emacs/site-lisp +# Where etc files go. +etcdir= $(prefix)/share/emacs/etc + +# Where style files go +stylesdir = $(etcdir)/styles + # Where info files go. infodir = $(prefix)/share/info @@ -175,6 +181,7 @@ CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf TEXIFILES = doc/org.texi INFOFILES = doc/org +STYLESFILES = etc/styles/OrgOdtContentTemplate.xml etc/styles/OrgOdtStyles.xml # Package Manager (ELPA) PKG_TAG = $(shell date +%Y%m%d) @@ -211,7 +218,7 @@ compile: $(ELCFILES0) $(ELCBFILES) -install: install-lisp +install: install-lisp install-etc doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgguide.pdf doc/orgcard.txt @@ -231,6 +238,10 @@ $(CP) $(INFOFILES) $(infodir) $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES) +install-etc: $(STYLESFILES) + if [ ! -d $(stylesdir) ]; then $(MKDIR) $(stylesdir); else true; fi ; + $(CP) $(STYLESFILES) $(stylesdir) + autoloads: lisp/org-install.el lisp/org-install.el: $(LISPFILES0) Makefile
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Bastien b...@altern.org writes: as the subject says. Please all test this heavily and report any problems. This will be part of Org 7.8 and soon in Emacs. Thanks a lot to Jambunathan for all this efforts, let's make sure everything is smooth before the release! I installed Org 7.8.02 by downloading the tarball, untarring it, running make, then make install install-info. When I run org-export-as-odt by C-c C-e o, I get this message: Cannot find factory styles file. Check package dir layout Setting debug-on-error, I get this traceback. Debugger entered--Lisp error: (error Cannot find factory styles file. Check package dir layout) signal(error (Cannot find factory styles file. Check package dir layout)) error(Cannot find factory styles file. Check package dir layout) byte-code(ÄÅ\ÄÆ\ÃÇ