Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Bernhard Pröll
Hi again, my guess into the blue: You haven't set the directory as described in the readme (it defaults to nil). Since I don't use helm, I haven't considered it. The purpose of this backend is avoiding the `find-file-noselect' as used in `org-refile' and the `helm-org-agenda-headings' suggested

[O] controlling how htmlize fontifies code

2015-08-02 Thread Eric S Fraga
Hello all, I have to prepare a whole new set of lectures for a new course and I thought I would play around with =ox-reveal= as an HTML export target may actually be more appropriate for this course than my usual PDF target. And one of the best features of org is that most of the effort is the sa

Re: [O] controlling how htmlize fontifies code

2015-08-02 Thread Rasmus
Eric S Fraga writes: > Now, I can simply start up emacs with a light background, export my > slides and everything is fine. However, it would be nice to not have to > start up a new emacs just for this. Is there an easy way to pretend, > for export to HTML, that emacs is using a light backgroun

Re: [O] controlling how htmlize fontifies code

2015-08-02 Thread Rick Frankel
On Sun, Aug 02, 2015 at 10:24:25AM +0100, Eric S Fraga wrote: > Now, I can simply start up emacs with a light background, export my > slides and everything is fine. However, it would be nice to not have to > start up a new emacs just for this. Is there an easy way to pretend, > for export to HTML

Re: [O] controlling how htmlize fontifies code

2015-08-02 Thread Kaushal
I export with my custom Leuven theme (a light theme) css and it works fine. I also have my emacs theme as a dark theme by default. ;; (setq org-html-htmlize-output-type 'inline-css) ; default (setq org-html-htmlize-output-type 'css) ;; (setq org-html-htmlize-font-prefix "") ; default (setq org-htm

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-08-02 Thread Nicolas Goaziou
Hello, Ivanov Dmitry writes: > Unfortunately URL encoding the [ and ] doesn't work for me. Try to > reproduce it. Create 2 files: > > file.txt. Content: > > $form['text1'] > > $form['text2'] > > file.org. Content: > --

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-08-02 Thread Ivanov Dmitry
> It works here on a recent Org. Thank you. I have a little outdated version. It started to work after I used the escaped percent as Kyle Meyer suggested.

Re: [O] [Feature Request] Let publishing-function decide :output-file and whether publishing is needed

2015-08-02 Thread Nicolas Goaziou
Hello, Ruben Maher writes: > I've been working on a derived exporter to publish a static blog, and > I've run into some issues. Say that `:publishing-directory' is > "~/public_html" and I have `:base-directory' with an Org file foo.org. > > foo.org has option keywords like this: > > #+title: fo

Re: [O] Org-mode exporters licensing

2015-08-02 Thread Nicolas Goaziou
Hello, Marcin Borkowski writes: > And I do not. I suspect that many authors don't care, and use GPL (or > BSD, or other license) just so that they don't have to write a license > themselves. Of course, this is only my suspicion, and I might be > totally wrong. As a data point, in order to cle

[O] [ANN] Table optimizations

2015-08-02 Thread Nicolas Goaziou
Hello, I committed some changes to org-table.el in order to make them slightly more responsive in large buffers. I also refreshed some old code so as to prepare for lexical binding switching. Do not hesitate to report anything suspicious in this area. Thank you. Regards, -- Nicolas Goaziou

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-08-02 Thread Kyle Meyer
Nicolas Goaziou wrote: > Hello, > > Ivanov Dmitry writes: > >> Unfortunately URL encoding the [ and ] doesn't work for me. Try to >> reproduce it. Create 2 files: >> >> file.txt. Content: >> >> $form['text1'] >> >> $form['text2'] >> ---

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Xebar Saram
Thx john i evaled the code yet i cant see it under M-x, am i missing something? best Z On Sat, Aug 1, 2015 at 10:03 PM, John Kitchin wrote: > usually it is pretty easy to add new functions in helm, but it is less > easy in this case because the source is dynamically generated from a > functio

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread John Kitchin
You are, that code modifies the helm-org-agenda-files-headings function by adding a new action to it. So, try: M-x helm-org-agenda-files-headings select a heading, press tab, and you should see a 4th, new action to insert an org-id link. John --- Professor John K

Re: [O] Auto insert and change date in header?

2015-08-02 Thread Xebar Saram
Hi John i tried it by evaluating it and then it works exactly as i needed:) the only bizarre thing is that when i add it to my config emacs is frozen during startup. ive also tried adding the extra lines you suggested so now the lisp part looks like this #+BEGIN_SRC emacs-lisp (defun update-last

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Xebar Saram
Perfect :D thx so much, as always really appreciate it! z On Sun, Aug 2, 2015 at 9:31 PM, John Kitchin wrote: > You are, that code modifies the helm-org-agenda-files-headings function by > adding a new action to it. So, try: > > M-x helm-org-agenda-files-headings > > select a heading, press ta

