Re: [O] org+cua "C-c ;" on selected region
Hi, On 5 Jul 2011, Martin Gross wrote: > When the cua-mode is enabled and I try to select a region to comment > it via "C-c ;" the selection is just copied, but not commented. With > auctex-mode I use "C-c C-c ;" to do this and it works well. ¿How can > I get the same behavior on org-mode? The canonical version is using "M-;" which is bound to `comment-dwim' and it works across all emacs modes not just in LaTeX-mode. Michael pgpHP1Tgel2GQ.pgp Description: PGP signature
[O] org+cua "C-c ;" on selected region
Hello I am sorry if this has been answered before, but my google research was not very successful. When the cua-mode is enabled and I try to select a region to comment it via "C-c ;" the selection is just copied, but not commented. With auctex-mode I use "C-c C-c ;" to do this and it works well. ¿How can I get the same behavior on org-mode? Thank you very much in advance! Martin
[O] Conditional Inclusion
I'm trying to produce two slightly different PDF versions from the same document. I want to be able to conditionally include a few LaTeX_HEADER lines when I publish an Org file. I need to do it in a way I can control from the command line when I run the export in batch mode. So I need to either enable the lines with some eval-ed lisp on the emacs command line, or with an environment variable. Thoughts on the best way to go about this? -- Avdi Grimm http://avdi.org
[O] Link to original Org file with batch mode, a follow-up
Il giorno 04/lug/2011, alle ore 06:58, Giorgio Valoti ha scritto: > Hi, > when I try to tangle files in batch mode, using a command like this: > > emacs -batch ~/Developer/PROJECTS/gmp/project.org --eval="(org-babel-tangle)" > > the resulting files do not have links to the original file, i.e.: > > > > while if I tangle from emacs I get this, as expected: > > > > Is there a way to generate links in batch mode? Or perhaps should I use a > different way to invoke tangling from the command line? While looking at this, I discovered that :comments no web option does not work IDs, but only with paths, i.e. with this file: # [[file:~/Desktop/org-links-test.org::*A%20section][A-section:1]] ls -la # A-section:1 ends here (org-babel-detangle) works but not with this: # [[id:5E3B176A-50C7-4DC3-A54F-D769000D8D8A][A-section:1]] ls -la # A-section:1 ends here Also, (org-babel-detangle) does not seem to work with nested blocks: #! /bin/bash # [[file:~/Desktop/org-links-test.org::*Main%20block][main-block]] # [[file:~/Desktop/org-links-test.org::*Block%201][block1]] echo 'this is the first block!' # block1 ends here # [[file:~/Desktop/org-links-test.org::*Block%202][block2]] echo 'the second block!' # block2 ends here # main-block ends here generated from this file: * Detangling nested block ** Block 1 #+srcname: block1 #+begin_src sh echo 'this is the first block' #+end_src ** Block 2 #+srcname: block2 #+begin_src sh echo 'the second block' #+end_src ** Main block #+srcname: main-block #+begin_src sh :comments noweb :noweb yes :tangle script2.sh :shebang #! /bin/bash <> <> #+end_src Hope this helps Ciao -- Giorgio Valoti
[O] Org Mode dedicated app on OS X
Hi, I'm just beginning to use org-mode on OS X. I'm in a terminal a lot, and in Aquamacs Emacs a lot too, but not all the time. To make it easier to use org-mode, I would like to give it a dedicated app with the org-mode icon (unicorn) in the dock. Is there a way to do this? Fluid.app is a single site browser (SSB) that sort of turns web pages into desktop apps. I would like something similar for Emacs. I think one way might be to make a copy of Aquamacs Emacs, change the icon, and then edit the "info.plist" or some internal file so that when it launches it launches directly into org-mode, loading some keystrokes to my default view. Has anyone else done something similar? Is anyone else interested in something like this? Any suggestions how to go about doing it? Thanks, -k.
Re: [O] Calendar-like view of the org-agenda
> https://github.com/kiwanami/emacs-calfw Wow, this is really cool! I wonder if the author subscribes to this list? Some collaboration between the two projects would be cool, this look very promising. M> On Mon, Jul 4, 2011 at 12:01 PM, Michael Markert < markert.mich...@googlemail.com> wrote: > On 4 Jul 2011, Kan-Ru Chen wrote: > > > Michael Markert writes: > > > >> On 1 Jul 2011, Bastien wrote: > >> > >>> PS: there are definitely nice things in Taskwarrior I would love to > >>> see integrated in Org. Let's continue brainstorming about this. > >> > >> I don't know if Taskwarrior features that, but I'd like to see a > >> time-table like week-view with correct (maybe color coded) time > >> ranges. Since I'm a student I've got lots of recurring lectures and > >> it would be nice to have a nice overview. > >> > >> To give an example: The way Google Calendar displays it fulfills my > >> need, but I don't like feeding my appointments to Google. > > > > I just find this emacs-calfw project today. > > > > https://github.com/kiwanami/emacs-calfw > > > > It looks very interesting and supports org! > > Indeed. Not quite what I was looking for but interesting nonetheless. > > What I miss: > - It lacks some org support (e.g. org-contacts anniversaries -- they > look horrible) > - a week view > - a time grid > > It basically is a M-x calendar in "usable", i.e. you can see what is > scheduled on those days. > > Michael >
Re: [O] Move to item to the bottom
I definitely need to get my head around elisp. Thank you very much. On Sun, Jul 3, 2011 at 4:39 AM, Nicolas Goaziou wrote: > Hello, > > Marcelo de Moraes Serpa writes: > > > Nicolas, the function works quite well! Thanks. Just one last request: > Is > > it possible to not follow the item until the bottom? The issue is that, > once > > running it and when the item is sent to the bottom of the file, the > pointer > > is also put there and the buffer scrolls down with it. > > > Sure, it's simple as packing it into a (save-excursion ...) > > #+begin_src emacs-lisp > (defun ngz-move-headline-at-bottom () > "Move current headline to the last position in the same tree" > (interactive) > (unless (org-at-heading-p) (error "Not at an headline")) > (save-excursion (while (ignore-errors (org-move-subtree-down) > #+end_src > > Regards, > > -- > Nicolas Goaziou >
Re: [O] Makefile patch to show targets
Jude DaShiell wrote: > + # describe valid make targets for org-mode. I'm not sure it's worth documenting them all[fn:1], but "default" (what happens with a plain make) and "info" (and maybe "pdf" and "card") seem worth documenting too. Nick Footnotes: [fn:1] Here's what grep '^[-a-zA-Z0-9]*:' Makefile found: default: $(ELCFILES) $(ELCBFILES) all:$(ELCFILES) $(ELCBFILES) $(INFOFILES) up2:update update: compile: $(ELCFILES0) $(ELCBFILES) install: install-lisp doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgguide.pdf doc/orgcard.txt p: g: install-lisp: $(LISPFILES) $(ELCFILES) install-info: $(INFOFILES) install-info-debian: $(INFOFILES) autoloads: lisp/org-install.el html: doc/org.html info: doc/org pdf:doc/org.pdf doc/orgguide.pdf card: doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgcard.txt testrelease: release: fixrelease: relup: makerelease: distfile: pkg: cleanall: clean: cleancontrib: cleanelc: cleandoc: cleanrel: push: pushtag: pushreleasetag:
Re: [O] Links in tables and LaTeX export
Thomas S. Dye wrote: > Aloha all, > > Links in tables have changed recently. > > I have this link definition: > > #+source: define-citep-link > #+begin_src emacs-lisp :results silent > (org-add-link-type > "citep" 'ebib > (lambda (path desc format) >(cond > ((eq format 'html) > (format "(%s)" path)) > ((eq format 'latex) > (if (or (not desc) (equal 0 (search "citep:" desc))) >(format "\\citep{%s}" path) >(format "\\citep[%s]{%s}" desc path) > ) > #+end_src > > Links outside of a table export correctly: > > [[citep:wagner90][598]] exports to \citep[598]{wagner} > > Inside a table the same link exports like this: > > [[citep:wagner90]\footnote{DEFINITION NOT FOUND: 598}] > > I'm using Org-mode version 7.5 (release_7.5.566.g8d45). > Reproduced and bisected it to the following commit: , | ab9c52fd7911763a903a3d673dce2876ada9e551 is the first bad commit | commit ab9c52fd7911763a903a3d673dce2876ada9e551 | Author: Nicolas Goaziou | Date: Wed May 11 18:02:15 2011 +0200 | | Improve footnotes handling in exporters | | * lisp/org-exp.el (org-export-footnotes-markers, | org-export-footnotes-data): new variables. | (org-export-preprocess-string): use a more explicit argument. | | * lisp/org-html.el (org-export-as-html): initialize new variables. | | * lisp/org-docbook.el (org-export-as-docbook): initialize new variables. | | * lisp/org-latex.el (org-export-latex-footmark-seen): new variable. | (org-export-as-latex): initialize new variables. | (org-export-latex-preprocess): allow to export two or more footnotes | in a row. Also permit to have footnotes refering to previously | defined footnotes. | | * lisp/org-ascii.el (org-export-as-ascii): feed org-footnote-normalize | with data so it can normalize footnotes before first headline, or | footnotes with their definition outside exported region. | | :04 04 1fb022cb1d6f845963e80eeb3e165b77c0371f14 9233dfeee6e7889cc389181aaa6995b381fc49c6 Mlisp ` Nick
[O] Links in tables and LaTeX export
Aloha all, Links in tables have changed recently. I have this link definition: #+source: define-citep-link #+begin_src emacs-lisp :results silent (org-add-link-type "citep" 'ebib (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (if (or (not desc) (equal 0 (search "citep:" desc))) (format "\\citep{%s}" path) (format "\\citep[%s]{%s}" desc path) ) #+end_src Links outside of a table export correctly: [[citep:wagner90][598]] exports to \citep[598]{wagner} Inside a table the same link exports like this: [[citep:wagner90]\footnote{DEFINITION NOT FOUND: 598}] I'm using Org-mode version 7.5 (release_7.5.566.g8d45). All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [dev] footnotes improvements
Hi Nicolas, On 2011-06-30, Nicolas Goaziou wrote: > I think I have corrected a few glitches with font locking of inline > footnotes. Your "a lot" makes me think it isn't enough yet, though... They are really good now. There was an interaction with comments and different extents were colored within inline footnotes. The first is fixed. The second is either very infrequent or fixed. Single letters in normal text sometimes display the footnote face, more around footnotes than in other places, but I have seen this type of thing in other contexts than footnotes. Sometimes simply the arrow key changes the face. I doubt it's worth trying to fix them unless you know the display code. Also, this isn't a glitch, but I wonder if it makes sense to turn off mouse hover for inline definitions (not calls). Clicking merely goes to the beginning, removing the ability to place point. Also, did we already talk about emphasis and link coloring and reject them? These fixes are great. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com I support the Whittemore-Peterson Institute (WPI) === Bigotry against people with serious diseases is still bigotry.
[O] bug: footnotes do not export to HTML
I find that in recent git org, footnotes do not export to HTML. The calls export, but the footnotes do not. So far I have been able to determine that e01e160 works (.el). It is before the recent footnote fixes, but I don't know yet whether they are related. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com I support the Whittemore-Peterson Institute (WPI) === Bigotry against people with serious diseases is still bigotry.
Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'
Aloha Frederik, Welcome to Org-mode. One way to use \enquote in your LaTeX export is described here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 [[latex:enquote][Das ist ein Test]] will export as \enquote{Das ist ein Test}. hth, Tom Frederik writes: > Hi there! > > I just started using org-mode - what a fantastic piece of software! > > Now I wonder how to make use of one of the best LaTeX-packages out > there: `csquotes'. I figured out how to include the package in the > header by altering the corresponding variable, but I didn't find any > hint how to make use of the `\enquote' command provided by `csquotes'. > > I don't want my quotes to be quoted like this: > ``Das ist ein Test'' > but like this: > \enquote{Das ist ein Test} > > I searched the web and found some feature requests on this list > concerning `csquotes' but the documentation and worg don't mention > this topic - except for http://orgmode.org/worg/org-faq.html where > csquotes' is included in a source code listing, but there is no > further explanation. > > Is there a way to use `csquotes'? > > Any hints would be appreciated - Thanks & regards -- Thomas S. Dye http://www.tsdye.com
Re: [O] Compiler warnings on current HEAD
Hi Achim, Achim Gratz writes: > I confirm both fixes and the current HEAD is compiling without any > warnings. Thanks for confirming! -- Bastien
[O] Makefile patch to show targets
Only in ./b/: 1 Only in ./b/: 2 diff -c ./a//Makefile ./b//Makefile *** ./a//Makefile 2011-07-03 11:06:04.0 -0400 --- ./b//Makefile 2011-07-04 18:02:29.0 -0400 *** *** 513,515 --- 513,527 lisp/org-w3m.elc: lisp/org.el lisp/org-wl.elc: lisp/org.el lisp/org-xoxo.elc:lisp/org-exp.el + # describe valid make targets for org-mode. + targets help: + @echo "make all - compile org lisp and documentation" + @echo "make install - install org" + @echo "make install-lisp - install org-mode lisp files" + @echo "make install-info - install org info file" + @echo "make install-info-debian - install info on old debian systems" + @echo "newer debian systems use ginstall" + @echo "make update - start org-mode update process with git pull" + @echo "make up2 - finish update to org on local system" + @echo "make compile - compile lisp files" + @echo "make doc - make documentation"
Re: [O] [Babel] Language Mode Error Stops Tangling Process, Fix Attached
aditya siram writes: > Hi all, > I was running into an issue where "lua-mode" would throw an error that > stopped "org-babel-tangle" function in "ob-tangle.el". I have patched > "org-babel-tangle" to ignore errors thrown by invoking any language's > mode. The patch is attached. > > -deech > Hi Deech, Thanks for the patch, I just applied a slightly fixed version. Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Portability
Ista Zahn writes: > Hi all, > Over the past couple of days I've been happily tweaking my org-mode > settings. At one point something happened that gave me great pause. I > forgot to load a function that adds an APA style LaTeX export (using > apa6e.cls) to my org-export-latex-classes Alist. So of course when I > tried to export using that class it did not work. This made me realize > that my .org document depended on my .emacs file for export! This > strikes me as a very bad thing because if I want others to be able to > use my .org document I have to distribute (at least the relevant parts > of) my .emacs along with it. > > So all this got me thinking that perhaps setting up lots of > complicated org-mode related stuff in my .emacs is a bad idea, and > that perhaps I should use a template to do the setup in each .org > file. > > Please share any tips or suggestions you have related to this. What do > you do? How well does it work? What suggestions do you have for > someone just starting out with org-mode? > > Thanks! > I find that file-local-variables can be a convenient and portable way to include the relevant Org-mode configuration in the actual org-mode file itself. See [1], specifically the second longer form which can be placed at the end of a file. I've used this to specify custom latex classes, as well as change default export options. Best -- Eric Footnotes: [1] http://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] [Babel] Language Mode Error Stops Tangling Process, Fix Attached
Hi all, I was running into an issue where "lua-mode" would throw an error that stopped "org-babel-tangle" function in "ob-tangle.el". I have patched "org-babel-tangle" to ignore errors thrown by invoking any language's mode. The patch is attached. -deech From 2093523c672b83d53d9eca3680cb10682784dfaf Mon Sep 17 00:00:00 2001 From: Deech Date: Mon, 4 Jul 2011 14:42:03 -0500 Subject: [PATCH 2/2] Ignore errors when launching a language's mode when tangling a source block. The lua-mode for instance was throwing errors that killed the tangling process. --- lisp/ob-tangle.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el index 723fba1..5acacc2 100644 --- a/lisp/ob-tangle.el +++ b/lisp/ob-tangle.el @@ -230,7 +230,7 @@ exported source code blocks by language." (delete-file file-name)) ;; drop source-block to file (with-temp-buffer - (when (fboundp lang-f) (ignore-errors (message "hello") (funcall lang-f))) + (when (fboundp lang-f) (ignore-errors (funcall lang-f))) (when (and she-bang (not (member file-name she-banged))) (insert (concat she-bang "\n")) (setq she-banged (cons file-name she-banged))) -- 1.7.4.1
[O] Portability
Hi all, Over the past couple of days I've been happily tweaking my org-mode settings. At one point something happened that gave me great pause. I forgot to load a function that adds an APA style LaTeX export (using apa6e.cls) to my org-export-latex-classes Alist. So of course when I tried to export using that class it did not work. This made me realize that my .org document depended on my .emacs file for export! This strikes me as a very bad thing because if I want others to be able to use my .org document I have to distribute (at least the relevant parts of) my .emacs along with it. So all this got me thinking that perhaps setting up lots of complicated org-mode related stuff in my .emacs is a bad idea, and that perhaps I should use a template to do the setup in each .org file. Please share any tips or suggestions you have related to this. What do you do? How well does it work? What suggestions do you have for someone just starting out with org-mode? Thanks! -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org
Re: [O] org-mobile setup: org-mobile-push not copying my org files?
Vinh Nguyen writes: Hi Vinh, > I'm having trouble setting up org-mobile in emacs for use with > MobileOrg on Android. I have the following in my init file: > > ;; org-mode OrgMobile > (setq org-directory "~/Documents/Org") ;; my folder is empty Why is that folder empty? > (setq org-mobile-directory "~/Dropbox/MobileOrg") > (setq org-mobile-inbox-for-pull "~/Documents/Org/notes.org") > > In ~/Documents/Org, I have a file notes.org that contain my notes. I think it's preferrable to use an org file you don't use otherwise as inbox. When pulling from MobileOrg, all notes you caputed on your phone will go there so that you can refile them. > When I call org-mobile-push, only 4 files get created in > ~/Dropbox/MobileOrg: agendas.org, checksum.dat, index.org, and > mobileorg.org. The latter is where MobileOrg puts its changes in. > Based on my understanding, ~/Documents/Org/notes.org should be copied > to ~/Dropbox/MobileOrg/, and a link to notes.org should be created in > index.org. However, this does not happen. Am I not configuring > things correctly or am I misunderstanding how to use org-mobile? > > I also tried setting: > (setq org-mobile-files (quote "notes.org")) > > but this does not work either. The default value is (org-agenda-files), so it should push all your org files to `org-mobile-directory'. What does C-x C-e after the closing paren above return? My settings are (setq org-mobile-directory "~/Desktop/Dropbox/MobileOrg") (setq org-mobile-inbox-for-pull "~/repos/org/from-org-mobile.org") which work pretty well. Bye, Tassilo
Re: [O] [babel] python sessions
Andrea Crotti writes: > Eric Schulte writes: > >> >> From what I hear the situation should improve in Emacs24, as there is a >> ground up re-write which should contain much of the functionality of >> python-mode.el with the Emacs-amenable license of python.el. >> > > Nice to know, I use python-mode.el and emacs24, but I would vote for a > merge :) > >> >> The eoe string will only even appear in session output when there is no >> other result returned by the code block. I've just pushed up a small >> change which should fix this situation. >> >> The eoe will never appear in tangled code as it is part of the >> interactive session evaluation. >> >> Best -- Eric > > I think the last patch created some problems, now it often (but not > always and I can't get why) when I execute the source block, and still I > can't make it work the previous example that I posted... > I don't understand. What do python code blocks often do after application of the new patch? Using this attached minimal emacs configuration [1] I was able to evaluate the code blocks in this simple org-mode file [2] starting Emacs with the following. : emacs -Q -l minimal.el short.org Perhaps your problems are related to use of python-mode.el? Best -- Eric Footnotes: [1] minimal.el minimal.el Description: application/emacs-lisp [2] short.org #+begin_src python :session :results output def var(x): return float(x ** 2) #+end_src #+results: #+begin_src python :session :result value def var2(x): return x ** 2 * var(x) var2(10) #+end_src #+results: : 1.0 -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Compiler warnings on current HEAD
Bastien writes: > Hi Achim, Eric, > > Bastien writes: > >>> In end of data: >>> ob-ref.el:265:1:Warning: the following functions are not known to be >>> defined: >>> org-id-find-id-in-file, org-show-context >> >> Eric, could you fix those? > > I just pushed this fix: > > > http://orgmode.org/w/?p=org-mode.git;a=commit;h=b9af1d0cd518f5617103100545868a9b42e97b76 > > Best, Looks great, thanks for taking care of this -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Achim Gratz writes: > Eric S Fraga writes: >> That's the problem with deadlines... :( > > "I love deadlines. I like the whooshing sound they make as they fly by." > (Douglas N. Adams) ;-) for me, the problem is the *thud* they make when they hit the ground behind me... -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.568.g9f056)
[O] LaTex export: How to use `csquotes' and `\enquote{}'
Hi there! I just started using org-mode - what a fantastic piece of software! Now I wonder how to make use of one of the best LaTeX-packages out there: `csquotes'. I figured out how to include the package in the header by altering the corresponding variable, but I didn't find any hint how to make use of the `\enquote' command provided by `csquotes'. I don't want my quotes to be quoted like this: ``Das ist ein Test'' but like this: \enquote{Das ist ein Test} I searched the web and found some feature requests on this list concerning `csquotes' but the documentation and worg don't mention this topic - except for http://orgmode.org/worg/org-faq.html where `csquotes' is included in a source code listing, but there is no further explanation. Is there a way to use `csquotes'? Any hints would be appreciated - Thanks & regards -- Frederik
[O] org-mobile setup: org-mobile-push not copying my org files?
Dear list, I'm having trouble setting up org-mobile in emacs for use with MobileOrg on Android. I have the following in my init file: ;; org-mode OrgMobile (setq org-directory "~/Documents/Org") ;; my folder is empty (setq org-mobile-directory "~/Dropbox/MobileOrg") (setq org-mobile-inbox-for-pull "~/Documents/Org/notes.org") In ~/Documents/Org, I have a file notes.org that contain my notes. When I call org-mobile-push, only 4 files get created in ~ /Dropbox/MobileOrg: agendas.org, checksum.dat, index.org, and mobileorg.org. Based on my understanding, ~/Documents/Org/notes.org should be copied to ~/Dropbox/MobileOrg/, and a link to notes.org should be created in index.org. However, this does not happen. Am I not configuring things correctly or am I misunderstanding how to use org-mobile? I also tried setting: (setq org-mobile-files (quote "notes.org")) but this does not work either. Thanks for your help. -- Vinh
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Eric S Fraga writes: > That's the problem with deadlines... :( "I love deadlines. I like the whooshing sound they make as they fly by." (Douglas N. Adams) Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
Re: [O] Calendar-like view of the org-agenda
On 4 Jul 2011, Kan-Ru Chen wrote: > Michael Markert writes: > >> On 1 Jul 2011, Bastien wrote: >> >>> PS: there are definitely nice things in Taskwarrior I would love to >>> see integrated in Org. Let's continue brainstorming about this. >> >> I don't know if Taskwarrior features that, but I'd like to see a >> time-table like week-view with correct (maybe color coded) time >> ranges. Since I'm a student I've got lots of recurring lectures and >> it would be nice to have a nice overview. >> >> To give an example: The way Google Calendar displays it fulfills my >> need, but I don't like feeding my appointments to Google. > > I just find this emacs-calfw project today. > > https://github.com/kiwanami/emacs-calfw > > It looks very interesting and supports org! Indeed. Not quite what I was looking for but interesting nonetheless. What I miss: - It lacks some org support (e.g. org-contacts anniversaries -- they look horrible) - a week view - a time grid It basically is a M-x calendar in "usable", i.e. you can see what is scheduled on those days. Michael pgper4tpwyw78.pgp Description: PGP signature
Re: [O] Compiler warnings on current HEAD
I confirm both fixes and the current HEAD is compiling without any warnings. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
[O] working with delimited files
I sometimes work with files looking like this BEL EQ 13-Jan-2006 978.85 988.9 1050 983 1025 1024.5 1025.94 27 2838.429191 BEL EQ 16-Jan-2006 1024.5 1030 1043 1001.5 1003.5 1008.65 1027.02 72409 743.655 BEL EQ 17-Jan-2006 1008.65 1010 1030 985.1 993.75 989.95 1013.83 102589 1040.07 BEL EQ 18-Jan-2006 989.95 984 1006.8 963.6 1002.15 999.45 990.75 94266 933.9413 When I have a few thousand rows like this, this becomes difficult to read, so I tend to a) M-x org-mode b) C-x h followed by C-c | This makes it easier to read as you can see below | BEL | EQ | 02-Jan-2006 | 993.15 | 998 |1001 | 983 |.. | BEL | EQ | 03-Jan-2006 | 989.05 | 999.5 |1000 | 989.9 |.. | BEL | EQ | 04-Jan-2006 | 994.35 | 998 |1014 | 986.15 |.. How do I use the overlay for editing but keep the underlying file structure? If I do an C-C C-e, I get unnecessary headers and the fields are tabbed out and I have to save it as a different file. Ideally, I'd like to keep the file structure as it is and just use org-mode to provide viewing structure while editing. sivaram --
[O] working with delimited files
I sometimes work with files looking like this BEL EQ 13-Jan-2006 978.85 988.9 1050 983 1025 1024.5 1025.94 27 2838.429191 BEL EQ 16-Jan-2006 1024.5 1030 1043 1001.5 1003.5 1008.65 1027.02 72409 743.655 BEL EQ 17-Jan-2006 1008.65 1010 1030 985.1 993.75 989.95 1013.83 102589 1040.07 BEL EQ 18-Jan-2006 989.95 984 1006.8 963.6 1002.15 999.45 990.75 94266 933.9413 When I have a few thousand rows like this, this becomes difficult to read, so I tend to a) M-x org-mode b) C-x h followed by C-c | This makes it easier to read as you can see below | BEL | EQ | 02-Jan-2006 | 993.15 | 998 |1001 | 983 |.. | BEL | EQ | 03-Jan-2006 | 989.05 | 999.5 |1000 | 989.9 |.. | BEL | EQ | 04-Jan-2006 | 994.35 | 998 |1014 | 986.15 |.. How do I use the overlay for editing but keep the underlying file structure? If I do an C-C C-e, I get unnecessary headers and the fields are tabbed out and I have to save it as a different file. Ideally, I'd like to keep the file structure as it is and just use org-mode to provide viewing structure while editing. sivaram --
Re: [O] OLUG talk about Org-mode
Hi Carsten, Carsten Dominik writes: > I just saw this flying by on twitter: > > George De Bruin is giving a talk about Emacs org-mode on July 5. It will > be streamed live - maybe someone can try to capture the stream (Don't know > if the OLUG makes the video available afterwards)? > > http://www.olug.org/2011/06/july-2011-olug-meeting/ Also to be noted: Thierry Stoehr, a long time Orger, gave a talk about org-mode yesterday at the RMLL (free software meeting) in La Réunion: http://formats-ouverts.org/blog/2011/06/20/2712-conference-a-la-reunion And I will present Org at the GNU hackers meeting in Paris, 25-28th of August. I hope the conference will be captured - but I can't promised anything. Julien Danjou will be here too. http://www.gnu.org/ghm/2011/paris/ Best, -- Bastien
Re: [O] Orgmode Capture to Insert a Mairix Link in VM
Hi Memnon, Memnon Anon writes: > Rest ("rather crude solution") here: > http://robert-adesam.blogspot.com/2011/07/orgmode-capture-to-insert-mairix-link.html I added this to Org hacks, thanks! -- Bastien
Re: [O] Bug: inline images for filenames with spaces
Hi Huy, Thanks for confirming the fix is okay! Huy writes: > I don't know how to do any exporting yet. Try the magic keystroke in any Org file: C-c C-e HTH, -- Bastien
Re: [O] MobileOrg: Push more than the current week?
Tassilo Horn writes: > Hi all, > > is there a way to push more than the current week using M-x > org-mobile-push RET? This should do it (Monday is a bad day to test it...) #+begin_src emacs-lisp (defun rv-org-mobile-push () (interactive) (let (org-agenda-start-on-weekday (string-to-number (format-time-string "%w"))) (org-mobile-push))) #+end_src [...] -- Rémi Vanicat
Re: [O] Bug: inline images for filenames with spaces
On Thu, Jun 30, 2011 at 05:41:55PM +0200, Bastien wrote: > Hi Huy, > > Huy writes: > > > inline image display doesn't seem to work for image links with spaces in > > them. > > The attached patch fixes this. > > Please confirm and also take the time to check that there is no > side-effects -- especially wrt the exporter. Sorry, it took me long to get back. I confirm that the current repo fixed it, bt I can't confirm exporting. I don't know how to do any exporting yet. Thanks for the fix! Huy
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Bastien writes: > Hi Eric, > > Eric S Fraga writes: > >> unfortunately, it does not seem to have been applied quite correctly. >> The following should correct the latest version: > > Applied, thanks for your careful testing/checking. New version works fine. Thanks! > I definitely need to release soon and to stop doing things > too fast... That's the problem with deadlines... :( Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.568.g9f056)
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Hi Eric, Eric S Fraga writes: > unfortunately, it does not seem to have been applied quite correctly. > The following should correct the latest version: Applied, thanks for your careful testing/checking. I definitely need to release soon and to stop doing things too fast... -- Bastien
Re: [O] MobileOrg: Push more than the current week?
Tassilo Horn writes: Hi again, > is there a way to push more than the current week using M-x > org-mobile-push RET? After reading the docs more carefully, I managed to answer my question. The trick is to define a custom agenda view. --8<---cut here---start->8--- (setq org-agenda-custom-commands '(("n" "Next 21 days" agenda "" ((org-agenda-span 21) --8<---cut here---end--->8--- So now I have three agendas on my phone: the default week agenda, all todos, and this new custom 21 next days overview. Bye, Tassilo
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Bastien writes: > Hi Maciek, > > Maciek Starzyk writes: > >> This fixes regression bug introduced in >> 2e20cf9358deb9579ae6a22bc0deb2a772387194 > > Applied, thanks a lot. Bastien, unfortunately, it does not seem to have been applied quite correctly. The following should correct the latest version: --8<---cut here---start->8--- diff --git a/lisp/org-table.el b/lisp/org-table.el index 7f0f9bb..9724dc2 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -2513,13 +2513,13 @@ not overwrite the stored one." (error "#ERROR")) ev (if (numberp ev) (number-to-string ev) ev) ev (if duration (org-table-time-seconds-to-string - (string-to-number ev) ev))) + (string-to-number ev)) ev)) (or (fboundp 'calc-eval) (error "Calc does not seem to be installed, and is needed to evaluate the formula")) (setq ev (calc-eval (cons form modes) (if numbers 'num)) ev (if duration (org-table-time-seconds-to-string -(string-to-number ev) ev +(string-to-number ev)) ev))) (when org-table-formula-debug (with-output-to-temp-buffer "*Substitution History*" --8<---cut here---end--->8--- -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.567.gb9af1.dirty)
Re: [O] [RFC] testing the org exporters
Hi Jambunathan >> I have been using the attached test.org file as part of my org-odt >> related work. >> >> The usual steps I follow for testing are quite simple: >> 1. Visit the file >> 2. Export it to xhtml or odt >> 3. Visually make sure that everything is OK. >> >> I would like to add this file to the testing dir of the trunk. This file >> would be a good starting point for not only validating but also >> documenting (the quirks?) of various exporters. >> >> At the moment, I am not very inclined to have it integrated with >> ert[1]. Based on my experience, the standalone test.org file has proven >> it's worth multiple times over during the development phase. >> >> What do you think? I am happy to hear feedback on >> >> 1. what to put in that test.org >> 2. where to put the test.org >> 3. how to have it integrated with test framework. >> >> Footnotes: >> [1] This is mostly because I don't know nothing about ert. > >Hi Jambunathan, > >I would very much like to see this test file [1] integrated into the testing >repository of org-mode in (testing/examples) _and_ integrated into >Org-mode's ert test framework. > >ERT is easy to use, and will more than repay any time spent applying it >to your test file through the ability to quickly programmatically and >reproducibly evaluate export results. There are many tests [2] which >already implement a >1. visit example file >2. export to backend >3. confirm properties of backend (e.g., does or does not >contain some string) > >Please try running the Org-mode test suite and look at the examples in >testing/lisp. I see no reason not to take this final step and begin >writing ERT tests which can serve as both documentation of issues and >insurance against regression. I also think that this is a great idea. In fact I have recently discovered that the LilyPond (Music Score Engravement) community (gnu) do something like this to ensure their high-quality rendering is not regressively broken or degraded. AFAICR they generate visual snippets by continuous integration, and have a team of (non-programmer but heavy user) contributers analyse the visual results in order to report any regressions to the development team. These tests are performed weekly, and are intended to take no more than 20 minutes per week of each quality-assurance members time. Sign-offs happen once per week. I also agree with you that this could aid in providing highly maintained visual snippets (with simple source) for the provision of examples for documentation purposes. And even where ert can be configured to do the actual testing, it may be nice to generate the visual result for documentation purposes. Perhaps this visual output could live in worg? Being a user of ert I would be happy helping to set this up if the community thought it would be of use. ( just my 10 pence ;) Regards Martyn
[O] MobileOrg: Push more than the current week?
Hi all, is there a way to push more than the current week using M-x org-mobile-push RET? For example, it would be handy to be able to push the current plus the next week (or maybe push the next 7 days starting with today), so that you can push the next week on this week's Sunday. Right now, it seems you always have to push on Monday to have the current week's agenda available. Bye, Tassilo
Re: [O] org -> lilypond?
Hi Rusi > Hello fellow-music-orgers!I would really like to use something like > lilypond > to make music. A basic requirement of mine is that it should render as > score and play as sound simultaneously. See http://vimeo.com/16894001 > for a demo. This is because I use it to teach singing to pelple with > no musical background.I use nted playing through timidity currently for > this. If there is some workflow involving lilypond for this that will > be >real cool.Does anyone know of such? Wow, it would be great to do that wouldn't it! And its great to know NtEd does so. Unfortunately there are technical restrictions getting lilypond imported to nted, since lilypond does not yet export musicxml (although this is being discussed, to allow, among other things, export of lilypond to braille). In the mean time, it should be possible to import midi into nted in order to produce the "running note" automation, but unfortunately, the resultant score will be generated by nted and will probably require tweaks in an attempt to match the original. Unfortunately, other techniques for generating "running note" automation such as modifying lilypond itself, are currently beyond the scope of this project. If however you can live without the "running note" automation, ob-lilypond can already render as score, and play as sound simultaneously. See http://github.com/mjago/ob-lilypond for more details. Regards Martyn
Re: [O] Compiler warnings on current HEAD
Hi Achim, Eric, Bastien writes: >> In end of data: >> ob-ref.el:265:1:Warning: the following functions are not known to be defined: >> org-id-find-id-in-file, org-show-context > > Eric, could you fix those? I just pushed this fix: http://orgmode.org/w/?p=org-mode.git;a=commit;h=b9af1d0cd518f5617103100545868a9b42e97b76 Best, -- Bastien
Re: [O] [PATCH] Don't call calendar-absolute-from-gregorian in org-diary-class
Hi Rémi, Rémi Vanicat writes: > calendar-absolute-from-gregorian return a number of day. But the > result is used as if it was a (year month day) list. Applied, with a slight modification. Thanks, -- Bastien
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Hi Maciek, Maciek Starzyk writes: > This fixes regression bug introduced in > 2e20cf9358deb9579ae6a22bc0deb2a772387194 Applied, thanks a lot. -- Bastien
Re: [O] [PATCH] org-table.el: Calc formulas evaluate to #ERROR.
Maciek Starzyk writes: > This fixes regression bug introduced in > 2e20cf9358deb9579ae6a22bc0deb2a772387194 Confirmed. Table calculations do not work at all unless this patch is applied. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.564.g71eff.dirty)