[Orgmode] iCal export and complex diary sexps
Hi all There was a thread about this some weeks ago. The iCal export does not support org-diary-class entries or other complex diary sexps. I want to ask if anybody has a workaround on this issue in the meantime. For example, it could possibly be solved by an after-export-hook that scans org-files for org-diary-class, converts the relevant entries to the iCal format and appends them to the ics file. Greetings, Sven ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Inline image display and Emacs 22
Hi Bernt, On Jul 15, 2010, at 3:14 AM, Bernt Hansen wrote: Hi Carsten, I'm seriously considering ditching my Emacs 22 in favour of Emacs 23 from a git snapshot. I'm running an older version of Emacs from a stable debian system as my workstation setup -- I've been too lazy to upgrade so far but there are now a few nagging issues with org-mode that are just starting to bug me enough to make this move. 1. Inline image display doesn't seem to work correctly in Emacs22 The images are displayed but they all overlap each other in the top-left corner of the document. In the case of my org-mode document at http://doc.norang.ca/org-mode.html I only see the largest image in Emacs since the others are hidden behind it (I guess). I really miss this feature in Emacs 22. 2. Moving from agenda buffers to org buffers goes to the wrong place. This happens very frequently for me in Emacs 22. I've never seen this problem in Emacs 23. I've lived with this for a long time and just redoing the command goes to the right place. I'm not expecting this to ever get fixed since I think it's an Emacs 22 issue and not worth pursuing. 3. C-l handling is much nicer in Emacs 23 (okay this has nothing to do with org-mode :) Can I emulate that behaviour in Emacs 22 somehow? 4. Copying subtrees with C-c C-x c loses fontification in the copies. I don't know if this happens in Emacs 23. And there are probably more issues I can't remember right off the top of my head right now. So the only reason for me to stay at Emacs 22 is if there is some benefit to the org-mode community for testing... and to be honest this has been my main deterrent from doing the upgrade to Emacs 23 so far. I'd much rather have you on Emacs 23 and do your testing there. After all, 23.1 has been released one year ago, and it fixes so many things, everyone should upgrade. I think there is no reason to use Emacs 22 anymore at all. You write about using a git snapshot. If you do that you will actually be testing Emacs 24. Emacs 23 should be considered finised and stable. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Inline image display and Emacs 22
On Jul 15, 2010, at 3:30 AM, Bernt Hansen wrote: Bernt Hansen be...@norang.ca writes: 5. org-reveal (C-c C-r) works slightly differently in Emacs 22 and 23. I actually prefer the Emacs 22 version. If I am in a folded buffer and C-c C-r on a headline the following task is /not/ revealed in Emacs 23 but it is in Emacs 22. What do you mean by the following task. Can you make a step-by-step guide, please? - Carsten My workaround for this is to move to the next line and then do C-c C-r in Emacs 23 to get the desired behaviour, and then return to the headline. M-x hide-other C-c C-r seems to reliably reproduce this for me. -Bernt - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Tiny font in org-agenda-columns when using emacs --daemon
Jakob Lombacher Jakob at lombacher.net writes: Hi, When I start emacs as daemon emacs --daemon and than attache a client to it, the org-agenda-columns view appears in a very tiny font. If I start emacs normally the view appears in standard font size. I found out that the Org Column face is set to different values (Height: 1, ...). I can adapt it and it works, but when I start the emacsclient again, all settings are lost. So it looks like the emacsclient overwrites those settings. Has anybody an idea what's the cause of that? Can anybody report the same behavior? It's been annoying me for a long time. Here is my quick fix. (defun wl-org-column-view-uses-fixed-width-face () ;; copy from org-faces.el (when (fboundp 'set-face-attribute) ;; Make sure that a fixed-width face is used when we have a column table. (set-face-attribute 'org-column nil :height (face-attribute 'default :height) :family (face-attribute 'default :family (when (and (fboundp 'daemonp) (daemonp)) (add-hook 'org-mode-hook 'wl-org-column-view-uses-fixed-width-face)) I use emacs 23.1-r3 on a gentoo linux system and org-mode 6.36c. Jakob ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode at gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [BABEL] tangling with leaving non-source code lines as empty lines?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/07/2010 19:22, Eric Schulte wrote: Hi Rainer, Dr Rainer M Krug r.m.k...@gmail.com writes: On 13/07/2010 02:46, Eric Schulte wrote: Hi Rainer, With the tangling comments generated by the latest Org-mode, the following function should be able to jump from any code in a tangled code file back to the relevant block in the original Org-mode file. Wow - that was quick. Thanks. --8---cut here---start-8--- (defun org-babel-tangle-jump-to-org () Jump from a tangled code file to the related Org-mode file. (interactive) (let ((mid (point)) target-buffer target-char start end link path block-name) (save-window-excursion (save-excursion (unless (and (re-search-backward org-bracket-link-analytic-regexp nil t) (setq start (point)) (setq link (match-string 0)) (setq path (match-string 3)) (setq block-name (match-string 5)) (re-search-forward (concat (regexp-quote block-name) ends here[\n\r]) nil t) (setq end (point)) ( start mid) ( mid end)) (error not in tangled code))) (when (string-match :: path) (setq path (substring path 0 (match-beginning 0 (find-file path) (setq target-buffer (current-buffer)) (goto-char start) (org-open-link-from-string link) (if (string-match [^ \t\n\r]:\\([[:digit:]]+\\) block-name) (org-babel-next-src-block (string-to-int (match-string 1 block-name))) (org-babel-goto-named-src-block block-name)) (setq target-char (point))) (pop-to-buffer target-buffer) (goto-char target-char))) --8---cut here---end---8--- I tried it out, and realised that one needs to name the blocks (#+srcname:) to be able to use it. Then it jumps to the code block in the org file. Have you tried this on un-named code blocks (with the latest Org-mode from git)? It should work for those as well -- it parses the name, and uses org-babel-next-src-block to jump down the appropriate number of blocks. OK - I tried it this morning (after updating org-mode), and it is working even with unnamed blocks - perfect. Two more things (As pointed out in the other email) would be nice: 1) it would be nice to jump to the line of code in the Org-mode file which corresponds to the line in the code file Agreed, I was planning on implementing this, it shouldn't be difficult. Great - thanks 2) It would be brilliant, if one could call the function from the Org-file buffer and enter the line number and then jump to the block / line in the block. That's a great suggestions, I will certainly look at folding it in. Perfect - I am looking forward to that. In addition: 3) it would be very useful, if this function could be used with non-named source blocks. As I said above, I /believe/ that it is usable as such now, however if you could come up with an example where this fails, please do let me know. Working - thanks. But that function is already quite usefull. Great, I'll post any future improvements I make to this thread, and please do let me know if you run across errant behavior or new potentially useful behavior. I am looking forward to any additions, Cheers, Rainer Cheers -- Eric Thanks, Rainer This is too large of a block of untested code to push into Org-mode now, however please give it a try, and let me know if you think this could be generally useful. Hopefully after the feature-freeze we can fold something like this into Babel to ease navigation between Org files and their tangled offspring. Cheers -- Eric Eric Schulte schulte.e...@gmail.com writes: Hi Rainer, If I'm understand you correctly you want the absolute position (by LOC) of the lines of R code to be the same in both the original org file and the tangled file or R code. I don't think this is possible. It is possible to tangle code blocks in any order (not just the order in which they appear in the original org file), so there are many valid tangling scenarios in which this feature could not work. Rather, I think that it may make sense to have a function for jumping back and forth between tangled code blocks and the related Org file. In that case the R errors could be followed to the tangled R code file, from which you could easily jump to the relevant line in the relevant code block in the Org file. If you are tangling with comments, then it should be possible to have a function called from a line in a tangled code file which when called 1) finds it's enclosing comments 2) remembers it's offset from the comments (which would then be it's offset in the code block in the Org file) 3) read the comment to learn which code block in which Org file
[Orgmode] Re: LaTeX calendar from org-mode agenda?
Alan E. Davis lngn...@gmail.com writes: It seems possible that at least one of the LaTeX / org gurus on this list has used LaTeX monthly calendars. I have had some problems with LaTeX calendars, but they look really nice, and it would seem not unlikely to use that format as an output from Org-agenda. Well, I haven't used it in a while, but there is code[1] in the contrib section that generates hipster pda style calendars[2] for you. Admittedly it just uses the cal-tex-* infrastructure, so if you have problems with that, I guess this is of little help. I found LaTeX monthly calendars pretty ridiculous when they are bloated with dozens of repeated tasks from the diary file. A well sorted list of events would seem to me to suite this nice-looking hard copy calendar nicely. Maybe you should define what your requirements are, i.e. how exactly you want your calendar to look. Then as a next step you might want to try to get a mock-up using tikz (and its calendar library)[3]. Once you have that I'd be happy to hack up some lisp that generates the tikz latex from say an Org Mode Agenda view or from a diary file. The ability to print out a nice, concise hardcopy checklist from org-agenda would make a world of difference. OK, this seems like another requirement unrelated to the calendar above. You know that you can export an agenda view to PDF, html or text[4]. If that is not enough, again, create a mock-up using tikz to make it really nice looking. I will then help you to write the lisp to generate the needed latex. I've long wanted some nice looking export of the agenda. Your input might just give me enough impetus to hack something up. Thanks Christian Footnotes: [1] http://repo.or.cz/w/org-mode.git/blob/HEAD:/contrib/scripts/org2hpda [2] http://en.wikipedia.org/wiki/Hipster_PDA [3] http://www.texample.net/tikz/examples/feature/calendar-library/ [4] http://orgmode.org/manual/Exporting-Agenda-Views.html -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BABEL] Change split-ratio for secnd buffer when using C-c '
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi is there a way of changing the split-ratio / the size of the second buffer when using C-c ' from 50% to e.g. 70%? I would prefer to have that buffer bigger then the org-buffer from which it was opened. Thanks, Rainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw+2w8ACgkQoYgNqgF2ego/qQCeLBV9vNXM1IhFrNh/+T6eZDwZ wsoAn1tQuf6BI8Mwcur/q4IoW/kG/75I =/h9T -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Inserting date/time stamps including seconds
I am interesting to hear why you'd want to have that. Well, basically I have a main .org file as a logbook, and a inactive date/time stamp would serve as a unique identification field; I need different time stamps in the same minute. Best wishes. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to setup xdg for org-protocol ?
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Sebastian, Sebastian Rose wrote: Julien Fantin julien.fan...@gmail.com writes: Thanks Sebastian and David, I now have firefox working, I had to use that html file though, as firefox wouldn't bring up the application selection dialog with the test links on worg. Will now look into getting xdg-mime to work for chromium ... Or, of course Firefox 3.5 specific (works without installed Gnome libraries). Worked fine for me (dwm), just one thing that is IIRC not mentioned on Worg: You have to click on protocol link to set path to emacsclient. E.g. cat /tmp/test.html a href=org-protocol:///click/a ^D and open /tmp/test.html in Firefox. Such links are on the dokumentation page in worg: http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_5 Was it the mouse click, that made it work? If so, I could add a note on that page `for FF 3.5 click on one of these links ...'. I had the same problem this morning, with latest FFx on latest Ubuntu. I never had the window asking for which application to launch when clicking on a `org-protocol://' link... until I re-did the manipulation with: gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/command '/usr/bin/emacsclient %s' --type String gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/enabled --type Boolean true (described on http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28requires_certain_Gnome_libraries_to_be_installed.29) Next time you click a link of protocol-type foo you will be asked which application to open it with. : for me, after the above step (`gconftool-2'), just entering `org-protocol://' in a new tab was sufficient to ask, this time, for which application to run. Finally... OK then. I'll adjust the docs this evening accordingly. Thanks for your reports. Best wishes Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Inline image display and Emacs 22
Carsten Dominik carsten.domi...@gmail.com writes: On Jul 15, 2010, at 3:30 AM, Bernt Hansen wrote: Bernt Hansen be...@norang.ca writes: 5. org-reveal (C-c C-r) works slightly differently in Emacs 22 and 23. I actually prefer the Emacs 22 version. If I am in a folded buffer and C-c C-r on a headline the following task is /not/ revealed in Emacs 23 but it is in Emacs 22. What do you mean by the following task. Can you make a step-by-step guide, please? Okay. Of course today I can't reproduce that behaviour at will :-P I'll post a recipe when I can reproduce it reliably with a simple example. Thanks, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Inline image display and Emacs 22
Bernt Hansen be...@norang.ca writes: Carsten Dominik carsten.domi...@gmail.com writes: On Jul 15, 2010, at 3:30 AM, Bernt Hansen wrote: Bernt Hansen be...@norang.ca writes: 5. org-reveal (C-c C-r) works slightly differently in Emacs 22 and 23. I actually prefer the Emacs 22 version. If I am in a folded buffer and C-c C-r on a headline the following task is /not/ revealed in Emacs 23 but it is in Emacs 22. What do you mean by the following task. Can you make a step-by-step guide, please? What do you mean by the following task ;) My confusion seems to be what is the 'following headline' in the description for org-show-following-headline. This turns out to be pilot error I think. It's a combination of narrowing to subtree and not understanding that org-reveal shows only the next SIBLING task (as opposed to the next child task.) Okay. Of course today I can't reproduce that behaviour at will :-P I'll post a recipe when I can reproduce it reliably with a simple example. Here;s my recipe: This works the same in Emacs 22 and Emacs 23 so I was mistaken about it being an Emacs 23 only issue -- I just notice this more in Emacs 23 at work. ,[ sample.org ] | * one | * two | ** two.one | ** two.two | *** TODO two.two.one | TODO next subtask | *** TODO two.two.three | ** two.three | * three ` If you put the point on the headline for two.two C-x n s M-x hide-other RET then C-c C-r seems to do nothing. It does not reveal the task two.two.one which is what I want so I can safely edit the content of two.two. C-c C-r seems to do nothing when the buffer is narrowed to subtree and there is no sibling task after the current task you want to reveal -- even if that task has child tasks. I think it is working as designed but it isn't as convenient as it could be. I have org-show-hierarchy-above t and org-show-following-heading t I expected (incorrectly it seems) that org-show-following-heading would show the next heading in the file (i.e. two.two.one (the child of two.two) not the sibling which is not part of the narrowed buffer) Regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: \nbsp usage
Hi all, the problem was on my side, the change was for some reason not picked up by git. Works also for me now. Thanks Carsten for the quick fix. Cheers, Erik ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Re Audible reminder in org-mode not working
evita moreno evitamoren...@live.com writes: Dear all, I have a question which may look like it is already answered but the solutions provided in previous threads don't really work for me. FYI, I am using a Linux Mint Isadora distribution and I tried to run org-mode both in a console-session of emacs (emacs -nw) and in an emacs GUI. I have tried to set an audible reminder for my appointments using: (setq appt-audible t) For some reason, this does not seem to work (the visible reminder works just fine). I am sure it does not have to do with volume as it works fine with other apps. BTW, the code I am using is collected from various threads and given that I know next to nothing in LISP, I can safely assume that this is probably the reason the whole audible reminder thing is not working I was wondering whether anyone out there could provide a bit of code to set audible reminders in org-mode (preferably working in a console too). I am teaching young people to use emacs and org-mode to do their research and running emacs in a console is probably the best thing to do to to stop them from getting distracted from menus, toolbars and other things! The first question: Does your computer beep under other circumstances? It's very likely that Linux Mint disables the beep by default. What is the result the following command produce? lsmod | grep pcspkr If pcspkr is enabled, you might want check the value of the following options with M-x describe-variable visible-bell ring-bell-function Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BABEL] Change split-ratio for secnd buffer when using C-c '
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi is there a way of changing the split-ratio / the size of the second buffer when using C-c ' from 50% to e.g. 70%? I would prefer to have that buffer bigger then the org-buffer from which it was opened. Thanks, Rainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw/AOwACgkQoYgNqgF2egoo0ACcD2Fd0luN1bpqu87u5ZUNjl8a KBMAn0l/Vdhu9yi5ziFE+W+OIO8qoqmb =F/gR -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/07/2010 10:14, Dr Rainer M Krug wrote: On 12/07/2010 19:51, Eric Schulte wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi Eric, On Fri, Jul 9, 2010 at 5:44 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: On Thu, Jul 8, 2010 at 9:03 PM, Eric Schulte schulte.e...@gmail.com wrote: [...] (add-hook 'org-babel-post-tangle-hook (lambda () (ess-load-file (buffer-file-name Unfortunately, this does not work. I put the code above into my emacs.organd nothing happens - not even an error message. I tried to use the C-h v to customise the variable, but I don't manage it. If the variable isn't registered with C-h v, then it sounds like maybe you need to update Org-mode, and/or re-run make clean make. OK - that is working now. In addition, The filename for es-load-file shoud not be the buffer name, but the buffer name with the extension replaced with R. `buffer-file-name', returns the name of the file that the buffer is visiting, so wouldn't this already be the case if the filename ends with .R? Isn't the buffer from which I am tangling the org buffer, and not the result from the tangling? (see below for further remarks. No this hook is run from /within/ a buffer visiting the file of tangled code, so in the example hook function above (buffer-file-name) will equal the name of the file of tangled R code. From your later message it looks like the issues below have been resolved. Thanks a lot for a very useful addition, and I will see abut the buffer-name and come back if it is still the org-file buffer for me, I finally tried it out, and it is still the same: when I tangle an org file, for the hook as defined above, buffer-file-name is the org file. Cheers, Raienr Rainer Best -- Eric This minimal example with the hook defined as above works for me. After tangling I can jump to the *R* buffer where both x and y are defined. --8---cut here---start-8--- ** tangle R and load :PROPERTIES: :tangle: to-load.r :END: #+begin_src R :comments yes x - 8 #+end_src #+begin_src R y - 9 #+end_src --8---cut here---end---8--- Not here - Emacs and org-mode version: GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) Org-mode version 6.36trans (release_6.36.603.g227b) 1) if no R process is running, I get the following message: ess-start-process-specific: No ESS processes running; not yet implemented to start (Initial,nil) No problem 0 I can start an R process manually. 2) when an R session is running, I get the following error message from ESS: Errors: Use C-c ` to find error. Symbol's function definition is void: with-temp-filebuffer and from ESS: Error in source(/home/rkrug/tmp/R.org) : /home/rkrug/tmp/R.org:1:1: unexpected '^' 1: ** it seems to submit the org file (the buffer is saved as R.org) to R. So buffer-file-name should actually be replaced with the name from the file name resulting from the tangling, in the easiest case (which would be fine with me) the org buffer name with .org replaced with .R. So I did the following (my firs elisp code!): (add-hook 'org-babel-post-tangle-hook (lambda () (ess-load-file (replace-regexp-in-string .org .R buffer-file-name and it is working - except that I still get the Symbol's function definition is void: with-temp-filebuffer , but it does not seem to do anything. Thanks a lot, Rainer I am sorry about all these questions, but emacs-lisp I have never used emacs-lisp (I should - and I will!) No problem at all, but be careful about learning too much lisp as you may begin to grow dissatisfied with R :) Best -- Eric Cheers and thanks for your patience, Rainer Best -- Eric Rainer M Krug r.m.k...@gmail.com writes: Hi I am using org-babel for literate programming in R and I am using the following approach to test the code: 1) tangle 2) refresh buffer containing the tangled code (I use auto-revert-mode or global-auto-revert-mode for that) 3) load the tangled file into an existing R session via ESS R for evaluation This involves switching between buffers in always the same sequence. Therefore my suggestion: would it be possible to have a tangle-and-evaluate-tangled-file funcction, which is doing this automatically? C-c - 0 and org-babel-execute-buffer do not work in this case, as functions are split over several code blocks in R. Cheers, Rainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw/AQYACgkQoYgNqgF2egpOHgCeIoOMiIxi1ZbrDPVW4OpbKM8W r9IAnihCH3WTFpWgK/z9BFd7kx1Clh+k =JR5K -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to
[Orgmode] programming for org-mode
Hi, can anyone give me a tutorial for org-mode programming and it's API. I just read Eric Schultes module org-collector.el, but I can't understand the code: how it is organized and how to write the elisp for org-mode. Can anyone help? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [BUG] org remember broken
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Hi Thierry, I cannot easily see why org-decrypt-entry is being called, and if it is being called in the remember buffer or where? I don't know, i didn't have time to look carefuly, just sent the backtrace. Anyway, most of us are moving to org-capture, so I would be more inclined to look into this if this is still an issue in org-capture This is working fine and is very nice, like the facility to export my remember templates :-). Thanks. -- Thierry Volpiatto Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] RE: Re Audible reminder in org-mode not working
Hello Matt (and thank you for your time!), Typing $ sudo lsmod | grep pcspkrin my terminal does not give anything. It simply shows the next prompt (if I am using the correct terminology - I am new in emacs and Linux!). I was able to change the value of the visible bell but I was not able to find a corresponding option for the ring-bell-function. More specifically, the former comes up with a menu/button inside the buffer, which, if selected, allows one to modify value of the visible-bell. The latter (i.e., the ring-bell-function) does not offer such an option. Any suggestions are more than welcome. Maybe it is the distribution that disables the audible bell. Many thanks once more, Evita From: m...@imapmail.org To: evitamoren...@live.com CC: emacs-orgmode@gnu.org Subject: Re: Re Audible reminder in org-mode not working Date: Thu, 15 Jul 2010 08:33:27 -0400 evita moreno evitamoren...@live.com writes: Dear all, I have a question which may look like it is already answered but the solutions provided in previous threads don't really work for me. FYI, I am using a Linux Mint Isadora distribution and I tried to run org-mode both in a console-session of emacs (emacs -nw) and in an emacs GUI. I have tried to set an audible reminder for my appointments using: (setq appt-audible t) For some reason, this does not seem to work (the visible reminder works just fine). I am sure it does not have to do with volume as it works fine with other apps. BTW, the code I am using is collected from various threads and given that I know next to nothing in LISP, I can safely assume that this is probably the reason the whole audible reminder thing is not working I was wondering whether anyone out there could provide a bit of code to set audible reminders in org-mode (preferably working in a console too). I am teaching young people to use emacs and org-mode to do their research and running emacs in a console is probably the best thing to do to to stop them from getting distracted from menus, toolbars and other things! The first question: Does your computer beep under other circumstances? It's very likely that Linux Mint disables the beep by default. What is the result the following command produce? lsmod | grep pcspkr If pcspkr is enabled, you might want check the value of the following options with M-x describe-variable visible-bell ring-bell-function Best, Matt _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Correct some docstrings
This patch makes some straightforward corrections to a number of docstrings. Each change is normally to: - correct a typo, or - fix up hyperlinks to function or variable names, or - ensure slightly better conformance with the documentation guidelines and tips given in the Elisp manual No attempt is made to provide missing docstrings or document arguments. Cheers, Phil -- lisp/org-agenda.el | 71 +-- lisp/org-ascii.el |5 ++- lisp/org-bbdb.el |2 +- lisp/org-beamer.el | 21 +++- lisp/org-capture.el| 33 ++-- lisp/org-clock.el | 32 +++ lisp/org-colview-xemacs.el | 23 +++--- lisp/org-colview.el| 17 +- lisp/org-compat.el |6 ++-- lisp/org-crypt.el | 18 ++- lisp/org-ctags.el | 56 ++ 11 files changed, 148 insertions(+), 136 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 191ee52..1134558 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -142,8 +142,8 @@ specifies the maximum number of lines that will be added for each entry that is listed in the agenda view. Note that this variable is not used during display, only when exporting -the agenda. For agenda display, see org-agenda-entry-text-mode and the -variable `org-agenda-entry-text-maxlines'. +the agenda. For agenda display, see the variables `org-agenda-entry-text-mode' +and `org-agenda-entry-text-maxlines'. :group 'org-agenda :type 'integer) @@ -595,7 +595,7 @@ to make his option also apply to the tags-todo list. There are different motivations for using different values, please think carefully when configuring this variable. -This applie when creating the global todo list. +This applies when creating the global todo list. Valid values are: nearDon't show near deadline entries. A deadline is near when it is @@ -762,7 +762,7 @@ Needs to be set before org.el is loaded. :type 'boolean) (defcustom org-agenda-start-with-follow-mode nil - The initial value of follow-mode in a newly created agenda window. + The initial value of follow mode in a newly created agenda window. :group 'org-agenda-startup :type 'boolean) @@ -1008,7 +1008,7 @@ When this is non-nil, the string will be split on whitespace, and each snippet will be searched individually, and all must match in order to select an entry. A snippet is then a single string of non-white characters, or a string in double quotes, or a regexp in {} braces. -If a snippet is preceeded by \-\, the snippet must *not* match. +If a snippet is preceded by \-\, the snippet must *not* match. \+\ is syntactic sugar for positive selection. Each snippet may be found as a full word or a partial word, but see the variable `org-agenda-search-view-force-full-words'. @@ -1018,7 +1018,7 @@ with each space character matching any amount of whitespace, including line breaks. Even when this is nil, you can still switch to Boolean search dynamically -by preceeding the first snippet with \+\ or \-\. If the first snippet +by preceding the first snippet with \+\ or \-\. If the first snippet is a regexp marked with braces like \{abc}\, this will also switch to boolean search. :group 'org-agenda-search-view @@ -1029,8 +1029,7 @@ boolean search. 'org-agenda-search-view-always-boolean)) (defcustom org-agenda-search-view-force-full-words nil - Non-nil me -ans, search words must be matches as complete words. + Non-nil means, search words must be matches as complete words. When nil, they may also match part of a word. :group 'org-agenda-search-view :type 'boolean) @@ -1286,7 +1285,7 @@ range, respectively. (function (defcustom org-agenda-scheduled-leaders '(Scheduled: Sched.%2dx: ) - Text preceeding scheduled items in the agenda view. + Text preceding scheduled items in the agenda view. This is a list with two strings. The first applies when the item is scheduled on the current day. The second applies when it has been scheduled previously, it may contain a %d indicating that this is the nth time that @@ -1299,7 +1298,7 @@ that passed since this item was scheduled first. (string :tag Scheduled previously))) (defcustom org-agenda-inactive-leader [ - Text preceeding item pulled into the agenda by inactive time stamps. + Text preceding item pulled into the agenda by inactive time stamps. These entries are added to the agenda when pressing \[\. :group 'org-agenda-line-format :type '(list @@ -1307,7 +1306,7 @@ These entries are added to the agenda when pressing \[\. (string :tag Scheduled previously))) (defcustom org-agenda-deadline-leaders '(Deadline: In %3d d.: ) - Text preceeding deadline items in the agenda view. + Text preceding deadline items in the agenda view. This is a list with two strings. The
[Orgmode] Patchwork: Patch 137 Accepted
Patch 137 (http://patchwork.newartisans.com/patch/137/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3Cm21vb4dav8.fsf%40bo.yax.org.uk%3E ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Correct some docstrings
On Jul 15, 2010, at 5:26 PM, Philip Rooke wrote: This patch makes some straightforward corrections to a number of docstrings. Each change is normally to: - correct a typo, or - fix up hyperlinks to function or variable names, or - ensure slightly better conformance with the documentation guidelines and tips given in the Elisp manual No attempt is made to provide missing docstrings or document arguments. Cheers, Phil Awesome, thanks! - Carsten -- lisp/org-agenda.el | 71 +-- lisp/org-ascii.el |5 ++- lisp/org-bbdb.el |2 +- lisp/org-beamer.el | 21 +++- lisp/org-capture.el| 33 ++-- lisp/org-clock.el | 32 +++ lisp/org-colview-xemacs.el | 23 +++--- lisp/org-colview.el| 17 +- lisp/org-compat.el |6 ++-- lisp/org-crypt.el | 18 ++- lisp/org-ctags.el | 56 ++ 11 files changed, 148 insertions(+), 136 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 191ee52..1134558 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -142,8 +142,8 @@ specifies the maximum number of lines that will be added for each entry that is listed in the agenda view. Note that this variable is not used during display, only when exporting -the agenda. For agenda display, see org-agenda-entry-text-mode and the -variable `org-agenda-entry-text-maxlines'. +the agenda. For agenda display, see the variables `org-agenda- entry-text-mode' +and `org-agenda-entry-text-maxlines'. :group 'org-agenda :type 'integer) @@ -595,7 +595,7 @@ to make his option also apply to the tags-todo list. There are different motivations for using different values, please think carefully when configuring this variable. -This applie when creating the global todo list. +This applies when creating the global todo list. Valid values are: nearDon't show near deadline entries. A deadline is near when it is @@ -762,7 +762,7 @@ Needs to be set before org.el is loaded. :type 'boolean) (defcustom org-agenda-start-with-follow-mode nil - The initial value of follow-mode in a newly created agenda window. + The initial value of follow mode in a newly created agenda window. :group 'org-agenda-startup :type 'boolean) @@ -1008,7 +1008,7 @@ When this is non-nil, the string will be split on whitespace, and each snippet will be searched individually, and all must match in order to select an entry. A snippet is then a single string of non-white characters, or a string in double quotes, or a regexp in {} braces. -If a snippet is preceeded by \-\, the snippet must *not* match. +If a snippet is preceded by \-\, the snippet must *not* match. \+\ is syntactic sugar for positive selection. Each snippet may be found as a full word or a partial word, but see the variable `org-agenda-search-view-force-full-words'. @@ -1018,7 +1018,7 @@ with each space character matching any amount of whitespace, including line breaks. Even when this is nil, you can still switch to Boolean search dynamically -by preceeding the first snippet with \+\ or \-\. If the first snippet +by preceding the first snippet with \+\ or \-\. If the first snippet is a regexp marked with braces like \{abc}\, this will also switch to boolean search. :group 'org-agenda-search-view @@ -1029,8 +1029,7 @@ boolean search. 'org-agenda-search-view-always-boolean)) (defcustom org-agenda-search-view-force-full-words nil - Non-nil me -ans, search words must be matches as complete words. + Non-nil means, search words must be matches as complete words. When nil, they may also match part of a word. :group 'org-agenda-search-view :type 'boolean) @@ -1286,7 +1285,7 @@ range, respectively. (function (defcustom org-agenda-scheduled-leaders '(Scheduled: Sched.%2dx: ) - Text preceeding scheduled items in the agenda view. + Text preceding scheduled items in the agenda view. This is a list with two strings. The first applies when the item is scheduled on the current day. The second applies when it has been scheduled previously, it may contain a %d indicating that this is the nth time that @@ -1299,7 +1298,7 @@ that passed since this item was scheduled first. (string :tag Scheduled previously))) (defcustom org-agenda-inactive-leader [ - Text preceeding item pulled into the agenda by inactive time stamps. + Text preceding item pulled into the agenda by inactive time stamps. These entries are added to the agenda when pressing \[\. :group 'org-agenda-line-format :type '(list @@ -1307,7 +1306,7 @@ These entries are added to the agenda when pressing \[\. (string :tag Scheduled previously))) (defcustom org-agenda-deadline-leaders '(Deadline: In %3d d.: ) - Text preceeding deadline items in the agenda view. + Text
Re: [Orgmode] programming for org-mode
So, The way that I learned how to program in emacs lisp was mainly using two commands `elisp-index-search' bound to `C-h e' on my system, and most importantly `describe-function' bound to `C-h f'. With `describe-function' you can look at the source code of functions whose behavior you are familiar with, you can then copy portions of the code to your *scratch* buffer where they can be edited and evaluated with `eval-defun' bound to `C-M-x'. Now with Babel, instead of doing this in the scratch buffer you could do this in emacs-lisp code blocks in an org file, enabling notes and hierarchical organization -- it can be nice to have your noodling all collected in one file for later reference. If you are going to do any serious work with lisp, I would emphatically recommend using paredit-mode, and becoming friends with the Sexp movement functions | C-M-f | runs the command paredit-forward | | C-M-b | runs the command paredit-backward | | C-M-u | runs the command backward-up-list | | C-M-k | runs the command kill-sexp| | C-y | runs the command yank | They allow you to manipulate lisp code on the level of logical expressions, the utility of which can not be over stated. As for working with Org-mode in particular, I'd recommend looking at the documentation and source-code of Org-mode functions with `describe-function', and then looking for how these functions are actually used in the Org-mode code base with `rgrep'. For a more structured learning experience, I've heard very good things about http://www.gnu.org/software/emacs/emacs-lisp-intro/, although I haven't used it myself. Hope this helps. Happy Hacking -- Eric Ivanov Dmitry usr...@gmail.com writes: Hi, can anyone give me a tutorial for org-mode programming and it's API. I'm afraid there is no such thing as an org-mode api, the closest you could come would be grep -i defun org/lisp/org.el for a list of function names and their arguments, or run `describe-function' then type org- into the minibuffer, tab complete, and then search through the resulting function-names. I just read Eric Schultes module org-collector.el, but I can't understand the code: how it is organized and how to write the elisp for org-mode. If you have any org-collector.el specific questions please let me know. Can anyone help? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Correct some docstrings [part 2]
This is a second patch in a series that makes some straightforward corrections to a number of docstrings. Each change is normally to: - correct a typo, or - fix up hyperlinks to function or variable names, or - ensure slightly better conformance with the documentation guidelines and tips given in the Elisp manual No attempt is made to provide missing docstrings or document arguments. Cheers, Phil -- lisp/org-docbook.el|8 +++--- lisp/org-docview.el| 11 ++-- lisp/org-entities.el |8 -- lisp/org-exp-blocks.el | 58 lisp/org-exp.el| 29 ++-- lisp/org-feed.el |4 +- lisp/org-freemind.el | 14 +- lisp/org-habit.el |3 ++ lisp/org-html.el | 56 + 9 files changed, 106 insertions(+), 85 deletions(-) diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el index bbd0bed..c136d20 100644 --- a/lisp/org-docbook.el +++ b/lisp/org-docbook.el @@ -26,7 +26,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. -;; Commentary: +;;; Commentary: ;; ;; This library implements a DocBook exporter for org-mode. The basic ;; idea and design is very similar to what `org-export-as-html' has. @@ -142,8 +142,8 @@ people work on the same document. :type 'string) (defcustom org-export-docbook-footnote-id-prefix fn- - The prefix of footnote IDs used during exporting. Like -`org-export-docbook-section-id-prefix', this variable can help + The prefix of footnote IDs used during exporting. +Like `org-export-docbook-section-id-prefix', this variable can help avoid same set of footnote IDs being used multiple times. :group 'org-export-docbook :type 'string) @@ -155,7 +155,7 @@ avoid same set of footnote IDs being used multiple times. (= code /code) (~ literal /literal) (+ emphasis role=\strikethrough\ /emphasis)) - Alist of DocBook expressions to convert emphasis fontifiers. + A list of DocBook expressions to convert emphasis fontifiers. Each element of the list is a list of three elements. The first element is the character used as a marker for fontification. The second element is a formatting string to wrap fontified text with. diff --git a/lisp/org-docview.el b/lisp/org-docview.el index 5db6594..b3a5178 100644 --- a/lisp/org-docview.el +++ b/lisp/org-docview.el @@ -62,7 +62,7 @@ ))) (defun org-docview-store-link () - Store a link to a docview buffer + Store a link to a docview buffer. (when (eq major-mode 'doc-view-mode) ;; This buffer is in doc-view-mode (let* ((path buffer-file-name) @@ -75,11 +75,16 @@ :description path (defun org-docview-complete-link () - Use the existing file name completion for file: links to get the file name, - then ask the user for the page number and append it. + Use the existing file name completion for file. +Links to get the file name, then ask the user for the page number +and append it. (concat (replace-regexp-in-string ^file: docview: (org-file-complete-link)) :: (read-from-minibuffer Page: 1))) (provide 'org-docview) + +(provide 'org-docview) + +;;; org-docview.el ends here diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 59734dc..501eb1c 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -26,6 +26,8 @@ ;; ;;; Commentary: +;;; Code: + (require 'org-macs) (declare-function org-table-align org-table ()) @@ -459,7 +461,7 @@ loaded, add these packages to `org-export-latex-packages-alist'. (Diamond \\diamond t diamond; [diamond] [diamond] ⋄) (loz \\diamond t loz; [lozenge] [lozenge] ◊) ) - Default entities used in Org-mode to preduce special characters. + Default entities used in Org-mode to produce special characters. For details see `org-entities-user'.) (defsubst org-entity-get (name) @@ -521,7 +523,7 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'. (org-table-align))) (defun org-entities-help () - Create a Help buffer with all available entities + Create a Help buffer with all available entities. (interactive) (with-output-to-temp-buffer *Org Entity Help* (princ Org-mode entities\n=\n\n) @@ -555,7 +557,7 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'. (defun replace-amp () - Postprocess HTML file to unescape the ampersant. + Postprocess HTML file to unescape the ampersand. (interactive) (while (re-search-forward tdamp;\\([^;]+;\\) nil t) (replace-match (concat td (match-string 1)) t t))) diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 4bf5db6..bbe245c 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -68,6 +68,8 @@ ;; `org-export-blocks-add-block' to add your block type to ;; `org-export-blocks'. +;;; Code: +
[Orgmode] Patchwork: Patch 138 Accepted
Patch 138 (http://patchwork.newartisans.com/patch/138/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3Cm21vb4bpg2.fsf%40bo.yax.org.uk%3E ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Correct some docstrings [part 2]
Accepted, with minor reversals. - Carsten On Jul 15, 2010, at 7:54 PM, Philip Rooke wrote: This is a second patch in a series that makes some straightforward corrections to a number of docstrings. Each change is normally to: - correct a typo, or - fix up hyperlinks to function or variable names, or - ensure slightly better conformance with the documentation guidelines and tips given in the Elisp manual No attempt is made to provide missing docstrings or document arguments. Cheers, Phil -- lisp/org-docbook.el|8 +++--- lisp/org-docview.el| 11 ++-- lisp/org-entities.el |8 -- lisp/org-exp-blocks.el | 58 +++ + lisp/org-exp.el| 29 ++-- lisp/org-feed.el |4 +- lisp/org-freemind.el | 14 +- lisp/org-habit.el |3 ++ lisp/org-html.el | 56 + 9 files changed, 106 insertions(+), 85 deletions(-) diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el index bbd0bed..c136d20 100644 --- a/lisp/org-docbook.el +++ b/lisp/org-docbook.el @@ -26,7 +26,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. -;; Commentary: +;;; Commentary: ;; ;; This library implements a DocBook exporter for org-mode. The basic ;; idea and design is very similar to what `org-export-as-html' has. @@ -142,8 +142,8 @@ people work on the same document. :type 'string) (defcustom org-export-docbook-footnote-id-prefix fn- - The prefix of footnote IDs used during exporting. Like -`org-export-docbook-section-id-prefix', this variable can help + The prefix of footnote IDs used during exporting. +Like `org-export-docbook-section-id-prefix', this variable can help avoid same set of footnote IDs being used multiple times. :group 'org-export-docbook :type 'string) @@ -155,7 +155,7 @@ avoid same set of footnote IDs being used multiple times. (= code /code) (~ literal /literal) (+ emphasis role=\strikethrough\ /emphasis)) - Alist of DocBook expressions to convert emphasis fontifiers. + A list of DocBook expressions to convert emphasis fontifiers. Each element of the list is a list of three elements. The first element is the character used as a marker for fontification. The second element is a formatting string to wrap fontified text with. diff --git a/lisp/org-docview.el b/lisp/org-docview.el index 5db6594..b3a5178 100644 --- a/lisp/org-docview.el +++ b/lisp/org-docview.el @@ -62,7 +62,7 @@ ))) (defun org-docview-store-link () - Store a link to a docview buffer + Store a link to a docview buffer. (when (eq major-mode 'doc-view-mode) ;; This buffer is in doc-view-mode (let* ((path buffer-file-name) @@ -75,11 +75,16 @@ :description path (defun org-docview-complete-link () - Use the existing file name completion for file: links to get the file name, - then ask the user for the page number and append it. + Use the existing file name completion for file. +Links to get the file name, then ask the user for the page number +and append it. (concat (replace-regexp-in-string ^file: docview: (org-file- complete-link)) :: (read-from-minibuffer Page: 1))) (provide 'org-docview) + +(provide 'org-docview) + +;;; org-docview.el ends here diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 59734dc..501eb1c 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -26,6 +26,8 @@ ;; ;;; Commentary: +;;; Code: + (require 'org-macs) (declare-function org-table-align org-table ()) @@ -459,7 +461,7 @@ loaded, add these packages to `org-export-latex- packages-alist'. (Diamond \\diamond t diamond; [diamond] [diamond] ⋄) (loz \\diamond t loz; [lozenge] [lozenge] ◊) ) - Default entities used in Org-mode to preduce special characters. + Default entities used in Org-mode to produce special characters. For details see `org-entities-user'.) (defsubst org-entity-get (name) @@ -521,7 +523,7 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'. (org-table-align))) (defun org-entities-help () - Create a Help buffer with all available entities + Create a Help buffer with all available entities. (interactive) (with-output-to-temp-buffer *Org Entity Help* (princ Org-mode entities\n=\n\n) @@ -555,7 +557,7 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'. (defun replace-amp () - Postprocess HTML file to unescape the ampersant. + Postprocess HTML file to unescape the ampersand. (interactive) (while (re-search-forward tdamp;\\([^;]+;\\) nil t) (replace-match (concat td (match-string 1)) t t))) diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 4bf5db6..bbe245c 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -68,6 +68,8 @@ ;; `org-export-blocks-add-block' to add your
[Orgmode] Re: Re Audible reminder in org-mode not working
Hi Matt and Evita, evita moreno wrote: The first question: Does your computer beep under other circumstances? It's very likely that Linux Mint disables the beep by default. What is the result the following command produce? lsmod | grep pcspkr If pcspkr is enabled Typing $ sudo lsmod | grep pcspkrin my terminal does not give anything. It simply shows the next prompt (if I am using the correct terminology - I am new in emacs and Linux!). Just to say I do have sound emitted by my laptop, though I don't have the above module loaded (just checked your command). Maybe grepping on `snd' would give interesting feedback? --8---cut here---start-8--- [...@mundaneum] ~lsmod | grep -i snd snd_hda_codec_realtek 203310 1 snd_hda_intel 21941 2 snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 5412 1 snd_hda_codec snd_pcm_oss35308 0 snd_mixer_oss 13746 1 snd_pcm_oss snd_pcm70662 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_dummy 1338 0 snd_seq_oss26726 0 snd_seq_midi4557 0 snd_rawmidi19056 1 snd_seq_midi snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi snd_seq47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 19098 2 snd_pcm,snd_seq snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd54148 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6620 1 snd snd_page_alloc 7076 2 snd_hda_intel,snd_pcm --8---cut here---end---8--- Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] installing updating Org on other platform
If anyone is using Org-mode with Gnu Emacs on Win XP, then I would be grateful for their comments. Have just updated to Org version 6.36c.While Org appears to work normally, and version 6.36c is reported evaluating org-version And the recent Footnotes sorting feature works. But I fear the update or installation is somehow not proper. My only suspicions for this are; that publishing to HTML seems problematic, and that there are no .elc files appearing where the org.el files are located. To install, I downloaded the 6.36c zip, and copied all and only the /lisp/*.el files into the folder ~/Emacs/Lisp/org. I notice that in .emacs the entry (add-to-list 'load-path C:/emacs/lisp/org) or as I first had it, (add-to-list 'load-path C:/emacs/org-6.36c) neither have any effect. It seems Emacs will find Org in ~/emacs/lisp/org no matter what. Only (require 'org) is present in my .emacs and then some Org settings. Any comments appreciated. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: iCal export and complex diary sexps
On 15 Jul 2010, sven.bretf...@gmx.ch wrote: There was a thread about this some weeks ago. The iCal export does not support org-diary-class entries or other complex diary sexps. I missed that thread, but it's an issue I looked into some time ago, with regard to sexps. The basic issue is that org-export-icalendar-* calls icalendar.el, which currently does not support the export of complex sexps. In other words, it doesn't do much good for us to say that Org ought to export these things to ical, because the feature is missing not from org but from a completely different package. I, too, wish the feature was available. But there's no point in complaining here about it. I hope that Ulf Jasper (the author of icalendar.el) is working on this problem. The package appears to be in active development, but I can't confirm that. So, assuming the best, others are working on what is truly not a trivial problem. I looked at the ical specification, and it made my brain hurt. It is very complex to program in a conversion of sexp to the ical format. I'd rather that Carsten and others working actively on org-mode not be distracted by a puzzle that is really not central to org's functionality or purpose. Perhaps org-explort-icalendar could (for the elisp savvy) easily support org-diary-class, but at this stage, with the limitations of icalendar.el, it would only be elementary support, because the function appears to be a nifty way of specifying what (diary-block) does, but without the option of skip. To program in more than this gets us right back to the fundamental problem, the lack of the needed feature in icalendar.el. I want to ask if anybody has a workaround on this issue in the meantime. For example, it could possibly be solved by an after-export-hook that scans org-files for org-diary-class, converts the relevant entries to the iCal format and appends them to the ics file. My way of handling this was to create a file with certain important recurring events in ical format (these happen on the second Tuesday and the second Thursday, those good sexp candidates). I have a function that appends this file to the file icalendar-export-file creates, and have all this tied in by a function called by after-save-hook. Something similar, I'm sure, could be done for org-export-icalendar-* -- -- Dan Griswold Rochester, NY -- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] programming for org-mode
Eric Schulte wrote: [1 text/plain (7bit)] So, The way that I learned how to program in emacs lisp was mainly using two commands `elisp-index-search' bound to `C-h e' on my system, and most importantly `describe-function' bound to `C-h f'. With `describe-function' you can look at the source code of functions whose behavior you are familiar with, you can then copy portions of the code to your *scratch* buffer where they can be edited and evaluated with `eval-defun' bound to `C-M-x'. Now with Babel, instead of doing this in the scratch buffer you could do this in emacs-lisp code blocks in an org file, enabling notes and hierarchical organization -- it can be nice to have your noodling all collected in one file for later reference. If you are going to do any serious work with lisp, I would emphatically recommend using paredit-mode, and becoming friends with the Sexp movement functions +1 and not to forget eldoc (M-x eldoc-mode)[1] that displays the description of a variable or the arguments of a function in minibuffer. For hacking Org mode in particular there is a Hacking section in the manual that explains the mapping and the property API. For getting in touch with Emacs Lisp there's Xah Lee's Emacs Lisp Tutorial, too[3]. HTH happy hacking, -- David [1] http://www.emacswiki.org/emacs/?ElDoc [2] http://orgmode.org/manual/Hacking.html [3] http://xahlee.org/emacs/elisp.html -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpmbWH0nH4p3.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] installing updating Org on other platform
Hi, I'm not on Win XP, but just wanted to ask for clarification as it might help others help you... On Thu, Jul 15, 2010 at 2:32 PM, Adam ah...@ihug.co.nz wrote: To install, I downloaded the 6.36c zip, and copied all and only the /lisp/*.el files into the folder ~/Emacs/Lisp/org. Can you define what ~ stands for above? For example: - Linux typically = /home/username/ - Mac typically = /Users/username/ - Win = ??? --- Doing a 'dir ~' from the prompt yielded 'Volume in drive C has no label' or cd ~ yields 'The system cannot find the path specified' I notice that in .emacs the entry (add-to-list 'load-path C:/emacs/lisp/org) or as I first had it, (add-to-list 'load-path C:/emacs/org-6.36c) neither have any effect. It seems Emacs will find Org in ~/emacs/lisp/org no matter what. Only (require 'org) is present in my .emacs and then some Org settings. This might be extremely minute, but the GNU Emacs FAQ includes a trailing slash in the instructions on how to add directories to one's load path via .emacs [1]: (add-to-list 'load-path /dir/subdir/) Not sure if that will help you at all. Primarily I'd focus on making sure ../emacs/org[-6.36c] is where you think it is? Not to come across as insulting... just never hurts to be sure! [1] See 5.17 here: http://www.gnu.org/software/emacs/emacs-faq.html Any comments appreciated. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] programming for org-mode
Ah, heck, just forgot: Casting Spells in Lisp http://www.lisperati.com/casting.html Comic book about programming in Lisp, Emacs Lisp Version available. -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpfQkHRmtNAJ.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Patchwork: Patch 138 Accepted
Hi! I'd appreciate if the subject line and body of those patchwork mails could be a little more informative, since I can't really be bothered to click on those urls in order to figure out what's going on. Carsten Dominik schrieb: Patch 138 (http://patchwork.newartisans.com/patch/138/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3Cm21vb4bpg2.fsf%40bo.yax.org.uk%3E ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ---Zitatende--- -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Possible Bug in org-refile [6.36trans (release_6.36.654.g2cd3)]
No bug here. If I SAVE the buffer to a file, everything works great. I had something wrong with the value of org-refile-targets in my full set up that triggered all this. I think I can make it right. Carry on... Scot ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] programming for org-mode
Eric Schulte schulte.e...@gmail.com wrote: ... If you are going to do any serious work with lisp, I would emphatically recommend using paredit-mode, and becoming friends with the Sexp movement functions ++ | C-M-f | runs the command paredit-forward | |---+| | C-M-b | runs the command paredit-backward | |---+| | C-M-u | runs the command backward-up-list | |---+| | C-M-k | runs the command kill-sexp | |---+| | C-y | runs the command yank | ++ They allow you to manipulate lisp code on the level of logical expressions, the utility of which can not be over stated. I presume that paredit is useful because it's a minor mode, so you can enable it on an org-mode buffer (e.g. using babel). But if you are editing a .el file, then emacs-lisp mode provides all these facilities (C-M-f - forward-sexp, etc.) and you don't need paredit. Do I have that right? Thanks, Nick PS. The ultimate *reference* for emacs lisp is the Emacs Lisp Reference manual http://www.gnu.org/software/emacs/manual/html_node/elisp/index.html At some point in one's emacs-lisp programming life, it will be necessary to refer to it - but it is very much a reference manual, not a tutorial. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] fix for error of quoted and emphasized text in LaTeX export
Robert, Did you have a chance to try this yet? I'm keen to know if it seems to work. I'll try if I get the chance, but (perhaps like you), I'm no expert, and it might be a few days before I have a chance to play with it. Scot On Wed, Jul 7, 2010 at 3:48 PM, Robert Hennig robert.hen...@freylax.dewrote: Dear Orgmode List, In LaTeX export the following will fail: /Hello/ - ``/Hello/'' instead of /Hello/ - ``\emph{Hello}'' The fix I propose is to change the order of calling org-export-latex-quotation-marks AFTER org-export-latex-fontify in the org-export-latex-content function, because the quotation marks would be changed and do not match the regexp anymore. But I'm not too shure if there are other implications to regard. best regards, Robert Hennig ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] programming for org-mode
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Eric Schulte schulte.e...@gmail.com wrote: ... If you are going to do any serious work with lisp, I would emphatically recommend using paredit-mode, and becoming friends with the Sexp movement functions ++ | C-M-f | runs the command paredit-forward | |---+| | C-M-b | runs the command paredit-backward | |---+| | C-M-u | runs the command backward-up-list | |---+| | C-M-k | runs the command kill-sexp | |---+| | C-y | runs the command yank | ++ They allow you to manipulate lisp code on the level of logical expressions, the utility of which can not be over stated. I presume that paredit is useful because it's a minor mode, so you can enable it on an org-mode buffer (e.g. using babel). No, even for emacs-lisp code blocks I use C-c ' to edit the code in emacs-lisp mode. I do have [ and ] globally bound to `insert-parenthesis' and `move-past-close-and-reindent' respectively, but that's probably a little too radical for most users. I only enable paredit minor-mode in lispy modes. But if you are editing a .el file, then emacs-lisp mode provides all these facilities (C-M-f - forward-sexp, etc.) and you don't need paredit. Do I have that right? Not quite, Paredit has a number of nice features aside from sexp movement, including /electric/ insertion of both open and close parenthesis, brackets and quotation's which greatly increase the speed with which one can write lisp code -- all the while ensuring that the code in the buffer is /valid/ in terms of balanced parenthesis. Cheers -- Eric Thanks, Nick PS. The ultimate *reference* for emacs lisp is the Emacs Lisp Reference manual http://www.gnu.org/software/emacs/manual/html_node/elisp/index.html At some point in one's emacs-lisp programming life, it will be necessary to refer to it - but it is very much a reference manual, not a tutorial. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] programming for org-mode
Eric Schulte schulte.e...@gmail.com wrote: I presume that paredit is useful because it's a minor mode, so you can enable it on an org-mode buffer (e.g. using babel). No, even for emacs-lisp code blocks I use C-c ' to edit the code in emacs-lisp mode. I do have [ and ] globally bound to `insert-parenthesis' and `move-past-close-and-reindent' respectively, but that's probably a little too radical for most users. I only enable paredit minor-mode in lispy modes. Ah, OK. But if you are editing a .el file, then emacs-lisp mode provides all these facilities (C-M-f - forward-sexp, etc.) and you don't need paredit. Do I have that right? Not quite, Paredit has a number of nice features aside from sexp movement, including /electric/ insertion of both open and close parenthesis, brackets and quotation's which greatly increase the speed with which one can write lisp code -- all the while ensuring that the code in the buffer is /valid/ in terms of balanced parenthesis. Thanks for the explanation! Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Patchwork: Patch 138 Accepted
Friedrich Delgado frie...@nomaden.org wrote: Hi! I'd appreciate if the subject line and body of those patchwork mails could be a little more informative, since I can't really be bothered to click on those urls in order to figure out what's going on. I'm really trying to be nice here and not be an officious bastard, but wouldn't it be more politic to express yourself a bit differently? It seems to me that if I'm trying to convince somebody else to do some amount of work so that I don't have to do a (minuscule) amount of work on my side, then pointing out that *I* can't be bothered does not invite much sympathy, let alone a desire to comply with the request. Regards, Nick Carsten Dominik schrieb: Patch 138 (http://patchwork.newartisans.com/patch/138/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3Cm21vb4bpg2.fsf%40bo.yax.org.uk%3E ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ---Zitatende--- -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-babel and emacs init
Still had some issues with your function Eric, but finally found the time to make it work on my system. Posting it here since I didn't use reply all the first time around, and someone else might find it useful. (defun my-org-babel-load-file (file) (let ((orig-file (expand-file-name file dotfiles-dir)) (tmp-file (make-temp-file my-ob-load nil .org))) (with-temp-file tmp-file (insert-file-contents orig-file)) (org-babel-load-file tmp-file))) Thanks for your help ! Cheers On Sat, Jul 3, 2010 at 3:56 AM, Eric Schulte schulte.e...@gmail.com wrote: Hi Julien, Org-mode prefers when it is used in buffers that are associated with files. The following version creates temporary files for each load. It will litter your /tmp directory instead of your emacs directory -- although it shouldn't be hard to add a quick cleanup at the end of the function. Cheers -- Eric (defun my-org-babel-load-file (file) (let ((tmp-file (make-temp-file my-ob-load))) (with-temp-file tmp-file (insert-file-contents (expand-file-name file dotfiles-dir)) (org-mode) (org-babel-execute-buffer Julien Fantin julien.fan...@gmail.com writes: Hi eric, I'v been trying to find a way to avoid the tangling involved in using org-babel-load-file when loading my config, as it clobbers my emacs directoy with files I don't use. But I'm getting errors with this function : (defun my-org-babel-load-file (file) (with-temp-buffer (insert-file-contents (expand-file-name file dotfiles-dir)) (org-mode) (org-babel-execute-buffer))) (my-org-babel-load-file init.org) It's giving me a hard time apparently due to org-babel-insert-result calling orgtbl-to-orgtbl on blocks of emacs-lisp which return nil. Could you suggest how to do this properly ? cheers and congratulations on the integration ! On Mon, Jun 28, 2010 at 7:59 PM, Eric Schulte schulte.e...@gmail.comwrote: Hi Richard, Happy this is sorted out. A similar startup example is available in the init.el file in my copy of the Emacs Starter Kit [1], which also tangles all configuration from org files. Cheers -- Eric Richard Riley rile...@gmail.com writes: Firstly : Carsten and Eric I emailed you privately as I had no news access - pls ignore. Problem solved. With the latest git pull for org-mode I couldn't start my emacs because my init files are org files untangled using babel. Here is an updated init.el which which uses the new names and pulls in ob-tangle. (setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name))) (let* ((org-dir (expand-file-name lisp (expand-file-name org-mode dotfiles-dir))) (org-contrib-dir (expand-file-name lisp (expand-file-name contrib (expand-file-name .. org-dir (load-path (append (list org-dir org-contrib-dir (concat org-dir /babel)) (or load-path nil (message %s org-dir) ;; load up Org-mode and Org-babel (require 'org-install) (require 'ob) (require 'ob-tangle) ) Footnotes: [1] http://github.com/eschulte/emacs-starter-kit/blob/master/init.el ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] installing updating Org on other platform
Thanks, John. I'm not on Win XP, but just wanted to ask for clarification as it might help others help you... To install, I downloaded the 6.36c zip, and copied all and only the /lisp/*.el files into the folder ~/Emacs/Lisp/org. I copied all the contents of the archive org-6.36c/lisp/ directory, into C:/emacs/lisp/org/ I notice that in .emacs the entry (add-to-list 'load-path C:/emacs/lisp/org) or as I first had it, (add-to-list 'load-path C:/emacs/org-6.36c) neither have any effect. It seems Emacs will find Org in ~/emacs/lisp/org no matter what. Only (require 'org) is present in my .emacs and then some Org settings. This might be extremely minute, but the GNU Emacs FAQ includes a trailing slash in the instructions on how to add directories to one's load path via .emacs [1]: (add-to-list 'load-path /dir/subdir/) Above is inaccurate, the .emacs load-path directories DO have the trailing slash. Not sure if that will help you at all. Primarily I'd focus on making sure ../emacs/org[-6.36c] is where you think it is? Not to come across as insulting... just never hurts to be sure! [1] See 5.17 here: http://www.gnu.org/software/emacs/emacs-faq.html Thanks , will re-read the FAQ. Although it doesn't seem to refer to installing or updating packages with Emacs, Like Org or Remember etc. As I say, Emacs seems to find the Org 6.35c components in C:/emacs/lisp/org/It hasn't however ever generated .elc files from them - and I think that may be wrong, but don't know. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode