[O] create a quick key/command to directly attach a image file from a specific folder

2013-09-13 Thread Xebar Saram
Hya as title says im looking for a way to bind a hotkey or a command to allow me to directly attach a image file from a specific folder. IE im going to put all my org image files to be viewed inline in my notes in ~/org/images/ and want a key to directly pop up this dir and let me choose from it a

[O] need help with complicated idea>send/export org header+content to email/other (for cooking in kitchen :) )

2013-09-13 Thread Xebar Saram
Hi all and sorry about the complicated topic :) among the many many many things i use org for is to collect cooking recipes :) i have zero coding knowledge and my emacs understanding is limited :) what i basically wanted to ask is if anyone could show me a simple function (at least it seems like

Re: [O] Outline cycling does not preserve point's position

2013-09-13 Thread Carsten Dominik
Hello Nicolas, thank you! - Carsten On 14.9.2013, at 00:29, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> When the functions are done, please go ahead and commit them and bind >> them to C-up/down. > > Done. > > > Regards, > > -- > Nicolas Goaziou signature.asc De

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Nick Dokos
Christian Wittern writes: > Hi there, > > I am developing a mode derived from org for special editing and > browsing purposes. I will add my own menu to the menubar and would > like to remove the menus added by org, "Org" and "Tbl", in order not > to confuse my users, who will be Emacs newbies i

[O] [Babel] Parsing source block bug ...

2013-09-13 Thread aditya siram
Hi all, This patch fixes a bug where the regexp for parsing source blocks is too greedy on the body and so fails in the presence of empty code blocks. For instance given the following: #+begin_src c #+end_src #+begin_src c hello world #+end_src , doing (org-babel-get-src-block-info) the first #+

[O] Jumping from source block to Org block ...

2013-09-13 Thread aditya siram
Attached is a patch that fixes a bug with jumping from source block back to the Org file. The problem is that the current detangling behavior does not take the :padlline flag into account. This stopped. Hopefully this is helpful to others ... -deech src_block_jump_fix.patch Description: Binary d

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Suvayu Ali
> On Sep 13, 2013, at 2:28 PM, Christian Wittern wrote: > > > > (define-key org-mode-map [menu-bar Org] nil) Oops, Christian already tried that! I guess it's time for me to go to bed :-p. -- Suvayu Open source is the future. It sets us free.

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Suvayu Ali
Hi, On Fri, Sep 13, 2013 at 02:44:31PM +0200, Carsten Dominik wrote: > On Sep 13, 2013, at 2:28 PM, Christian Wittern wrote: > > > I am developing a mode derived from org for special editing and > > browsing purposes. I will add my own menu to the menubar and would > > like to remove the menus

Re: [O] Contributing Without Patches ...

2013-09-13 Thread Suvayu Ali
Hello Aditya, On Fri, Sep 13, 2013 at 06:42:13PM -0500, aditya siram wrote: > Hi all > I've made a couple of changes to the latest source tree but I can't seem to > create patches because of some merges that happened subsequently. Is there > some way for me to issue a pull-request? What problems

[O] Contributing Without Patches ...

2013-09-13 Thread aditya siram
Hi all I've made a couple of changes to the latest source tree but I can't seem to create patches because of some merges that happened subsequently. Is there some way for me to issue a pull-request? -deech

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Christian Wittern
On 2013-09-13 22:09, Thorsten Jolitz wrote: 9 matches for "easy-menu" in buffer: org.el |5312:(easy-menu-remove outline-mode-menu-heading) |5313:(easy-menu-remove outline-mode-menu-show) |5314:(easy-menu-remove outline-mode-menu-hide)) Yeah, I have seen that.

Re: [O] Outline cycling does not preserve point's position

2013-09-13 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > When the functions are done, please go ahead and commit them and bind > them to C-up/down. Done. Regards, -- Nicolas Goaziou

Re: [O] error when publishing

