Re: <> and ?font-lock? fly-check, ...

2021-05-02 Thread Diego Zamboni
I don't think there's an easy way to fix this - since src blocks are fontified using the mode for the corresponding language. Particularly in shell script, since << has a meaning in the language ("here" input), I assume this is why the rest of the block gets fontified differently. Best, --Diego

Re: Separator "::" -> what is it for in headlines?

2021-05-01 Thread Diego Zamboni
Why does the separator "::" work with headlines? > It doesn't seem to have any effect for me, it gets handled as part of the headline, both in fontification and in exports: [image: image.png] [image: image.png] Which is, as I understand it, as it should be, since it doesn't have any special

Re: How to use `open` to handle `message:*` links on macOS

2021-04-29 Thread Diego Zamboni
Hi Tim, Cool - thanks for the code! I may use it to improve my email capture workflow :) --Diego On Thu, Apr 29, 2021 at 6:23 PM Tim Visher wrote: > Hi Diego and Alexander, > > Thanks for the tips here. I finally got around to trying them out. Here's > what I ended up with and it's working

Re: Repository of Org files with important dates?

2021-04-16 Thread Diego Zamboni
Hi Rodrigo, There are a few packages that define things like this, which can be added to the agenda view. You can see as examples the ones I use for national holidays in my config here: https://github.com/zzamboni/dot-doom/blob/master/doom.org#tasks-and-agenda I'm sure many others are available

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread Diego Zamboni
Hi Juan Manuel, Thank you for writing this, which is the clearest explanation I have seen of the advantages of LuaLaTeX/XeLaTeX. I have been using LaTeX for nearly 30 years, but stopped using it intensively every day when pdfLaTeX was still the bleeding edge. When I started again in the last

Re: First steps exporting to tex

2021-04-03 Thread Diego Zamboni
> > > The org export to latex only needs to be as complicated as you need it > to be. Org has variables which can be used to add/remove things from the > preamble and once you have those configured, you don't have to put > anything in the org file itself. Start simple and add as you find a need >

Re: Using backticks for the inline code delimeter?

