GNU bug report logs - #52354
27.2; bibtex-sort-buffers fails at least for types @PhdThesis and @TechReport

Previous Next

Package: emacs;

Reported by: Dominik Schrempf <dominik.schrempf <at> gmail.com>

Date: Tue, 7 Dec 2021 15:02:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 52354 <at> debbugs.gnu.org (full text, mbox):

From: Dominik Schrempf <dominik.schrempf <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52354 <at> debbugs.gnu.org
Subject: Re: bug#52354: 27.2; bibtex-sort-buffers fails at least for types
 @PhdThesis and @TechReport
Date: Fri, 10 Dec 2021 14:32:12 +0100
[Message part 1 (text/plain, inline)]
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 <at> gnus.org> writes:

> Dominik Schrempf <dominik.schrempf <at> 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.)
[bibliography.bib (application/octet-stream, attachment)]

This bug report was last modified 3 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.