Indirect trace-function results to org-babel current-buffer

2020-03-27 Thread abst.proc.do
When tried to apply =trace-function= to a recursive-factorial which print the tracing course to the current buffer: #+BEGIN_SRC elisp (defun factorial(n) (if (= n 1) 1 (* n (factorial (- n 1) (trace-function #'factorial (current-buffer)) (factorial 4) #+END_SRC===

Re: Can't turn off hide-stars

2020-03-27 Thread Lawrence Bottorff
I've found a way to side-step this issue by simply evaluating (setq-default indent-tabs-mode nil). From then on any formatting is just spaces and the shifting doesn't occur. Still, this is odd behavior. On Fri, Mar 27, 2020 at 3:26 PM Lawrence Bottorff wrote: > Changing my theme didn't help. The

Re: Automatic formatting of the table as you type

2020-03-27 Thread ndame
> The idea is nice, and probably a step in the right direction, but > `org-at-table-p' and `org-table-align' are not lightweight functions. In > some common situations, e.g., when the table is a bit large, or when it > is located away from the start of a section, typing in the table may > feel slug

is it possible doing a "smart tri-fold brochure" with org-mode?

2020-03-27 Thread rrandresf
Hi. The tri-fold brochure is also known as 'tryptich' A simple web search defines it as: --8<---cut here---start->8--- Promotional brochures come in many sizes and can be folded many different ways, the most common being the tri-fold brochure. This fold create

Re: Can't turn off hide-stars

2020-03-27 Thread Lawrence Bottorff
Changing my theme didn't help. The foreground-color of hide-face is set to the background color of my theme. What I suspect the problem is is the spaces and tabs used by sml-mode for indentations. I don't think other languages use a mix of spaces and tabs. They use just spaces. Is there a way to co

Re: Automatic formatting of the table as you type

2020-03-27 Thread Nicolas Goaziou
Hello, ndame writes: > The other day a code was posted on Reddit which automatically formats > the table as you type: > > https://i.imgur.com/lorIDhY.gif > > > The code looks pretty simple, the actual formatting code is only a few lines > and it might even be possible to rewrite it to simplify i

Re: Can't turn off hide-stars

2020-03-27 Thread Ag Ibragimov
Have you tried tweaking org-hide face? Maybe the problem is with the font you use, is it monospaced? On Thu 26 Mar 2020 at 22:40, Lawrence Bottorff wrote: I have searched high and low through my init/config and I can't find where orgmode is suppressing the display of leading asterisks of he

Automatic formatting of the table as you type

2020-03-27 Thread ndame
The other day a code was posted on Reddit which automatically formats the table as you type: https://i.imgur.com/lorIDhY.gif The code looks pretty simple, the actual formatting code is only a few lines and it might even be possible to rewrite it to simplify it even more: https://reddit.com/r/e

Re: bi-monthly steps.

2020-03-27 Thread Christian Hopps
Thanks, and thanks for adding the test and doc updates! Chris. > On Mar 26, 2020, at 9:12 PM, Kyle Meyer wrote: > > Christian Hopps writes: > >> I've attached an updated patch using "semimonth". > > Applied in 8a99404c8, along with a follow-up commit that adds a test, > updates the manual, a