2021-03-31 Thread Diego Zamboni
The approach I've taken is to try and stop using Markdown altogether and write everything in Org, exporting to Markdown for those destinations that need it. You could even use https://github.com/tecosaur/org-pandoc-import to automatically convert/reconvert other formats as needed, and

Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-25 Thread Diego Zamboni
On Thu, 25 Mar 2021 at 08:28, Uwe Brauer wrote: > Right, it seems and issue of the OS shortcuts as C-space is for > switching keyboards (US->spanish>etc etc).[1] > > Do you know how to change or disable them? > > Uwe > > > > Footnotes: > [1] the same happens on Linux/KDE On macOS, these

Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Diego Zamboni
I have seen differences in this behavior depending on the Emacs build. The emacs-mac port (https://github.com/railwaycat/homebrew-emacsmacport) seems to intercept certain Mac-specific keybindings such as C-space and C-M-space and gives them their "Mac meaning", e.g. to bring up Spotlight or the

Re: Exam LaTeX class

2021-03-24 Thread Diego Zamboni
Hi Xianwen, I think the easiest way to conditionally include text in the preamble of the document would be by including a file which can be empty sometimes, and contain the appropriate text when needed. For example, you could have something like this in your Org file: #+include:

Re: Org as a book publisher

2021-03-07 Thread Diego Zamboni
Hi Juan Manuel, Thanks for sharing this - the output looks very nice. I think with Org and a setup like you describe, we are one step closer to separating content (what) from form (how) in a document. This was one of the original goals of LaTeX, but of course in a LaTeX document much of the

Re: 'false' list item

2021-02-21 Thread Diego Zamboni
Juan Manuel, YMMV depending on your needs and habits, but another workaround for this problem would be to use visual-line-mode instead of filling paragraphs. --Diego On Sun, Feb 21, 2021 at 8:34 PM Juan Manuel Macías wrote: > Kyle Meyer writes: > > > It seems that your approach would do a

Re: Where has the manual on one html page gone?

2021-02-16 Thread Diego Zamboni
I'm not the OP, but I find the one-page manual useful when I'm not sure what I'm looking for or where in the manual it might be, makes it easier to search through the whole document iteratively. --Diego On Mon, Feb 15, 2021 at 11:47 PM Nick Dokos wrote: > Christine Köhn writes: > > > Hi, > >

Re: Where has the manual on one html page gone?

2021-02-12 Thread Diego Zamboni
Hi Christine, I found it here: https://orgmode.org/org.html But it doesn't seem to be linked from the new website. --Diego On Fri, Feb 12, 2021 at 5:13 PM Christine Köhn wrote: > Hi, > > I always used the manual online as one html page but it does not seem to > be available since (?) the

Re: 2 Surprises and 2 Questions Regarding Org Tangle

2021-02-11 Thread Diego Zamboni
Jia, #2 is known (maybe documented? Not sure) behavior: using :noweb-ref accumulates multiple blocks with the same name, whereas #+NAME uses only the first one. I think #+NAME's are supposed to be unique within a document. I don't know about #1, the output from your P1 example seems surprising

Re: Exporting from Org to Gift/Aiken or other quiz formats

2021-02-09 Thread Diego Zamboni
import into Moodle. Best, --Diego On Tue, Feb 9, 2021 at 10:58 AM Eric S Fraga wrote: > On Wednesday, 13 Jan 2021 at 12:31, Diego Zamboni wrote: > > Hi everyone, > > > > I've started to develop online teaching materials with Moodle ( > > https://moodle.com/), and I'm lookin

Re: Account for latex snippet width in fill paragraph

2021-02-09 Thread Diego Zamboni
I can only agree with Eric - I think visual-line-mode is the best way to deal with variable-length content in paragraphs. --Diego On Tue, Feb 9, 2021 at 10:47 AM Eric S Fraga wrote: > On Monday, 8 Feb 2021 at 22:43, Matt Huszagh wrote: > > Before I take a crack at this, has anyone else

Re: How to avoid generating the Table of Contents when exporting to markdown?

2021-01-30 Thread Diego Zamboni
You can disable export of the TOC by setting the toc option to nil, with a line like this at the top of the file: #+options: toc:nil See https://orgmode.org/manual/Table-of-Contents.html --Diego On Sat, Jan 30, 2021 at 11:21 PM Rodrigo Morales < moralesrodrigo1...@gmail.com> wrote: > > When

Re: what happened to org-insert-structure-template

2021-01-27 Thread Diego Zamboni
Also works for me, Org version 9.5. Could it be that just the keybinding got un/redefined somehow? Have you tried running M-x org-insert-structure-template? --Diego On Wed, Jan 27, 2021 at 10:45 PM wrote: > On Wed, Jan 27, 2021 at 09:29:14PM +, JRSS wrote: > > Hi, > > > > This has been

Re: Exporting from Org to Gift/Aiken or other quiz formats

2021-01-13 Thread Diego Zamboni
Hi Eric, > I did not manage to develop an exporter for moodle. I did write a very > hackish awk script that takes a sort of org document (i.e. it is an org > document but has to follow a strict layout) and creates a Moodle XML > format file. > > Lots of introspection of exported Moodle quizzes

Exporting from Org to Gift/Aiken or other quiz formats

2021-01-13 Thread Diego Zamboni
Hi everyone, I've started to develop online teaching materials with Moodle ( https://moodle.com/), and I'm looking for ways to generate my content using Org as much as possible. For quizzes, Moodle can import various known question/answer formats, including GIFT, Aiken, Moodle's own XML format,

Re: How to use `open` to handle `message:*` links on macOS

2021-01-11 Thread Diego Zamboni
Hi Tim, Look at the org-mac-link package from org-contrib, it allows doing this for Mail.app and other Msc apps. --Diego On Mon, 11 Jan 2021 at 20:47, Tim Visher wrote: > Hi Everyone, > > I'd like to be able to whack `C-c C-o` on `message:*` links on macOS and > have it call `open` on the

Re: xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread Diego Zamboni
Hi Tim, Funny - just a few minutes ago, before reading your message, I learned while installing https://github.com/stig/ox-jira.el, about = org-export-copy-to-kill-ring=: org-export-copy-to-kill-ring is a variable defined in ox.el. Non-nil means pushing export output to the kill ring. This

Re: ist here a :post header arg for tangling?

2021-01-04 Thread Diego Zamboni
ult of tangling. > Immanuel > > On Mon, Jan 4, 2021 at 3:07 PM Diego Zamboni wrote: > > > > There's =org-babel-post-tangle-hook=, which AFAICT specifies hooks that > will be run with the tangled code in a temporary buffer. I couldn't find > much documentation nor example

Re: ist here a :post header arg for tangling?

2021-01-04 Thread Diego Zamboni
There's =org-babel-post-tangle-hook=, which AFAICT specifies hooks that will be run with the tangled code in a temporary buffer. I couldn't find much documentation nor examples, but it is mentioned at https://orgmode.org/manual/Extracting-Source-Code.html#Hooks-3 --Diego On Fri, Jan 1, 2021

Re: How to reload org agenda files without restarting emacs...?

2020-12-29 Thread Diego Zamboni
Maybe a bit of a shotgun approach, but M-x org-revert-all-org-buffers reloads all org buffers from disk, after which a simple refresh of the agenda view will display the changed items. This will of course discard any unsaved changes in open buffers, so use with caution :) --Diego On Tue, Dec

