From: Ihor Radchenko <yantar92@posteo.net>
To: "András Simonyi" <andras.simonyi@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: [BUG?] Wrong quote positions in exported CSL bib items when export is done with C-u C-e
Date: Tue, 25 Oct 2022 10:09:45 +0000 [thread overview]
Message-ID: <87pmegrz86.fsf@localhost> (raw)
In-Reply-To: <CAOWRwxDR8KsdmB6P58vP=zLz=ey=es2Mz5mAnwhmLVkf_pgmhw@mail.gmail.com>
András Simonyi <andras.simonyi@gmail.com> writes:
> Dear All,
>
> I'm experiencing the following mysterious problem with the csl
> citation export processor: exporting using the export dispatcher
> without a prefix argument works fine, but when I repeat the export
> action using C-u before C-e the exported bibliography items containing
> quotes have the quotes shifted to incorrect places, seemingly with a
> fix offset.
>
> Minimal example:
> ...
> The single bibliography item is the correct
>
> Hobbs, Jerry R. 1985. “Ontological Promiscuity.” In /Proceedings of
> the 23rd Annual Meeting of the Association for Computational
> Linguistics/, 61–69. Chicago: Association for Computational
> Linguistics.
>
> when exported with C-e and as an UTF-8 buffer
>
> but contains an incorrectly places quote:
>
> Hobbs, Jerry R. 1985. “Ontological Promiscuity. In” /Proceedings of
> the 23rd Annual Meeting of the Association for Computational
> Linguistics/, 61–69. Chicago: Association for Computational
> Linguistics.
>
> when exported (again) with C-u C-e.
>
> Emacs version: 28.1
> Org version: 9.5.4
> (Citeproc version is Melpa 20220702.2132)
>
> is anybody else seeing this behaviour?
Confirmed.
I managed to trace this down to the output value of
org-cite-csl--rendered-bibliographies (using M-x trace-function + M-x diff-buffers).
I suspect that it might be something to do with destructive list
modifications in some kind of cache.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2022-10-25 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 9:54 [BUG?] Wrong quote positions in exported CSL bib items when export is done with C-u C-e András Simonyi
2022-10-25 10:09 ` Ihor Radchenko [this message]
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=87pmegrz86.fsf@localhost \
--to=yantar92@posteo.net \
--cc=andras.simonyi@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).