Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread stardiviner
Thanks, Kitchin! I tried code in Emacs minimal config. But the image is not shown. I tried to toggle Edebug on function `org-contacts-icon-property-image-overlay`. But it is not triggered. Don't understand why. Because `(font-lock-add-keywords ..)` not correct? I tried to change `nil` into

Re: [O] Localized org-mode

2018-05-09 Thread Jean-Christophe Helary
> On May 10, 2018, at 0:41, Diego Zamboni wrote: > > > On Wed, May 9, 2018 at 3:48 PM, Jean-Christophe Helary > wrote: > You misquoted me. I was talking about design constraints when C and Lisp were > created, which

Re: [O] Localized org-mode

2018-05-09 Thread Kaushal Modi
Hello, On Wed, May 9, 2018 at 8:44 AM Jean-Christophe Helary wrote: > > Genuine question: how many 3rd party tools do support the org format ? > Few that I know: - Orgzly app on Android - Beorg app on iOS - Org parser used on Github: https://github.com/wallyqs/org-ruby

Re: [O] Org beamer async export fails

2018-05-09 Thread Nicolas Goaziou
Jeremie Juste writes: > I manage to set up the org-export-async-init-file as follows > > (require 'org) ;; loads from site lisp > (require 'ox) > (require 'cl) ;; stupid bug in one of the org-packages? I'm not sure what you mean here, but this shouldn't be necessary in

Re: [O] Org beamer async export fails

2018-05-09 Thread Jeremie Juste
Hello Many thanks for the info. I manage to set up the org-export-async-init-file as follows (require 'org) ;; loads from site lisp (require 'ox) (require 'cl) ;; stupid bug in one of the org-packages? (setq org-export-async-debug t) (require 'ox-beamer) but when I try

Re: [O] Bug: Empty Priorities Are Displayed As "B" In An Agenda Using The Column View [9.1.13 (9.1.13-elpa @ /home/tom/.emacs.d/elpa/org-9.1.13/)]

2018-05-09 Thread Nicolas Goaziou
Tom Purl writes: > Thank you for your quick response Nicholas. I read that help page but > I still think this may be a bug. In the 8.2 version of Org the > Priority column in the column view showed an empty priority if the > TODO didn't have a priority. Those TODO's where then

Re: [O] [RFC] Dog food, anyone?

2018-05-09 Thread Nicolas Goaziou
Hello, Gregor Zattler writes: > I found that org-float instead of diary-float is documented in > org-manual.org although ORG-NEWS says to use diary-float instead: Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] [RFC] Dog food, anyone?

2018-05-09 Thread Gregor Zattler
Hi Nicolas, Org mode developers, * Nicolas Goaziou [2018-05-09; 02:30]: > Bastien writes: > >> it would be nice to make the switch to org-manual.org for Org 9.2, >> and to delete org.texi entirely from the master branch. > > Done. > >> I guess we need to add

Re: [O] [RFC] Dog food, anyone?

2018-05-09 Thread Jon Snader
This is excellent. I love that, as Nicolas says, we're eating our own dog food. Perhaps this will put to rest the doubts expressed on Emacs-Devel a year or two ago in the thread about replacing TeXinfo as to whether Org mode was up to the task.

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Joseph Vidal-Rosset
It works also for me. Many thanks! Jo. 2018-05-09 18:01 GMT+02:00 Thomas Shannon : > Works like a charm, auctex and all. Very nice! Thanks. > > Tom S. > > > On May 9, 2018, at 10:27 AM, Russell Adams > wrote: > > > > On Wed, May 09, 2018 at

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Thomas Shannon
Works like a charm, auctex and all. Very nice! Thanks. Tom S. > On May 9, 2018, at 10:27 AM, Russell Adams wrote: > > On Wed, May 09, 2018 at 09:22:35AM -0500, Thomas Shannon wrote: >> HI, Joseph. >> >> Its not the most elegant solution but if I’m doing extensive

Re: [O] Org beamer async export fails