[O] Trouble with auto-fill-mode

2015-08-02 Thread Vikas Rawal
I am inserting LaTeX \index{} commands in an org document to create an index. Almost everything works fine. But I am having trouble with auto-fill-mode. It often puts a line break in the middle of an index entry, and then it does not work. That is, \index{my name} is sometimes broken into \ind

[O] Trouble with autofill mode

2015-08-02 Thread Vikas Rawal
I am inserting LaTeX \index{} commands in an org document to create an index. Almost everything works fine. But I am having trouble with auto-fill-mode. It often puts a line break in the middle of an index entry, and then it does not work. That is, \index{my name} is sometimes broken into \ind

Re: [O] Trouble with autofill mode

2015-08-02 Thread Nicolas Goaziou
Hello, Vikas Rawal writes: > I am inserting LaTeX \index{} commands in an org document to create an > index. Almost everything works fine. But I am having trouble with > auto-fill-mode. It often puts a line break in the middle of an index > entry, and then it does not work. > > That is, \index{m

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-08-02 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > Hmm, that's weird. I'm still seeing this with emacs -Q using > release_8.3beta-1312-g8094d0. Indeed, my bad. This should be fixed in cfe5bc9. However, the current escaping mechanism for links in Org is not really satisfactory. In the long run, we will need to chang

Re: [O] Trouble with autofill mode

2015-08-02 Thread Vikas Rawal
> >> I am inserting LaTeX \index{} commands in an org document to create an >> index. Almost everything works fine. But I am having trouble with >> auto-fill-mode. It often puts a line break in the middle of an index >> entry, and then it does not work. >> >> That is, \index{my name} is sometimes

Re: [O] Latex index using makeidx

2015-08-02 Thread John Kitchin
maybe hippie-expand? otherwise, you can write your own code to search the buffer for entries, and use them as the collection for completing-read. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsb

Re: [O] Auto insert and change date in header?

2015-08-02 Thread John Kitchin
you probably only need this: (add-hook 'org-mode-hook (lambda () (add-to-list 'after-change-functions 'update-last-edited))) and not this: (add-to-list 'after-change-functions 'update-last-edited) I guess that this last line could be causing an issue in buffers like *Messages* which change a l

Re: [O] Trouble with autofill mode

2015-08-02 Thread Vicente Vera
Hello, This StackExchange question might help you out: https://emacs.stackexchange.com/questions/12392/prevent-fill-paragraph-from-breaking-latex-citations-in-org-mode (Only if I got your question right...)

Re: [O] Trouble with autofill mode

2015-08-02 Thread Vikas Rawal
> On 03-Aug-2015, at 8:37 am, Vicente Vera wrote: > > Hello, > This StackExchange question might help you out: > https://emacs.stackexchange.com/questions/12392/prevent-fill-paragraph-from-breaking-latex-citations-in-org-mode > (Only if I got your question right...) Thanks very much. This shoul