Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Ah, now I sent two emails. I thought the first one got lost. Sorry for the noise. Rasmus Rasmus writes: > Hi there, > > Sorry for the slow reply. > > Nicolas Goaziou writes: > >> Hello, >> >> Rasmus writes: >> >>> I wonder if oc-biblate

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Hi there, Sorry for the slow reply. Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I wonder if oc-biblatex should support loading biblatex-derived libraries, >> e.g. biblatex-chicago? >> >> There’s a quite a few of these libraries: >> >

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Hi there, Sorry for the slow reply. Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I wonder if oc-biblatex should support loading biblatex-derived libraries, >> e.g. biblatex-chicago? >> >> There’s a quite a few of these libraries: >> >

Re: [patch] fix ox-latex async export bug

2021-12-01 Thread Rasmus
Sébastien Miquel writes: > Rasmus Pank Roulund writes: >>> This is most likely due to native compilation which compiles the >>> unquoted lambda. Once compiled, it (presumably) fails to be passed to >>> the external emacs process. >> Ah, interesting. Is

Re: [patch] fix ox-latex async export bug

2021-11-30 Thread Rasmus
has the flag > `-interaction=nonstopmode' which should mean the process never pauses > and waits > for user input. Indeed. I run LaTeX in noninteractive mode. (And by now I rarely make mistakes... ;) Rasmus -- However beautiful the theory, one should occasionally look at the evidence

Re: oc-biblatex too aggressive in replacing styles

2021-11-30 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> However, I think it is currently too aggressive in overwriting styles. > > Ah? > >> Could it perhaps accept any style that is given in >> ‘org-cite-biblatex-options’ / ‘org-latex-packages-alist’ an

Re: smart quotes and languages like en-gb

2021-11-30 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I have noticed that smart quotes are not picked up for “long” languages, >> like “en-gb”, since smart quotes are defined for “short” languages, like >> “en”, in org-export-smart-quotes-alist. >>

Re: [patch] fix ox-latex async export bug

2021-11-30 Thread Rasmus Pank Roulund
ch compiles the > unquoted lambda. Once compiled, it (presumably) fails to be passed to > the external emacs process. Ah, interesting. Is this a bug or a feature? FWIW, I definitely use native compilation on my private laptop and almost certainly on my work (Windows) laptop as well. Than

Re: oc-biblatex too aggressive in replacing styles

2021-11-28 Thread Rasmus
"Bruce D'Arcus" writes: > On Sun, Nov 28, 2021 at 12:19 PM Bruce D'Arcus wrote: >> >> On Sun, Nov 28, 2021, 12:04 PM Rasmus wrote: >> > >>> However, I think it is currently too aggressive in overwriting styles. >>> >>> Could it per

smart quotes and languages like en-gb

2021-11-28 Thread Rasmus
: #+language: en-gb "Foo" Thanks, Rasmus -- Dung makes an excellent fertilizer >From 44df143a60e035816bcf5a241631e48b9b0a487a Mon Sep 17 00:00:00 2001 From: Rasmus Pank Roulund Date: Sun, 28 Nov 2021 18:41:34 +0100 Subject: [PATCH] org-export-activate-smart-quotes: Supp

oc-biblatex and biblatex substyles

2021-11-28 Thread Rasmus
-$SUBSTYLE E.g. #+cite_export: biblatex-chicago. But oc-biblatex would likely also have to be able to pickup biblatex-* packages in org-latex-(default-)packages-alist... So maybe it’s a can of worms? Rasmus -- Enough with the blah blah!

oc-biblatex too aggressive in replacing styles

2021-11-28 Thread Rasmus
, Rasmus Example: See [cite/t:@OrgCitations] #+bibliography: lit.bib # only way to "actuallyhicago: #+cite_export: biblatex chicago-authordate * settings :noexport: #+begin_src emacs-lisp (require 'oc-biblatex) ;; test 1: style is gobbled ;; (setq org

[oc-csl] org-cite-csl-styles-dir and default-directory

2021-11-28 Thread Rasmus
closely so my apology if there’s a reason for not doing this. Thanks, Rasmus Example file See [cite/t:@OrgCitations] #+bibliography: lit.bib #+cite_export: csl chicago-author-date.csl * setup :noexport: #+name: setup env #+begin_src sh wget https

[patch] fix ox-latex async export bug

2021-11-28 Thread Rasmus
on my GNU/Linux system (Emacs v29) and my work Windows PC (Emacs v28 or v29) [all pre-releases, obviously]. Thanks, Rasmus -- If you can mix business and politics wonderful things can happen! >From be15ab50ef4cefc579f87766b21eaed7514379d1 Mon Sep 17 00:00:00 2001 From: Rasmus Pank Roulund Date

Re: org-tempo insertion incoherence (lack of indentation) or misunderstanding

2020-10-01 Thread Rasmus
spaces > instead of tabulation to let my cursor go to the right column. > > Let us consider this snippet. > > #+NAME: fourth > #+begin_src org > > - an item > - subitem > H > #+end_src > > If the cursor is in the =H= position, then if I type = tabulation ev

Re: Anyone doing any fancy customizations of source blocks?

2020-06-08 Thread Rasmus
ves in my setup and doesn’t bother me too much even if it is hack :) Stay safe, Rasmus -- However beautiful the theory, one should occasionally look at the evidence

Re: [O] [patch] Check org-structure-template-alist

2018-05-28 Thread Rasmus
Aaron Ecay writes: > Hi Rasmus, > > 2018ko maiatzak 27an, Rasmus-ek idatzi zuen: > > [...] > >> If there’s any better way to display the error > > org-display-warning? That’s great. Thanks! > [...] > >> + (mapconcat 'identity >> +

[O] [patch] Check org-structure-template-alist

2018-05-27 Thread Rasmus
. My test window-total-height is 35. (let ((max-mini-window-height 15)) (message (mapconcat 'number-to-string (number-sequence 1 15) "\n"))) If there’s any better way to display the error or check if org-structure-template-alist is in the "old" format let me know.

Re: [O] Localized org-mode

2018-05-21 Thread Rasmus
is that the result is not pleasant! Localization should at most (if at all) be supported via with overlays as others have pointed out, but it would be weird when inserting e.g. properties (C-c C-x p). Rasmus -- Need more coffee. . .

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-21 Thread Rasmus
Bastien <b...@gnu.org> writes: > Hi Rasmus, > > Rasmus <ras...@gmx.us> writes: > >> Do you think org-tempo should try to detect "old" versions of >> org-structure-template-alist and give a better error if it sees one? > > Yes, it definitely sh

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-21 Thread Rasmus
Hi, Aaron Ecay <aarone...@gmail.com> writes: > Hi Rasmus, > > 2018ko maiatzak 7an, Rasmus-ek idatzi zuen: > >> >> They’d already have the "old" behavior if it’s enabled by default in >> org.el. > > Indeed, my suggestion is not an alternativ

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-21 Thread Rasmus
, if I have delete-selection-mode on it might not make sense to try and "save" region when expanding a tempo snippet. Rasmus -- Evidence suggests Snowden used a powerful tool called monospaced fonts

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-13 Thread Rasmus
ormat (9.1 and earlier) is a list of (key template-string), e.g. ("s" "#+BEGIN_SRC ? #+END_SRC") The new is something like ("s" . "src") Rasmus -- I feel emotional landscapes they puzzle me

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
ave to install org-tempo from somewhere > else.” Perhaps. As I said, I like batteries included, but it’s not for me to decide. > *Here Iʼm using “we” loosely, I imagine it will mostly be up to you with > input from Nicolas and Bastien and perhaps others. I like the looser definition! Rasmus -- Dung makes an excellent fertilizer

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
Carsten Dominik <domi...@uva.nl> writes: > On Sat, May 5, 2018 at 8:02 PM Rasmus <ras...@gmx.us> wrote: > >> Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: >> >> > Hello, >> > >> > Steve Downey <sdow...@gmail.com> writes

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
Aaron Ecay <aarone...@gmail.com> writes: > Hi Rasmus, > > 2018ko maiatzak 5an, Rasmus-ek idatzi zuen: > >> Cool, I at least did not know that one. >> Can you a reproducible way to try it out? >> Without having to make my own templates etc. > > I havenʼt

Re: [O] Moving from Jekyll to Orgmode

2018-05-07 Thread Rasmus
source files before publishing via the >> :preparation-function. > > Thank you very much! Unfortunately I don't know lisp, so I have to learn > it first to understand your solution... but now I have something to > start with. I wish org html export will become a real static site > generator, like jekyll, hugo, etc.. I *think* that is what ox-publish is, but indeed, it’s a bit hairy to set up. Rasmus -- ⠠⠵

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
uilt-in template > selection instead. Cool, I at least did not know that one. Can you a reproducible way to try it out? Without having to make my own templates etc. Rasmus -- Not everything that goes around comes back around, you know

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
been wondering about something, reading all these posts, irrespective of whether tempo is loaded by default or not (I don’t care). Do you think org-tempo should try to detect "old" versions of org-structure-template-alist and give a better error if it sees one? I don’t know what the "best practice" is this case... Thanks, Rasmus -- When in doubt, do it!

Re: [O] Moving from Jekyll to Orgmode

2018-05-05 Thread Rasmus
that suits you. Just find the color and font combinations that you like. There’s an example of a technique I use here: https://gitlab.com/pages/org-mode Rasmus -- Look, it is what it is because it was what it was

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
I think the main contenders were "C-c C-." and "C-c C-," and the latter is a bit nicer on my keyboard layout... I might be have misunderstood something, if so I apologize. > Also, I think C-c , is possibly more in-line with other > template/expansion commands in ot

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
Aaron Ecay <aarone...@gmail.com> writes: > Hi Rasmus, > > 2018ko maiatzak 2an, Rasmus Pank Roulund-ek idatzi zuen: >>> Finally, irrespective of which options are chosen, I think that org-tempo >>> would be better implemented in terms of a minor mode. This wo

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
familiar with the NEWS file and > it didn't come up in any of my online searches. It also didn't help that > site still documented the old behavior (and apparently still does > https://orgmode.org/manual/Easy-templates.html). AFAIK the maint manual is published online. Rasmus -- The right to be left alone is a human right

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-05 Thread Rasmus
e using org for many more years, I >> tend to come down on the side of whatever will make org easier to >> maintain in the long term. > > For org-tempo, Rasmus wrote it so I'm inclined to listen quite > carefully at his opinion. Please don’t. I have not really made any policy

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-02 Thread Rasmus Pank Roulund
emacs > session, and avoid duplicating the logic for activating global minor > modes. Patch attached. I agree. Rasmus -- The right to be left alone is a human right

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-02 Thread Rasmus
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Rasmus <ras...@gmx.us> writes: > >> FWIW, I strongly disagree that Yasnippet is a suitable replacement. IMO >> it’s not at all intuitive. > > You must be kidding. Co

Re: [O] add blocks to org-structure-template-alist

2018-04-29 Thread Rasmus
th ("r" . "#+begin_src rec :data :type") On the snippet expansion side, you can make whatever you want, see the "<I" snippet. It would require a different syntax to support more sophisticated blocks. Rasmus -- 9000!

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-04-29 Thread Rasmus
ssible to send a reproducible bug-report, starting from "emacs -q"? Thanks, Rasmus -- May contains speling mistake

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-04-29 Thread Rasmus
, which is powerful enough and easy to use. Some users > still didn't want to use that. Well. I suggested Tempo, but, admittedly, > out of the box, it is not really usable. Then Rasmus wrote Org Tempo. > > Even though Org Tempo is probably useful for a part of users, it is yet > anot

Re: [O] Release Org 9.2 soon ?

2018-04-27 Thread Rasmus
ils and checking things for 9.2. > > Maybe we will need to release 9.1.12 before 9.2, as there are some > new bugfixes in maint. I am waiting for 9.1.12. Please consider making the release soon, as an upstream merge would have to be approved first. Thanks, Rasmus -- I hear there's rumors on the, uh, Internets. . .

Re: [O] How to keep footnotes hidden when creating a new footnote

2018-04-25 Thread Rasmus
whereas previously they were hidden under their second-level > title. > > How can I get the 'old' footnotes to remain hidden, unopened and not > visible please? I’m not sure what the old way is, but maybe you’d prefer org-edit-footnote-reference for editing footnotes? Rasmus --

Re: [O] Alternatives to inlinetasks? [was: Problems created by inlinetasks in agenda views]

2018-04-24 Thread Rasmus
For just me, footnotes TODOS would be great. Note, you can also have inline todos: [[TODO::Inline todo text]]. Rasmus -- Vote for proprietary math!

Re: [O] Release Org 9.2 soon ?

2018-04-21 Thread Rasmus
way to make a CHANGELOG from 9.1.9 to 9.1.11? Should I just copy the git log? Rasmus -- This message is brought to you by the department of redundant departments

Re: [O] Support showing stars as pretty bullets

2018-04-14 Thread Rasmus
symbols-alist’, meaning which symbols will be displayed will depend on whether users have their own pretty symbols loaded before the variable is being overwritten. Rasmus -- In theory, practice and theory are the same. In practice they are not

Re: [O] Bug: Usage of pmatrix yields error message dispite lack of error [9.1.9 (9.1.9-3-gb1a639-elpa @ /home/christoph/.emacs.d/elpa/org-20180402/)]

2018-04-10 Thread Rasmus
> Org-mode seems to support environment-based math formulas. However, when > using pmatrix, the buffer *Org PDF LaTeX Output* always shows an > error when exporting to PDF via LaTeX. This even happens for the > simplest of matrices: > > \begin{pmatrix} > 0 > \end{pmatrix} > > An org file with only

Re: [O] [Radio tables???]

2018-04-10 Thread Rasmus
Uwe Brauer <o...@mat.ucm.es> writes: >>>> "Rasmus" == Rasmus <ras...@gmx.us> writes: > >> Hi Uwe, >> Uwe Brauer <o...@mat.ucm.es> writes: > >>> Templates are another example of this philosophy. I still can't use the &

Re: [O] [Radio tables???]

2018-04-10 Thread Rasmus
Nick Dokos <ndo...@gmail.com> writes: > Rasmus <ras...@gmx.us> writes: > >> Hi Uwe, >> >> Uwe Brauer <o...@mat.ucm.es> writes: >> >>> Templates are another example of this philosophy. I still can't use the >>> actual git maste

Re: [O] git clone org mode

2018-04-09 Thread Rasmus
> this. I guess you are right. The page should probably be a bit more detailed. You need the gig@ if you want to push. In that respect, gogs works more or less like popular site like GitLab or Github, I believe. An additional step to be able to push is to have your account "ap

Re: [O] [Radio tables???]

2018-04-09 Thread Rasmus
issing in terms of documentation. For all of the annoyance of losing the old template system, the data structure of the new system is surely simpler. Also let me know about any remaining features that you are missing. Rasmus -- Warning: Everything saved will be lost

Re: [O] Clean up org-faces.el

2018-04-08 Thread Rasmus
Hi, stardiviner <numbch...@gmail.com> writes: > Add face for inline src: src_ruby{require 'library'} > > Here is my custom face: ... Are you saying that we should display inline calls better? Rasmus -- Warning: Everything saved will be lost

Re: [O] Clean up org-faces.el

2018-04-08 Thread Rasmus
Daniele Nicolodi <dani...@grinta.net> writes: > On 08/04/2018 07:27, Rasmus wrote: >> I have been wanting to clean up org-faces.el for a couple of years. > > Only tangentially related: is there a way to have a different face for > tables content and tables structure (ie

[O] Clean up org-faces.el

2018-04-08 Thread Rasmus
? Thanks, Rasmus -- Even a three-legged dog has three good legs to lose ;;; org-faces.el --- Face definitions -*- lexical-binding: t; -*- ;; Copyright (C) 2004-2018 Free Software Foundation, Inc. ;; Author: Carsten Dominik ;; Keywords: outlines, hypermedia, calendar, wp ;; Homepage: https

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread Rasmus
that will eventually >> auto fill onto next line. > > I see. Here comes the 2018 release. Are there any plans to add this to either Org, Org contrib or ELPA? Thanks, Rasmus -- One thing that is clear: it's all down hill from here

Re: [O] [patch] Improved block insertion

2018-04-08 Thread Rasmus
"Structure type: ") >> +(nth 1 menu-choice) > > (pcase (org--insert-structure-template-mks) > (`("\t" . ,_) (read-string "Structure type: ")) > (`(,_ ,choice . ,_) choice)) Thanks, that’s nice. Any worries abou

[O] [patch] Improved block insertion

2018-04-07 Thread Rasmus
re-template respect indentation and insert more space in patch 5. Patch 6 changes the key binding of blocks to "C-c C-," as discussed in December 2017. Let me know if this key is OK and if the old key should still be kept. Comments are appreciated as I’d hope to merge them ASAP. Rasmus

Re: [O] Bug: Modifying org-latex-pdf-process doesn't modify the async export behaviour

2018-04-07 Thread Rasmus
and control which module is loaded from the > main init.el. Would it be possible to use latexmk or rubber or one of the other "intelligent" LaTeX compilers? That /should/ automatically make the compilation as short as possible. Rasmus -- I almost cut my hair, it happened just the other day

Re: [O] Support showing stars as pretty bullets

2018-04-06 Thread Rasmus
better to simply add symbols to prettify-symbols-alist (I believe ESS does that). Alternatively, perhaps org-prettify-alist could be locally bound in org-pretty-compose-p. Thanks, Rasmus -- Warning: Everything saved will be lost

Re: [O] Can’t include file with babel

2018-02-15 Thread Rasmus
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Rasmus <ras...@gmx.us> writes: > >> I am stitching together a number of documents to produce a report. >> >> I though I’d be clever and include subfile headings in the right order at >> t

[O] Can’t include file with babel

2018-02-14 Thread Rasmus
This doesn’t work seem to work, I guess because #+include is expanded before anything else. Should it be possible to include stuff like this using Babel or is it too circular? Thanks, Rasmus -- . . . It begins of course with The Internet. A Net of Peers

Re: [O] Prompt org-capture for buffer?

2018-02-07 Thread Rasmus
'headline (lambda (hl) (and (= (org-element-property :level hl) 1) (org-element-property :title hl) nil nil) (forw

Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-01-30 Thread Rasmus
me here :) > > So also I wouldn't miss out if that feature is removed, C-u SPC works > great. I was also not aware of this and thus wouldn’t miss it, if removed. Rasmus -- You people at the NSA are becoming my new best friends!

Re: [O] Feature request: #+INCLUDE: with anchors

2018-01-23 Thread Rasmus
objects is better in almost all cases. Rasmus -- Summon the Mothership!

Re: [O] do you need a separate LaTeX installation to export org mode files to pdf?

2018-01-22 Thread Rasmus
e tar file is left as an exercise for the motivated reader. One could probably make a "dumb" but effective solution by finding all instances of certain file types in the project folder. Needless to say, if you use this with real-life documents, you will probably want to set up your own instance of latexonline. Rasmus -- There are known knowns; there are things we know that we know

Re: [O] [RFC] Moving "manual.org" into core

2018-01-22 Thread Rasmus
have no strong preferences, but I’d prefer settings are either automatically loaded or that they are like the default settings so that one can just use "emacs -q". Rasmus -- Not everything that goes around comes back around, you know

Re: [O] Feature request: #+INCLUDE: with anchors

2018-01-11 Thread Rasmus
:only-contents t Include the body of the heading with the custom id ‘theory’ #+INCLUDE: "./paper.org::mytable" Include named element. #+INCLUDE: "./paper.org::*conclusion" :lines 1-20 Include the first 20 lines of the headline named ‘conclusion’. Rasmus -- Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä!

Re: [O] Tab-completion no longer works?

2018-01-10 Thread Rasmus
ist > variable. I hadn't modified it myself, but I went into its customize screen > and reset it to the default, and that fixed the problem. Note that ‘org-structure-template-alist’ will change again. There’s a patch posted on December 21 that I have got to finish. Rasmus -- The Kids call him Billy the Saint

[O] [patch] Snippet expansion

2017-12-21 Thread Rasmus
ies to be more "clever" when using the interactive interface, e.g. with newlines. The code is now a lot more complicated, and I’m not sure it’s any more pleasant or DWIMish... Thanks, Rasmus -- Vote for Dick Taid in an election near you! >From 369a79e2190726aed2aa5dbe71fe2e99d9a59b86 Mon

Re: [O] TIL about use of eval in user Org macros.. Documentation?

2017-12-21 Thread Rasmus
min)) (while (search-forward-regexp "{{{foo\\((?\\)" nil t) (replace-match "{{{myfoo\\1")) (goto-char (point-max)) (insert "\n#+macro: myfoo mybar\n" Rasmus -- May contains speling mistake

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-21 Thread Rasmus
Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Eric Abrahamsen <e...@ericabrahamsen.net> writes: > >> Rasmus <ras...@gmx.us> writes: >> >>> Eric Abrahamsen <e...@ericabrahamsen.net> writes: >>> >>>> Eric Abrahamsen &l

Re: [O] master: org-complete-expand-structure-template gone?

2017-12-19 Thread Rasmus
d functions. >I tried to search the logs but could not find any reference to >when I was deleted and why. It’s noted in ORG-NEWS: *** ~org-try-structure-completion~ Org Tempo may be used as a replacement. See details above. Rasmus -- In theory, practice and theory are the same. In practice they are not

Re: [O] ox-publish export subtree scopes?

2017-12-19 Thread Rasmus
Narendra Joshi <narendr...@gmail.com> writes: > Kaushal Modi <kaushal.m...@gmail.com> writes: > >> On Tue, Dec 5, 2017 at 7:31 AM Rasmus <ras...@gmx.us> wrote: >> >> If you have any suggestions on how to improve ox-publish to >> better suit

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-19 Thread Rasmus
Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Eric Abrahamsen <e...@ericabrahamsen.net> writes: > >> Rasmus <ras...@gmx.us> writes: >> >>> Kaushal Modi <kaushal.m...@gmail.com> writes: >>> >>>> On Fri, Dec 15, 2017 at

Re: [O] run shell command after publishing project

2017-12-19 Thread Rasmus
lish you could auto-commit whenever you publish a project. But I guess you could also use a hook. I use this to publish: emacs --batch --no-init-file --load publish.el --funcall org-publish-all I do it via Gitlab CI, though, as I only want to keep track of source files. pages: script: - emacs --batch --no-init-file --load publish.el --funcall org-publish-all artifacts: paths: - public Rasmus -- Enough with the blah blah!

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-19 Thread Rasmus
, but maybe > someone can point to a ready-made replacement for those of us who rely on > <s, etc., as part of our daily workflow? (require ’org-tempo) At the moment you can only use one character after the "<" cf. ‘org-structure-template-alist’. Perhaps this will change in the future. Rasmus -- History is what should never happen again

Re: [O] "Minimal" LaTeX export

2017-12-16 Thread Rasmus
Hi, Would the body only export option in the export dispatcher work? (C-c C-e and then C-b)? Rasmus -- C is for Cookie

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-15 Thread Rasmus
Kaushal Modi <kaushal.m...@gmail.com> writes: > On Fri, Dec 15, 2017 at 6:23 AM Rasmus <ras...@gmx.us> wrote: > >> The only way it’s "bad" is in the sense it limits the flexibility of >> snippets, like "<s". As you point out, if I add

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-15 Thread Rasmus
er have "<s" as plain "src" block. Unless, the meaning of key in org-structure-template-alist is handled differently in the case of snippet expansion and insertion via org-insert-structure-template. Rasmus -- In theory, practice and theory are the same. In practice they are not

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-14 Thread Rasmus
Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Rasmus <ras...@gmx.us> writes: > >> Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: >> >>> Hello, >>> >>> Rasmus <ras...@gmx.us> writes: >>> >&g

Re: [O] Financial data into an org-mode table

2017-12-13 Thread Rasmus
You could use the various R libraries and convert it to an Org table via ob-R.el. #+begin_src R :colnames yes library(quantmod) x = getSymbols("YHOO",src="google", auto.assign=FALSE) x[sprintf("%s/", Sys.Date()-7)] #+end_src Rasmus -- Summon the Mothership!

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-12 Thread Rasmus
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Rasmus <ras...@gmx.us> writes: > >> Nicolas, are there any public interfaces to make ox export like >> interfaces? > > No, there isn't. However, Org provides `org-mks'. Good point. It is

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-11 Thread Rasmus
aces to make ox export like interfaces? Rasmus -- m-mm-mmm- bacon!

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-10 Thread Rasmus
Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Hello all, > > Rasmus' org-tempo patch has landed, and it's time to make a few > adjustments to org-insert-structure-template: I think we're moving to > string keys in the template alist, rather than character keys, Let me

Re: [O] [patch] structure snippet completions

2017-12-10 Thread Rasmus
"Berry, Charles" <ccbe...@ucsd.edu> writes: >> On Dec 8, 2017, at 1:20 PM, Rasmus <ras...@gmx.us> wrote: >> > >>> >>> A minor gotcha: if you `(require 'org-tempo)' after an org buffer has >>> been created you will need to (org-

Re: [O] [patch] structure snippet completions

2017-12-09 Thread Rasmus
"numbch...@gmail.com" <numbch...@gmail.com> writes: > error report when I `(require 'org-tempo)` Because your org-structure-template-alist is mal-formatted: ("Q" "#+BEGIN_SRC sql-mode ?\n\n#+END_SRC" "#+BEGIN_SRC sql-mode ?\n\n#+END_SRC") Rasmus -- The right to be left alone is a human right

Re: [O] [patch] structure snippet completions

2017-12-08 Thread Rasmus
"Berry, Charles" <ccbe...@ucsd.edu> writes: >> On Dec 7, 2017, at 3:37 PM, Rasmus <ras...@gmx.us> wrote: >> >> I have also pushed the code. "<s"-like snippet expansion should be >> enabled by requiring org-tempo. >> > > Tha

Re: [O] [patch] structure snippet completions

2017-12-08 Thread Rasmus
Kaushal Modi <kaushal.m...@gmail.com> writes: > On Thu, Dec 7, 2017 at 6:51 PM Rasmus <ras...@gmx.us> wrote: > >> Rasmus <ras...@gmx.us> writes: >> One possible "bug" that I discovered is illustrated by the following >> example. >> >&

Re: [O] [patch] structure snippet completions

2017-12-07 Thread Rasmus
Rasmus <ras...@gmx.us> writes: > Hi, > > Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > >> It looks like a typo, but the two lines above are commented. > > Indeed. Thanks. > >> Also, would it make sense to add a few tests? > > I never f

Re: [O] [patch] structure snippet completions

2017-12-07 Thread Rasmus
;<s"-like snippet expansion should be enabled by requiring org-tempo. Let me know about any issues. Rasmus -- Sådan en god dansk lagereddike kan man slet ikke bruge mere

Re: [O] 27.0.50;Missing requirement in org-gnus.el

2017-12-06 Thread Rasmus
Kaushal Modi <kaushal.m...@gmail.com> writes: > On Tue, Dec 5, 2017 at 7:17 AM Rasmus <ras...@gmx.us> wrote: > >> Should we prepare another v9.1 bugfix release for the next version of >> Emacs? >> > > > *Neki aur pooch pooch * > > It's an

Re: [O] org to static site?

2017-12-05 Thread Rasmus
ng to the web I’d personally use CI or just cp. You could use git using :publishing-function or maybe :publishing-directory if tramp somehow supports git. Rasmus -- Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä!

Re: [O] 27.0.50;Missing requirement in org-gnus.el

2017-12-05 Thread Rasmus
to be >> defined: >> erc-save-buffer-in-logs, erc-logging-enabled > > Fixed. Thank you. Should we prepare another v9.1 bugfix release for the next version of Emacs? Rasmus -- Evidence suggests Snowden used a powerful tool called monospaced fonts

Re: [O] [patch] structure snippet completions

2017-12-05 Thread Rasmus
Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Rasmus <ras...@gmx.us> writes: > >> Hi, >> >> The attached patch adds expansions of "<s"-like snippets to Org v9.2. I >> would like to include this in the next version of Org in anticipa

Re: [O] [patch] structure snippet completions

2017-12-05 Thread Rasmus
;; May not be the case if `org-tempo' was loaded >> + ;; after Org. >> + (unless (cl-member "<I" tempo-collection :key 'car :test 'equal) >> +(org-tempo-setup)) > > (unless (assoc "<I" tempos-collection) (org-tempo-

[O] [patch] structure snippet completions

2017-12-04 Thread Rasmus
es with-eval-after-load it would require Emacs 24.4, but this could be changed to eval-after-load if necessary. Thanks, Rasmus -- What will be next? >From d5e3eacea38d3777f541f5abddebed04171650b6 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Thu, 9 Nov 2017 16:47:13 +0100 S

[O] [patch] structure snippet completions

2017-12-04 Thread Rasmus
es with-eval-after-load it would require Emacs 24.4, but this could be changed to eval-after-load if necessary. Thanks, Rasmus -- What will be next? >From d5e3eacea38d3777f541f5abddebed04171650b6 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Thu, 9 Nov 2017 16:47:13 +0100 S

Re: [O] exporting "flattened" tagged subtrees

2017-12-01 Thread Rasmus
AGS: These lines provide settings for exporting files. For more details see Export settings . Flatting the file can be done by search and replace (while (search-forward-regexp "^*+ " nil t) (replace-match "* ")) Rasmus -- ツ

Re: [O] function for inserting a block

2017-11-20 Thread Rasmus
Hi Eric, > It incorporates Rasmus' org-tempo.el file, with modifications, and > Thomas' suggestion to re-instate `org-try-structure-completion', and, > erm, stardiviner's request to honor > `org-babel-uppercase-example-markers'. > > Remaining issues: > > 1. The &quo

Re: [O] Bug: #+INCLUDE: :only-contents not recognized [9.1.2 (9.1.2-37-g3f8d67-elpa @ /home/data1/protected/.emacs.d/elpa/org-20171113/)]]

2017-11-20 Thread Rasmus
am not sure there is a well specified meaning for :only-contents when you do not select an element. :only-content refers to the content of an element (try ‘org-element-at-point’ on a heading and check :contents-begin). Ways to archive what you want would be to select the right element or use :lines

Re: [O] [PATCH] ox.el: Define subtitle macro

2017-11-16 Thread Rasmus
ckends that support it. Rasmus -- Governments should be afraid of their people

Re: [O] org-mode in French

2017-11-13 Thread Rasmus
pdf file with French typographical standards. > > How to do this? For language support, you could do something like (setq org-latex-packages-alist '(("AUTO" "babel" nil ("pdflatex")) ("AUTO" "polyglossia" nil ("xelatex" &quo

  1   2   3   4   5   6   7   8   9   10   >