[O] Bug: Org-mode don't export indented anchor to html [7.8.03]
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 http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. If you have a org code with a indented anchor like this: #+ <> ... [[My indented anchor]] Then org exports the link to html but don't the anchor, thus the link become nonfunctional in final document. Without indentation everything runs fine. However, it's necessary to indent anchors like that to reference specific list items, since without indentation the list will break off. Emacs : GNU Emacs 23.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-02-08 on felix-laptop Package: Org-mode version 7.8.03 current state: == (setq org-log-done nil org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("DOWNLOADING" :foreground "dark blue" :weight bold) ("ERROR" :foreground "red" :weight bold)) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-metaup-hook '(org-babel-load-in-session-maybe) org-footnote-section nil org-footnote-tag-for-non-org-mode-files nil org-after-todo-state-change-hook '(org-clock-out-if-current) org-footnote-fill-after-inline-note-extraction t org-footnote-auto-label 'plain org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-email-link-description-format "Email %c: %s" org-mode-hook '(turn-on-auto-fill turn-on-flyspell turn-on-font-lock #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-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-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-emphasis-regexp-components '(" ('\"{" "- .,:!?;'\")}\\" " \n,\"'" "." 2) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((src org-babel-exp-non-block-elements)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) ((_/)o o(\_)) Uns o chamam de super-vaca... `-'(. .)`-' Outros de hyper-touro... \_/ Eu o chamo simplesmente: meta-gnu!
[O] missing appointments
Hi, I use appt to connect desktop notifications to appointments in my agenda. However, the connection between the appointments and the notification system does not happen until I visit the agenda with, for example, "C-c a a", which I sometimes forget to invoke and I end up missing appointments. Trying to automate I created a short cut like this: emacs -f org-agenda-list my-main-org-file However, this seems to execute org-agenda-list before my-main-org-file has fully opened in its own buffer and I end up with the window split into two buffers: top one scratch and bottom one my-main-org-file, which is visually very annoying. It is completely mysterious to me the timing at which different actions take place within emacs and how to control and sequence them, like a 'wait' call. Is there a way to automatically execute org-agenda-list after my-main-org-file has fully finished opening in its buffer? Is it there some more streamlined way to connect agenda to notifications such that I would not need to explicitly enable them every time I open the file? thanks, Rodrigo
Re: [O] Using org-babel with Scheme
I am having both of these issues on Emacs 24. Emacs crashes sometimes on geiser and babel won't evaluate scheme code as Racket code despite setting 'scheme-program-name and 'org-babel-scheme-cmd to "racket". However, Guile will work if both of those variables hold "guile". Any new developments? On Wed, Feb 15, 2012 at 9:33 AM, Eric Schulte wrote: > Leo Alekseyev writes: > > > Is anyone on the list using a recent org-babel with Scheme? I > > recently started working through SICP, and I'm running into issues > > evaluating scheme src blocks. Org-babel error buffer pops up with > > "ERROR: Wrong number of arguments to #", > > and the minibuffer prompts me for a lisp expression. Is there > > anything I need to configure beyond (org-babel-do-load-languages > > 'org-babel-load-languages '((scheme . t)))? > > > > (Running latest org from git in Emacs 24; have Chicken scheme and > > guile installed). > > > > I loaded the ob-scheme.el directly (which should be the same as loading > it with org-babel-do-load-languages as above) and the following works > for me. > > #+begin_src scheme > (+ 1 1 1) > #+end_src > > #+RESULTS: > : 3 > > I have guile installed and I have the `scheme-program-name' variable set > to "guile elsewhere in my .emacs init. I imagine setting the above > variable should enable scheme evaluation. > > Best, > > while looking into this I did notice that when launching Geiser (a nice > slime-like scheme evaluator) I would sometimes crash my entire Emacs > process by pressing C-g when Geiser prompts for a scheme executable. I > imagine this is unrelated to your problem, but was certainly surprising. > > > > > --Leo > > > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > >
Re: [O] notifications for todo items
Peter Münster wrote: > Hi, > > I've written a module, that allows flexible notifications for todo items > with deadline: http://pmrb.free.fr/work/OS/org-notify.el > > Feedback is welcome! > I've only taken a quick glance, but the question that immediately came to my mind was: what does this do that appt.el (and its org interface) does not? Note that I don't know the answer: I just have the question :-) BTW, there are some FAQs that address such appointment things (check the "Appointments/Diary" section of the FAQ). Maybe you can take a look and then come back and tell us how your package stacks up. Thanks, Nick
Re: [O] [babel] Editing 'quote' source blocks in artist mode
Thorsten wrote: > > Hi list, > when I want to edit text inside a 'quote' source block, I find myself in > picture/artist mode with wild key rebindings, e.g.: > > ,--- > | RET (translated from ) runs the command artist-key-set-point, > | which is an interactive compiled Lisp function in `artist.el'. > | > | It is bound to RET. > | > | (artist-key-set-point &optional ARG) > | > | Set a point for the current shape. With optional ARG, set the last point. > `--- > > I don't think thats the intended behaviour? Shouldn't the edit buffer > rather be in fundamental mode or something like this? > To reproduce this: > > ,- > | | then inside the source block > | C-c ' > `- > > My system data: > "GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) > of 2012-02-07 on arch > Org-mode version 7.8.03 > Ma Gnus v0.2" > I can't reproduce it. Is C-c ' (still) bound to org-edit-special? C-h f org-edit-special RET says , | org-edit-special is an interactive Lisp function in `org.el'. | | (org-edit-special &optional ARG) | | Call a special editor for the stuff at point. | When at a table, call the formula editor with `org-table-edit-formulas'. | When at the first line of an src example, call `org-edit-src-code'. | When in an #+include line, visit the include file. Otherwise call | `ffap' to visit the file at point. ` and I get the ffap behavior in a quote block (not that that's particularly attractive either). Did you try it emacs -q? Maybe it's a customization of yours. Nick
[O] [babel] Editing 'quote' source blocks in artist mode
Hi list, when I want to edit text inside a 'quote' source block, I find myself in picture/artist mode with wild key rebindings, e.g.: ,--- | RET (translated from ) runs the command artist-key-set-point, | which is an interactive compiled Lisp function in `artist.el'. | | It is bound to RET. | | (artist-key-set-point &optional ARG) | | Set a point for the current shape. With optional ARG, set the last point. `--- I don't think thats the intended behaviour? Shouldn't the edit buffer rather be in fundamental mode or something like this? To reproduce this: ,- |
[O] notifications for todo items
Hi, I've written a module, that allows flexible notifications for todo items with deadline: http://pmrb.free.fr/work/OS/org-notify.el Feedback is welcome! -- Peter
Re: [O] patch for warning time (first baby sted)
On Sun, Feb 19 2012, Ivan Kanis wrote: > This patch implements warn time for org appt. It only works on emacs bzr > (the variable appt-warning-time-regexp appears in it). You need to add > the warntime in the text of the entry, like so : > > * doctor warntime 10 > <2012-02-19 10:00> If you change it to * TODO doctor DEADLINE: <2012-02-19 10:00> you can also use the org-notify module: http://pmrb.free.fr/work/OS/org-notify.el -- Peter
[O] [babel] [PATCH] enhanced org-babel-goto-named-src-block
Hi all, attached is a patch that enhances org-babel-goto-named-src-block (bound to C-c C-v g by default). Included are two enhancements: 1. the point is pushed to the org-mark-ring, such that returning with C-c & becomes possible 2. the target src block is guessed from a) noweb-reference b) #+call: c) #+results: d) symbol-at-point if one of these is found (in that order) - Andreas diff --git a/lisp/ob.el b/lisp/ob.el index f021943..9962817 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1457,13 +1457,35 @@ If the point is not on a source block then return nil." (defun org-babel-goto-named-src-block (name) "Go to a named source-code block." (interactive - (let ((completion-ignore-case t)) + (let ((completion-ignore-case t) + (under-point (thing-at-point 'line))) (list (org-icompleting-read "source-block name: " - (org-babel-src-block-names) nil t + (org-babel-src-block-names) + nil + t + (cond + ;; noweb + ((string-match (org-babel-noweb-wrap) under-point) + (let ((block-name (match-string 1 under-point))) + (string-match "[^(]*" block-name) + (match-string 0 block-name))) + ;; #+call: + ((string-match org-babel-lob-one-liner-regexp under-point) + (let ((source-info (car (org-babel-lob-get-info + (if (string-match "^\\([^\\[]+?\\)\\(\\[.*\\]\\)?(" source-info) + (let ((source-name (match-string 1 source-info))) + source-name + ;; #+results: + ((string-match (concat "#\\+" org-babel-results-keyword "\\:\s+\\([^\\(]*\\)") under-point) + (match-string 1 under-point)) + ;; symbol-at-point + ((and (thing-at-point 'symbol) )(org-babel-find-named-block (thing-at-point 'symbol)) + (thing-at-point 'symbol)) + ("")) (let ((point (org-babel-find-named-block name))) (if point ;; taken from `org-open-at-point' -(progn (goto-char point) (org-show-context)) +(progn (org-mark-ring-push) (goto-char point) (org-show-context)) (message "source-code block '%s' not found in this buffer" name (defun org-babel-find-named-block (name)
[O] Beamer confusion: environments are ignored
Still having Beamer problems. C-c C-e p is making the PDF at the end, but it's ignoring structural tags except for lists. I've pasted a simple example under my name. In the resulting .tex file, the code for both frames is identical, except for "sec" labels. The second frame contains Beamer environment properties while the first frame does not, so it looks like the block environments are not doing anything. For that matter, I just checked the tex file generated by Carsten's demo presentation in the org manual, and there's no evidence of the blocks at all. The only TeX environments that appear with \begin are {document}, {frame} and {itemize} -- but Carsten's demo uses: :PROPERTIES: :BEAMER_env: block :BEAMER_envargs: C[t] :BEAMER_col: 0.5 :END: ... :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :BEAMER_envargs: <2-> :END: ... :PROPERTIES: :BEAMER_env: block :END: ... and a :B_note: tag, which claims it "will be formatted as a beamer note" but it isn't. For my own short file, I would have assumed that I did something wrong, but that's less plausible for example code from the manual. So I suppose it must be an installation or configuration problem. Ideas? Tonight's experimentation is driven by the simple use case I mentioned before -- centering a paragraph (and eventually putting some extra space around it, but I can handle that later). E.g., - A bullet heading within the frame A free paragraph Centered text - Another bullet Am I on the right track by looking at blocks? Could somebody give me a quick example of how to do this, and I'll try to extrapolate to other uses? Thanks, James #+TITLE: beamer-blocks.org #+AUTHOR:dlm #+EMAIL: dlm@dlm-laptop #+DATE: 2012-02-22 Wed #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * A section ** A frame *** An item Some text, which I hope will become a block *** Another item Other text ** A second frame *** An item:B_alertblock: :PROPERTIES: :BEAMER_env: alertblock :END: Some text, which I hope will become a block *** Another item :B_normal: :PROPERTIES: :BEAMER_env: normal :END: Other text -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] can inline tasks export to latex via batch?
>> On Wed, 22 Feb 2012 00:52:06 +, Myles English said: > On 21 February 2012 18:18, Jambunathan K wrote: >>> Does anyone know if I can export inline tasks to latex using --batch >>> from bash? When passed as the --funcall option, org-export-as-ascii >>> will export inline tasks but org-export-as-latex-batch >>> won't. Setting file level options don't appear to help. >> Does your command line contain (require 'org-inlinetask)? > Thanks for the suggestion. That was indeed to problem, and typo of mine. For the record, this worked, and the "&&" seems to speed things up considerably: #+BEGIN_SRC sh :results verbatim echo "(require 'org-inlinetask)" > /home/myles/tmp/tstexp/afunc.el emacs --batch \ --load=$HOME/.emacs.d/plugins/org-mode/lisp/org.el \ --visit=~/tmp/tstexp/b.org \ --load=afunc.el \ --funcall org-export-as-latex-batch && cat ~/tmp/tstexp/b.tex #+END_SRC May be it is inconsistent that exporting inline tasks worked using org-export-as-ascii without the 'require' but org-export-as-latex-batch didn't. Consistency seems to crop up here every so often. But it works. Myles
Re: [O] Question: split up files for subprojects using taskjuggler-export (tj3)
Hi m...@dittmaridoo.de writes: > I am looking for a solution to split one project into sub-projects, so > I can distribute the project into sub-files as suggested here: > http://groups.google.com/group/taskjuggler-users/browse_thread/thread/a98489a0e343ddac The export of org-mode to taskjuggler can be taken pretty far and can handle big projects. It is meant for people comfortable with org-mode that like to work within org-mode. However not all concepts in org-mode for example have a corresponding concept in taskjuggler and vice versa. The exporter tries to bridge this mismatch in some cases and ignores others. So, what I'm saying is that if you want the full power of taskjuggler then by all means go for it (i.e. hack your stuff in it directly). If you want the convenience of org-mode then stay with it and try to organize the project within org-mode. IMHO using org-mode lessens the need to structure the projects into sub-files as org-mode is less verbose and inherently more structured. If you still would like to split you project some more I'd try to do something using (tj) include statements, e.g. defining them as your default reports. Hope that helps. Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland
Re: [O] agenda view for TODOs without deadline and a certain tag
Hi, · Renato wrote: > On Wed, 22 Feb 2012 09:30:07 +0100 > Thomas Holst wrote: [ ... snip ... ] >> >> listing todo items which are not scheduled and don't have a deadline >> works by setting >> >> #+begin_src emacs-lisp >> (setq org-agenda-custom-commands >> '(("T" "Testing" tags-todo >>"TODO="TODO"+SCHEDULED=\"\"+DEADLINE=\"\"" nil))) >> #+end_src >> >> But not when I try to do it interactive: >> >> C-c a m TODO="TODO"+SCHEDULED=""+DEADLINE="" >> >> lists all todo items even if they are sheduled or have a deadline. I >> also tried to escape the " or use "<>" but neither did work. > > mmh, not sure, it is working for me here even with C-c a m... I really > know nothing of elisp, but maybe it's something trivial like you > mispelled something, or the TODOs are not in your agenda files? maybe > try commenting stuff out of your .emacs... well I tested with a minimal setup - and it works. So it must be something in my setup. I try to invetigate further when I have some time. Sorry for the noise :-( -- Mit freundlichen Grüßen / Best regards Thomas
Re: [O] [BUG]? Constant-definition-lines in tables get exported.
Hello, Yu writes: > org-mode tables currently allow defining table-local constants in lines > marked with "$" (as described in the "Tables > Advanced Features" section > of the manual). This should be fixed now. Thank you for reporting this. Regards, -- Nicolas Goaziou
Re: [O] agenda view for TODOs without deadline and a certain tag
Hi, · Renato wrote: > On Tue, 21 Feb 2012 23:36:27 +0100 > Simon Thum wrote: > >> Hi Renato, >> >> one of my block agendas has >> (tags-todo "@work&TODO=\"TODO\"&SCHEDULED=\"\"&DEADLINE=\"\") >> >> i.e. lists todos which are tagged @work and aren't scheduled or >> deadlined. >> > > thank you very much Simon, I added this to my .emacs: > > (setq org-agenda-custom-commands >'(("T" tags-todo > "TODO=\"TODO\"+SCHEDULED=\"\"+DEADLINE=\"\"-play-computer|bug" ))) > > and now I have exactly what I wanted (and learned more than something > on custom agenda views and tag/properties matching). listing todo items which are not scheduled and don't have a deadline works by setting #+begin_src emacs-lisp (setq org-agenda-custom-commands '(("T" "Testing" tags-todo "TODO="TODO"+SCHEDULED=\"\"+DEADLINE=\"\"" nil))) #+end_src But not when I try to do it interactive: C-c a m TODO="TODO"+SCHEDULED=""+DEADLINE="" lists all todo items even if they are sheduled or have a deadline. I also tried to escape the " or use "<>" but neither did work. How would I achieve the same results as with the agenda custom command. -- Mit freundlichen Grüßen / Best regards Thomas
Re: [O] #+html in footnote?
i.e. it is an issue with browse-url.
Re: [O] #+html in footnote?
Sorry for the noise. It just doesn't show videos when I have a browser display from a file for some reason. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
[O] #+html in footnote?
Is there a way to get this to work? A: That was for the ratings.[fn::For scholarly purposes: #+html: http://www.youtube.com/embed/...?rel=0"; frameborder="0" allowfullscreen> ] -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
Re: [O] Beamer export: upgrade problem, and basic questions
James Harkins wrote: > At Tue, 21 Feb 2012 10:21:51 -0500, > Nick Dokos wrote: > > > Does anyone have a comprehensive list of all ubuntu packages that are > > > required for beamer to work with org 7.8.03? > > > > > > > Check > > > > http://orgmode.org/worg/org-dependencies.html > > > > It's out of date, but maybe it's still useful. > > :) Actually I already had all the mentioned packages installed. > > Fortunately "wasysym" is in the description of ubuntu's > texlive-fonts-recommended package, so I found it that way. > > And... success! > > So, at least texlive-fonts-recommended should be added to the > dependencies page. I haven't checked for tex* packages that I > installed but which aren't on that page. > That was present in the "standard classes" section but not in the beamer section (which was completely empty :-( ). I worked on the file a bit to bring it up to date (at least in some respects): the "standard classes" now include beamer, and I checked the default list of packages to make sure everything needed is present. I added a new section on code blocks, the "listings" package and the "minted" package. But there is still a lot of work to be done. If you have suggestions for improvements, let me know (or better yet: clone the worg repository and start making changes!) Nick