Re: [O] Fontify text between quotes?
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." (font-lock-add-keywords nil '(("“\\(.*?\\)”" . 'org-block (add-hook 'org-mode-hook 'my-org-smart-quote-fontify) ;; (remove-hook 'org-mode-hook 'my-org-smart-quote-fontify) It doesn't work across newlines, but that's alright for now. On Wed, 21 Nov 2018 at 13:38, Jeremie Juste wrote: > 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) >("\\<\\(and\\|or\\|not\\)\\>" . > 'font-lock-keyword-face) > > > > > would fontify [FIXME:], [and] [or] ,and [not], without the [], in > org-mode, See the > doc of font-lock-add-keywords (just stole the code above from it) > > I could not achieve what you want though. Don't have enough time and energy > to think about it now, and I'm very bad with regex. :-). But in > principle it should do the job, > > Hope this helps, > > Jeremie > > > > > 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 > > appreciated! > > > > –W >
[O] Fontify text between quotes?
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 appreciated! –W
[O] #+attr_odt: not working
Ah! I was confusing https://github.com/kjambunathan/org-mode-ox-odt with the main Org distribution. Sounds like those maintainers are hoping to get their ODT features into the official Org? I'd be happy to help with documentation if that's an issue there!
[O] #+attr_odt: not working
Hello all, I'm on 9.1.14. No matter what I do I can't seem to get anything related to #+attr_odt to work! I've tried custom styles.xml, the default, different block types, etc, etc. All I want is a very simple odt paragraph style with no first-line indent (for paragraphs following block quotes): ``` #+begin_quote To be or not to be #+end_quote #+ATTR_ODT: :style Text_20_Body_20_left That is the question. ``` I've made the style in my odt template. But #+attr_odt has no effect. I've tried other ":style " values as well. Any help would be greatly appreciated!
[O] [PATCH] document org-at-heading-p
* add brief docstring pointing to outline-on-heading 0001-document-org-at-heading-p.patch Description: Binary data
[O] [PATCH] edit installation section
* emphasize org's near-universal distribution * reformat vertical list * minor grammar fix Vertical list style here follows the Chicago Manual. (Similar formatting is used at line 8200 in the manual. I'd like to regularize this in the future.) 0001-edit-installation-section.patch Description: Binary data
[O] [PATCH] make revisions in export section
Made some revisions in the manual section on exports. 0001-org-manual-make-revisions-in-export-section.patch Description: Binary data
[O] [PATCH] org-manual: revise markup section intro
This patch revises the markup section's introductory paragraph to read more smoothly. I'll be slowly working the manual! 0001-org-manual-revise-markup-section-intro.patch Description: Binary data
Re: [O] add org-quote-region
Ah! Thanks. I didn't search hard enough. Just starting to wrap my head around the org code. I'll have to look elsewhere in org for a place to contribute ;) On 4 August 2018 at 23:28, Kyle Meyer wrote: > Hello, > > Will Pierce writes: > > > Adds a function to turn the highlighted region into a block quote for > > export ("#+begin_quote...#+end_quote"). > > > > As a writer using org-mode I've found this very useful. > > I believe this can already be achieved in a more general way with > org-insert-structure-template (currently in master, which will be > released as Org 9.2). Select the region of interest and type C-c C-, q > > >
Re: [O] add org-quote-region
Ah. Here it is with a proper commit msg: On 4 August 2018 at 17:23, Will Pierce wrote: > Adds a function to turn the highlighted region into a block quote for > export ("#+begin_quote...#+end_quote"). > > As a writer using org-mode I've found this very useful. > > W > 0001-Add-org-quote-region-function-2.patch Description: Binary data
[O] add org-quote-region
Adds a function to turn the highlighted region into a block quote for export ("#+begin_quote...#+end_quote"). As a writer using org-mode I've found this very useful. W 0001-Add-org-quote-region-function.patch Description: Binary data
[O] Bug: tags-emoji-alignment [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/org/)]
This might be out of scope for the org list, but the excellent emojify-mode (https://github.com/iqbalansari/emacs-emojify) breaks the alignment of org tags when emojies are included in the headings. So: ``` ** TODO write something short :writing: ``` but ``` ** TODO :waving_black_flag: write something short :writing: ``` Emacs : GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40 Version 10.13.4 (Build 17E199)) of 2018-06-13 Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/org/)