2018-05-09 Thread Nicolas Goaziou
Hello, Jeremie Juste writes: > I noticed that async export using org-beamer-export fails. For instance > > on test.org (see below) > > yield > > <> `org-export-async-init-file' may not (require 'ox-beamer). Regards, -- Nicolas Goaziou

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 17:16, Joseph Vidal-Rosset wrote: > Thanks Eric and Tom. > > At the moment, I do not know what is the most convenient solution. > > this one: > > #+BEGIN_LaTeX latex > > #+END_LaTeX What version of org are you using? This is probably not what you want if you are

Re: [O] Localized org-mode

2018-05-09 Thread Diego Zamboni
On Wed, May 9, 2018 at 3:48 PM, Jean-Christophe Helary wrote: > You misquoted me. I was talking about design constraints when C and Lisp > were created, which kept language creators from "inventing" proper language > localization. I was specifically replying to Diego

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Russell Adams
On Wed, May 09, 2018 at 09:22:35AM -0500, Thomas Shannon wrote: > HI, Joseph. > > Its not the most elegant solution but if I’m doing extensive latex editing I > usually just enter latex mode (esc-x latex-mode). This allows me to use > auctex as well. > > Of course, you have to switch back to

[O] Org beamer async export fails

2018-05-09 Thread Jeremie Juste
Hello, I noticed that async export using org-beamer-export fails. For instance on test.org (see below) yield <> I'm using Org mode version 9.1.13 Best regards, Jeremie content of test.org #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS:

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Joseph Vidal-Rosset
Thanks Eric and Tom. At the moment, I do not know what is the most convenient solution. this one: #+BEGIN_LaTeX latex #+END_LaTeX when the latex export works prints the \LaTeX logo on the file. I've tried Tom's solution. With keybindings it seems to me that it is not a bad option. Best

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 16:04, Joseph Vidal-Rosset wrote: [...] > and it seems that is the best option for me, but sometimes I meet error > with the export into the latex file. But the highlightings works. For snippets etc., not export blocks, you can also have org display those snippets

Re: [O] Bug: Empty Priorities Are Displayed As "B" In An Agenda Using The Column View [9.1.13 (9.1.13-elpa @ /home/tom/.emacs.d/elpa/org-9.1.13/)]

2018-05-09 Thread Tom Purl
‐‐‐ Original Message ‐‐‐ On May 9, 2018 7:32 AM, Nicolas Goaziou wrote: > Hello, > > Tom Purl t...@tompurl.com writes: > > > I like to use column view with my org agenda. One of the custom > > > > properties that I like to view is the priority. Here's what I

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Thomas Shannon
HI, Joseph. Its not the most elegant solution but if I’m doing extensive latex editing I usually just enter latex mode (esc-x latex-mode). This allows me to use auctex as well. Of course, you have to switch back to org-mode after editing. So its not a great solution if you are switching

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Joseph Vidal-Rosset
Yes, I have just tried this solution: https://emacs.stackexchange.com/questions/27866/syntax-highlighting-in-org-mode-begin-latex-block/27891 i.e. #+BEGIN_LaTeX latex #+END_LaTeX and it seems that is the best option for me, but sometimes I meet error with the export into the latex file. But

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread John Kitchin
there are a couple of typos in your code, and the regexp doesn't seem to match the property you want for some reason. This seems to do what you want. #+begin_src emacs-lisp (defun org-contacts-icon-property-image-overlay ( limit) (when (re-search-forward org-heading-regexp limit t) (let

Re: [O] Localized org-mode

2018-05-09 Thread Jean-Christophe Helary
You misquoted me. I was talking about design constraints when C and Lisp were created, which kept language creators from "inventing" proper language localization. I was specifically replying to Diego Zamboni regarding that. > On May 9, 2018, at 22:25, Nicolas Goaziou

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread stardiviner
Hi, Kitchin, thanks for your sharing. Following your code example, I did small modification to use on my case. Here is my code: #+begin_src emacs-lisp (defvar image-overlay-re (concat ":ICON:" "\\(?3:'\\|\"\\)\\(?1:.*\\."

Re: [O] Localized org-mode

2018-05-09 Thread Nicolas Goaziou
Hello, Jean-Christophe Helary writes: > There are no practical reasons why that should not be possible. Yet, I gave some already. Consider the following three documents: * Headline :PROPERTIES: foo :END: and * Headline :PROPERTIES: :foo:

Re: [O] Localized org-mode

2018-05-09 Thread Jean-Christophe Helary
> On May 9, 2018, at 21:07, Kaushal Modi wrote: > > Hello all, > > On Wed, May 9, 2018, 8:01 AM Diego Zamboni > wrote: > I really don't see the point of trying to localize org keywords. To me, they > are like the

Re: [O] Moving from Jekyll to Orgmode

2018-05-09 Thread ST
> > > > Is the difficulty to setup ox-publish the sole disadvantage vis. > > ox-hugo/ox-jekyll/etc.? Is the functionality the same > > more_or_less? > > > > What ox-hugo devs/users have to say on this? > > I enjoy the hugo server. Make a change to the org mode file, > export with ox-hugo, and

Re: [O] Localized org-mode

2018-05-09 Thread ST
On Wed, 2018-05-09 at 13:36 +0200, Diego Zamboni wrote: > I really don't see the point of trying to localize org keywords. To > me, they are like the keywords in any programming language - part of > the language. Would you consider translating C or LISP keywords? I see org, first of all, as an

Re: [O] Bug: Empty Priorities Are Displayed As "B" In An Agenda Using The Column View [9.1.13 (9.1.13-elpa @ /home/tom/.emacs.d/elpa/org-9.1.13/)]

2018-05-09 Thread Nicolas Goaziou
Hello, Tom Purl writes: > I like to use column view with my org agenda. One of the custom > properties that I like to view is the priority. Here's what I do to make > that happen: > > (setq org-agenda-overriding-columns-format "%TODO %4PRIORITY(Pri.) > %50ITEM(Task)")

Re: [O] Moving from Jekyll to Orgmode

2018-05-09 Thread Kaushal Modi
Hello, On Wed, May 9, 2018, 3:36 AM ST wrote: > > Is the difficulty to setup ox-publish the sole disadvantage vis. > ox-hugo/ox-jekyll/etc.? ox-publish is not *that* difficult to set up. Once you have it set up once, you just reuse that with minor tweaks for different

[O] Bug: Empty Priorities Are Displayed As "B" In An Agenda Using The Column View [9.1.13 (9.1.13-elpa @ /home/tom/.emacs.d/elpa/org-9.1.13/)]

2018-05-09 Thread Tom Purl
I like to use column view with my org agenda. One of the custom properties that I like to view is the priority. Here's what I do to make that happen: (setq org-agenda-overriding-columns-format "%TODO %4PRIORITY(Pri.) %50ITEM(Task)") Using Org 8.2 I was able to view the priority in the

Re: [O] Localized org-mode

2018-05-09 Thread Kaushal Modi
Hello all, On Wed, May 9, 2018, 8:01 AM Diego Zamboni wrote: > I really don't see the point of trying to localize org keywords. To me, > they are like the keywords in any programming language - part of the > language. Would you consider translating C or LISP keywords? > > In

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Russell Adams
On Wed, May 09, 2018 at 01:31:51PM +0200, Joseph Vidal-Rosset wrote: > But nothing works for highlighting latex. Have you considered making a latex block, and editing it? It'll have full latex syntax highlighting while in the block.

Re: [O] Localized org-mode

2018-05-09 Thread Diego Zamboni
I really don't see the point of trying to localize org keywords. To me, they are like the keywords in any programming language - part of the language. Would you consider translating C or LISP keywords? In addition to the trouble of supporting something like this within Emacs, think of the growing

Re: [O] Moving from Jekyll to Orgmode

2018-05-09 Thread Diego Zamboni
> > > Is the difficulty to setup ox-publish the sole disadvantage vis. > ox-hugo/ox-jekyll/etc.? Is the functionality the same more_or_less? > > What ox-hugo devs/users have to say on this? I have never used ox-publish, but getting started with ox-hugo is really easy. I think the main difference

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Joseph Vidal-Rosset
Thanks for your help. At the moment I have in my init.el (in fact my user.el because I am using scimax with -q -l options): (require 'ox-latex) (setq org-src-fontify-natively t) (setq org-highlight-latex-and-related '(latex)) (setq org-highlight-latex-and-related '(latex script entities)) But

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 11:59, Nicolas Goaziou wrote: > Eric S Fraga writes: > >> Okay. But I have this variable set, to (latex), and it does >> nothing. The regex remains nil. Is there some other configuration >> setting that we have to set to get LaTeX snippets etc.

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Nicolas Goaziou
Eric S Fraga writes: > Okay. But I have this variable set, to (latex), and it does > nothing. The regex remains nil. Is there some other configuration > setting that we have to set to get LaTeX snippets etc. highlighted? You may need to reload Org mode in the current

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 10:41, Nicolas Goaziou wrote: [...] > This is an internal variable. The OP should tweak > `org-highlight-latex-and-related' instead. Okay. But I have this variable set, to (latex), and it does nothing. The regex remains nil. Is there some other configuration

