[Orgmode] Re: [PROPOSAL] Quick and easy installation instructions
Rémi Vanicat vani...@debian.org writes: Richard Riley rile...@gmail.com writes: You have no idea how pleased I am to hear you say that ... I sometimes wondered if I should go back to notepad ;) When asking the #emacs irc it seemed I was the only one in the world that constantly had issues. Of course mentioning Debian immediately saw me get the oh debian cold shoulder ... ;) LOL. On Debian you should use update-info-dir ( as in $ update-info-dir /path/to/infos to generate the dir file. (This may work on others distribution too, I don't know if it is a Debian specific tools) [...] Yes, I knew about that and thing I submitted an update for the makefile yonks ago to use just that. The issue seemed to be with multiple dirs and then emacs having its own info file paths. I need to get back to building my own emacs on debian and see what happens to be more explicit - I just know that I, and from #emacs, others ended up in a kind of pickle. ___ 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] [PROPOSAL] Quick and easy installation instructions
On Sep 26, 2010, at 3:33 PM, Dan Davison wrote: I think that the documentation concerning installation should be made more user-friendly. My impression is that the Org manual makes all this sound much harder than it needs to be, and I suspect that this is an entry-barrier for new Org users. For example, the first thing users encounter in the manual section is an instruction to edit a Makefile. I suggest we provide a quick and easy installation section to the manual, that shows people how to start using the latest version of Org-mode without messing about with compilation and installation (I rarely compile and have never installed Org-mode). It would also be helpful to include notes on how to find your .emacs file. This would involve the following changes to section 1.2 Installation: 1. The first thing it should say would be along the lines of A reasonably recent version of Org is included in Emacs. Are you sure you need the latest version of Org? If not, skip to the Activation section and start using Org! I do agree that we should have this sentence, but maybe modified like this: If you have a recent release of Emacs, a version of Org-mode sufficient for all basic use is already included and you may skip the installation instructions and continue with section xxx, activation. However, Org-mode evolves fast. Therefore, we do recommend to install the most recent release. Maybe we could actually have an Emacs command that will insert the basic stuff into .emacs and optionally compile the Lisp files. The installation would be: - download and unpack tar file - emacs -l path-to-org.el - M-x org-install org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Just my 5c - Carsten 2. Then we should lay out an easy route and a full route: 1. Quick and easy Download, set your load-path and (require 'org-install) Optionally compile (within emacs[1]?) Suggested text below. 2. Full install Based on existing instructions What do people think? Is it just the info files which are the issue? What does a single-user machine gain from installation other than info files? Dan Footnotes: [1] How about including in Org-mode a function `org-compile' based on http://orgmode.org/worg/org-hacks.php#compiling-org-without-make and `org-reload' Example quick and Easy installation text: ~~~ 1. Download the latest version .zip and .tar.gz version are kept at http://orgmode.org/org-latest.zip http://orgmode.org/org-latest.tar.gz 2. Extract the archived files This will create a folder called org-mode. Let's say that the location of this folder is ~/path/to/org-mode (for Windows see footnote [1]) 3. Add the following lines to your .emacs file (note that we're pointing to the lisp folder *within* the main org-mode folder): (setq load-path (cons ~/path/to/org-mode/lisp load-path) (require 'org-install) That's it. However, this will not install the latest info files, so these will be out of date (corresponding to whatever version of Org shipped with your emacs). See for instructions on installing the info files. Now, Emacs should load whatever version of Org-mode you put at ~/path/to/org-mode. So to update Org in the future, simply delete that folder and replace it with a new one (steps 1 and 2 above). Footnotes: [1] On Windows, this path might look something like C:\\path\to\org-mode ___ 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] Re: [PATCH] Alphabetical ordered lists
Nathaniel Flath writes: But, there is apparently one major drawback, as I said in a previous post. If the line starts with a word followed by a dot or a parenthesis, Org will see a bullet there. This is bad news because the following line will be indented, or a M-RET will delete the word, replacing it with a) or a. Yes, this happens - it's not something that comes up during my normal usage, so I didn't notice. Can you think of a way to determine if this is the case vs. a list is actually wanted? Unfortunately, I can't see anything clean. This is tricky because lists are the closest construct to raw text. -- Nicolas ___ 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: [bug] Gnus author in capture templates not working
Hi David, David Maus wrote: Sébastien Vauban wrote: I now have a full timestamp (date and time) for when the mail has been sent (or received?). Well... It's the date of the Date: header field ;) What it is set to depends on the sender; that's why it is not really a reliable piece of information one should use for scheduling items. The sender's clock might be wrong or the header might not be present. You're right. Its best use is for an inactive timestamp, stating when the mail dates from. Useful info. Thanks, 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] Re: [babel] Environment around exported results
Hi Rainer, Rainer M Krug wrote: On 24/09/10 11:28, Sébastien Vauban wrote: Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Eric Schulte wrote: Would you mind creating an LaTeX environment around the =results= block, so that we could have the code colorized (via listings or Minted), and clearly distinguish the results, if we want so. Having an environment would allow one to use non-proportional font for the results, or a shadowed background, or... Would such an environment be in addition too or in place of wrapping results in the example environment? I would think of something like this: \begin{orgresults} ... results block ... \end{orgresults} so that one can customize the =orgresults= environment in LaTeX to get a colored background, another font, etc. One very nice property of the current setup is that it relies solely on vanilla Org-mode for export features. If the example export of Org-mode allowed some form of customization through a customizable div class or latex environment would that be sufficient? The name of the environment could be in a variable, yes. But please note the above request can come out of a misunderstanding or poor knowledge of already existing parametrization of Org-Babel. Put me back on tracks if needed... I think you've made a good point for adding this functionality. Thanks ;-) I'll put this on the Babel TODO stack, and reply to this email when we get something implemented. FYI, I think it such a thing should be on by default, but with a possibility to disable it, block per block (or subtree, or file, ...). Something like a =:nowrapper= header argument? Probably even one step further: being able to specify the environment to be used in a header argument, so we would have three possible scenarios: 1) default (equals to :wrapper orgresults) : using \begin{orgresults} ... \end{orgresult} 2) :nowrapper : using no wrapper around the results block 3) :wrapper myEnvironment : using \begin{myEnvironment} ... \end{myEnvironment} Sure! This would make *a lot of sense*, IMHO. This could possibly even extended to source blocks as well, enabling the use of different formating for different source blocks? 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] Re: [PROPOSAL] Quick and easy installation instructions
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 26, 2010, at 3:33 PM, Dan Davison wrote: I think that the documentation concerning installation should be made more user-friendly. My impression is that the Org manual makes all this sound much harder than it needs to be, and I suspect that this is an entry-barrier for new Org users. For example, the first thing users encounter in the manual section is an instruction to edit a Makefile. I suggest we provide a quick and easy installation section to the manual, that shows people how to start using the latest version of Org-mode without messing about with compilation and installation (I rarely compile and have never installed Org-mode). It would also be helpful to include notes on how to find your .emacs file. This would involve the following changes to section 1.2 Installation: 1. The first thing it should say would be along the lines of A reasonably recent version of Org is included in Emacs. Are you sure you need the latest version of Org? If not, skip to the Activation section and start using Org! Hi Carsten, I do agree that we should have this sentence, but maybe modified like this: If you have a recent release of Emacs, a version of Org-mode sufficient for all basic use is already included and you may skip the installation instructions and continue with section xxx, activation. However, Org-mode evolves fast. Therefore, we do recommend to install the most recent release. OK. Maybe we could actually have an Emacs command that will insert the basic stuff into .emacs and optionally compile the Lisp files. The installation would be: - download and unpack tar file - emacs -l path-to-org.el - M-x org-install org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? M-x org-update-org?). But then I started thinking that we should investigate/rule out the ELPA possibilities before creating a new install function for Org. Maybe some people on this list have experience of maintaining packages on ELPA and will be able to give an opinion. Dan Just my 5c - Carsten 2. Then we should lay out an easy route and a full route: 1. Quick and easy Download, set your load-path and (require 'org-install) Optionally compile (within emacs[1]?) Suggested text below. 2. Full install Based on existing instructions What do people think? Is it just the info files which are the issue? What does a single-user machine gain from installation other than info files? Dan Footnotes: [1] How about including in Org-mode a function `org-compile' based on http://orgmode.org/worg/org-hacks.php#compiling-org-without-make and `org-reload' Example quick and Easy installation text: ~~~ 1. Download the latest version .zip and .tar.gz version are kept at http://orgmode.org/org-latest.zip http://orgmode.org/org-latest.tar.gz 2. Extract the archived files This will create a folder called org-mode. Let's say that the location of this folder is ~/path/to/org-mode (for Windows see footnote [1]) 3. Add the following lines to your .emacs file (note that we're pointing to the lisp folder *within* the main org-mode folder): (setq load-path (cons ~/path/to/org-mode/lisp load-path) (require 'org-install) That's it. However, this will not install the latest info files, so these will be out of date (corresponding to whatever version of Org shipped with your emacs). See for instructions on installing the info files. Now, Emacs should load whatever version of Org-mode you put at ~/path/to/org-mode. So to update Org in the future, simply delete that folder and replace it with a new one (steps 1 and 2 above). Footnotes: [1] On Windows, this path might look something like C:\\path\to\org-mode ___ 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 ___ 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: [PROPOSAL] Quick and easy installation instructions
On Sep 27, 2010, at 11:00 AM, Dan Davison wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Sep 26, 2010, at 3:33 PM, Dan Davison wrote: I think that the documentation concerning installation should be made more user-friendly. My impression is that the Org manual makes all this sound much harder than it needs to be, and I suspect that this is an entry-barrier for new Org users. For example, the first thing users encounter in the manual section is an instruction to edit a Makefile. I suggest we provide a quick and easy installation section to the manual, that shows people how to start using the latest version of Org-mode without messing about with compilation and installation (I rarely compile and have never installed Org-mode). It would also be helpful to include notes on how to find your .emacs file. This would involve the following changes to section 1.2 Installation: 1. The first thing it should say would be along the lines of A reasonably recent version of Org is included in Emacs. Are you sure you need the latest version of Org? If not, skip to the Activation section and start using Org! Hi Carsten, I do agree that we should have this sentence, but maybe modified like this: If you have a recent release of Emacs, a version of Org-mode sufficient for all basic use is already included and you may skip the installation instructions and continue with section xxx, activation. However, Org-mode evolves fast. Therefore, we do recommend to install the most recent release. OK. Maybe we could actually have an Emacs command that will insert the basic stuff into .emacs and optionally compile the Lisp files. The installation would be: - download and unpack tar file - emacs -l path-to-org.el - M-x org-install org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? This rings a bell - I think Sebastian Rose implemented that already. Let search! - Carsten M-x org-update-org?). But then I started thinking that we should investigate/rule out the ELPA possibilities before creating a new install function for Org. Maybe some people on this list have experience of maintaining packages on ELPA and will be able to give an opinion. Dan Just my 5c - Carsten 2. Then we should lay out an easy route and a full route: 1. Quick and easy Download, set your load-path and (require 'org-install) Optionally compile (within emacs[1]?) Suggested text below. 2. Full install Based on existing instructions What do people think? Is it just the info files which are the issue? What does a single-user machine gain from installation other than info files? Dan Footnotes: [1] How about including in Org-mode a function `org-compile' based on http://orgmode.org/worg/org-hacks.php#compiling-org-without-make and `org-reload' Example quick and Easy installation text: ~~~ 1. Download the latest version .zip and .tar.gz version are kept at http://orgmode.org/org-latest.zip http://orgmode.org/org-latest.tar.gz 2. Extract the archived files This will create a folder called org-mode. Let's say that the location of this folder is ~/path/to/org-mode (for Windows see footnote [1]) 3. Add the following lines to your .emacs file (note that we're pointing to the lisp folder *within* the main org-mode folder): (setq load-path (cons ~/path/to/org-mode/lisp load-path) (require 'org-install) That's it. However, this will not install the latest info files, so these will be out of date (corresponding to whatever version of Org shipped with your emacs). See for instructions on installing the info files. Now, Emacs should load whatever version of Org-mode you put at ~/path/to/org-mode. So to update Org in the future, simply delete that folder and replace it with a new one (steps 1 and 2 above). Footnotes: [1] On Windows, this path might look something like C:\\path\to\org-mode ___ 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 ___ 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] how to set faces?
Hello The following setting works in lisp mode (let ((lisp-regexp-4 ?\\(*[a-zA-Z]*\\*))) (setq lisp-font-lock-keywords-1 (append lisp-font-lock-keywords-1 (list (list lisp-regexp-4 0 'font-lock-log-warn-face t (setq lisp-font-lock-keywords-2 (append lisp-font-lock-keywords-2 (list (list lisp-regexp-4 0 'font-lock-log-warn-face t) Every word surrounded by an * gets highlighted by the font-lock-log-warn-face. I tried something similar for org-mode, like (let ((lisp-regexp-4 ?\\(*[a-zA-Z]*\\*))) (setq org-font-lock-keywords (append lisp-font-lock-keywords-1 (list (list lisp-regexp-4 0 'font-lock-comment-warn-face t) Or (add-to-list 'org-font-lock-keywords '( ?\\(*[a-zA-Z]*\\*) 1 'font-lock-comment-warn-face append t)) But it does not work, Can somebody give me a hint please? Uwe Brauer ___ 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: [PROPOSAL] Quick and easy installation instructions
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 27, 2010, at 11:00 AM, Dan Davison wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Sep 26, 2010, at 3:33 PM, Dan Davison wrote: I think that the documentation concerning installation should be made more user-friendly. [...] I suggest we provide a quick and easy installation section to the manual, that shows people how to start using the latest version of Org-mode without messing about with compilation and installation If you have a recent release of Emacs, a version of Org-mode sufficient for all basic use is already included and you may skip the installation instructions and continue with section xxx, activation. However, Org-mode evolves fast. Therefore, we do recommend to install the most recent release. Maybe we could actually have an Emacs command that will insert the basic stuff into .emacs and optionally compile the Lisp files. I disagree: the juice of speed (is Org-mode slow??) does not worth the squeeze of the problems arising from compilation: + different versions of Emacs that compile the files (!) + old .elc files left somewhere + the order of compilation (org.el is the *latest* file to be compiled [in my experience] so I had to compile twice) + the idle time the disk usage during compilation The installation would be: - download and unpack tar file - emacs -l path-to-org.el - M-x org-install org-install would figure out where org.el is, add to .emacs and query for compilation. I disagree. Better a variable that can be customized (and default compile:nil). If newbie want speed they shall read the Emacs manual and be able to customize a variable. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? This rings a bell - I think Sebastian Rose implemented that already. Let search! for the download part yes: contrib/org-track.el not for editing .emacs. Giovanni ___ 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] geolocated notes
Hello. I've just created a hack to for org-mode (and org-remember) to receive and parse URLs from OpenStreetMap and Google Maps. The function extracts longitude and latitude and sets GEO property of the node to geo: URI. The code is easily extendable. To add support for other maps one has to add a branch in the `cond' in stl/org-dnd-set-geo-property, that sets `lon' and `lat' appropriately *and* a regular expression in stl/org-dnd-add-geo-support. To see it running just drag and drop the URL that contains geographic coordinates from the address bar (or the Link link in the upper right corner of the Google Maps window) over a node to get its GEO property set. --8---cut here---start-8--- (defun stl/org-dnd-set-geo-property (uri action) (save-excursion (let (lat lon) (cond ; OpenStreetMap ((string-match ^http://\\(?:www\.\\)openstreetmap\.org/ uri) (dolist (p (split-string (cadr (split-string uri \?)) )) (cond ((string-match lat=\\(-?[.0-9]+\\) p) (setq lat (match-string 1 p))) ((string-match lon=\\(-?[.0-9]+\\) p) (setq lon (match-string 1 p)) ; Google Maps ((string-match ^http://maps\.google\.com/.*ll=\\(-?[.0-9]+\\),\\(-?[.0-9]+\\) uri) (setq lat (match-string 1 uri) lon (match-string 2 uri (unless (outline-previous-heading) (search-forward-regexp org-outline-regexp)) (org-set-property GEO (concat geo: lat , lon) (defun stl/org-dnd-add-geo-support () (org-set-local 'dnd-protocol-alist (append '((^http://\\(?:\\(?:www\.\\)?openstreetmap\.org\\|maps\.google\.com\\). stl/org-dnd-set-geo-property)) dnd-protocol-alist))) (add-hook 'org-mode-hook 'stl/org-dnd-add-geo-support) (add-hook 'org-remember-mode-hook 'stl/org-dnd-add-geo-support) --8---cut here---end---8--- -- Miłego dnia, Łukasz Stelmach ___ 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: FLOSS Weekly show about Org-mode
Bastien bastien.gue...@wikimedia.fr writes: Jeff Horn jrhorn...@gmail.com writes: I wanted to mention how great it would be to have an org-mode conference. If many people support this idea, this is how we could do it: 1. list ideas of things we would do there Meet and talk about org-mode :-) 2. find out what would be the best location/date We could probably get a developer room at next years FOSDEM[1]. They provide rooms where projects can organize their own schedule, made of presentations, brainstorming and hacking sessions. You have to apply[2] for such a developer room as they always receive more requests than they can host. Also of course Carsten would make for a good main track speaker[3]. 3. figure out how much money does it requires I don't know the details but I could imagine that this would not require any money. 4. decide (or not) to go for it Write the application and see if they'll give you a room :-). If there is a room I'll come and do a presentation :-). Thanks Christian Footnotes: [1] http://www.fosdem.org/2011/ [2] http://www.fosdem.org/2011/call_for_devrooms [3] http://www.fosdem.org/2011/call_for_main_speakers -- 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
Re: [PATCH] Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)
David Maus dm...@ictsoc.de writes: Also I guess the decoding is secure. Means we could change the comment of this function: (defun org-protocol-unhex-compound (hex) Unhexify unicode hex-chars. E.g. `%C3%B6' is the German Umlaut `ö'. Note: this function falls back on single byte decoding if a character sequence is not valid utf-8. See `org-protocol-unhex-single-byte-sequence'. Should I send another patch against master? (Too late here... for me...) Not necessary, following patch removed this sentence and added a proper commit message (please see: Commit messages and ChangeLog entries on http://orgmode.org/worg/org-contribute.php). I took the new patch under review in patchtracker -- If someone else wants to jump on it, just go ahead. Best, -- David Thanks David! 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
Re: [Orgmode] Re: [PROPOSAL] Quick and easy installation instructions
Carsten Dominik carsten.domi...@gmail.com writes: org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? This rings a bell - I think Sebastian Rose implemented that already. Let search! It's in contrib/lisp/org-track.el. But as Org mode is on ELPA already, M-x package-list-packages and this kind of package handling is part of emacs-24 already, I guess that's a better way to go? 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] Testing code
Hi, I'd like to write a few simple tests for the modified hex-decoding functions I wrote for org-protocol.el. These functions and the patch is easier to understand and maintain if there are some simple tests, I guess. Could we have a short introduction in writing tests on Worg (or is it there)? Tehom wrote something below testing/html/ ... 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
Re: [Orgmode] Requests about the code demarcation
Hi Seb, Thanks for the suggestions, I've just implemented them. Best -- Eric Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric and Richard, Eric Schulte wrote: Applied, Thanks Two comments about that great function: - Would it be possible to leave the code where it is, and have it selected (in a region), when the question about the language is asked? Currently, it seems to be temporarily cut, and I sometimes hesitate about which language I wanna choose (moreover, when the right language does not exist, such as for demarcating an extract of config file). Would the code chunk stay visible, it'd be easier... - Is it possible to envision completion of the language name? Writing =emacs-lisp= could become easier... Best regards, Seb ___ 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] File-level execute permissions?
Hi Bill, The `org-confirm-babel-evaluate' variable can be set to a function which can query the user to confirm code block evaluation. The following code does two things. 1) it creates and maintains a list of the files that the user has said are safe for evaluation (this list will need to be rebuilt every time you re-start Emacs) 2) it shows the language and body of the code block to the user when querying for evaluation --8---cut here---start-8--- (setq babel-safe-files '()) (defun my-babel-confirmation (lang body) (let ((file (buffer-file-name))) (if (member file babel-safe-files) nil (if (y-or-n-p (format (concat #+begin_src %s\n%s#+end_src\n Evaluate this code block (and all others in this file) on your system? ) lang body)) (prog1 nil (setq babel-safe-files (cons file babel-safe-files))) t (setq org-confirm-babel-evaluate #'my-babel-confirmation) --8---cut here---end---8--- This above can be added to your configuration to get close to the functionality you describe. I agree that the default confirmation should show the code block in question when asking if it should be evaluated. I'll add this to our development task list. Note: the above requires that you pull down the latest version of Org-mode. Best -- Eric Bill Harris bill_har...@facilitatedsystems.com writes: Noorul Islam noo...@noorul.com writes: How about setting `org-confirm-babel-evaluate' to nil Noorul, Thank you for the suggestion. Setting that to nil, according to the documentation, prevents _any_ confirmation requests in any file, at least as best as I can tell. I don't really want that. What I want is to have to confirm once at the first code block in an org file and then have the rest go without confirmation. Since I don't see the code blocks anyway when I get asked for confirmation, I'm not sure there's a lot of benefit to a confirmation request on each block, but I do want a reminder that there is one or more code blocks in a file before I blithely execute the entire thing. Bill ___ 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: Requests about the code demarcation
Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Two comments about that great function: - Would it be possible to leave the code where it is, and have it selected (in a region), when the question about the language is asked? Currently, it seems to be temporarily cut, and I sometimes hesitate about which language I wanna choose (moreover, when the right language does not exist, such as for demarcating an extract of config file). Would the code chunk stay visible, it'd be easier... - Is it possible to envision completion of the language name? Writing =emacs-lisp= could become easier... Thanks for the suggestions, I've just implemented them. Tested. Simply fan-tas-tic! Thanks a lot... 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
Re: [Orgmode] Re: [PROPOSAL] Quick and easy installation instructions
Sebastian Rose sebastian_r...@gmx.de writes: Carsten Dominik carsten.domi...@gmail.com writes: org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? This rings a bell - I think Sebastian Rose implemented that already. Let search! It's in contrib/lisp/org-track.el. But as Org mode is on ELPA already, Great, I didn't know that. I'm not seeing it listed when I do M-x package-list-packages. What do I need to do to see Org listed there? Dan M-x package-list-packages and this kind of package handling is part of emacs-24 already, I guess that's a better way to go? 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
Re: [Orgmode] Re: [PROPOSAL] Quick and easy installation instructions
Dan Davison davi...@stats.ox.ac.uk writes: Sebastian Rose sebastian_r...@gmx.de writes: Carsten Dominik carsten.domi...@gmail.com writes: org-install would figure out where org.el is, add to .emacs and query for compilation. This wouod make things independent from make and other tools. Yes I wondered about making something like that yesterday (would it make sense to have emacs do everything, including the download? This rings a bell - I think Sebastian Rose implemented that already. Let search! It's in contrib/lisp/org-track.el. But as Org mode is on ELPA already, Great, I didn't know that. I'm not seeing it listed when I do M-x package-list-packages. What do I need to do to see Org listed there? Dan You need emacs-24.1. It comes with a modified version of package.el that pulls from elpa.gnu.org. Don't know if this requires extra work to provide Org mode packages on both sites. 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: Requests about the code demarcation
Hi Eric, Sébastien Vauban wrote: Eric Schulte wrote: Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Is it possible to envision completion of the language name? Writing =emacs-lisp= could become easier... Thanks for the suggestions, I've just implemented them. Tested. Simply fan-tas-tic! Just one question: about =quote= and such environments, I don't remember if it already is supported by the code demarcation, or has just been discussed so far. - In the first case, it would be missing from the list of languages. - In the second case, I'm not in a hurry -- I really don't use such environments yet! 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
Re: [Orgmode] Re: Requests about the code demarcation
Hi Seb, I plan to extend the block demarcation function to all block types, but haven't yet found the time. Best -- Eric Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Sébastien Vauban wrote: Eric Schulte wrote: Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Is it possible to envision completion of the language name? Writing =emacs-lisp= could become easier... Thanks for the suggestions, I've just implemented them. Tested. Simply fan-tas-tic! Just one question: about =quote= and such environments, I don't remember if it already is supported by the code demarcation, or has just been discussed so far. - In the first case, it would be missing from the list of languages. - In the second case, I'm not in a hurry -- I really don't use such environments yet! Best regards, Seb ___ 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: From state table to state diagram
Gary, One other request for you to entertain. When you get into the Python code (I can help with this, if you need it) think about organizing it such that you can use multiple output mechanisms. For example, default it to use dot as you have been talking about but allow for the use of tikz as Erik Fraga mentioned in August. This would imply converting to some intermediate representation from the table form and then passing that data to a dynamically selected back-end output engine. I suggest tikz as an alternative since it can make such beautiful graphs. I haven't made use of babel yet so I don't know all its ins and outs but I expect that there are ways of passing additional information to the language doing the heavy lifting so we could add various output modules... Mark On 9/26/2010 11:27 PM, Gary wrote: Rainer M Krug wrote: I really like the idea of this conversion from a State Transition Table to a State Transition Diagram as it is much easier to make a table then a graph. Easier to maintain, too - I ahte trying to reorganise all the transition arrows when I change something :)) Unfortunately I don't know enough of python to help here. I'm learning it in order to do this :P Could you please publish your solution here (and on worg) as it would be a very useful addition to org. Sure :) ___ 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] Testing code
Sebastian Rose sebastian_r...@gmx.de writes: I'd like to write a few simple tests for the modified hex-decoding functions I wrote for org-protocol.el. These functions and the patch is easier to understand and maintain if there are some simple tests, I guess. Could we have a short introduction in writing tests on Worg (or is it there)? Hm - there's a little tutorial in org-tests/. But ert has grown and consists now of 7 el files plus one texinfo file. As this seems easy to use and comes with at least some documentation, I'll use ert [1] for a start. Once the tests are written, we can easily convert to something else. Sebastian [1] http://github.com/ohler/ert ___ 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] org-footnote in messages, practical question.
Hi. I am thinking about deploying org-footnote in message-mode. I'd like to use it for URLs most and I'd like to ask you a question. Where would you like to see the footnotes sections in my messages ;-) below or above the signature. Please consider that if they get below then they will be ripped off on reply. If, on the other hand I should put them above the signature then some hacking is required in the org-footnote-normalize function which of course is fun. -- Miłego dnia, Łukasz Stelmach ___ 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: ditaa set-up on windows box
Sebastian Rose sebastian_r...@gmx.de writes: Markus Heller helle...@gmail.com writes: Hello everyone, this might be a little OT, but I'm having a hard time to get ditaa to run properly. The org-mode part works, it's the Java part that's giving me trouble, I'm getting loads of Exception in thread main java.lang.misc stuff goes here errors, and I have no Java experience whatsoever. I'm on a windoze XP box, and I was wondering if a fellow user might be willing to share his/her set-up. Thanks and Cheers Markus Hi Markus, does `org-ditaa-jar-path' have the correct value? You can find out this way: M-: org-ditaa-jar-path RET Yes, it does. Can you execute java -jar c:\path\to\ditaa.jar --help on the command line using the value of that variable? Doing this gives the following error: C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread main java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) If not, I suspect you use an outdated version of Org mode and need to set `org-ditaa-jar-path' to the correct value yourself. Nowadays this variable is set to the correct value automatically and ditaa.jar comes with the development version of Org mode. M-x org-version: 7.01trans (release_7.01h.580.g2157) Is this a java problem? Thanks Markus ___ 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: ditaa set-up on windows box
does `org-ditaa-jar-path' have the correct value? You can find out this way: M-: org-ditaa-jar-path RET Yes, it does. Can you execute java -jar c:\path\to\ditaa.jar --help on the command line using the value of that variable? Doing this gives the following error: C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread main java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) OK, it's a Java problem. The packages java.util.zip and java.util.jar come with your Java installation. Jave couldn't access *.jar packages ortherwise. Seems your Java is outdated. An update/re-install will help. HTH 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: ditaa set-up on windows box
Sebastian Rose sebastian_r...@gmx.de writes: Markus Heller helle...@gmail.com writes: C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread main java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) Oh - or could the spaces in the path trigger that problem? You could try to put ditaa.jar to C:\ditaa.jar and retry. That would move the error to Org-mode. I did this, and now I get: C:\java -jar ditaa.jar --help Exception in thread main java.lang.UnsupportedClassVersionError: org/stathissi deris/ascii2image/core/CommandLineConverter (Unsupported major.minor version 49. 0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) And neither java.util.zip nor java.util.jar exist on my system, although I've just re-installed the Java Runtime Environment jre1.6.0_07. I wish I was using a Mac or Linux ... ___ 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] Windows installation with msysGit
I have seen discussions about the difficulties of installing the latest version org-mode on Windows on this list, so I would like to report a way of doing this that I found that allows you to compile org-mode to bytecode with very little hassle. Apologies if this has been posted before, but I think it would be useful to put some instructions like this into worg and/or the manual. This solution is based on a relatively recent project that aims to port git to Windows called msysGit (see http://code.google.com/p/msysgit/). Here are the basic steps: 1. Download the msysGit-netinstall executable (.exe file) from http://code.google.com/p/msysgit/ Currently, the file you want is http://code.google.com/p/msysgit/downloads/detail?name=msysGit-netinstall-1.7.2.3-preview20100911.exebut this will change so it is best to look for the latest version in the featured downloads panel on the right. 2. Run the program you have just downloaded (you need to be connected to the internet when you do this). You'll be prompted for a few configuration options. In most cases, the defaults will be fine. 3. After the installation has finished, which might be 10 minutes or so, you will have a window with a command prompt open. This is a pseudo-bash shell (yes, msysGit installs its own version of the bash shell, a bit like cygwin, the main difference being that the msysGit shell comes with everything you are going to need to install and update org-mode). You will probably want to be able to open this shell easily at a later date for updating git, org-mode and so forth. To make this possible, enter /share/msysGit/add-shortcut.tcl in the bash shell and it will give instructions on how to add shortcuts to your desktop, start menu, etc. If you accidentally closed the shell before typing this then find the file C:\msysgit\msys in Windows explorer and double click to open it again (this assumes you used the default install location). 4. Next you want to use git, which you have just installed, to download the latest version of org-mode. You do this just as in the usual installation instructions. Specifically, if you enter cd ~ into the bash shell then it will take you to your home directory. Make a directory called elisp by entering mkdir elisp and then change to that directory by entering cd elisp. Then enter git clone git://repo.or.cz/org-mode.git which will make a local copy of the org-mode git repository. 5. The next step is to byte-compile org-mode. It is not strictly essential to do this, but it should make org mode run faster so you might as well. In order to do this you need to add the path to the emacs binary to your PATH environment variable. To do this you have to find the emacs binary, which is a file called emacs that Windows Explorer will identify as an Application. In my case, I installed emacs in my user directory, so the path is just C:\Users\Matt\emacs-22.3\bin, but generally it will be in a subdirectory called bin of wherever you put the emacs folder when you installed it. To add this to the PATH variable, enter set PATH=/path/to/emacs/binary:$PATH into the bash shell, where path/to/emacs/binary should be replaced by the path that you found translated into UNIX syntax. Essentially, to do this you just make the drive letter lower-case, put a / in front of it, get rid of the : and convert all the remaining backslashes (\) into forwardslashes (/). For example, in my case, it is just /c/Users/Matt/emacs-22.3/bin and I would enter set PATH=/c/Users/Matt/emacs-22.3/bin:$PATH into the bash shell. Note: You'll have to do this every time you update org-mode unless you put it in the .bashrc file for the bash shell. However, I was unable to determine where the bash shell that mysysGit installs expects this file to be. 6. Next, enter cd org-mode to change to the directory that org-mode was installed in and then enter make. You can also enter make doc to get a local copy of the documentation, but this will only work if you have LaTeX installed. You should install LaTeX if you are planning to use the pdf export function of org-mode, but that it a separate story. In any case, UNDER NO CIRCUMSTANCES SHOULD YOU ENTER make install as described in the standard installation instructions because it won't do the right thing on Windows. 7. Finally, you need to put a few lines into your .emacs file. This is described in the org-mode documentation here: http://orgmode.org/guide/Installation.html#Installation and here: http://orgmode.org/guide/Activation.html#Activation (you need to follow the steps on both pages). The harder problem is going to be finding out where you should put these customizations, since Windows emacs stores its customization files in funny places and they are not always called .emacs. Section 3.5 of the emacs for Windows installation instructions ( http://www.gnu.org/software/emacs/windows/Installing-Emacs.html) explain where these should go. 8. The update instructions are just the same as
Re: [Orgmode] orgmode as a reference system: Storing private/sensitive information and syncing across devices.
Awesome :) On Sat, Sep 25, 2010 at 8:34 AM, Richard Moreland r...@ncogni.to wrote: Hi Greg, Carsten has already added support on his end for encrypting and decrypting the files that go into the MobileOrg staging area. I've just started to pick this back up, so I plan to have it included in the next update of MobileOrg. Thanks, Richard On Sep 24, 2010, at 8:18 PM, Greg Troxel wrote: That being said, I store all my sensitive information in a huge reference.org file that is added to the agenda. I sync this (among other org files) to MobileOrg through a HTTPS-secured WebDav server. I do this, but I use my own server, not dropbox. It would be nice if there were some interoperable crypto between MobileOrg and org, so that the server files were encrypted. ___ 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] Re: FLOSS Weekly show about Org-mode
Hi, Russell Adams wrote: I just watched the video, and I must say that Carsten has given another excellent performance! I think the key point he made through the whole interview was that normally note taking tools are separate from planning / organizational tools, and that Org-mode combines both! Yep. Very crucial. Searching well, the only one thing I could find that could have been added is: easy support of slides creation (thanks to org-beamer). I find this a very sexy application. Another extra... Apart from that, very good overview of all the features currently known... 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
Re: [Orgmode] Re: FLOSS Weekly show about Org-mode
On Sep 27, 2010, at 8:26 PM, Sébastien Vauban wrote: Hi, Russell Adams wrote: I just watched the video, and I must say that Carsten has given another excellent performance! I think the key point he made through the whole interview was that normally note taking tools are separate from planning / organizational tools, and that Org-mode combines both! Yep. Very crucial. Searching well, the only one thing I could find that could have been added is: easy support of slides creation (thanks to org-beamer). I find this a very sexy application. Another extra... Yes, important omission. Also clocking. I have gotten into a bit more serious clocking during the last week - works better than I realised - Carsten Apart from that, very good overview of all the features currently known... 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 ___ 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: FLOSS Weekly show about Org-mode
On Sep 27, 2010, at 2:18 PM, Christian Egli wrote: Bastien bastien.gue...@wikimedia.fr writes: Jeff Horn jrhorn...@gmail.com writes: I wanted to mention how great it would be to have an org-mode conference. If many people support this idea, this is how we could do it: 1. list ideas of things we would do there Meet and talk about org-mode :-) 2. find out what would be the best location/date We could probably get a developer room at next years FOSDEM[1]. Brussels? This is close enough that I would come if this goes ahead. They provide rooms where projects can organize their own schedule, made of presentations, brainstorming and hacking sessions. You have to apply[2] for such a developer room as they always receive more requests than they can host. Also of course Carsten would make for a good main track speaker[3]. Or maybe Eric Schulte about babel. But I don't know if Eric would come all the way from the states 3. figure out how much money does it requires I don't know the details but I could imagine that this would not require any money. Really? That would be good. 4. decide (or not) to go for it Write the application and see if they'll give you a room :-). If there is a room I'll come and do a presentation :-). Thanks Christian Footnotes: [1] http://www.fosdem.org/2011/ [2] http://www.fosdem.org/2011/call_for_devrooms [3] http://www.fosdem.org/2011/call_for_main_speakers -- 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 ___ 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: ditaa set-up on windows box
Markus Heller helle...@gmail.com writes: Sebastian Rose sebastian_r...@gmx.de writes: Markus Heller helle...@gmail.com writes: C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread main java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) Oh - or could the spaces in the path trigger that problem? You could try to put ditaa.jar to C:\ditaa.jar and retry. That would move the error to Org-mode. I did this, and now I get: C:\java -jar ditaa.jar --help Exception in thread main java.lang.UnsupportedClassVersionError: org/stathissi deris/ascii2image/core/CommandLineConverter (Unsupported major.minor version 49. 0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) I guess you're still using Java 1.4 and some of the current ditaa components require at least java 5 (v. 1.5). And neither java.util.zip nor java.util.jar exist on my system, although java.util and java.zip live in rt.jar as most important packages do. I've just re-installed the Java Runtime Environment jre1.6.0_07. Which is what I use here (java version 1.6.0_21) But I guess java -version will show an elder version. 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] Can't find LaTeX under MAC
Dear all, I'm trying to use org-mode under MAC, and when I export to html, some fragments of LaTeX needs to be converted. So I got the texlive installed and then put these lines into my .emacs: 88 (defconst lch-mac-p (eq window-system 'mac) Are we on Mac) (if lch-mac-p (progn (setenv PATH (concat /usr/local/texlive/2010/bin/universal-darwin: (getenv PATH))) (setq exec-path (append exec-path '(/usr/local/bin /usr/local/texlive/2010/bin/universal-darwin:))) ) ) 8-8 But seems not work, org still can't find where the LaTeX is. Could anyone give me a hint? Thanks in advance ^.^ Chao ___ 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] Can't find LaTeX under MAC
Aloha Chao, I have texlive 2010 installed on my Mac. This path works for me: Emacs set path to LaTeX binaries #+begin_src emacs-lisp :tangle yes (setenv PATH (concat (getenv PATH) :/usr/texbin)) (setq exec-path (append exec-path '(/usr/texbin))) #+end_src HTH, Tom On Sep 27, 2010, at 11:06 AM, Chao LU wrote: Dear all, I'm trying to use org-mode under MAC, and when I export to html, some fragments of LaTeX needs to be converted. So I got the texlive installed and then put these lines into my .emacs: 88 (defconst lch-mac-p (eq window-system 'mac) Are we on Mac) (if lch-mac-p (progn (setenv PATH (concat /usr/local/texlive/2010/bin/universal- darwin: (getenv PATH))) (setq exec-path (append exec-path '(/usr/local/bin /usr/ local/texlive/2010/bin/universal-darwin:))) ) ) 8-8 But seems not work, org still can't find where the LaTeX is. Could anyone give me a hint? Thanks in advance ^.^ Chao ___ 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] Re: ditaa set-up on windows box
Markus, Can you check your CLASSPATH environment variable? Mine is (not sure if it's correct, but it works...): .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip Do you have one set? Is this any help? http://download.oracle.com/javase/tutorial/essential/environment/paths.html This is quite odd and makes me wonder if it's Java related. Like a corrupt installation somehow. http://download.oracle.com/javase/tutorial/essential/environment/paths.html John On Mon, Sep 27, 2010 at 12:28 PM, Markus Heller helle...@gmail.com wrote: Sebastian Rose sebastian_r...@gmx.de writes: Markus Heller helle...@gmail.com writes: C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread main java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) Oh - or could the spaces in the path trigger that problem? You could try to put ditaa.jar to C:\ditaa.jar and retry. That would move the error to Org-mode. I did this, and now I get: C:\java -jar ditaa.jar --help Exception in thread main java.lang.UnsupportedClassVersionError: org/stathissi deris/ascii2image/core/CommandLineConverter (Unsupported major.minor version 49. 0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) And neither java.util.zip nor java.util.jar exist on my system, although I've just re-installed the Java Runtime Environment jre1.6.0_07. I wish I was using a Mac or Linux ... ___ 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] File-level execute permissions?
Eric Schulte schulte.e...@gmail.com writes: The `org-confirm-babel-evaluate' variable can be set to a function which can query the user to confirm code block evaluation. The following code does two things. 1) it creates and maintains a list of the files that the user has said are safe for evaluation (this list will need to be rebuilt every time you re-start Emacs) 2) it shows the language and body of the code block to the user when querying for evaluation Eric, That sounds like what I was seeking. Thanks! Note: the above requires that you pull down the latest version of Org-mode. I've got 7.01h. I presume you mean something newer than that? Bill -- Bill Harris http://makingsense.facilitatedsystems.com/ Facilitated Systems Everett, WA 98208 USA http://www.facilitatedsystems.com/ phone: +1 425 374-1845 ___ 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] org-capture (lost PATCH?)
Carsten I had proposed a patch to org-capture in this thread. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg01152.html The patch has neither been rejected nor accepted. I am a bit concerned that it might have been lost. Interested in knowing your feedback ... Jambunathan K. ___ 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: org-capture (lost PATCH?)
Jambunathan K kjambunat...@gmail.com writes: I had proposed a patch to org-capture in this thread. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg01152.html The patch has neither been rejected nor accepted. I am a bit concerned that it might have been lost. It's currently on patchwork with the status of deferred: http://patchwork.newartisans.com/patch/246/ 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] Re: org-capture (lost PATCH?)
Matt I had proposed a patch to org-capture in this thread. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg01152.html The patch has neither been rejected nor accepted. I am a bit concerned that it might have been lost. It's currently on patchwork with the status of deferred: http://patchwork.newartisans.com/patch/246/ Thanks. Reassuring to know that this is still under the radar. From the patchwork server side, two things could be considered: 1. Enhance the web interface[1] to show *all* *not DONE* items. - http://patchwork.newartisans.com/project/org-mode/list/ 2. Generate an automated reply to a submitter of the patch giving him an URL to the patch. This will enable under the hood access to the patch state. Either or both of 1 and 2 would avoid anxiety on contributor's side particularly the newer ones. Thanks, Jambunathan K. ___ 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: org-capture (lost PATCH?)
On Sep 28, 2010, at 6:39 AM, Jambunathan K wrote: Matt I had proposed a patch to org-capture in this thread. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/ msg01152.html The patch has neither been rejected nor accepted. I am a bit concerned that it might have been lost. It's currently on patchwork with the status of deferred: http://patchwork.newartisans.com/patch/246/ Thanks. Reassuring to know that this is still under the radar. No really. The message with the patch did state this: The intention of this mail is to share my notes and influence you to considering adding the needed support in the core. In effect the attached patch is demo-only and not to be construed as a formal commit request. There was no further discussion of the patch in the mailing group, no followup or support. ANd I have not yet spent the time to really understand what this was all about. - Carsten From the patchwork server side, two things could be considered: 1. Enhance the web interface[1] to show *all* *not DONE* items. - http://patchwork.newartisans.com/project/org-mode/list/ 2. Generate an automated reply to a submitter of the patch giving him an URL to the patch. This will enable under the hood access to the patch state. Either or both of 1 and 2 would avoid anxiety on contributor's side particularly the newer ones. Thanks, Jambunathan K. ___ 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: org-capture (lost PATCH?)
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 28, 2010, at 6:39 AM, Jambunathan K wrote: Matt I had proposed a patch to org-capture in this thread. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/ msg01152.html The patch has neither been rejected nor accepted. I am a bit concerned that it might have been lost. It's currently on patchwork with the status of deferred: http://patchwork.newartisans.com/patch/246/ Thanks. Reassuring to know that this is still under the radar. No really. The message with the patch did state this: The intention of this mail is to share my notes and influence you to considering adding the needed support in the core. In effect the attached patch is demo-only and not to be construed as a formal commit request. There was no further discussion of the patch in the mailing group, no followup or support. ANd I have not yet spent the time to really understand what this was all about. I was (and am) interested in feedback. I didn't make a commit request because I felt that there could be some reservations on how useful the patch could be. All I can say is that I can assure co-operation from my side. I sense that I had been a bit verbose and a bit too cautious. This seems to have turned off any further interest. A lesson for me here. I leave the table to you. Jambunathan K. - Carsten From the patchwork server side, two things could be considered: 1. Enhance the web interface[1] to show *all* *not DONE* items. - http://patchwork.newartisans.com/project/org-mode/list/ 2. Generate an automated reply to a submitter of the patch giving him an URL to the patch. This will enable under the hood access to the patch state. Either or both of 1 and 2 would avoid anxiety on contributor's side particularly the newer ones. Thanks, Jambunathan K. ___ 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