Re: [O] Add-Easy-Template-for-COMMENT-C to org.el

2017-08-08 Thread Grant Rettke
Hi, On Mon, Aug 7, 2017 at 4:47 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Grant Rettke <g...@wisdomandwonder.com> writes: > >> Attached is a patch to an Easy Template binding `C' for `COMMENT'. > Thank you. Would you mind also adding an entry in ORG-NEWS abo

[O] Add-Easy-Template-for-COMMENT-C to org.el

2017-08-06 Thread Grant Rettke
Good afternoon, Attached is a patch to an Easy Template binding `C' for `COMMENT'. The tests had the same 1 failure before and after I made the change "1 unexpected results: FAILED test-org/refile-get-targets" I'm already in the FSF assignment book. Sincerely, Grant Rettke 000

Re: [O] exporting org to latex, execute matlab before exporting

2017-08-06 Thread Grant Rettke
On Wed, Aug 2, 2017 at 7:08 AM, Uwe Brauer wrote: > Which is what I want. When I convert the org file to latex I am again > asked to execute the src block, which I don't want since it is already > executed. How can I avoid this question, without deleting the src block. > This is

Re: [O] Happily exporting LaTeX, now want to export to text and HTML, can't figure how to handle latex markup

2017-08-06 Thread Grant Rettke
On Wed, Aug 2, 2017 at 11:15 AM, Berry, Charles <ccbe...@ucsd.edu> wrote: >> On Aug 1, 2017, at 10:20 PM, Grant Rettke <g...@wisdomandwonder.com> wrote: >> >> I'm happily exporting an Org-Mode document to LaTeX using the nifty >> `letterine' package. An examp

[O] Offtopic: Auto Loading org2blog Mode

2017-06-12 Thread Grant Rettke
Good evening, org2blog users: Add #+ORG2BLOG: to your blog post or page and org2blog will get auto loaded... after you get the latest code and make the following changes: https://github.com/punchagan/org2blog#auto-loading-org2blog-mode Let me know how it goes. Sincerely, Grant Rettke

Re: [O] mimetype for orgmode files

2017-06-21 Thread Grant Rettke
On Wed, Jun 21, 2017 at 9:52 AM, John Kitchin wrote: > Is there an official mimetype for orgmode files? In `mailcap-mime-extensions' there is a value `(".org" . "text/x-org")'. Maybe that is for Org-Mode.

Re: [O] Custom keymaps on org blocks

2017-06-06 Thread Grant Rettke
On Mon, Jun 5, 2017 at 4:53 PM, John Kitchin wrote: > Is there any interest in having custom keymaps on org blocks? > > The idea I had is to have the option to make the major-mode keymaps be > active on the src blocks. You want Polymode:

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread Grant Rettke
On Wed, Jun 7, 2017 at 7:49 AM, John Kitchin <jkitc...@andrew.cmu.edu> wrote: > Grant Rettke writes: > >> You want Polymode: https://github.com/vspinu/polymode > > I have never been able to get polymode to work. Do have an incantation > that works? I forgot that I set

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread Grant Rettke
On Wed, Jun 7, 2017 at 8:50 AM, John Kitchin wrote: > On the other hand, there are times when I am working on a document that has > a lot of short code blocks, e.g. for lecture notes or blog posts, where it > is sufficiently tedious to me to switch in and out of the

Re: [O] Bug?? #+begin_src sh :file

