GNU bug report logs -
#57246
biblatex don't recognize video type entry
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57246 in the body.
You can then email your comments to 57246 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Tue, 16 Aug 2022 17:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Cletip Cletip <clement020302 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 16 Aug 2022 17:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello
It's all in the object: biblatex does not recognize inputs of type "video".
I think that the bibtex-biblatex-entry-alist variable (and maybe
bibtex-biblatex-field-alist) should be modified
Thanks in advance
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Wed, 17 Aug 2022 11:23:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 57246 <at> debbugs.gnu.org (full text, mbox):
Cletip Cletip <clement020302 <at> gmail.com> writes:
> It's all in the object: biblatex does not recognize inputs of type "video".
> I think that the bibtex-biblatex-entry-alist variable (and maybe
> bibtex-biblatex-field-alist) should be modified
Perhaps Roland has some comments here; added to the CCs.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Wed, 17 Aug 2022 22:56:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 57246 <at> debbugs.gnu.org (full text, mbox):
On Wed, Aug 17 2022, Lars Ingebrigtsen wrote:
> Cletip Cletip <clement020302 <at> gmail.com> writes:
>
>> It's all in the object: biblatex does not recognize inputs of type "video".
>> I think that the bibtex-biblatex-entry-alist variable (and maybe
>> bibtex-biblatex-field-alist) should be modified
>
> Perhaps Roland has some comments here; added to the CCs.
I believe these are non-standard biblatex entries with incomplete
biblatex support.
In Emacs BibTeX mode the problem is here that all biblatex entry types
are defined via the rather "big" user variable
bibtex-biblatex-entry-alist. So the idea is that users can customize
this variable and define additional entry types. However, this is not a
very practical strategy. From a technical perspective, there is still
bug#53606. Also, as biblatex evolves, the default value of
bibtex-biblatex-entry-alist is continuously updated with each release of
Emacs. (Usually this refers to small changes concerning biblatex entry
types that are already defined via this variable.) However, if a user
customizes this variable in whatever way, she will miss the updated
default value when the next release of emacs is shipped.
I believe, these problems are not specific to BibTeX mode. There are
several "big" user variables in Auctex where I am splicing my custom
elements into an alist instead of using the customize machinery. This
is not a very user-friendly approach.
Often such "big" user variables are alists. Sometimes I have been
wondering whether the customize machinery could provide special support
for alists that allows one to modify or add individual cons cells
without touching other cells that are part of the default value. Then
if a new release of emacs uses updated values for such user variables,
there are less opportunities for how this may collide with individual
customizations.
Would that be useful?
In the present context, a simpler strategy would be to define a new user
variable bibtex-biblatex-extra-entry-alist that complements / overrides
the defaults in bibtex-biblatex-entry-alist.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Thu, 18 Aug 2022 00:54:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 57246 <at> debbugs.gnu.org (full text, mbox):
Roland Winkler <winkler <at> gnu.org> writes:
> In Emacs BibTeX mode the problem is here that all biblatex entry types
> are defined via the rather "big" user variable
> bibtex-biblatex-entry-alist. So the idea is that users can customize
> this variable and define additional entry types. However, this is not a
> very practical strategy. From a technical perspective, there is still
> bug#53606. Also, as biblatex evolves, the default value of
> bibtex-biblatex-entry-alist is continuously updated with each release of
> Emacs. (Usually this refers to small changes concerning biblatex entry
> types that are already defined via this variable.) However, if a user
> customizes this variable in whatever way, she will miss the updated
> default value when the next release of emacs is shipped.
How about just having two variables instead? One for users, and one for
the mode itself.
For an example, see `dired-guess-shell-alist-default' and
`dired-guess-shell-alist-user'.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Thu, 18 Aug 2022 03:13:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 57246 <at> debbugs.gnu.org (full text, mbox):
On Wed, Aug 17 2022, Stefan Kangas wrote:
> How about just having two variables instead? One for users, and one for
> the mode itself.
That's certainly an option (see the last paragraph of my message).
Is there a possibility to declare the customizability of a variable
obsolete? bibtex-biblatex-entry-alist has been around as a user
variable for more than ten years and bibtex-BibTeX-entry-alist for yet
many more years. I doubt that many people ever tried to customize these
variables. Still, if we add new dedicated user variables, it would be
nice to tell users that the customization of the old variables has been
depreciated.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Thu, 18 Aug 2022 08:54:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 57246 <at> debbugs.gnu.org (full text, mbox):
Roland Winkler <winkler <at> gnu.org> writes:
> On Wed, Aug 17 2022, Stefan Kangas wrote:
>> How about just having two variables instead? One for users, and one for
>> the mode itself.
>
> That's certainly an option (see the last paragraph of my message).
>
> Is there a possibility to declare the customizability of a variable
> obsolete? bibtex-biblatex-entry-alist has been around as a user
> variable for more than ten years and bibtex-BibTeX-entry-alist for yet
> many more years. I doubt that many people ever tried to customize these
> variables. Still, if we add new dedicated user variables, it would be
> nice to tell users that the customization of the old variables has been
> depreciated.
My apologies if I'm missing the obvious, but why not leave
bibtex-biblatex-entry-alist customizable and introduce an internal
variable, say bibtex-biblatex-entry-alist-builtin and move the current
content into that one? Then define a function like this:
(defun bibtex-biblatex-entry-alist ()
(append bibtex-biblatex-entry-alist
bibtex-biblatex-entry-alist-builtin))
where user entries overrule the builtin ones. This is what AUCTeX
mostly does for the "big" variables.
Best, Arash
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Thu, 18 Aug 2022 09:09:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 57246 <at> debbugs.gnu.org (full text, mbox):
Roland Winkler <winkler <at> gnu.org> writes:
> Is there a possibility to declare the customizability of a variable
> obsolete? bibtex-biblatex-entry-alist has been around as a user
> variable for more than ten years and bibtex-BibTeX-entry-alist for yet
> many more years. I doubt that many people ever tried to customize these
> variables. Still, if we add new dedicated user variables, it would be
> nice to tell users that the customization of the old variables has been
> depreciated.
No, but you can mark the variable itself obsolete.
IOW, you would mark the old variable as obsolete, add some way to handle
it for backwards-compatibility, then introduce the two new variables.
So if the new variables are named `bibtex-biblatex-entry-user-alist' and
`bibtex-biblatex-entry-default-alist':
(make-obsolete-variable 'bibtex-biblatex-entry-alist
bibtex-biblatex-entry-user-alist "29.1")
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57246
; Package
emacs
.
(Thu, 18 Aug 2022 17:08:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 57246 <at> debbugs.gnu.org (full text, mbox):
On Thu, Aug 18 2022, Arash Esbati wrote:
> My apologies if I'm missing the obvious, but why not leave
> bibtex-biblatex-entry-alist customizable and introduce an internal
> variable, say bibtex-biblatex-entry-alist-builtin and move the current
> content into that one?
As biblatex evolves, the default value of bibtex-biblatex-entry-alist
requires minor updates with each release of emacs. If a user has customized
this variable to modify or add just one cell of this alist. this stores
the entire value of this variable in her emacs init file. Then she
misses the updates that appear in new releases of emacs.
That's why I suggested that the customize machinery should allow users
to modify or add individiual cells of an alist without storing the
entire alist in the user's init file.
Reply sent
to
Roland Winkler <winkler <at> gnu.org>
:
You have taken responsibility.
(Thu, 02 Jan 2025 05:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Cletip Cletip <clement020302 <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 02 Jan 2025 05:49:03 GMT)
Full text and
rfc822 format available.
Message #31 received at 57246-done <at> debbugs.gnu.org (full text, mbox):
On Thu, Aug 18 2022, Roland Winkler wrote:
> As biblatex evolves, the default value of bibtex-biblatex-entry-alist
> requires minor updates with each release of emacs. If a user has customized
> this variable to modify or add just one cell of this alist. this stores
> the entire value of this variable in her emacs init file. Then she
> misses the updates that appear in new releases of emacs.
>
> That's why I suggested that the customize machinery should allow users
> to modify or add individiual cells of an alist without storing the
> entire alist in the user's init file.
I added new variables bibtex-BibTeX-aux-entry-alist
bibtex-biblatex-aux-entry-alist that should facilitate this process.
Also, these variables now accept aliases.
commit b26418694e8
Closing.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 30 Jan 2025 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.