5

Use the T option to turn off the color (you can learn all possible options on http://wttr.in/:help, I learnt this from https://github.com/chubin/wttr.in): T # switch terminal sequences off (no colors) For example, #+BEGIN_SRC sh :results output curl 'wttr.in/?0T' #+END_SRC #+RESULTS: : Weather report: Yancheng, China : : \ / ...


3

You can use ansi-color to format the text. It doesn't have an interactive function, so you need to evaluate something like: (require 'ansi-color) (ansi-color-apply-on-region (point) (point-max)) That would treat the output in the current buffer from point to the end of buffer. Note that some of the formatting gets lost if you save the file, close it, and ...


3

The following Elisp code modifies the html export backend so that it accepts an additional option HTML_TABLEEL_ORG. If you set this option to t or yes table cells in table.el-tables are rendered as org-mode strings. You can copy the code into your init file if the first line of your init file contains the file-local setting lexical-binding: t as ...


2

From the documentation: ‘C-c | (org-table-create-or-convert-from-region)’ Convert the active region to a table. If every line contains at least one TAB character, the function assumes that the material is tab separated. If every line contains a comma, comma-separated values (CSV) are assumed. If not, lines are split at whitespace into fields. ...


1

For reference I found this message on the org-mode mailing list which mentions a way to do this by means of file local #+LATEX_HEADER lines which use the fancyvrb package and redefine the verbatim environment that org-mode #+RESULTS blocks get exported to via: #+LATEX_HEADER: \RequirePackage{fancyvrb} #+LATEX_HEADER: \DefineVerbatimEnvironment{verbatim}{...


1

Let's look at the docstring of org-footnote-action (emphasis mine): (org-footnote-action &optional SPECIAL) Do the right thing for footnotes. When at a footnote reference, jump to the definition. When at a definition, jump to the references if they exist, offer to create them otherwise. When neither at definition or reference, ...


1

Normal realign with C-c C-c does not consider column widths (anymore?, idk). Use C-c TAB (org-table-toggle-column-width) instead to shrink or expand the current column. To narrow all columns with a specified width call it with a prefix argument C-u C-c TAB. To automatically shrink columns with a width cookie you can either set #+STARTUP: shrink on a per-...


1

You can use this org table formula, format is used to ensure the number's width is 2 and padded with zero, as @sds's answer suggested: #+NAME: addition-table | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |---+----+----+----+----+----+----+----+----+----+----| | 0 | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | | 1 | 01 | 02 | 03 | 04 | 05 | 06 ...


1

TL;DR You need to format your numbers with the leading zeros if you want them: (format "%03d" 3) ==> "003" Details When you type (defvar foo '(00 01 02)) and evaluate it, Emacs reads the string "01" and recognizes it as a number (integer) and stores it in the list. Then it promptly forgets how the number was represented - as "1" or "01" or "000001". ...


1

If you use C-h v and type in org-archive-location you will see the documentation. There you can see the original value ("%s_archive::") and a few examples "~/org/archive.org::" , "::* Archived Tasks" or "~/org/archive.org::* From %s" Now you will probably already realize that you need the double colon in your string. Syntax seems to be the following: "/...


1

You could use a file local variable setting like this in your org file: # Local Variables: # eval: (org-clock-in) # End: This has the benefit of only affecting the files you put it in. If you want it in every file, even new ones, you can make a hook function like this. (defun my-clock-in () (when (org-before-first-heading-p) (org-insert-heading) ...


Only top voted, non community-wiki answers of a minimum length are eligible