 Calculating independent indicator random variables
 Percentage of gain/loss on the sum of two commodities
 $k[X]/(F(X))\otimes_kk[Y]/(G(Y))\approx k[X,Y]/\langle f(X),g(Y) \rangle$
 Deriving 68% confidence level for each parameter after MCMC
 Proving tensor product over modules is commutative and associative
 Does there exist a graph with 5 vertices of degree 3 and all other vertices of degree 2 or 4?
 NonEquivalent knots which are indistinguishable by colourings
 Still pretty confused with Argument Principle, Rouche's Theorem and Winding number
 Prove $2^e$ is transcendental
 Approximating sum of absolute vales by a quadratic function
 Simplification of an integral: $\int{\nabla_{\theta}f_X(\mathbf{x};\theta)}\mathbf{T}^T(\mathbf{x};\theta)d\mathbf{x} = ?$
 $(\kappa^+)^\alpha=\kappa^\alpha\cdot \kappa^+$
 Matrix question any short cut?
 If a piecewise function has a subdomain which is dense in the other, do any properties regarding continuity/discontinuity follow?
 quadratic form $4x^2+4xy+4xz+2yz+y^2+z^2$
 Collatz Conj. and Divergence to infinity
 Let G be a group of order p^2 where p, q are prime such that p
 If $f:A\to A'$ and $g:B\to B'$ are isomorphisms, then the tensor product is also an isomorphism
 How do equal radii lie on concentric circles?
 Proof $\lim_{r\to 0}\int_{C_r} f(z)dz=iA\alpha$
Modifying Sparse Trees and Exporting in Org Mode
I want to use orgmode's sparse trees to export some of the headings in a document. Specifically, I want headlines and entries for all matches of a tag search, plus parents. orgshowcontextdetail controls this, but doesn't have quite the right setting. local is closest, but local also includes the next heading at the same level of match; I do not want next heading.
* Heading
:PROPERTIES:
:EXPORT: yes
:END:
* Subheading
:PROPERTIES:
:EXPORT: yes
:END:
I am some content! I should be exported and visible!
* Definitely Don't Want This Subheading
:PROPERTIES:
:EXPORT: NO
:END
So how do I make and export a sparse tree using an EXPORT=yes tag search, containing Heading, Subheading, and the entry of Subheading, without including the next heading? (Note: I do know about Cv in the org export dispatcher  but it will still include a visiblebutfolded headline, like Definitely Don't Want This Subheading.)
I was just looking at

I was just looking at this, ended up kludging a workaround.
According to http://orgmode.org/cgit.cgi/orgmode.git/plain/etc/ORGNEWS:
orgshowfollowingheading, orgshowsiblings, orgshowentrybelow and orgshowhierarchyabove no longer exist. Instead, visibility is
controlled through a single variable: orgshowcontextdetail.
But the values for for orgshowcontextdetail; minimal, local, ancestors, lineage, tree, canonical or t don't work. You want ancestors, but this doesn't show the entry. The entry text is shown for the 'local' value, but that shows the following headline.
My solution was to locate the function that does the display, orgshowsetvisibility() in org.el, copy it wholesale to my init.el, and hack the line that decides whether to show the entry. I changed the check for 'local' to be 'ancestors'.
;; Show current heading and possibly its entry, following headline
;; or all children.
;; (if (and (orgatheadingp) (not (eq detail 'local))) < ORIGINAL
20170421 14:31:26