2017-09-16 Thread Grant Rettke
On Sat, Sep 16, 2017 at 9:09 AM, Charles Millar wrote: > The following ECL is based on Grant Rettke's Org Scraps - Correction: They are Eric Schulte's (https://www.cs.unm.edu/~eschulte/)

Re: [O] Release 9.1

2017-09-08 Thread Grant Rettke
On Wed, Sep 6, 2017 at 5:07 AM, Rasmus wrote: > > Bastien writes: > > > Org-mode 9.1 is out! > > > > http://orgmode.org/Changes.html > > Great news! > > Thank you Nicolas, Kyle, Marco, Bastien, Kaushal, Achim and other code- > and mailing list contributors. Thank

Re: [O] How to create tables with multi-rows/columns cells?

2017-09-12 Thread Grant Rettke
If you set the column width like this http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment then you can hit C-` to edit the cell and that works nicely. Sincerely, Grant Rettke On Mon, Sep 11, 2017 at 4:47 AM, Eric S Fraga <esfli...@gmail.com>

Re: [O] OT: TUI applications

2017-10-18 Thread Grant Rettke
On Wed, Oct 18, 2017 at 8:23 AM, Russell Adams wrote: > Given the unique user base of Org, I wanted to ask a question. > > Has anyone seen any modern development libraries for TUI (console / > character cell) applications? Ncurses the library is > not an answer as you

Re: [O] RFC better Unicode support - Unicode Characters causing problems with TAGs etc.

2017-12-01 Thread Grant Rettke
On Fri, Dec 1, 2017 at 2:40 AM, Tim O'Callaghan wrote: > > Also, are other people using Unicode, and if so, how? especially with > visually consistent tables, For some characters you can handle it by using [[http://orgmode.org/manual/Special-symbols.html][Special

Re: [O] can't get org-mode noweb tangle to work

2017-12-01 Thread Grant Rettke
On Fri, Nov 24, 2017 at 11:38 PM, Martin Alsinet wrote: > Hello Charlie: > > I have found that I like better to use a combination of tangle and import > instead of noweb syntax. > > #+BEGIN_SRC python :tangle board.py > def init_board(args) > return [[-1 for x in

Re: [O] advice please: best way to export to DOC(X) with maths

2017-12-15 Thread Grant Rettke
between pandoc-B and pandoc-C. Integrate the results into your original Org file. Sincerely, Grant Rettke (accidentally replied off list) Sincerely, Grant Rettke On Fri, Dec 15, 2017 at 8:54 AM, Tim O'Callaghan <t...@linux.com> wrote: > Does anyone know of a good round trip/review

Re: [O] advice please: best way to export to DOC(X) with maths

2017-12-17 Thread Grant Rettke
On Sun, Dec 17, 2017 at 10:55 AM, Scott Randby <sran...@gmail.com> wrote: > > On 12/15/2017 01:43 PM, Grant Rettke wrote: > > Write it in Org. Export to Pandoc file pandoc-A. > > > > Export Pandoc file pandoc-A to Word file word-A. Send that to your > > peers

Re: [O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Grant Rettke
On Fri, Apr 27, 2018 at 11:30 PM, Grant Rettke <g...@wisdomandwonder.com> wrote: > Tested it manually with Elisp and also in buffer properties. There are > four combinations (both in properties, both in Elisp, and then the two > permutations). Here is how it works, the same way as

[O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Grant Rettke
it was more than 15 lines. Ran the system tests and they pass. Sincerely, Grant Rettke 0001-ox-koma-letter.el-Adds-from-logo-variable.patch Description: Binary data

[O] Want to automatically specify different mainfont in XeTeX and wondering if a custom exporter is the right way

2018-06-15 Thread Grant Rettke
Good evening, A few months ago I migrated my Org-Mode configuration from PDFLaTeX to XeTeX. It is great using "real fonts" and Unicode symbols, and my Org-Mode configuration only needed a few changes to use XeTeX. Although I didn't read any documentation on XeTeX, I know enough about LaTeX to

[O] Patch adding from-logo commentary ox-koma-letter.el

2018-06-18 Thread Grant Rettke
On Sat, Apr 28, 2018 at 1:32 AM, Bastien wrote: > Hi Grant, > > Grant Rettke writes: > >> Here is how it works, the same way as the other ones: > > If needed, don't hesitate to advertize this in the comment section > of the code. Here is a patch to a commentary on h

Re: [O] How to use em-dash as a bullet for plain text lists?

2018-06-14 Thread Grant Rettke
Sincerely, Grant Rettke On Thu, Jun 14, 2018 at 9:14 AM, Nicolas Goaziou wrote: > > Hello, > > Grant Rettke writes: > > > Hi, > > > > I want to use em-dash as a bullet for plain lists. > > > > I read the documentation and didn't see a customizat

Re: [O] How to use em-dash as a bullet for plain text lists?

2018-06-14 Thread Grant Rettke
>> What could be possible, however, is to add UTF-8 characters as overlays >> on top of standard bullets. I think "org-bullet" does something like >> that. This seems to work: (font-lock-add-keywords 'org-mode '(("^[[:space:]]*\\(-\\) " 0 (prog1 () (compose-region (match-beginning 1)

Re: [O] General advice beyond Org

2018-06-15 Thread Grant Rettke
On Wed, Jun 6, 2018 at 3:58 AM, Marco wrote: > I started as post-doc almost 10 years ago, Thanks for your share Marco.

Re: [O] Proposal: references from code to text.

2018-06-15 Thread Grant Rettke
On Wed, May 16, 2018 at 9:25 AM, John Kitchin wrote: > #+NAME: DOC-OF-ADD > We use the function add to calculate the sum of two numbers. > > #+NAME: add-options > - one > - two > - three > - and of course "optional things" > > > We use a block like this to get the contents of an org-element by

Re: [O] Issues with org-babel-detangle and :comments noweb

2018-06-15 Thread Grant Rettke
On Mon, May 28, 2018 at 12:32 PM, Frederick Giasson wrote: > Hi Everybody, > > I am trying to have noweb references working with org-babel-detangle. Let's > use this example: > > ``` > #+NAME: a > #+BEGIN_SRC clojure > > (def a "a") > > #+END_SRC > > #+NAME: b > #+BEGIN_SRC clojure > > (def a

Re: [O] New org-count-words function

2018-06-15 Thread Grant Rettke
On Tue, Jun 12, 2018 at 2:58 PM, Adam Porter wrote: > I think it's an improvement over the functions I've seen that do this. > Hope someone finds it useful. Thank you that is very nice. Got me thinking that it would be fun to write some code that would report file statistics by element.

[O] How to use em-dash as a bullet for plain text lists?

2018-06-13 Thread Grant Rettke
go any further (studying or coding) 1. How would you go about this? 2. Is it worth me going further on figuring out how this works and how to do it? Sincerely, Grant Rettke

Re: [O] org-detangle seems broken

2018-06-05 Thread Grant Rettke
On Tue, Jun 5, 2018 at 7:18 AM, Frederick Giasson wrote: > There is one last thing related to =org-babel-detangle= that seems "broken" > is that as far as I can see, the top =save-excursion= should save the > position of the cursor of the source file and keep the buffer at that > position when we

Re: [O] org-detangle seems broken

2018-06-06 Thread Grant Rettke
On Wed, Jun 6, 2018 at 7:31 AM, Frederick Giasson wrote: > If this is really the behavior, then I think that a new option should be > added to it such that we can choose one behavior or the other. If a function > that jump from a code > block to its tangled source is created, then we could use

Re: [O] org-utf-to-xetex - Teach Org-Mode And XeTeX How To Handle Non-Latin Unicode Characters

2018-06-29 Thread Grant Rettke
On Fri, Jun 29, 2018 at 7:21 AM, Van L wrote: > >> https://github.com/grettke/org-utf-to-xetex >> >> please share feedback. > > I’ve been meaning to try XeTeX in org-mode to > create PDF from plaintex and latex. > > https://orgmode.org/elpa.html > > Having followed the instructions above, > how

Re: [O] Babel Edit Code Whole Session Context

2018-06-24 Thread Grant Rettke
Hi Kevin, On Sun, Jun 24, 2018 at 9:50 AM, Kevin Foley wrote: > Is there anyway to edit a source code block with the context of all other > source code blocks in the same session? Specifically when working with > Python I'd like features like company to be able to use the rest of the code > in

Re: [O] Patch adding from-logo commentary ox-koma-letter.el

2018-06-23 Thread Grant Rettke
On Thu, Jun 21, 2018 at 4:37 AM, Nicolas Goaziou wrote: > Grant Rettke writes: >> If you like the additional documentation, then I will update it with >> this and send a new patch. > > Let's first merge the complete documentation, then apply it, if you > don't mind. H

Re: [O] Patch adding from-logo commentary ox-koma-letter.el

2018-06-20 Thread Grant Rettke
On Tue, Jun 19, 2018 at 3:11 AM, Nicolas Goaziou wrote: > Hello, > > Grant Rettke writes: > >> Although the function document ion mentions the markup to use, it >> doesn't explain that the user needs to provide a logo file in the same >> directory as the lett

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Grant Rettke
On Sat, Apr 28, 2018 at 4:05 PM, ST wrote: > 3. is there a free modern "corporate" style theme for org-mode? Twitter Bootstrap https://github.com/marsmining/ox-twbs and and these themes https://github.com/fniessen/org-html-themes are corporate-ish.

Re: [O] Multi-layer ergonomic keyboard and org-mode

2017-10-26 Thread Grant Rettke
On Thu, Oct 26, 2017 at 6:33 AM, Roland Everaert wrote: > This organization depends on your workflow, but their is surely some standard > key arrangement to improve our typing with our favorite editor an module. A keyboard like that easily provides more keybinding

Re: [O] babel header argument :var is not expanded when tangling

2017-12-24 Thread Grant Rettke
> Here is a quick test: > > * Test tangle will auto expand and substitute :var > > #+begin_src js :tangle kk.js > console.log("hello, world!"); > #+end_src > > #+begin_src js :var name="chris" :tangle require-kk.js > // require("kk.js"); > console.log("Hi, ", name); > #+end_src > > #+RESULTS: > :

Re: [O] Specifying the tangle filename based on the source filename?

2018-01-28 Thread Grant Rettke
On Sun, Jan 28, 2018 at 7:54 AM, Diego Zamboni wrote: > Hi, > > I’ve been converting many of my configuration files to org-mode to better > document them (examples: https://github.com/zzamboni/dot_emacs/blob/ > master/init.org,

Re: [O] babel header argument :var is not expanded when tangling

2017-12-27 Thread Grant Rettke
tangles to this (message "hi" Sincerely, Grant Rettke On Mon, Dec 25, 2017 at 6:45 AM, numbch...@gmail.com <numbch...@gmail.com> wrote: > > I see. I will use noweb style for now. > But should tangle expand :var variables when tangling? I think this is the > correct behavio

Re: [O] :comments org doesn't export comments below code

2018-07-14 Thread Grant Rettke
On Sat, Jul 14, 2018 at 3:10 AM, Nicolas Goaziou wrote: > Ken Mankoff writes: > > Is there a way to get more of the Org file embedded in the tangled > > code? > I don't think so. What did you want to add to it?

Re: [O] [RFC] Add new export backend for Jekyll

2018-03-18 Thread Grant Rettke
On Sat, Mar 17, 2018 at 4:45 PM, Łukasz Stelmach wrote: > This is kind of work-in-progress version. "Kind of" because it satisfies > my needs and I would like to ask what others think or need. > > How to test this module? > > Please comment. That looks great. Best way to

[O] org-utf-to-xetex - Teach Org-Mode And XeTeX How To Handle Non-Latin Unicode Characters

2018-06-28 Thread Grant Rettke
Sincerely, Grant Rettke

Re: [O] Patch adding from-logo commentary ox-koma-letter.el

2018-06-28 Thread Grant Rettke
On Wed, Jun 27, 2018 at 9:28 AM, Nicolas Goaziou wrote: > Grant Rettke writes: >> From: Grant Rettke >> +;; provides the 'includegraphics' command to tell LaTeX where to find >> +;; the logo. 'includegraphics' needs to know the logo's directory and > > I added t

Re: [O] org-babel-detangle issue on 9.1.14

2018-10-05 Thread Grant Rettke
On Thu, Oct 4, 2018 at 10:53 AM Brad Knotwell wrote: > Thanks for the response. At a minimum, I'd recommend changing the error > message from "Not in a source block" to something more descriptive > as most people's initial response will be, "uhhh, but it looks like I am." Consider submitting

Re: [O] org-mode: Would like to add custom chars as org-list bullets

2018-10-24 Thread Grant Rettke
On Sat, Oct 13, 2018 at 1:56 AM Colin Baxter wrote: > > > Tom Burbage writes: > > > When I use simple lists, I would like to be able to mix in '!' and > > '?' with '-' as these are sometimes more expressive of what the > > list item represents. My request is that the list of

Re: [O] Help with sharing emacs-org presentation

2018-10-30 Thread Grant Rettke
On Mon, Oct 29, 2018 at 7:53 AM Feiming Chen wrote: > Hi, I am an enthusiastic emacs-org user. Thanks for making this great tool! > I gave a talk on emacs-org in a local > workshop (Government Advances in Statistical Programming) in Washington D.C. > yesterday. I'd like to share the slides >

Re: [O] org-babel-detangle issue on 9.1.14

2018-10-04 Thread Grant Rettke
On Thu, Oct 4, 2018 at 2:09 AM Brad Knotwell wrote: > I've been playing with org-babel-detangle and I've noticed something that's > either a bug or a limitation. It's confusing enough that > it's worth writing down if it's expected. Basically, it doesn't work if > there are variables defined

Re: [O] org-babel: capturing the output of a shell command that does not return

2018-10-04 Thread Grant Rettke
On Wed, Sep 19, 2018 at 3:35 PM wrote: > Maybe there is another way to run the shell command and extract the file name > I need (in elisp?), but I don't know how. What if you start Emacs, have it create a temp file, then in a separate terminal start Jupyter with stdout redirected to that file.

Re: [O] How to handle an inline multiline noweb reference

2018-12-01 Thread Grant Rettke
On Fri, Nov 30, 2018 at 11:25 AM Marcin Borkowski wrote: > On 2018-11-28, at 03:08, Grant Rettke wrote: > > On Tue, Nov 27, 2018 at 3:57 AM Marcin Borkowski wrote: > >> but it's fairly complicated. Any better ideas? > > > > What is the part that you think is too c

Re: [O] How to handle an inline multiline noweb reference

2018-11-27 Thread Grant Rettke
On Tue, Nov 27, 2018 at 3:57 AM Marcin Borkowski wrote: > but it's fairly complicated. Any better ideas? What is the part that you think is too complicated?

Re: [O] Getting feedback from a website created with OrgMode ??

2018-11-19 Thread Grant Rettke
On Sun, Nov 18, 2018 at 4:54 PM David Masterson wrote: > What options do I have for doing this in OrgMode?? > Your best option is to find a website platform that has all the features that you want. For example Hugo or Jekyll or WordPress or you name it there are plenty of options.Then figure

Re: [O] How to handle an inline multiline noweb reference

2018-11-28 Thread Grant Rettke
On Wed, Nov 28, 2018 at 1:08 AM Eric S Fraga wrote: > Check out the :post option for src blocks. May be exactly what you > want. Thanks for sharing that!

Re: [O] Highlighting list item bullets

2018-09-18 Thread Grant Rettke
On Tue, Sep 18, 2018 at 8:25 AM Alex Helfet wrote: > I have a very early prototype working and wanted some feedback about whether > you would be interested in this feature upstream, or perhaps > including it in a package would be a better bet. That looks great. There are already more than a

Re: [O] Literate programming: Org mode and Scala

2018-09-18 Thread Grant Rettke
On Sun, Sep 9, 2018 at 2:43 PM Andrea Giugliano wrote: > I wonder: is the org-mode community planning to make scala-mode work in > a literate way without workarounds? Are you saying that there are two versions of scala-mode out there: one that works and one that doesn't work?

<    1   2   3   4