From: Dominik Schrempf <dominik.schrempf@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 52354@debbugs.gnu.org
Subject: bug#52354: 27.2; bibtex-sort-buffers fails at least for types @PhdThesis and @TechReport
Date: Fri, 10 Dec 2021 14:32:12 +0100 [thread overview]
Message-ID: <871r2kinv9.fsf@gmail.com> (raw)
In-Reply-To: <87k0gcy7iv.fsf@gnus.org>
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Hello,
thank you for looking into this.
I can reproduce this bug using `emacs -Q`:
1. Start `emacs -Q`.
2. Open the attached bibliography file.
3. `M-x bibtex-set-dialect RET`; `biblatex RET`.
4. `bibtex-sort-buffer`.
I expect the middle entry (@PhdThesis) to move to the bottom but nothing
happens. The file sorts correctly when the dialect is `BibLateX`, and not
changed.
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Dominik Schrempf <dominik.schrempf@gmail.com> writes:
>
>> When using `bibtex-sort-buffers’ on a BibTeX file with BibLaTeX dialect,
>> items of type @PhdThesis and @TechReport (but probably other types too)
>> are not sorted correctly.
>>
>> For example, the following order is not changed when executing the
>> mentioned function:
>>
>> @Article{Shaw2013, …}
>> @PhdThesis{Siren2012, …}
>> @Article{Shih2013, …}
>
> Trying to sort that with `bibtex-sort-buffers’ doesn’t seem to do
> anything, with or without the @PhdThesis entry?
>
> Do you have a complete recipe for reproducing the problem, starting from
> “emacs -Q”? (And a complete test file would be helpful, too.)
[-- Attachment #2: bibliography.bib --]
[-- Type: application/octet-stream, Size: 1155 bytes --]
@Article{Shaw2013,
author = {Shaw, Timothy I. and Ruan, Zheng and Glenn, Travis C. and
Liu, Liang},
title = {STRAW: Species TRee Analysis Web server},
journaltitle = {Nucleic Acids Research},
year = 2013,
volume = 41,
number = {Web Server issue},
pages = {W238--241},
doi = {10.1093/nar/gkt377},
}
@PhdThesis{Siren2012,
Author = {Sirén, Jukka},
Title = {Statistical models for inferring the structure and history
of populations from genetic data},
School = {University of Helsinki},
Year = 2012
}
@Article{Shih2013,
author = {P. M. Shih and N. J. Matzke},
title = {Primary Endosymbiosis Events Date to the Later Proterozoic
with Cross-Calibrated Phylogenetic Dating of Duplicated Atpase
Proteins},
journaltitle = {Proceedings of the National Academy of Sciences},
year = 2013,
volume = 110,
number = 30,
pages = {12355-12360},
doi = {10.1073/pnas.1305813110},
}
next prev parent reply other threads:[~2021-12-10 13:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 15:01 bug#52354: 27.2; bibtex-sort-buffers fails at least for types @PhdThesis and @TechReport Dominik Schrempf
2021-12-10 12:22 ` Lars Ingebrigtsen
2021-12-10 13:32 ` Dominik Schrempf [this message]
2021-12-11 3:16 ` Lars Ingebrigtsen
2021-12-19 14:30 ` Dominik Schrempf
2021-12-19 14:36 ` Lars Ingebrigtsen
2021-12-19 19:06 ` Dominik Schrempf
2021-12-20 10:03 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871r2kinv9.fsf@gmail.com \
--to=dominik.schrempf@gmail.com \
--cc=52354@debbugs.gnu.org \
--cc=larsi@gnus.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.