Re: Org to ConTeXt exporter?

2020-12-28 Thread Diego Zamboni
n Mon, Dec 28, 2020 at 7:03 PM Juan Manuel Macías wrote: > Hello, Diego, > > Diego Zamboni writes: > > > I have never used ConTeXt, but from what I've seen, despite its many > > differences, a lot is still similar to TeX/LaTeX (e.g. math). Given > > this, I think it

Re: Org to ConTeXt exporter?

2020-12-28 Thread Diego Zamboni
I have never used ConTeXt, but from what I've seen, despite its many differences, a lot is still similar to TeX/LaTeX (e.g. math). Given this, I think it might be easier to create a new derived exporter from ox-latex, and override the parts that differ, instead of creating a new one completely

Re: Let emacs align all columns automatically on-the-fly within orgmode.

2020-12-28 Thread Diego Zamboni
Normally, pressing TAB in any cell will align the whole table and move the cursor to the next cell. --Diego On Mon, 28 Dec 2020 at 02:06, Hongyi Zhao wrote: > When editing a table in orgmode, the columns become no longer aligned. > How to let emacs align all columns automatically on-the-fly

Re: A way to avoid unwanted new lines when using paragraph quotes?

2020-12-27 Thread Diego Zamboni
> > Hmm, that fixes the new line before the "sub bullet under test 3, with > a quote". However, a new line still remains after the quote ends (and > before the "Test 4" starts). Is it possible to nuke that too? If > not, that's okay, I can live with it. :-) > That should be possible with CSS

Re: M-s is undefined.

2020-12-27 Thread Diego Zamboni
> > M-S-LEFT (org-table-delete-column) > Kill the current column. > > But the keystroke combination doesn't work as expected, instead it > triggers the following info in the bottom minibuffer: > M-s is undefined. Which keys, exactly, are you pressing? M-S-Left in Emacs Key Notation (

Re: A way to avoid unwanted new lines when using paragraph quotes?

2020-12-27 Thread Diego Zamboni
Hi Kashyap, The problem seems to be that when the HTML exporter finds more than one element within a list item, it wraps each one in its own set of =...= tags, which creates the additional space. You can see that this has nothing to do with the quotes, just inserting a second paragraph within the

Re: tabs turned into space when going into Org Src...?

2020-12-23 Thread Diego Zamboni
Greg, I just did a quick test and I cannot reproduce this, the tabs remain on entering, modifying and exiting block-edit mode. One question: do you see "Makefile" as the mode when you are editing the source block? Otherwise I imagine tab-to-space conversion might be taking place. --Diego On

Re: org-capture user-error: Abort

2020-12-13 Thread Diego Zamboni
> > > > Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. > > This is intended. Normally, it just shows up as a message in the > minibuffer. Or do you have debug-on-error enabled? > Same as Ihor, when I press `q` in the org-capture screen I only see "Abort" in the

Re: stability of toc links

2020-12-09 Thread Diego Zamboni
In case it's useful, I have put together (just last week) some config to help in creating and using human-readable CUSTOM_IDs in conjunction with `counsel-org-link`, but which could just as easily be used to apply the IDs to every heading in the current document:

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Diego Zamboni
Hi TRS-80, Note that according to https://man.sr.ht/markdown/#post-processing, Sourcehut uses CommonMark, not plain Markdown, so I guess that's why it doesn't allow all HTML tags. (note: Markdown allows embedded HTML, so ox-md's behavior is not incorrect) There seems to be no ox-commonmark

Re: How to preserve empty headings

2020-11-30 Thread Diego Zamboni
(long discussion in the list), I think this might have something to do with it but did not follow the full discussion. Hope this helps, --Diego On Mon, Nov 30, 2020 at 7:38 PM Titus von der Malsburg wrote: > > On 2020-11-30 Mon 19:25, Diego Zamboni wrote: > >> > >&

Re: How to preserve empty headings

2020-11-30 Thread Diego Zamboni
> > I’m aware of several workarounds and this one is perhaps the best. > However, I’d prefer if RET would just work as expected. Org sometimes > inserts extra material on RET which I think is okay (e.g. indentation), but > is there any precedent, in Org or Emacs more broadly, for RET deleting >

