Re: [O] [PATCH] org-protocol: Pass optional value using query in url to capture from protocol.
Hello, Bastien I will to assign my copyright to the FSF. I sent request-assign-future.txt to ass...@gnu.org now. Regards, Ryo Bastien b...@altern.org writes: Hi Ryo, I'm willing to apply this patch but since you already submitted tiny changes we would need to have you sign the FSF copyright assignment. See http://orgmode.org/cgit.cgi/org-mode.git/plain/request-assign-future.txt Let me know if you are willing to assign your copyright to the FSF. Thanks!
Re: [O] A mail client that is org-mode compatible
I use Wanderlust and can make links from org just fine. I used gnus from 2008 to 2010 but could not make it work as I wanted. It seemed to value some things that I didn't (e.g. scoring, splitting, NNTP-style everywhere) whereas it didn't shine in other areas I needed (e.g. multiple SMTP servers, usability). Wanderlust was working perfectly since the first moment, and didn't require hacking, just configuration. Wanderlust is primarily an e-mail reader (IMAP, POP, Maildir, MH, …) but it can read NNTP natively, and some people also read RSS with it: http://www.emacswiki.org/emacs/HOWTOReadFeedsInEmacsViaEmail So that's my bet. Daniel El Mon, 31 Dec 2012 08:29:12 +0100 Gour va escriure: […] Afaict, there is no support in orgmode for Claws mailer which I use for regular email, mailing lists (mostly via gmane) as well as rss reader. is Gnus the only Emacs-based client which has good support for all of these as well as good support for orgmode? I'd also like to use Notmuch for quick searching and would fetch mail via getmail and use locally running dovecot for serving IMAP... Yesterday I read a bit about mu(4e), but it seems it handles only email and not nntp? Any hint? Sincerely, Gour -- The embodied soul may be restricted from sense enjoyment, though the taste for sense objects remains. But, ceasing such engagements by experiencing a higher taste, he is fixed in consciousness. http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Re: [O] Visibility cycling of plain lists?
Hi James, James Harkins jamshar...@gmail.com writes: ~~ If this variable is set to 'integrate' (As children of outline headings in the customize interface), plain list items will be treated like low-level headlines. ~~ If find the above a bit clumsy and repetitive, I just updated the docstring like this: When this is the symbol `integrate', then integrate plain list items when cycling, as if they were children of outline headings. I do see your point that the options are described, and I apologize for overlooking them earlier. But, if one is using the customize interface, then there remains a (small) bit of guesswork to connect the documentation to what is presented in the interface, and I think generally documentation should be there to eliminate guesswork (or at least reduce the need for it). (That's not a specific complaint to org -- on the SuperCollider mailing list, I'm constantly harping on method documentation that doesn't explain the expected types of the input and output, for the same reason -- if I have to write a short bit of test code to figure out what the method is supposed to do, then the documentation isn't complete.) I agree -- but what's difficult is that documentation problems are often mixed problems, about content *and* UI. And content can not always alleviate the guesswork induced by unfamiliar UI. -- Bastien
[O] Need help with processing a text block with python function
I know this is kind of an org-mode 101 question, sorry, but after searching docs for a couple of days, I could use a pointer. I want to write a function in a code block in python or perl that steps through lines of text and does some complicated reformatting, adding in html bits and such, for a specialized application. Then I want to be able paste a block of text into an org-mode file and call this function to walk through it and do it's stuff, sending the result to an export buffer. What's the best way to do that, specifically, what should I do with the text to be processed? Put it all under a single headline and call the function against that headline? Put it within some sort of begin/end markers? I need the python or whatever script to be able to step through one line at a time maybe using it's usual text input functions. Thanks, maab -- Michael Baum maab...@gmail.com You should never have your best trousers on when you go out to fight for freedom and truth. - Ibsen
Re: [O] org-mime-htmlize
Hi George, George McNinch gmcni...@gmail.com writes: I waited for a new org-plus-contrib elpa package to try this... I installed the new one just now, and M-x org-mime-htmlize in a message buffer now gives a Wrong number of arguments error. Maybe I've done something boneheaded, but I can't work out what it is... I fixed this, the first patch applied was wrong. Thanks for reporting this error! -- Bastien
Re: [O] A mail client that is org-mode compatible
Gour writes: Yesterday I read a bit about mu(4e), but it seems it handles only email and not nntp? I use mu4e, and what I really like about it is that the links are stable, even when moving mail from outside (like a web mail app or a mobile device). I could never get the registry to work well with gnus to solve this. Alan
[O] How to convert to odt with specific styles?
Hello list, I have an article I've written in Org. To submit it to the publisher, it needs to follow a particular ms word style template. I hope to achieve this with the odt exporter. Reading the org manual it seems the style sheet that the odt exporter uses will need to contain a couple of hard coded format names. In my case I would like map the org factory default format names to other names as defined in the template given to me by the publisher. What is simplest way to achieve this? At the moment I'm changing the formats by hand so nearly any other method would be more efficient. Also, I'm more proficient with elisp than wordprocessors. TIA -- Joakim Verona
Re: [O] A mail client that is org-mode compatible
Hi Gour VM, too, cooperates just fine with org. I use orgstruct- and orgtbl-mode in mail-mode and linking and capturing work like a charm. Salome I use Wanderlust and can make links from org just fine. I used gnus from 2008 to 2010 but could not make it work as I wanted. It seemed to value some things that I didn't (e.g. scoring, splitting, NNTP-style everywhere) whereas it didn't shine in other areas I needed (e.g. multiple SMTP servers, usability). Wanderlust was working perfectly since the first moment, and didn't require hacking, just configuration. Wanderlust is primarily an e-mail reader (IMAP, POP, Maildir, MH, ?) but it can read NNTP natively, and some people also read RSS with it: http://www.emacswiki.org/emacs/HOWTOReadFeedsInEmacsViaEmail So that's my bet. Daniel El Mon, 31 Dec 2012 08:29:12 +0100 Gour va escriure: [?] Afaict, there is no support in orgmode for Claws mailer which I use for regular email, mailing lists (mostly via gmane) as well as rss reader. is Gnus the only Emacs-based client which has good support for all of these as well as good support for orgmode? I'd also like to use Notmuch for quick searching and would fetch mail via getmail and use locally running dovecot for serving IMAP... Yesterday I read a bit about mu(4e), but it seems it handles only email and not nntp? Any hint? Sincerely, Gour
[O] Keybinding discrepency
Hello, In speed keys, the ';' key is bound to set tags. In the agenda view, ';' is bound to some timer function, and it's ':' that is bound to set tags. Should they be consistent? Thanks, Alan
Re: [O] How to convert to odt with specific styles?
joa...@verona.se writes: Hello list, I have an article I've written in Org. To submit it to the publisher, it needs to follow a particular ms word style template. I hope to achieve this with the odt exporter. Reading the org manual it seems the style sheet that the odt exporter uses will need to contain a couple of hard coded format names. In my case I would like map the org factory default format names to other names as defined in the template given to me by the publisher. What is simplest way to achieve this? At the moment I'm changing the formats by hand so nearly any other method would be more efficient. Also, I'm more proficient with elisp than wordprocessors. I was anticipating such a request (Jambu pats himself on the back here!) and added (defvar org-export-odt-default-org-styles-alist '((paragraph . ((default . Text_20_body) (fixedwidth . OrgFixedWidthBlock) (verse . OrgVerse) (quote . Quotations) (blockquote . Quotations) (center . OrgCenter) (left . OrgLeft) (right . OrgRight) (title . OrgTitle) (subtitle . OrgSubtitle) (footnote . Footnote) (src . OrgSrcBlock) (illustration . Illustration) (table . Table) (definition-term . Text_20_body_20_bold) (horizontal-line . Horizontal_20_Line))) (character . ((default . Default) (bold . Bold) (emphasis . Emphasis) (code . OrgCode) (verbatim . OrgCode) (strike . Strikethrough) (underline . Underline) (subscript . OrgSubscript) (superscript . OrgSuperscript))) (list . ((ordered . OrgNumberedList) (unordered . OrgBulletedList) (description . OrgDescriptionList Default styles for various entities.) But considering that no one made such a request, he removed it from org-e-odt.el. I can re-instate the removed changes in to org-e-odt.el. Let me know if you find the above list unsatisfactory or broken. You are most likely the first person who will be using it. TIA --
[O] how to evaluate javascript in code blocks
i'm a very new user to orgmode- loving it! currently using it with clojure and with clojurescript. i have installed nodejs not sure what to do next do i need an 'ob.javascript file? can't seem to find any docs. TIA -dougie
Re: [O] Keybinding discrepency
On 1.1.2013, at 19:25, Alan Schmitt alan.schm...@polytechnique.org wrote: Hello, In speed keys, the ';' key is bound to set tags. In the agenda view, ';' is bound to some timer function, and it's ':' that is bound to set tags. Should they be consistent? I would say yes, this would be useful to have consistent. - Carsten Thanks, Alan
Re: [O] Rudel - Real-Time collaborative editing of Org-Mode files
On Thu, Dec 27, 2012 at 3:18 AM, François Pinard pin...@iro.umontreal.cawrote: Eric Schulte schulte.e...@gmail.com writes: Unfortunately Rudel doesn't appear to be maintained [...] Moreover, looking around, I saw a few comparisons and comments in which other tools using the Obby protocol, which Rudel primarily supports, had negative light. I also found out that the synchronization problem and issues are far, far more complex than I initially thought. There are really many avenues, while none seem perfect so far. Rather than an Org-mode specific solution, I think adopting Rudel or developing something similar which provides emacs-wide support for standard collaborative editing protocols (assuming any currently exist) would be the best way forward. Agreed that any nice and general solution which overwhelms [not sure of that word in English] Org, and even Emacs, should be considered more tempting. An full Emacs Lisp solution would be a wrong solution, as the protocol itself should be implemented without the need of Emacs. On the other hand, any solution encumbered with explicit editing minutiae (make this bold, change font, etc.) is less attractive, because it would mean spurious and unwanted burden for Org files. In my wildest dreams :-), I would see real-time collaboration between people with most participant working on the text of a document, I mean what follow headers or the header text itself, while a few others reorganize the structure by moving headers around. Moving headers should be nothing more than moving headers, it should not imply deletion followed by transmission of re-inserted text, as this would seriously disrupt those altering the text: the re-organization should happen magically under participant's feet while they are editing, nice and easy. Now, the notion of structure may be rendered by a synchronization mechanism in a way which overwhelms Org by the concept of efficiently handled nested documents, an single Org file would itself be a collection of such nested documents. Just an idea of course, there might be other avenues as well which are acceptable as long as they allow structure reorganization without text being transmitted again. I have the vague, and admittedly strange intuition that Git internals have the potential for representing nested documents through the repository structure, for discovering both structural and textual overhaul, and even for transmitting differences over the wires. But I doubt, all efficient that Git may already be, that it would be speedy enough to be part of a solution. That might even be elegant, so I hope I'm wrong on the speed issue :-). Not sure if it would be speedy enough, but gitit is based on git and since it is a wiki running on top of git with the ability to edit the documents either through a traditional wiki frontend in a browser or as a raw file in an editor of your choice on your own machine. Inventing a protocol to deal with synchronisation is not trivial, so a good starting point might be gitit or raw git with the intention of learning about what the real issues are before creating a system from scratch to solve what might not be the right problem to solve. I have not used org enough to be able to judge these issues, but I would like to have a good multi-user solution since org seems to be one of the better ways to collaborate. snip Cheers, __ /orben -- http://www.linkedin.com/in/torbenhoffmann
Re: [O] How to get a paper scanner into org-mode workflow
* Torsten Wagner torsten.wag...@gmail.com wrote: Hi, Hi Torsten! I plan to buy a document scanner with ADF and duplex function to scan all incoming/intermediate/outgoing papers, convert them into PDF and link those into my org-files. I definitely recommend you to but Fujitsu ScanScap S1500. I do have the Mac version. I was wondering if someone did something like this already? I am in the process of digitizing all my physical life so far to complete my lifelogging-habbit. I also removed the spine of many books in order to be able to scan them for full-text search and archiving purposes! I use Linux and hence I am looking for a Linux friendly solution. Although I prefer GNU/Linux by myself, at least the Mac software bundle of the Fujitsu is really worth the money. Its scanning and OCR features are just like you need, almost no hazzle with anything (except the awful bad idea to use JPEG as the only scanning format). Before the Fujitsu, I bought a HP OfficeJet Pro 8500A Plus which I am using as a (pretty decent) printer. Because the scanning hardware and software is *really* complicated/bad compared to the Fujitsu solution: reliability, usability, featureset, speed - BIG difference. I played around with Linux scanning/OCR solutions as well but I could not get any reasonable fast, reliable, and suitable OCR results at all :-( Note: The scan workflow on my Mac mini at home is more or less the only reason why I did not install GNU/Linux on this thing yet. (Most of the time I am using my Debian Wheezy notebook to get things done efficiently.) I want to make this finally as smooth, easy and painless as possible to make sure I do not pile up papers because I am to lazy to scan them on a day by day basis. Sure. BTDT. Ideally, I want to fill the ADF unit, press a button, receive a single PDF with all pages scanned duplex in a preset folder, and keep a path to that file in org-modes killring to place it as a link at the right place. OCR would be nice too to get a full searchable system. OCR ist a must, if you invest time and money in such a workflow. Except the killring thing, I do have a similar workflow: paper in scanner, press single button on the scanner, PDF (with OCR) appears on the Mac, I enter the filename (usually starting with -MM-DD... or -MM-DDThh.mm...), and it's done. Most things I keep in ~/archive// and some things I file in ~/institutions/COMPANYNAME/ Because of the date/time-stamp file name part, I can index all those files using my Memacs[1] file-name module very easily. Using a yasnippet/custom-Org-link combination, I can easily link to those files rather quickly. So much for the Org-mode related stuff :-) CC. Any recommendation on a well working scanner under Linux. At the moment my favorite is the Fujitsu ScanSnap S1500. Seems to work out of the box and comes with a good performance. Oh, you already did good research on this topic :-) If you try out the Mac SW bundle (I guess Windows is similar), you are not going to use Linux for this I am afraid :-) But if you do get different results and thus a workflow with GNU/Linux which is as smooth as the Mac one, I am *very* curious about your experience, notes, and lessons learned! PS: Because of a cross country skiing vacation I am looking forward to, I will probably not be able to read this ML until next weekend or so. 1. https://github.com/novoid/Memacs -- Karl Voit
Re: [O] Keybinding discrepency
Hi Alan and Carsten, Carsten Dominik carsten.domi...@gmail.com writes: In speed keys, the ';' key is bound to set tags. In the agenda view, ';' is bound to some timer function, and it's ':' that is bound to set tags. Should they be consistent? I would say yes, this would be useful to have consistent. Speed commands now use : for setting tags (like in the agenda), and = for switching the column view on/off. Thanks, -- Bastien
Re: [O] How to convert to odt with specific styles?
Jambunathan K kjambunat...@gmail.com writes: But considering that no one made such a request, he removed it from org-e-odt.el. I can re-instate the removed changes in to org-e-odt.el. That'd be great. Thanks! -- Bastien
Re: [O] patch for org-contacts to ignore radio_marks when completing
Hi Daniel, Daniel Clemente n142...@gmail.com writes: Hi, I send a patch which allows org-complete to complete if you do „J o h n TAB“ even if your contact was written as John (now you would have to typeJ TAB). It can be extended to remove emphasis, strongs, etc. if someone needs it. The function you introduced is used within `org-contacts-format-email', where using a bare name makes more sense IMHO. But I don't know org-contacts.el very much, I might be wrong. Best, -- Bastien
Re: [O] A mail client that is org-mode compatible
Daniel Clemente n142...@gmail.com writes: I use Wanderlust and can make links from org just fine. I used gnus from 2008 to 2010 but could not make it work as I wanted. It seemed to value some things that I didn't (e.g. scoring, splitting, NNTP-style everywhere) whereas it didn't shine in other areas I needed (e.g. multiple SMTP servers, usability). Wanderlust was working perfectly since the first moment, and didn't require hacking, just configuration. Multiple smtp servers are well supported for quite a while now.
Re: [O] org-mime-htmlize
Hi George, George McNinch gmcni...@gmail.com writes: I git cloned just now, compiled, restarted emacs. Now when I do M-x org-mime-htmlize in a message buffer, I get org-export-as-org: Wrong type argument: listp, string I forgot org-export-as-org -- this should now be fixed. Also for org-export-as-docbook... (Is a backtrace useful?) It should not be this time, but for other errors yes! Thanks, -- Bastien
Re: [O] patch for org-contacts to ignore radio_marks when completing
El Tue, 01 Jan 2013 23:57:27 +0100 Bastien va escriure: The function you introduced is used within `org-contacts-format-email', where using a bare name makes more sense IMHO. Exactly. It says: (concat name email ) But name is John and you will get: John j...@email.com With the patch you get a bare name: John j...@email.com So that new function should „clean“ the name: remove radio marks, emphasis, bold, etc. I did only radio marks.. I also don't know org-contacts very much, but it seems that org-contacts-format-email returns not only the e-mail, but also the name; it could be called org-contacts-format-name-and-email. Greetings
Re: [O] A mail client that is org-mode compatible
El Tue, 01 Jan 2013 23:14:19 + Richard Riley va escriure: (gnus) Multiple smtp servers are well supported for quite a while now. Yes, I used it, but it was not an elegant solution. Just look at how much information you need to make it work; it's frightening: http://emacswiki.org/emacs/MultipleSMTPAccounts If there's a new way to do it, the wiki can be updated.
Re: [O] Using Org-mode file format for storing configuration data
El Sun, 30 Dec 2012 19:04:25 +0100 Karl Voit va escriure: I plan to implement a new weblog system that parses Org-mode files and generates (static) HTML output. Yes, I am aware that there are other solutions out there but I do not like them for various reasons.[1] Nice! I also don't like existing solutions and I was thinking on writing some Python to do the export. But the complexities of exporting are so well resolved in elisp that it's much easier to invoke elisp code than to write your own in Python. So for my new system, I am thinking of using Org-mode files for writing (and parsing) the user-defined preferences. I happened to be thinking the same two days ago. I wanted a place for scripts to store data as key→value pairs: e.g. configurations, or observations (like: file count on ~). Normally I would use lots of small hidden files for that. Now I wanted a central registry. I thought of using some cache server, or a small NoSQL database, or a system monitor for observations (e.g. collectd), and of course, org-mode. In the end, I think I will stay with the many small files; it's much easier! - In Python I have to parse a basic sub-set of Org-mode format anyhow. An additional parser would be more work to do. Don't do it from scratch; there are already some parsers which work. I tried: https://github.com/bjonnh/PyOrgMode - Possible methods to store configuration/settings of a weblog system that scans Org-mode files to generate HTML: - in drawers: see below - in tables: see below - in tags: see below - other possibilities? From the ones you say, I prefer property drawers. It's the most DB-like and it's analogous to storing data (well, strings). You don't need all the table benefits (reordering, exporting, formatting, formulae, …). Nor the tags benefits (search, multiple tags, …) What do you think of this? Can you imagine a better way of storing key-value-pairs in Org-mode? My focus is user friendly maintenance and overview including in-line documentation of the preferences. Of course, storing configuration in .org is very utopic (being all .org), but I would prefer *not* to do it. I would use a simple ~/.file.conf with some variables in the usual style: # a comment path=~/web/ # where to export images images=~/web/images I think this wins for usability and „friendly maintenance“, since people know it and it works. And it allows you to define many projects (e.g. check the configuration file for the program unison). There are even libraries to parse these simple files: http://docs.python.org/2/library/configparser.html And if you want to design an equivalent grammar for configuration files (beware! that's another adventure!), check http://augeas.net/ . It can manipulate configuration files in a format-agnostic way. But I think it's more important to center efforts in developing a good exporter web publisher. As you said, the current ones are not powerful enough. Good luck.
Re: [O] org-mime-htmlize
Hi Bastien, I waited for a new org-plus-contrib elpa package to try this... I installed the new one just now, and M-x org-mime-htmlize in a message buffer now gives a Wrong number of arguments error. Bastien I fixed this, the first patch applied was wrong. I git cloned just now, compiled, restarted emacs. Now when I do M-x org-mime-htmlize in a message buffer, I get org-export-as-org: Wrong type argument: listp, string (Is a backtrace useful?) -g -- George McNinch gmcni...@gmail.com http://gmcninch.math.tufts.edu
Re: [O] how to evaluate javascript in code blocks
dougie smith dsv...@gmail.com writes: i have installed nodejs not sure what to do next do i need an 'ob.javascript file? can't seem to find any docs. AFAIK, the only documentation is in the file ob-js.el. Back in 2011, Eric Schulte welcomed patches to ob-js.el to support sessions with node. I don't think there has been any subsequent work on this front. You'll need something like this in .emacs: (org-babel-do-load-languages 'org-babel-load-languages '((js . t))) If you evaluate the following source code block, you can look at localhost: and see Hello World. But, emacs is fully engaged until you press Ctrl-G. #+begin_src js :tangle hello.js var http = require(http); http.createServer(function(request, response) { response.writeHead(200, {Content-Type: text/plain}); response.write(Hello World); response.end(); }).listen(); #+end_src hth, Tom -- Thomas S. Dye http://www.tsdye.com
[O] HTML Export inserting weird characters
HTML export hasn't been working right for me for a while. Given a minimal org-mode file with some Ruby code in it, the code section in the exported HTML has a bunch of garbage characters added to each line, like '#57344;#57345;#57345;'. I've posted source and generated HTML here: https://gist.github.com/4432744 M-x emacs-version: GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-11-06 on lakoocha, modified by Debian M-x org-version: Org-mode version 7.9.2 (release_7.9.2-909-gb5f93f @ /home/avdi/.emacs24.d/el-get/org-mode/lisp/) Cheers, -- Avdi Grimm http://avdi.org I only check email twice a day. to reach me sooner, go to http://awayfind.com/avdi
Re: [O] Keybinding discrepency
Bastien writes: Hi Alan and Carsten, Carsten Dominik carsten.domi...@gmail.com writes: In speed keys, the ';' key is bound to set tags. In the agenda view, ';' is bound to some timer function, and it's ':' that is bound to set tags. Should they be consistent? I would say yes, this would be useful to have consistent. Speed commands now use : for setting tags (like in the agenda), and = for switching the column view on/off. Great, thanks a lot. Alan