2013-09-13 Thread Nick Dokos
pw writes: > Le 13/09/2013 17:26, Nicolas Goaziou a écrit : >> You shouldn't require "org-publish", which belongs to the old framework. >> I think you can skip this part altogether. If it fails, try requiring >> "ox-publish" instead. > Thanks for your answer. > > If I remove "require 'org-publish

Re: [O] error when publishing

2013-09-13 Thread pw
I'm found myself the solution to my question which consiste in replacing "org-publish-org-to-html" by "org-html-publish-to-html" into my .emacs. It's a shame that a lot of very good tutorials like Sebastian Rose's publishing one are a little bit outdated and, so, make people getting wrong. pw

Re: [O] error when publishing

2013-09-13 Thread pw
Le 13/09/2013 17:26, Nicolas Goaziou a écrit : You shouldn't require "org-publish", which belongs to the old framework. I think you can skip this part altogether. If it fails, try requiring "ox-publish" instead. Thanks for your answer. If I remove "require 'org-publish)" I have another error :

Re: [O] How to set C-o back to open-line?

2013-09-13 Thread Carsten Dominik
Hi Christopher, you can now do (setq org-special-ctrl-o nil) to get what you want. Regards - Carsten On 18.5.2013, at 00:05, Christopher Allan Webber wrote: > Carsten Dominik writes: > >> On 17.5.2013, at 00:38, Christopher Allan Webber >> wrote: >> >>> I really hate org-open-line... I

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Damon Haley
In addition to Alfred/Applescript, the Quickkeys application allows once to directly access emacs keybindings (without emacsclient) and then let emacs call call apple script to retrieve useful context for org-capture. My solution is completely stolen from John Wiegley, but it works great. After

Re: [O] [Babel] Getting Info On Empty Source Block Fails

2013-09-13 Thread Eric Schulte
aditya siram writes: > Hi all, > `org-babel-get-src-block-info` on an empty block fails. > > Given: > #+BEGIN_SRC c > #+END_SRC > #+BEGIN_SRC c > non-empty > #+END_SRC > > Running `org-babel-get-src-block-info` with point at the beginning of the > first line gives: > ("c" "#+END_SRC > > #+BEGIN_S

Re: [O] table as argument to code block : type of the elements

2013-09-13 Thread Eric Schulte
Nick Dokos writes: > franc...@avalenn.eu writes: > >> This code does not work because of automatic conversion from string to >> number in org-babel-read-table. >> >> #+TBLNAME: table_test >> | name | id | >> |---+-| >> | name1 | 034 | >> | name2 | 135 | >> | name3 | 1B5 | >> >> #+NAME:

Re: [O] How to create new export modes derived from html

2013-09-13 Thread Pascal Quesseveur
>"NG" == Nicolas Goaziou a écrit : NG> We rewrote export framework in Org 8.0. I suggest to use it NG> instead. Thank you for your answer. Yes I have read about the new exports but my initial goal was to use the version included in latest emacs release distribution and I think it is version

Re: [O] How to create new export modes derived from html

2013-09-13 Thread Nicolas Goaziou
Hello, Pascal Quesseveur writes: > In the past I have created 2 modes in Muse to produce help files from > JavaHelp and CSH. Those modes derived throm html. I want to adapt them > to org-mode (version 7.9). I think they could be implemented as a hook > to html export. What do you think is the be

Re: [O] removing "Figure x" from a caption