Re: [O] Localized org-mode

2018-05-09 Thread Nicolas Goaziou
Hello, ST writes: > So how do you solve this problem now for English ":PROPERTIES:"? Simple. Org does not replace anything arbitrarily. This is less error-prone. > Anyway if somebody runs into it he could have at least to options: > > 1. write local

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > On Wednesday, 9 May 2018 at 10:17, Joseph Vidal-Rosset wrote: >> Hello, >> >> I would be happy to highlight latex code in org-mode, but nothing works. It >> is a pity because this lack of highlighting latex code in org-mode entails >> troubles

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 10:17, Joseph Vidal-Rosset wrote: > Hello, > > I would be happy to highlight latex code in org-mode, but nothing works. It > is a pity because this lack of highlighting latex code in org-mode entails > troubles in exporting in latex and I have always to correct my

Re: [O] highlighting latex code in org-mode

2018-05-09 Thread Eric S Fraga
On Wednesday, 9 May 2018 at 10:17, Joseph Vidal-Rosset wrote: > Hello, > > I would be happy to highlight latex code in org-mode, but nothing works. It > is a pity because this lack of highlighting latex code in org-mode entails > troubles in exporting in latex and I have always to correct my

[O] highlighting latex code in org-mode

2018-05-09 Thread Joseph Vidal-Rosset
Hello, I would be happy to highlight latex code in org-mode, but nothing works. It is a pity because this lack of highlighting latex code in org-mode entails troubles in exporting in latex and I have always to correct my source files. Help would be very welcome. Best wishes, Jo.

Re: [O] Moving from Jekyll to Orgmode

2018-05-09 Thread Thomas S. Dye
Aloha ST, ST writes: Is the difficulty to setup ox-publish the sole disadvantage vis. ox-hugo/ox-jekyll/etc.? Is the functionality the same more_or_less? What ox-hugo devs/users have to say on this? I enjoy the hugo server. Make a change to the org mode file, export with ox-hugo, and

Re: [O] Localized org-mode

2018-05-09 Thread ST
On Tue, 2018-05-08 at 20:21 +0200, Nicolas Goaziou wrote: > ST writes: > > > Why? Run "detranslator" before you start parsing. I.e. based on your > > 1-to-1 vocabulary "detranslator" will substitute all :EIGENSCHAFTEN: and > > all other org syntax back to English :PROPERTIES:

Re: [O] Moving from Jekyll to Orgmode

2018-05-09 Thread ST
On Tue, 2018-05-08 at 00:21 +0200, Rasmus wrote: > ST writes: > > >> > 2. how can one create "prettified" links, i.e. /features/ instead > >> > of /features.html ? Basically during the website generation for the file > > > >> > features.org a directory `features` needs to be