emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: bugs in the new release of org
Date: Tue, 13 Oct 2020 16:09:25 -0700	[thread overview]
Message-ID: <CAJcAo8uTH+4aANhkUT6Us_iQPndy_CSUE8OioZ8PTF8xze1NJA@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8sBZOV+QPfwC1EX9nHwcjyuk6hssFUS_WhX6rveXFf=tg@mail.gmail.com>

a little more information in case it is useful:

in emacs25 -Q with recent maint, this code fails to export; it errors
if there is an org-id link anywhere in the tree.

  (org-export-as 'html 'subtree nil 'body-only nil)

the same bug arises with ascii export.

it seems like a bug that a link should make the export fail.  the link
is to another file not being exported.  note also that this is a
subtree export with body only.

[btw, the docstring says "When optional argument BODY-ONLY is non-nil,
only return body
code, without surrounding template."  it does not way what template
means.  perhaps the docstring could say?]


with my regular .emacs instead of -Q, it does not error but returns an
empty string.  this made debugging confusing.


it scrolls the buffer slightly for unknown reasons.  this could
perhaps be called a minor bug.

random testcase.  you can run using m-: on the top line.

===
* NAKA cables :export:
*** NAKA hdmi :export:
text
***** NOTE buy from a company who makes the connectors ---
[[https://www.stereo.net.au/forums/topic/251889-hdmi-shielding/][HDMI
shielding? - General AV Discussion - StereoNET]]
***** test no body :export:
***** test body :export:
text
***** noexport monoprice if nothing else but i must have rejected it.
ferrite core.
text
***** [[http://www.alphawire.com/en/Company/Blog/2014/July/Outgassing%2520and%2520Cables][Outgassing
and Cables]] A very handy resource is the NASA Outgassing Database
:export:
text
http://outgassing.nasa.gov/cgi/uncgi/search/search_html.sh.
===


On 10/2/20, Samuel Wales <samologist@gmail.com> wrote:
> a couple of corrections to my previous post.
>
> the keystrokes are C-c C-e t A after setting subtree and body only.
>
> pointer actually works for showing the link.  just not cursor.
>
> On 10/2/20, Samuel Wales <samologist@gmail.com> wrote:
>> a few things are broken for me in the new version of maint.  my
>> computer use is limited, so i am taking them slowly..
>>
>> emacs 25.
>>
>> any hints are welcome.  i am not able to proceed further.
>>
>>
>> 1.
>>
>> this export does nothing, with no errors or warnings:
>>
>>   (org-export-to-buffer 'ascii "alpha-org-export-output.txt" nil
>> 'subtree nil 'body-only)
>>
>> prior to the recent release, it exported.
>>
>> i tried emacs -Q with C-c C-e A, this said that it was unable to
>> resolve a link.  however, the link was outside the subtree.  i do not
>> know why it would look there.  also i do not know why it woul dtry to
>> resolve a link.  or rather i don't know what that means.
>>
>> the link seems ok.  it is an org id link.  so why is it erroring?  i
>> don't know.  does this have anything to do with the errorless
>> no-result problem i am trying to debug?  i could not be sure.
>>
>> i also tried edebug, but that quickly exceeds my limits.  i did
>> unwisely do a few levels, but everything returned nothing.  for
>> example, the export-as function returned an empty string.
>>
>>
>> any comments or hints, even small ones, would be appreciated.  i am
>> not able to debug this.
>>
>>
>> 2.
>>
>> another broken thing, in case it rings a bell for anybody, is that i
>> had eldoc set up to emit link target when hovering cursor/pointer.  i
>> think this uses
>> help echo.  that stopped working.  if this does not trigger a priori
>> ideas, i will let it stay broken.
>>
>>
>> thank you.
>>
>> --
>> The Kafka Pandemic
>>
>> Please learn what misopathy is.
>> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
>>
>
>
> --
> The Kafka Pandemic
>
> Please learn what misopathy is.
> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html


  reply	other threads:[~2020-10-13 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03  3:04 bugs in the new release of org Samuel Wales
2020-10-03  3:12 ` Samuel Wales
2020-10-13 23:09   ` Samuel Wales [this message]
2024-01-24 14:07     ` Ihor Radchenko
2024-01-24 20:03       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8uTH+4aANhkUT6Us_iQPndy_CSUE8OioZ8PTF8xze1NJA@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).