joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
177 stars 14 forks source link

Selecting deleted buffer error #69

Open vv111y opened 7 years ago

vv111y commented 7 years ago

buffer is an Xhtml and trying to convert to org-mode. Input, Output settings are correct. I have randomly tried several different option settings. Keep getting the above error.

vv111y commented 7 years ago

Restarted emacs, and now it does run, but gives output of nothing but a bunch of ^G

joostkremers commented 7 years ago

Hi, the deleted buffer error may be due to pandoc-mode selecting a buffer it created before that was accidentally deleted. I looked through the code and noticed a couple of places where this could happen, so I'll go through them and fix them.

As for the ^G, I'm not sure. ^G is the bell character, so apparently pandoc is responding with a number of beeps (if it's really pandoc that's sending them.) In order to say more, I'd need to have more details. Can you process the file correctly with pandoc from the command line, for instance?