From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions Date: Tue, 12 Jul 2022 10:32:41 +0800 Message-ID: <87fsj76oxi.fsf@localhost> References: <87let1v3pq.fsf@localhost> <87sfn8ymw7.fsf@gnus.org> <87sfn7po84.fsf@gnu.org> <877d4jpngx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14886"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 56475@debbugs.gnu.org To: Roland Winkler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 12 04:32:37 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB5hV-0003ib-Ag for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 04:32:37 +0200 Original-Received: from localhost ([::1]:43180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oB5hU-0007cp-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jul 2022 22:32:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oB5gw-0007c2-FY for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 22:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oB5gw-0006Tt-77 for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 22:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oB5gv-0002tQ-VU for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2022 22:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2022 02:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56475 X-GNU-PR-Package: emacs Original-Received: via spool by 56475-submit@debbugs.gnu.org id=B56475.165759310511094 (code B ref 56475); Tue, 12 Jul 2022 02:32:01 +0000 Original-Received: (at 56475) by debbugs.gnu.org; 12 Jul 2022 02:31:45 +0000 Original-Received: from localhost ([127.0.0.1]:41337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oB5gf-0002sr-Kb for submit@debbugs.gnu.org; Mon, 11 Jul 2022 22:31:45 -0400 Original-Received: from mail-pf1-f177.google.com ([209.85.210.177]:37723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oB5gd-0002se-K2 for 56475@debbugs.gnu.org; Mon, 11 Jul 2022 22:31:43 -0400 Original-Received: by mail-pf1-f177.google.com with SMTP id w185so6314501pfb.4 for <56475@debbugs.gnu.org>; Mon, 11 Jul 2022 19:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=BS/94lszGEv1Gh3qWQNrequ8eus/bUtHtLs72vq2EK8=; b=elR5kkymi0P2q7nDDu5ylPbRWfIa9VEHhleYjMAKYOY7Wu7+V6EWUyWMoB9UkSaLYR oz+fs6PnRI7RZhJRQpsBJdDPmsRPxB/r+bxfHVDIPpR7P9Y2QWWRlMvStiwJ0cGJUzdM EJ4nyquHko4kybA+W26zrFvmMpwHBjoUsluzTyZV2kPQu/Nhh66cdDpX1//4IXYN1lq3 bD/G8o/p+DvjwxgWHq91alTYHpsIJJj0DYwRRP2EmuuBP/J/Alg+sdK+VXOnGGGHCc8v nrVGBcmA9cgEeWo3F+5KNjuXs6SHSrasqUDdFmZP3cWlpmldGDM8BtpMR4hkMhe2Pdxt I9pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=BS/94lszGEv1Gh3qWQNrequ8eus/bUtHtLs72vq2EK8=; b=Phv57VJF32L7zaEF6/F8Oggu8yGj7STFKwJOEBOa+VGRxcvh5oL5qnbF/UTVpg4lxL b8PnmgMB+gzlXEBA0D7Svak9pw0N1GyAvjcLTaSAzNV30ahHTz7+jj/T6lq6yb2bAPmz VrBye8C3wTwb0PZPOqH6Uu8xqcNwod00GHbaFcLC7eU/vOLHNARPltQoQ7hLwcvbHW7S kFuJsy3v88vqz3/9V0KmQZCGsOZLGqdGnV6zfeIdtgchQT4H2ZgvgzYotFznCxpX9B4p 5AweLmCdhzTn5bGY0B6GKhVXExEha3eWL2CG+fG1ICHg+odWNGata/AgzncQGbL2+RJ4 lv4w== X-Gm-Message-State: AJIora8zxpTMHkCRN0k8OA97LvG1NE16XxtoGTn/cyk7VF3TtHS/un6l UFxsYjU7hruWJ/9IE9NEIoE= X-Google-Smtp-Source: AGRyM1s9O61NTjqboPEkn0LKOjGL5mnk0byFbJu+0WxXFgMUls7yzhupHz6HogpbR0nkvWoLXht7JA== X-Received: by 2002:a63:8a41:0:b0:415:c328:525f with SMTP id y62-20020a638a41000000b00415c328525fmr15808034pgd.331.1657593097620; Mon, 11 Jul 2022 19:31:37 -0700 (PDT) Original-Received: from localhost ([157.52.221.140]) by smtp.gmail.com with ESMTPSA id d8-20020a17090a7bc800b001efa332d365sm5382552pjl.33.2022.07.11.19.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 19:31:37 -0700 (PDT) In-Reply-To: <877d4jpngx.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236727 Archived-At: Roland Winkler writes: > If I understand your issue correctly you probably want to let-bind the > user variable bibtex-expand-strings while calling bibtex-parse-entry so > that your code works irrespective of what users have chosen for > bibtex-expand-strings. Thanks for the pointer! I tried my reproducer by running M-: (let ((bibtex-expand-strings t)) (bibtex-parse-entry)) instead of M-: (bibtex-parse-entry) Unfortunately, the journal field is still not substituted. Best, Ihor