Re: [O] Fontify text between quotes?

2018-11-21 Thread Eric S Fraga
On Wednesday, 21 Nov 2018 at 14:50, Will Pierce wrote: > Ahah! Thanks for the tip! > > Added the following to my init: > > ;; use org-block face in verse/quote blocks > (setq org-fontify-quote-and-verse-blocks t) > > ;; use org-block for smart-quoted text > (defun my-org-smart-quote-fontify () >

Re: [O] [fr] header-only versions of agenda faces like org-scheduled-today

2018-11-21 Thread Samuel Wales
On 11/21/18, Nicolas Goaziou wrote: > It sounds useful. Patches welcome :) great! i cannot contribute such a patch but perhaps somebody who uses variable pitch or wants to experiment with agenda faces will be interested.

Re: [O] [fr] header-only versions of agenda faces like org-scheduled-today

2018-11-21 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > tldr: add faces for the header parts of agenda faces so that variable > pitch can be used. > [...] > PROPOSAL: > > it would excellent if we could have faces like > org-scheduled-today-header that would apply to the header text. > org-scheduled-today would apply

[O] [fr] header-only versions of agenda faces like org-scheduled-today

2018-11-21 Thread Samuel Wales
tldr: add faces for the header parts of agenda faces so that variable pitch can be used. === DISCUSSION: in the agenda, it is desirable to use monospace fonts, so that things line up. faces like org-scheduled-today affect the entire line. however, monospace fonts are not needed for the text

Re: [O] Fontify text between quotes?

2018-11-21 Thread Will Pierce
Ahah! Thanks for the tip! Added the following to my init: ;; use org-block face in verse/quote blocks (setq org-fontify-quote-and-verse-blocks t) ;; use org-block for smart-quoted text (defun my-org-smart-quote-fontify () "Use org-block face for text between smart quotes."

Re: [O] suppress ++ markup in orgmode?

2018-11-21 Thread Nicolas Goaziou
Hello, John Kitchin writes: > That doesn't seem right to me. It seems like a bug that it is rendered as > strikethrough to me, like the regexp that is generated is too greedy. That > was a good hint though. IMO, +++ is clearly a plus sign with strike-through. Why would "+" sign be excluded

Re: [O] suppress ++ markup in orgmode?

2018-11-21 Thread Nicolas Goaziou
Hello, John Kitchin writes: > That doesn't seem right to me. It seems like a bug that it is rendered as > strikethrough to me, like the regexp that is generated is too greedy. That > was a good hint though. IMO, +++ is clearly a plus sign with strike-through. Why would "+" sign be excluded

Re: [O] suppress ++ markup in orgmode?

2018-11-21 Thread Nicolas Goaziou
Hello, John Kitchin writes: > That doesn't seem right to me. It seems like a bug that it is rendered as > strikethrough to me, like the regexp that is generated is too greedy. That > was a good hint though. IMO, +++ is clearly a plus sign with strike-through. Why would "+" sign be excluded

Re: [O] Fontify text between quotes?

2018-11-21 Thread Jeremie Juste
Hello, You can in principle tap directly into font lock-mode. For instance something like (add-hook 'org-mode-hook (lambda () (font-lock-add-keywords nil '(("\\<\\(FIXME\\):" 1 'font-lock-warning-face prepend)

Re: [O] Solar orbit statistics and your agenda

2018-11-21 Thread Alan E. Davis
Hello, Eric: Since I don't need to automate anything or directly pipe the data into any other processes, I have taken a leap of faith and used the JPL Horizons Ephemeris Web interface to generate an ephemeris for the Moon's (they say "Luna"---nice!) declination. This I can edit wtih Emacs to get

[O] Fontify text between quotes?

2018-11-21 Thread Will Pierce
Hi all, I'd like to add a function that changes the face of any text in quotation marks. I looked a bit into adapting the existing org code for emphasis, but got bogged down. I'd like "text like this" to use the org-block face. Any help pointing me in the right direction on this would be much

Re: [O] Solar orbit statistics and your agenda

2018-11-21 Thread Eric S Fraga
On Wednesday, 21 Nov 2018 at 01:24, Alan E. Davis wrote: > Meanwhile, I was able to use a part of the script to get sun information, > but nothing for the moon? I did not see anything related to lunar data. Maybe elsewhere on the site? -- Eric S Fraga via Emacs 27.0.50, Org

Re: [O] Solar orbit statistics and your agenda

2018-11-21 Thread Alan E. Davis
I will search for the API page later. It seems to me that the site was not behaving normally today, and I struggled to find that page. I may have printed it! Meanwhile, I was able to use a part of the script to get sun information, but nothing for the moon? I wanted to get series of