[O] How to apply function on org-capture template substitute variable %i?

2018-01-13 Thread numbch...@gmail.com
I have a org-capture template like this:
```
(setq org-capture-templates
(append '(("w" "org-drill [w]ords"
   entry (file my-org-drill-words-file)
   "* %i :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: %^{Drill Difficulty|simple|twosided|multisided|hide1cloze}
:END:

%?

%c
"
   :empty-lines 1
   ))
org-capture-templates))
```
I want to apply a function on `%i` to make it lowercase.
Like `(lowercase %i)` ?

[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/


[O] org-html-head documentation mistake?

2018-01-13 Thread Adam Porter
Hi,

The docstring for org-html-head gives this example:

#+BEGIN_SRC html

 p { color: #33 !important; font-size: 95% !important; }
]]>

#+END_SRC

When I customized the variable, I used those "CDATA" lines exactly, but
they prevented the stylesheet I added from working in the browser
(Chrome in this case).  When I changed the "CDATA" lines to the ones
that are in org-html-style-default, it worked:

#+BEGIN_SRC html



#+END_SRC

So I'm guessing that the docs need to be updated.

Thanks.




[O] [PATCH] Allow :urgency flags for org-notify

2018-01-13 Thread Jay Kamat
Hi,

I recently began using the org-notify package, and I would like to pass
the :urgency flag to `notifications-notify' occasionally. This small
patch passes the :urgency key from the org-notify configuration on to
`notitifications-notify'.

For example, after this patch, you can:

(org-notify-add 'test-notifications
'(:time "10m" :period "1m" :actions -notify/window :urgency critical))

And get notifications labeled as critical in that way.

Eventually, I would like to write an alert
(https://github.com/jwiegley/alert) backend for org-notify, would that
be suitable for inclusion in the core package?

Thanks,
-Jay

>From dc8d8917720985e7006e75100ccc9f32c0e27b06 Mon Sep 17 00:00:00 2001
From: Jay Kamat 
Date: Sat, 13 Jan 2018 19:03:07 -0500
Subject: [PATCH] Respect :urgency tags for org-notify windows

* contrib/lisp/org-notify.el (org-notify-action-notify): pass :urgency
  to notifications-notify.
---
 contrib/lisp/org-notify.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/lisp/org-notify.el b/contrib/lisp/org-notify.el
index 5f64d3162b..96e7d4ee27 100644
--- a/contrib/lisp/org-notify.el
+++ b/contrib/lisp/org-notify.el
@@ -373,6 +373,7 @@ org-notify window.  Mostly copied from `appt-select-lowest-window'."
   :title (plist-get plist :heading)
   :body  (org-notify-body-text plist)
   :timeout   (if duration (* duration 1000))
+  :urgency   (plist-get plist :urgency)
   :actions   org-notify-actions
   :on-action 'org-notify-on-action-notify)))
 (setq org-notify-on-action-map
-- 
2.11.0



Re: [O] Bilingual text in org

2018-01-13 Thread Adonay Felipe Nogueira
You're welcome! ;)

2017-12-02T08:14:53+0100 org-m...@axelkielhorn.de wrote:
> You are right, I forgot that option.
>
> I have re-added babel to my latex-defaults and added
> #+LATEX_CLASS_OPTIONS
> to the file.
>
> Thanks for reminding me.
>
> Axel



Re: [O] Org mode bug submission and viewing?

2018-01-13 Thread Adonay Felipe Nogueira
If I recall correctly, org-mode uses GNU's Debbugs, see
.

Reports are sent to .

The report-emacs-bug procedure already sets almost everything for you,
including the address mentioned above.

I hope this helps. ;)

2017-12-01T20:05:03-0800 Allen Li wrote:
> What's the proper way to submit an Org mode bug, and are the bugs
> collected anywhere for viewing their status?
>
> I see the mailing list has bugs generated using org-submit-bug-report
> (containing "Bug:" in the subject) and other bugs that have numbers
> ("bug#:" in the subject).
>
> Is there a preferred way to submit bugs?
>
> Where are the numbered bugs coming from?
>
> Is there a place to view submitted bugs and their resolution status?

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.