Re: Multiple named code blocks

2020-11-29 Thread Diego Zamboni
Hi Felix, You need to use the noweb-ref header argument instead of #+NAME, then the block are all concatenated on output. Best, --Diego On Sat, 28 Nov 2020 at 23:35, mooss wrote: > Hi, > > I have been using org-mode for almost three years and I loved it so much > that I started working on a

Re: Differentiate source blocks in export?

2020-11-24 Thread Diego Zamboni
And even (a bit) shorter: #+html: #+BEGIN_SRC python print(5) #+END_SRC #+html: --Diego On Tue, Nov 24, 2020 at 5:16 PM John Kitchin wrote: > Nice! Here is a little more compact way to do that I think: > > @@html:@@ > #+BEGIN_SRC python > print(5) > #+END_SRC > @@html:@@ > > > John > >

Re: One vs many directories

2020-11-24 Thread Diego Zamboni
> > So I think this is bug in Emacs as Local-variables should be on the > end of the file. According to the manual ( https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html#Specifying-File-Variables ): The start of the local variables list should be no more than

Re: Bring up a screen giving option to open a series of orgmode files

2020-11-23 Thread Diego Zamboni
Hi Gerardo, Apart from what others have suggested, what you can do if you have a fixed list of files you want to quickly access, you could manually define keybindings for them. I have four main files where I capture things, so I define a submenu that allows me to access them quickly: (note: I

Re: quick thanks

2020-11-21 Thread Diego Zamboni
I would like to second this. We often come to this list only when something is not working, but it's also good to recognize how cool, powerful and indispensable Org is for many of us. Thanks to the maintainers and developers, and also to the community for the good discussion and great feedback.

Re: Changed list indentation behavior: how to revert?

2020-11-17 Thread Diego Zamboni
On Tue, Nov 17, 2020 at 10:06 AM Stefan Nobis wrote: > But on the other side: What are we talking about? > ... > But ranting so loudly and insistent and continuously over such a minor > details is really beyond me. > ... > So, everyone, please calm down and try not to overreact over really >

Re: Changed list indentation behavior: how to revert?

2020-11-14 Thread Diego Zamboni
Jean, On Sat, Nov 14, 2020 at 8:53 AM Jean Louis wrote: > As that is how ugly and less visible it should look like if the same > principle should be followed. As if somebody forces me to indent list > items like that, then they shall also force headings. So consistency > is lacking. /s > No

Re: Changed list indentation behavior: how to revert?

2020-11-14 Thread Diego Zamboni
Hi Gustavo, Thanks for the pointer! I noticed this change some time ago, but it hadn't bothered me so much as to go look how to fix it - now you gave me the solution :) Cheers, --Diego On Fri, Nov 13, 2020 at 10:11 PM Gustavo Barros wrote: > Hi Karl, > > On Fri, 13 Nov 2020 at 18:30, Karl

Re: How to wrap Org code generated by a source block?

2020-11-10 Thread Diego Zamboni
the results correctly. Cheers, --Diego On Tue, Nov 10, 2020 at 6:41 PM Berry, Charles wrote: > > > > On Nov 10, 2020, at 6:13 AM, Diego Zamboni wrote: > > > > I want to generate some parts of my document programmatically from an > emacs-lisp src block - i.e. the code

How to wrap Org code generated by a source block?

2020-11-10 Thread Diego Zamboni
Hi everyone, I want to generate some parts of my document programmatically from an emacs-lisp src block - i.e. the code produces Org markup which I want to then export. Is there a way to wrap the #+RESULTS block in an environment that still gets evaluated as Org text (e.g. when exporting)? More

Re: Viewing link information

2020-11-09 Thread Diego Zamboni
Hi Russell, I am using Doom Emacs, and in its default Org configuration it does exactly that: the link target is shown in the minibuffer after a brief delay, when the cursor is on the link. A bit of investigation reveals that it's using org-eldoc. This seems to be the code responsible for it:

Re: New website - back to the old unicorn!

2020-10-26 Thread Diego Zamboni
The new website looks great. Thanks Timothy for all your work! --Diego On Mon, Oct 26, 2020 at 10:42 AM Bastien wrote: > Dear all, > > thanks to the initiative and the patient efforts of Timothy, our > website has been revamped: new contents, new look and... the old > unicorn! > > Thanks very

Re: best practices query: non-emacs packages based on tangled source

2020-10-16 Thread Diego Zamboni
Hi Greg, What I do with my Elvish modules (https://github.com/zzamboni/elvish-modules , https://github.com/zzamboni/elvish-completions) is to just include the Org files together with the tangled .elv files. --Diego On Thu, Oct 15, 2020 at 8:28 PM Greg Minshall wrote: > hi. i apologize if

Re: [matlab src is always exported to latex!!]

2020-10-13 Thread Diego Zamboni
Uwe, In my testing (using octave since I don't have matlab, but I hope it's similar), using = :exports none :results output raw= seems to produce the desired output: #+begin_src octave :exports results :results output raw close all N = 3; % number of chebyshev nodes n = 1; % polytropic index

Re: org mode with babel source: execute all source blocks, don't export them to latex

2020-10-13 Thread Diego Zamboni
Hi Uwe, 1. Is there any equivalent to org-update-all-dblocks for the source > blocks? > I think you want org-babel-execute-buffer: Documentation Call org-babel-execute-src-block on every source block in the current buffer. 2. I want to export the org file to latex, in the current

Re: official orgmode parser

2020-09-15 Thread Diego Zamboni
There's also org-ql (https://github.com/alphapapa/org-ql), which also provides a query-based API against Org structures. --Diego On Tue, Sep 15, 2020 at 2:59 PM wrote: > On Tue, Sep 15, 2020 at 01:15:56PM +0200, Przemysław Kamiński wrote: > > [...] > > > There's the org-json (or ox-json)

Re: "text mode" org mode

2020-09-15 Thread Diego Zamboni
Hi Emmanuel, Nearly everything in org-mode is configurable, so I think what you want is definitely doable. In addition to using `visible-mode` as suggested by Gustavo (this is maybe the easiest), you can also configure Org to show the emphasis markup characters: (setq

Re: [Announcement] New package ox-leanpub

2020-09-10 Thread Diego Zamboni
Hi Bastien, Thanks! I agree it would be nice to have a comprehensive list of org exporters in worg - although usually a search for "org export " points in the correct direction :) Best, --Diego On Thu, Sep 10, 2020 at 3:53 PM Bastien wrote: > Hi Diego, > > Diego Zamboni

Re: idea for capture anywhere in x

2020-09-08 Thread Diego Zamboni
Doom Emacs has an 'org-capture' script that uses emacsclient to externally invoke a new frame with 'org-capture' in it. Maybe this could be a good starting point? https://github.com/hlissner/doom-emacs/blob/develop/bin/org-capture --Diego On Tue, Sep 8, 2020 at 9:19 AM Maxim Nikulin wrote: >

Re: Adaptive Org faces in headings?

2020-09-05 Thread Diego Zamboni
Hi Protesilaos, I had seen the same in my setup. I recently started using Doom Emacs ( https://github.com/hlissner/doom-emacs/) and was pleasantly surprised to discover that todo and tag faces scale according to the headline in which they are. I don't know precisely how this is done, but there

Re: How to expand macros in tangled code blocks?

2020-08-25 Thread Diego Zamboni
are buffer-local, it will have no effect, but it still feels hacky. If anyone has ideas for how this could be done in a better/cleaner way, I'd love to hear about it. Cheers, --Diego On Tue, Aug 25, 2020 at 9:59 AM Diego Zamboni wrote: > Hi everyone, > > Is it possible to expand O

How to expand macros in tangled code blocks?

2020-08-25 Thread Diego Zamboni
Hi everyone, Is it possible to expand Org macros in tangled code blocks? I found this old message: https://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg00857.html, but the mentioned org-export-preprocess-apply-macros doesn't seem to exist anymore. Thanks for any tips, --Diego

Re: New package: Org Pandoc Import

2020-08-15 Thread Diego Zamboni
This look very neat - I will definitely give it a try! On Sat, Aug 15, 2020 at 9:30 PM TEC wrote: > Hi Everyone, > > I've just pushed the initial version of a package I think is pretty nifty > (no > bias here ;) and thought it might me nice to mention it to the mailing > list. > >

Re: Document containing different text colours?

2020-08-05 Thread Diego Zamboni
Hi Sharon, I'm not sure I understand what is it that you are trying to do. But color (or any other visual) is a feature of the exporter you use rather than of Org-mode itself. For example, if you are exporting to HTML, you can use the following at the top of the document: #+html_head_extra: body

Re: use-package examples?

2020-06-27 Thread Diego Zamboni
orks, though > a > use-package wizard would probably cut it in half. (To me use-package is > advanced magic, and I don't understand all the incantations.) > > If anyone can suggest some good examples to look at, I'll try starting > some > documentation about it. I know about Dieg

Re: org-mode as a logging target

2020-06-21 Thread Diego Zamboni
This is actually pretty cool! Thanks for the tip, --Diego On Sun, Jun 21, 2020 at 5:39 PM Meng Weng Wong wrote: > I've been enjoying a featherweight alternative to log levels, made > possible by org-mode. > > Try this the next time you write a little throwaway command-line utility > script: >

[Announcement] New package ox-leanpub

2020-06-14 Thread Diego Zamboni
Hi everyone, I'm happy to announce that my package ox-leanpub is now available in MELPA. Ox-leanpub contains Org-mode export backends to produce books in the correct structure and format for publication with Leanpub (https://leanpub.com/). It allows you to write your book entirely in Org mode,

Re: Get Grades Done: the joys of Org's simple power

2020-06-13 Thread Diego Zamboni
Hi Leo, > Well the changelog in org-web hasn't been updated in quite a while: > https://github.com/DanielDe/org-web/blob/master/changelog.org > wheras organice seem to actively developed > https://github.com/200ok-ch/organice/blob/master/changelog.org . > > The have a section in their readme that

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Diego Zamboni
Hi Leo, Thanks - I had seen that one too, and couldn't figure out which one was a fork of the other one. Both have recent activity - do you know what are the main differences between them? --Diego On Fri, Jun 12, 2020 at 5:54 PM Leo Okawa Ericson wrote: > > Diego Zamboni writes: &g

Re: Get Grades Done: the joys of Org's simple power

2020-06-10 Thread Diego Zamboni
Hi Devin, Your could try https://org-web.org/ - it allows online editing of Org files and a quick test shows that it supports the automatic update of checkbox counts. --Diego On Wed, 10 Jun 2020 at 22:39, Devin Prater wrote: > So, I’ll try to not turn this into a novella. I am a “Technical >

Re: ox-* vs org-* naming convention?

2020-06-10 Thread Diego Zamboni
Hi everyone, Just a quick update: issue https://github.com/purcell/package-lint/issues/89 submitted by Kaushal has been closed through the PR I submitted, so now package-lint officially accepts "org-" symbols in "ox-" and "ob-" packages :) --Diego On Tue, Jun 9,

Re: ox-* vs org-* naming convention?

2020-06-09 Thread Diego Zamboni
Hi again, > Given the special meanings of both the org- and ox- prefixes, I will > insist on keeping the current naming, and maybe take a stab at coming > up with a PR for https://github.com/purcell/package-lint/issues/89. I submitted a PR to allow certain package-to-symbol prefix mappings in

Re: ox-* vs org-* naming convention?

2020-06-08 Thread Diego Zamboni
://github.com/purcell/package-lint/issues/89. Cheers, --Diego On Mon, Jun 8, 2020 at 7:54 AM Jens Lechtenboerger wrote: > > On 2020-06-07, Diego Zamboni wrote: > > > Hi, > > > > I am working on submitting a new set of exporters I've been working on > > (https

ox-* vs org-* naming convention?

2020-06-07 Thread Diego Zamboni
Hi, I am working on submitting a new set of exporters I've been working on (https://gitlab.com/zzamboni/ox-leanpub) to MELPA, and I received feedback [1] about the discrepancy between the package names (ox-leanpub-*) and the functions they define (org-leanpub-*). This is also flagged by

Re: New mailing list archive at https://orgmode/list/

2020-06-05 Thread Diego Zamboni
Hi Bastien, > > On Friday, 5 Jun 2020 at 09:47, Bastien wrote: > >> with Kyle's help, I've set up a new mailing list archive: > >> > >> https://orgmode/list/ Thanks for setting this up. I noticed that I am getting in master the following error when I do "make doc": > make doc

Re: Disambiguate internal links?

2020-06-05 Thread Diego Zamboni
I personally find CUSTOM_ID's easier since I can make them unequivocally unique, and by using them the links don't break if I change something in the headline title. On Thu, Jun 4, 2020 at 5:26 PM Budiman Snowman wrote: > > On Wed, Jun 3, 2020 at 9:21 PM Diego Zamboni wrote: >>

Re: Anyone doing any fancy customizations of source blocks?

2020-06-04 Thread Diego Zamboni
mming languages}: > > https://www-cs-faculty.stanford.edu/~knuth/cweb.html > > Thanks Diego, its a very interesting config example > > On Wed, Jun 3, 2020 at 2:24 PM Diego Zamboni wrote: >> >> I use the config John mentioned and I like it - though I use diffe

Re: Anyone doing any fancy customizations of source blocks?

2020-06-03 Thread Diego Zamboni
I use the config John mentioned and I like it - though I use different symbols. Here's my config if you want an example: https://github.com/zzamboni/dot-emacs/blob/master/init.org#source-code-blocks --Diego On Tue, Jun 2, 2020 at 9:24 PM John Kitchin wrote: > > Here is one approach: > >

Re: Disambiguate internal links?

2020-06-03 Thread Diego Zamboni
I almost always use a CUSTOM_ID property for this, e.g. * topic1 See topic [[#topic2][topic2]]. See glossary [[#glossary_topic2][topic2]]. * topic2 :PROPERTIES: :CUSTOM_ID: topic2 :END: * glossary ** topic1 :PROPERTIES: :CUSTOM_ID: glossary_topic2 :END: ** topic2 :PROPERTIES: :CUSTOM_ID:

Re: Splitting large org file into smaller ones

2020-05-30 Thread Diego Zamboni
Hi Marvin, I replied to a similar question some time ago, here's my answer (with updated links since the files have changed in the meantime): I do something similar in my ox-leanpub-book module [1], which exports each top-level heading to a different file. The general idea is to use

Re: emacs + org-mode in virtual machine/docker/...

2020-05-21 Thread Diego Zamboni
I have not used any personally, but using Docker or Vagrant it shouldn't be too hard. Quick searches on Vagrant's and Docker's public repositories reveals there are a few emacs-based images already, although I could not find any specific mentions to Org:

Re: issue tracker?

2020-05-19 Thread Diego Zamboni
Hi all, Interesting discussion. I have also wondered about this - I have not yet contributed to the Org codebase, but I have wondered if patches and bug fixes can sometimes get lost among other discussions. However, ultimately the best tracking system is the one that works for the developers and

Re: Tricking org-mode into using markdown conventions

2020-05-05 Thread Diego Zamboni
Hi Daryl, I am assuming though, from the lack of answers back, that there appears to > be no way to have org-mode grok markdown code blocks (triple backticks) > when it parses as a substitute for `#+BEGIN_SRC` ? > I am no expert in the Org internals, but a quick search shows the strings

Re: Tricking org-mode into using markdown conventions

2020-05-04 Thread Diego Zamboni
g-mode)) > (?╭ org-specific "^[ ]*#[+]name" (org-mode)) > (?├ org-specific "[ ]*#[+]begin_src" (org-mode)) > (?├ org-specific "[ ]*#[+]BEGIN_SRC" (org-mode)) > (?╰ org-specific "[ ]*#[+]end_src" (org-mode)

Re: Tricking org-mode into using markdown conventions

2020-05-03 Thread Diego Zamboni
Hi Daryl, If it's for display purposes only, you might be able to simply use display substitutions for things to appear the way you want. For example, I use the technique described here: https://pank.eu/blog/pretty-babel-src-blocks.html to replace the begin/end_src strings with symbols. I did a

Re: Org mode for meeting minutes

2020-03-25 Thread Diego Zamboni
This is such a great thread. Thanks everyone for your examples and ideas! I'll be using some of these for sure for my notes. --Diego On Wed, Mar 25, 2020 at 6:57 PM Bob Newell wrote: > > I'll second (nth) all the compliments. Your work is not only > day to day useful but is a great

Re: [SOLVED] Re: Can Org Mode tag support dash character "-"?

2020-03-15 Thread Diego Zamboni
TIL about org-pretty-tags, looks awesome. Thanks! On Sun, Mar 15, 2020 at 8:24 AM Marco Wahl wrote: > > stardiviner writes: > > > Carsten Dominik writes: > > > >> On Fri, Mar 13, 2020 at 3:08 PM stardiviner > wrote: > >> > >> I found Org Mode tags does not support tag like "COVID-9", The

Re: Insert PROPERTIES drawer after heading creation

2020-03-11 Thread Diego Zamboni
Hi Lawrence, On Wed, Mar 11, 2020 at 7:56 PM Lawrence Bottorff wrote: > I read that too, but couldn't fathom what they meant. Still, I'm not sure > what they mean by "prefix argument." > The prefix argument in this case is not so important as the OUTPUT-BUFFER argument, which you were passing

Re: Insert PROPERTIES drawer after heading creation

2020-03-11 Thread Diego Zamboni
On Wed, Mar 11, 2020 at 2:14 PM Lawrence Bottorff wrote: > Yes, thanks. That substring was a bad copy. Any insight why the > (shell-command "uuidgen" t) wasn't working? > I hadn't looked at it yet, but the documentation for =shell-command= gives the answer: Execute string COMMAND in inferior

Re: Need Guidance in developing and generating code using org-mode

2020-02-28 Thread Diego Zamboni
Hi Kokou, In addition to what others have said, you might want to use Hugo ( https://gohugo.io/) for producing your website, and in this case you can use the fantastic ox-hugo (https://ox-hugo.scripter.co/) to manage the contents from within org-mode. It should be possible to use Hugo's features

Re: Survey: changing a few default settings for Org 9.4

2020-02-21 Thread Diego Zamboni
Thanks Bastien for all your work! --Diego On Fri, Feb 21, 2020 at 4:50 PM Bastien wrote: > Hi all, > > here are the results of the survey, with *47* voters: > > - 26+2 : org-loop-over-headlines-in-active-region => t > - 25+2 : org-agenda-loop-over-headlines-in-active-region => t > - 28+3 :

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Diego Zamboni
I'm late to the discussion so I apologize in advance, but this fix seems counterintuitive to me. In my mind, for any shell code: - Return value: exit code of the last command - Output: whatever the commands print So to me, it's intuitive that =:exports value= would return the exit code of the

Re: On writing a theme for raw-notes prose legibility

2020-02-12 Thread Diego Zamboni
> > I have similar idea, I try to create a minor mode for Org Mode to archive > this > effect. > > https://lepisma.github.io/2017/10/28/ricing-org-mode/ Wow, that looks absolutely amazing. Thanks for the link! --Diego

Re: How to intersperse commands with their output in RESULTS block?

2020-02-07 Thread Diego Zamboni
#+property: header-args:sh+ :prologue "script < wrote: > Diego Zamboni writes: > > > I came up with the following block, which cleans up all the cruft from > > the output of the =script= command and produces a nicely formatted > > session transcript: > > > >

Re: How to intersperse commands with their output in RESULTS block?

2020-02-07 Thread Diego Zamboni
:results output :wrap "src console" :post cleanup(data=*this*) script < wrote: > Hi Eric, > > Great idea! I hadn't considered using the =script= command, it's a great > starting point. > > Thanks! > --Diego > > > On Thu, Feb 6, 2020 at 7:55 AM Fraga, Er

Re: How to intersperse commands with their output in RESULTS block?

2020-02-06 Thread Diego Zamboni
Hi Eric, Great idea! I hadn't considered using the =script= command, it's a great starting point. Thanks! --Diego On Thu, Feb 6, 2020 at 7:55 AM Fraga, Eric wrote: > On Wednesday, 5 Feb 2020 at 18:25, Diego Zamboni wrote: > > tl;dr: is there a way to have ob-shell (or some similar

How to intersperse commands with their output in RESULTS block?

2020-02-05 Thread Diego Zamboni
Hi everyone, tl;dr: is there a way to have ob-shell (or some similar mode) run commands one by one and include the commands, interspersed with their output, in the #+RESULTS block? I would like to have examples shown with commands, followed by their output. Something like this: #+begin_src

Re: A new, "org-bullets"-like minor mode

2020-02-01 Thread Diego Zamboni
Hi D., Would it be appropriate to share the link here? I think it would be > great to get feedback before trying to get it on melpa. > I would love to give it a try! I use org-bullets currently, and your new features sound quite interesting :) --Diego

Re: customizing Org for legibility

2020-02-01 Thread Diego Zamboni
> Ok, I see what you're saying. You're proposing to have TODO states and > other tags on the left of the heading title in fixed pitch, and the > heading title in variable pitch. In my current setup the whole heading > is fixed in Agenda and variable in normal buffers. I agree it would be > good to

Re: customizing Org for legibility

2020-02-01 Thread Diego Zamboni
HI Bob, In my testing, all font-related settings get ignored when running in terminal mode, except for the colors. --Diego On Sat, Feb 1, 2020 at 9:12 PM Bob Newell wrote: > Aloha everyone, > > > I agree terminal users typically won't want variable pitch, but disagree > > that they are

Re: customizing Org for legibility

2020-02-01 Thread Diego Zamboni
Hi Samuel, > i get the sense spacemacs has brought a lot of new users to emacs. i > don't use it but i have comments on your interesting and welcome > beauty tips. > This is definitely the case. I also don't use Spacemacs, but know a few people who got started thanks to it. I even have a

Re: customizing Org for legibility

2020-01-31 Thread Diego Zamboni
Hi, I think it's a noble effort to popularize org-mode and to make it easier to use. And I learned today about mixed-pitch :) However, a lot of visual configuration depends on fonts, colors, and other things which may vary a lot between users. While most of us by now probably use a graphical

  1   2   >