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 this

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

2021-11-30 Thread Rasmus
;, it 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. >> &g

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. Thanks,

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. >>> >>> Co

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: Support l

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 ;; (set

[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
both 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

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

2020-10-01 Thread Rasmus
type 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 = tabulati

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 >&g

[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 kno

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. "

2018-05-21 Thread Rasmus
Bastien writes: > Hi Rasmus, > > Rasmus 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 should detect old format and fix it. I do

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

2018-05-21 Thread Rasmus
Hi, Aaron Ecay 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 alternative to keeping (what i

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

2018-05-21 Thread Rasmus
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. "

2018-05-13 Thread Rasmus
s 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. "

2018-05-07 Thread Rasmus
re 'org-tempo) to > .emacs to keep using born...] “now you also have 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

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

2018-05-07 Thread Rasmus
Carsten Dominik writes: > On Sat, May 5, 2018 at 8:02 PM Rasmus wrote: > >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > Steve Downey writes: >> > >> >> Asking users to accept any breakage in the tool they use to

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

2018-05-07 Thread Rasmus
Aaron Ecay 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 done anything with it mys

Re: [O] Moving from Jekyll to Orgmode

2018-05-07 Thread Rasmus
blishing 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. "

2018-05-05 Thread Rasmus
n 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. "

2018-05-05 Thread Rasmus
eading 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
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. "

2018-05-05 Thread Rasmus
enders 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 other modes. Don’t know. Why? Rasmus -- Er du tosset for noge' lårt!

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

2018-05-05 Thread Rasmus
Aaron Ecay 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 would allow >>> it

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

2018-05-05 Thread Rasmus
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. "

2018-05-05 Thread Rasmus
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 decisions of sort. I only missed "

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

2018-05-02 Thread Rasmus Pank Roulund
id 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. "

2018-05-02 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> FWIW, I strongly disagree that Yasnippet is a suitable replacement. IMO >> it’s not at all intuitive. > > You must be kidding. Consider the following snippet: > ># key: # -- > >#+be

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

2018-04-29 Thread Rasmus
Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> In master branch, the format has changed. > > With the new template mechanism, can we have rich templates like the > one Charles quotes? > > (add-to-list 'org-structure-template-alist '("r" "#+begin_src rec :data? > :type \n#+end_

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

2018-04-29 Thread Rasmus
"C-c > C-," more, which seems to work fine. I just now realized (thanks to > Nicolas’ comment) that it works on regions, which is nice (I had been > using "org-babel-demarcate-block” - “C-c C-v d” for that). Would it be possible to send a reproducible bug-report, starting

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

2018-04-29 Thread Rasmus
27;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 > another occurrence of NIH in Org mode. Instead of using already &

Re: [O] Release Org 9.2 soon ?

2018-04-27 Thread Rasmus
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
idden 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 -- Tack, ni svenska vaktto

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

2018-04-24 Thread Rasmus
ne tasks for long discussions. One downside would be that it would move the tast contents further away from the main contents it’s discussing. E.g. I have used it for discussions with co-authors and I think they’d maybe find footnotes confusing. 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
t. > > I suggest to release Org 9.1.11 by the beginning of the next week, and > merge in into Emacs. Hopefully, this will be the last update included in > Emacs 26. Fine by me, but we’d need to clear the merge with upstream beforehand. What is the best way to make a CHANGELOG from 9.1.

Re: [O] Support showing stars as pretty bullets

2018-04-14 Thread Rasmus
ties" (or at least the result when that variable is non-nil). IMO, the goal would be to offload more stuff into prettify-symbols-mode. Since this involves a "regexp" in a sense, compose-region might be better. In any case, the particular patch overwrites ‘prettify-symbols-alist’,

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 writes: >>>> "Rasmus" == Rasmus writes: > >> Hi Uwe, >> Uwe Brauer writes: > >>> Templates are another example of this philosophy. I still can't use the >>> actual git master version of orgmode since th

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

2018-04-10 Thread Rasmus
Nick Dokos writes: > Rasmus writes: > >> Hi Uwe, >> >> Uwe Brauer writes: >> >>> Templates are another example of this philosophy. I still can't use the >>> actual git master version of orgmode since the old templates have been &

Re: [O] git clone org mode

2018-04-09 Thread Rasmus
age 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 "approved" for pushing to the centralized repo. Rasmus -- This message is brought to you by the department of redundant departments

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

2018-04-09 Thread Rasmus
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 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 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 the grid)? The default bl

[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
t; > 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
ring "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

[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
ule 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
ettify-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 writes: > Hello, > > Rasmus 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 >> the right place using babel. >> >> I do

[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
27;headline (lambda (hl) (and (= (org-element-property :level hl) 1) (org-element-property :title hl) nil nil) (forward-line 1))

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

2018-01-30 Thread Rasmus
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.g. images) in the 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
tents 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
dn'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 Sep

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

2017-12-21 Thread Rasmus
le (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 writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Eric Abrahamsen writes: >>> >>>> Eric Abrahamsen writes: >>>> >>>>> Rasmus writes: >>>>> >>>>>> Kaushal Mo

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

2017-12-19 Thread Rasmus
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 writes: > Kaushal Modi writes: > >> On Tue, Dec 5, 2017 at 7:31 AM Rasmus wrote: >> >> If you have any suggestions on how to improve ox-publish to >> better suit >> please share them. >> >> >> Hello Rasmus,

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

2017-12-19 Thread Rasmus
Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Kaushal Modi writes: >>> >>>> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: >>>> >>>>> The only way it’s "bad" is in the sense

Re: [O] run shell command after publishing project

2017-12-19 Thread Rasmus
ou use ox-publish 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
Matt Price writes: > On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > >> Hi Kaushal, >> >> Kaushal Modi writes: >> >> > I am suggesting to have a minor mode that simply binds "<" to do the >> > template insertion (only when that is typed at BOL with optional >> > leading whitespace, or i

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 writes: > On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: > >> The only way it’s "bad" is in the sense it limits the flexibility of >> snippets, like "> I can no longer have " > > May be have " I missed this in the original conver

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

2017-12-15 Thread Rasmus
Eric Abrahamsen writes: > That's not so bad, is it? The only way it’s "bad" is in the sense it limits the flexibility of snippets, like "

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

2017-12-14 Thread Rasmus
Eric Abrahamsen writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> Rasmus writes: >>> >>>> Nicolas, are there any public interfaces to make ox export like >>>> interfaces? >>> >

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 writes: > Hello, > > Rasmus 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 isn’t quite as nice as the export dispatche

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

2017-12-11 Thread Rasmus
lic interfaces 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 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 know when y

Re: [O] [patch] structure snippet completions

2017-12-10 Thread Rasmus
"Berry, Charles" writes: >> On Dec 8, 2017, at 1:20 PM, Rasmus wrote: >> > >>> >>> A minor gotcha: if you `(require 'org-tempo)' after an org buffer has >>> been created you will need to (org-mode-restart) the buffer to enable >

Re: [O] [patch] structure snippet completions

2017-12-09 Thread Rasmus
"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" writes: >> On Dec 7, 2017, at 3:37 PM, Rasmus wrote: >> >> I have also pushed the code. "> enabled by requiring org-tempo. >> > > Thanks. I was in a deep funk without "> Let me know about any issues. >> > &

Re: [O] [patch] structure snippet completions

2017-12-08 Thread Rasmus
Kaushal Modi writes: > On Thu, Dec 7, 2017 at 6:51 PM Rasmus wrote: > >> Rasmus writes: >> One possible "bug" that I discovered is illustrated by the following >> example. >> >> * foo >> suggested indention >> > >> W

Re: [O] [patch] structure snippet completions

2017-12-07 Thread Rasmus
Rasmus writes: > Hi, > > Nicolas Goaziou 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 feel very creative about tests but I have adde

Re: [O] [patch] structure snippet completions

2017-12-07 Thread Rasmus
Hi, Nicolas Goaziou 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 feel very creative about tests but I have added some. I have also pushed the code. "

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

2017-12-06 Thread Rasmus
Kaushal Modi writes: > On Tue, Dec 5, 2017 at 7:17 AM Rasmus wrote: > >> Should we prepare another v9.1 bugfix release for the next version of >> Emacs? >> > > > *Neki aur pooch pooch * > > It's an idiom in Hindi language which sort of translates[1]

Re: [O] org to static site?

2017-12-05 Thread Rasmus
mething 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
fer-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 writes: > Rasmus writes: > >> Hi, >> >> The attached patch adds expansions of "> would like to include this in the next version of Org in anticipation of >> the changes to the template system. > > Cool! We were talking about shifting t

Re: [O] [patch] structure snippet completions

2017-12-05 Thread Rasmus
le selection is quit. But I have re-done the include keyword in a better way. >> + ;; Simple test if `org-tempo-setup' has been run. >> + ;; May not be the case if `org-tempo' was loaded >> + ;; after Org. >> + (unless (cl-member &

[O] [patch] structure snippet completions

2017-12-04 Thread Rasmus
Hi, The attached patch adds expansions of ">From d5e3eacea38d3777f541f5abddebed04171650b6 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Thu, 9 Nov 2017 16:47:13 +0100 Subject: [PATCH 1/2] org-tempo.el: New file for expansion of templates * lisp/org-tempo.el: New file. * doc/org.texi (S

[O] [patch] structure snippet completions

2017-12-04 Thread Rasmus
Hi, The attached patch adds expansions of ">From d5e3eacea38d3777f541f5abddebed04171650b6 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Thu, 9 Nov 2017 16:47:13 +0100 Subject: [PATCH 1/2] org-tempo.el: New file for expansion of templates * lisp/org-tempo.el: New file. * doc/org.texi (S

Re: [O] exporting "flattened" tagged subtrees

2017-12-01 Thread Rasmus
ings 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 issu

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
s 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 "2-" to skip t

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

2017-11-16 Thread Rasmus
Jens Lechtenboerger writes: > the attached patch adds a subtitle macro with documentation. AFAIK it’s already added to the backends where it makes sense. It’s not a basic keyword like "#+author". It should be documented under the relevant backends that support it. Rasmus --

Re: [O] org-mode in French

2017-11-13 Thread Rasmus
ographical 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" "lualatex" And use the "#+language: fr" keyword to set the document to French. Rasmus -- Hooray!

  1   2   3   4   5   6   7   8   9   10   >