2013-09-13 Thread Nicolas Goaziou
Hello, Matt Price writes: > I'm not finding an org-export-filter-caption-function, and captions > aren't listed as a valid element type in section 12.13 of the manual. > I can just use CSS to hide the figure-number span that org generates, > but that seems a little clumsy (also interferes a bit

Re: [O] error when publishing

2013-09-13 Thread Nicolas Goaziou
Hello, pw writes: > (require 'org-publish) You shouldn't require "org-publish", which belongs to the old framework. I think you can skip this part altogether. If it fails, try requiring "ox-publish" instead. Regards, -- Nicolas Goaziou

Re: [O] [export] Beamer frames containing lstlisting are no longer made fragile

2013-09-13 Thread Nicolas Goaziou
Hello, Christoph LANGE writes: > Frames that contain an lstlisting environment are no longer made fragile > automatically. (Thus I'm not sure the documentation in manual section > 12.5 "Beamer export" is still correct, which says "`fragile' option is > added automatically if it contains source

Re: [O] removing "Figure x" from a caption

2013-09-13 Thread Matt Price
On Thu, Sep 12, 2013 at 2:18 PM, Rasmus wrote: > Matt Price writes: > >> sorry, another question whose answer I'm having trouble finding in the >> manual: is it possible to remove the text "Figure X: " from a caption >> defined with >> >> #+CAPTION: >> >> ? I'm just doing lecture slides, and the

Re: [O] removing "Figure x" from a caption

2013-09-13 Thread Matt Price
On Thu, Sep 12, 2013 at 4:15 PM, Eric S Fraga wrote: > Matt Price writes: > >> sorry, another question whose answer I'm having trouble finding in the >> manual: is it possible to remove the text "Figure X: " from a caption >> defined with >> >> #+CAPTION: >> >> ? I'm just doing lecture slides, an

[O] error when publishing

2013-09-13 Thread pw
Hi, With org-mode 8.0.7 (emacs 23.4.1), I have some problems to publish a project. I have this error : "Publishing file /home/xxx/site/org/index.org using `org-publish-org-to-html' find-buffer-visiting: Wrong type argument: stringp, (:base-directory "~/site/org/" :base-extension "org" :publi

[O] [Babel] Getting Info On Empty Source Block Fails

2013-09-13 Thread aditya siram
Hi all, `org-babel-get-src-block-info` on an empty block fails. Given: #+BEGIN_SRC c #+END_SRC #+BEGIN_SRC c non-empty #+END_SRC Running `org-babel-get-src-block-info` with point at the beginning of the first line gives: ("c" "#+END_SRC #+BEGIN_SRC c non-empty" ((:colname-names) (:rowname-names

Re: [O] Visibility cycling for headlines with a specific tag ?

2013-09-13 Thread Martin Leduc
Exactly what I was searching for. Thank you very much.

Re: [O] Bug: Can't follow a link to a relative html filename with a whitespace [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2013-09-13 Thread Diogo F. S. Ramos
> On 8.9.2013, at 04:54, Diogo F. S. Ramos wrote: > >> 1. touch a file as `/tmp/bar baz.html' >> 2. Visit `/tmp/foo.org' >> 3. Link to the HTML file typing [[file:bar baz.html]] >> 4. Try following the link with C-c C-o >> >> * Expected >> >> Open the file inside a browser >> >> * Happens >> >

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Thorsten Jolitz
Christian Wittern writes: > I wonder if anybody here has any advice? Not really an advice, just a hint: doesn't org-mode itself use easy-menu to remove outline from the menu bar? ,--- | 9 matches for "easy-menu" in buffer: org.el |

[O] [export] Beamer frames containing lstlisting are no longer made fragile

2013-09-13 Thread Christoph LANGE
Dear all, having created a number of Beamer presentations with the old exporter (Org version 7), I'm now working on the first Beamer presentation with the new exporter. Frames that contain an lstlisting environment are no longer made fragile automatically. (Thus I'm not sure the documentation in

Re: [O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Carsten Dominik
On Sep 13, 2013, at 2:28 PM, Christian Wittern wrote: > Hi there, > > I am developing a mode derived from org for special editing and browsing > purposes. I will add my own menu to the menubar and would like to remove the > menus added by org, "Org" and "Tbl", in order not to confuse my user

[O] How to create new export modes derived from html

2013-09-13 Thread Pascal Quesseveur
Hello, In the past I have created 2 modes in Muse to produce help files from JavaHelp and CSH. Those modes derived throm html. I want to adapt them to org-mode (version 7.9). I think they could be implemented as a hook to html export. What do you think is the best way to create new exports in that

[O] Remove Org and Tbl from menubar for derived mode

2013-09-13 Thread Christian Wittern
Hi there, I am developing a mode derived from org for special editing and browsing purposes. I will add my own menu to the menubar and would like to remove the menus added by org, "Org" and "Tbl", in order not to confuse my users, who will be Emacs newbies in most cases. I tried several thin

Re: [O] Connect to the ssh and execute any command

2013-09-13 Thread Suvayu Ali
Hi Andrey, I think you will have better luck on the list. Cheers, -- Suvayu Open source is the future. It sets us free.

Re: [O] LaTeX export: images subplots

2013-09-13 Thread Suvayu Ali
On Wed, Sep 11, 2013 at 09:47:08PM -0500, John Hendy wrote: > On Wed, Sep 11, 2013 at 8:56 PM, Martin Leduc wrote: > > Hi all, > > I am using org-mode to write a report with several figures. I would like > > to group some images into a same figure, let say a 2x2 panel. I know that I > > can dire

Re: [O] Outline cycling does not preserve point's position

2013-09-13 Thread Carsten Dominik
Hi Nicolas, thanks for these. Please see the two comments below. On Sep 11, 2013, at 10:01 PM, Nicolas Goaziou wrote: > Jambunathan K writes: > >> I am happy with whatever is the latest version. You may want to commit >> it. > > I copy here[fn:1] the current version, for the record, along

[O] [PATCH] Recenter around #+begin_src when moving to previous/next code block

2013-09-13 Thread Sebastien Vauban
Hello, When moving with C-c C-v C-n (or p) from one code block to the next (or previous), it's much better if the code block gets centered (vs hidden, forcing the user to scroll down, as it currently is). This is the purpose of this easy patch. Best regards, Seb From: "Sebastien Vauban" Date

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
alan.schm...@polytechnique.org writes: > lexi.ba...@gmail.com writes: > >> Hi Alan, >> >> Alan Schmitt writes: >> >> [...] >> >>> The question: is there a way to: >>> - present only the capture buffer in the new frame (right now it's split >>> with the scratch buffer)? Following the idea from Al

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
lexi.ba...@gmail.com writes: > Hi Alan, > > Alan Schmitt writes: > > [...] > >> The question: is there a way to: >> - present only the capture buffer in the new frame (right now it's split >> with the scratch buffer)? >> - delete the window at the end of capture? >> > > How about `org-capture-aft

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-13 Thread Sebastien Vauban
Hello, Nicolas Goaziou wrote: > My point is: if "wrapfig" is there, "rotating" should accompany it, or > both should be removed from the variable. Also, there's no reason for > "longtable" to be included. Your analysis makes a lot of sense (somehow looking at what LaTeX knowledge the user has, if

Re: [O] Visibility cycling for headlines with a specific tag ?

2013-09-13 Thread Sebastien Vauban
Hi Martin, Martin Leduc wrote: > I am currently taking a lot of notes in an org file containing figures, > equations, code snippets and text. In my project tree, I have several nodes > containing supplementary material and code that will not be part of my final > report exported as a LaTeX pdf.

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alexander Baier
Hi Alan, Alan Schmitt writes: [...] > The question: is there a way to: > - present only the capture buffer in the new frame (right now it's split > with the scratch buffer)? > - delete the window at the end of capture? > How about `org-capture-after-finalize-hook'? What I can get from the pcum

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-13 Thread Detlef Steuer
Hi! > Hello, > > Rasmus writes: > > > So the question is should it be a default package? > > > > I think not. E.g. tabu isn't loaded. Amsmath isn't loaded if you > > generate a matrix. > > I think the "tabu" case (and longtable...) is different from "rotating". > > No feature in Org require

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
hari...@gmail.com writes: > "Robert P. Goldman" writes: > >> Does anyone have a workflow for the Alfred Mac app launcher that will >> interact with org-capture? > > If Alfred can trigger an Applescript, I use the following with Quicksilver: > > Applescript: > > property eclient : "/Applications