[O] Org table: reuse formula in non-rectangular range
Greetings. I have a situation where I need to use the same table formula all over the place in a table. The problem is that "all over the place" is not rectangular - if it were, this would be trivial. I can see two possible solutions, but I don't know if either of them is possible in Org. 1. A non-rectangular range on the left hand side of a formula. This would be the best choice if it were available. 2. The possibility to create a shorthand (macro) for the formula so that it would be easier to reuse the formula in a large number of rectangular ranges. Is either of these feasible? Jarmo
Re: [O] Bug: Beamer export error
Rasmus writes: > It should be fixed by commit 323fc95b4. Thank you very much, seems to be in order again. Jarmo
[O] org-publish an org-mode outline
I may be overlooking something simple here, but I'm having a problem with org-publish. When I try to publish a page containing something like this (minimal example): #+BEGIN_EXAMPLE * top ** level 2 *** level 3 #+END_EXAMPLE what happens is that 'top' etc. get interpreted as section markers (the 'example' seems to be overlooked). To get it to be an actual code example I have to indent the * to make the line a non-headline, " * top" instead of "* top" for instance. What kind of dumb mistake am I making? I've been using org-publish for a while but all my code samples so far haven't included org-mode headlines. Mahalo in advance. -- Bob Newell Honolulu, Hawai`i * Via Gnus/BBDB/Org/Emacs/Linux *
Re: [O] Tracking Interruptions -- Work Flow Question
Raymond Zeitler writes: > Does anyone schedule and "org-clock" interruptions? I really need to > quantify how much of a drain they are to my productivity. > > I thought I'd include a generic "** TODO Interruption" in my todo.org (or an > inter.org file) and schedule it every day. Then I'd press "I" every time I > get interrupted and perhaps tag it with a special term. > > Or I suppose I could use a capture template just for interruptions. > > What do you suggest? Seems to me the danger of interruptions is not how much time they take up, but how much time it takes you to recover from them, and get back to work. Much harder to clock!
[O] Bug: Latex math mode not set in footnotes [9.0.9 (9.0.9-68-g492420-elpa @ /Home/ps/.emacs.d/elpa/org/)]
Hello, Latex math mode is not set in a footnote when exporting an org file to tex or pdf. Below and attached is a simple example. Thanks ---cut here-- * Example When exporting to pdf math $\hat{x}$ is okay in the main text but not in this footnote.[fn:footnote_1: Math $\hat{x}$.] ---cut here-- Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.23) of 2015-08-26 on localhost.localdomain Package: Org mode version 9.0.9 (9.0.9-68-g492420-elpa @ /Home/ps/.emacs.d/elpa/org/) current state: == (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5 "\n\n(fn)"] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5 "\n\n(fn)"] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("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) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path ("https" :follow (lambda (path) (browse-url (concat "https:" path ("mailto" :follow (lambda (path) (browse-url (concat "mailto:"; path ("message" :follow (lambda (path) (browse-url (concat "message:" path ("news" :follow (lambda (path) (browse-url (concat "news:"; path ("shell" :follow org--open-shell-link)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) bug.org Description: Lotus Organizer
[O] EXPORT_HTML_HEAD Issue
In the properties of a subtree, I have several :EXPORT_HTML_HEAD: lines. When I export to HTML, only the first of the lines exports to the header. I can get two lines to export to the header by using :EXPORT_HTML_HEAD: followed by a :EXPORT_HTML_HEAD_EXTRA: line, but I need more than two such lines. This behavior does not happen when I have several #+HTML_HEAD: lines the document. What is going on? Using Org 9.0.3. Scott Randby -- Scott Randby sran...@gmail.com http://srandby.org/ PGP key ID: 0xF2D38A63 Key server: http://pool.sks-keyservers.net/ Key fingerprint: 5418 123E DCD3 7DA0 1770 0BDE 301E E657 F2D3 8A63
Re: [O] org-babel-expand-src-block behavior
On Sat, Aug 12, 2017 at 12:52 PM, Nicolas Goaziou wrote: > > Ken Mankoff writes: > > > and second, if I make changes and then exit the expanded block > > (via C-') without saving, the changes are lost. If I enter > > =org-edit-special= and exit w/o saving, the changes are propagated > > back to the buffer. > > I don't understand. "C-c '" is `org-edit-special'. "C-'" is > `org-cycle-agenda-files'. > Typo. I meant C-c '. > If you use "C-c '", make changes to the remote editing buffer and exit > with "C-c '", changes are propagated to the source buffer. Remote > editing is just a convenient way to edit another part of the same > buffer. > OK. I think I have a slightly different workflow, or desired workflow. I often *run* code in the org-edit-special buffer. I find it is useful to debug and evaluate there as I develop it, have the Python or other REPL (using session) also available, etc. Then when the development matures, save changes to the source buffer and evaluate it from there in the future. This works, but not if I'm debugging something with a variable. I got excited when I discovered org-babel-expand-src-block because now I can more easily debug code with input variables. But apparently this is not the purpose of that function, since a) the buffer is read-only and b) if read-only mode is changed, the changes are not always sent back to the primary buffer. Is there a way to get variables into org-edit-special? Maybe by pre-pending C-u to C-c '? How do others debug code with input variables? Would others like this enough to make it a feature request? Thanks, -k.
Re: [O] Escaping links
I was thinking of something like how all PDF files start with something like %PDF-1.3. So any string that started with %org-9.0, for example would be certain to be encoded, whereas any other beginning would not be certain. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> Could you put some magic at the beginning of the string that indicates it >> is encoded? > > I don't know. Could you elaborate a bit? > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] org-babel-expand-src-block behavior
Hello, Ken Mankoff writes: > Hi, > > I've just learned about =org-babel-expand-src-block= (from [1]) which seems > like an improvement over =org-edit-special=, because variables are expanded. > > But I notice two issues with it, and I'm wondering if these are intentional > or bugs, or if there are work-arounds. > > First, the buffer is read-only It is a feature. It doesn't correspond to the contents of the block. It is used to check what is really evaluated. > (which someone else claims is a bug [2]), IIUC, the bug is about "However if the block contains a noweb reference then the code is not expanded when sent to the shell and causes syntax error" and not about the read-onlyness of the buffer. FWIW, I cannot reproduce the bug above. > and second, if I make changes and then exit the expanded block > (via C-') without saving, the changes are lost. If I enter > =org-edit-special= and exit w/o saving, the changes are propagated > back to the buffer. I don't understand. "C-c '" is `org-edit-special'. "C-'" is `org-cycle-agenda-files'. If you use "C-c '", make changes to the remote editing buffer and exit with "C-c '", changes are propagated to the source buffer. Remote editing is just a convenient way to edit another part of the same buffer. Regards, -- Nicolas Goaziou
Re: [O] Escaping links
Hello, John Kitchin writes: > Could you put some magic at the beginning of the string that indicates it > is encoded? I don't know. Could you elaborate a bit? Regards, -- Nicolas Goaziou0x80A93738