Arash Esbati <arash@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Arash Esbati <arash@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 21:39:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 17:39:35 2024 Received: from localhost ([127.0.0.1]:33866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvl5y-0001IM-OK for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:39:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1rvl5w-0001HC-NZ for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:39:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1rvl5g-0004fJ-DN; Sat, 13 Apr 2024 17:39:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=WpojI259UhB5lnEl5M82OHr4sNI/iVzRWr8bt9qd1v4=; b=HBRM6kFsKm85c86yoW9C MPfK8isVm9IRsuFvF4vS6uxGBSzR7Qq2vP3RlLMrP6zIfoVb3Z5VNSE2CMp7VD+dxwNx8d1WAtc/c 4aClOJcXbUF2vsrvefL85iFZE/c6oZcdFaNt3gDNBaCLp9eOIIjceOGFySna+laBG1oKLECr9OD3u GNcGAAy0IgUFhZbYVagsRsxv5bIISrUhD22H3IIcGCa1wTHm4EfugaVlco3K4T8pxJlApN/ynIE1S G62Oe5AO9HwZ7iuEdmXQvekN7n3HUBDKF3G5GPeROtl3M+UZL3TY6GyV684EvQNZPw/xVznWIxy14 sAaBzwkYIK2MBg==; From: Arash Esbati <arash@HIDDEN> To: gusbrs <gusbrs.2016@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex In-Reply-To: <CAM9ALR-zbTSW1Dv2vvFD0jjb4u6U=LquTozM6MM-5SPZ4oAq6A@HIDDEN> (gusbrs's message of "Sat, 13 Apr 2024 18:20:48 -0300") References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> <CAM9ALR__zdLnODhDRY123X94yfNDSq9Eku=XoG8C_EwQm_DuBw@HIDDEN> <m2cyqtnff3.fsf@HIDDEN> <CAM9ALR-zbTSW1Dv2vvFD0jjb4u6U=LquTozM6MM-5SPZ4oAq6A@HIDDEN> Date: Sat, 13 Apr 2024 23:39:10 +0200 Message-ID: <m2cyqtgcxt.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) gusbrs <gusbrs.2016@HIDDEN> writes: > (Besides, sinners know they are sinners ;-). ;-) > Thank you! Regarding the remaining part, again, my advice to you is > not to invest too much time in this. So, feel free to "won't fix" and > close. I will do so. We can re-open once there is a real for this, we can then see if that part can also be solved somehow. Again, sorry for being late. Best, Arash
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 21:21:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 17:21:35 2024 Received: from localhost ([127.0.0.1]:33855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvkoV-00073O-JD for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:21:35 -0400 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:49547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gtvbrs@HIDDEN>) id 1rvkoG-00070i-GP for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:21:26 -0400 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3bbbc6e51d0so896991b6e.3 for <38249 <at> debbugs.gnu.org>; Sat, 13 Apr 2024 14:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713043260; x=1713648060; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ypZqRTr0o0q0ZXBXFLvTiDHblCzKgQBeg79WboA3p18=; b=LFLIKyGpbPvFjWNHWc/O5O7X5WnXZ40PXII+xsx6UcKR/YfDg5TADKXVvaScz6t0IG 7qDf+DAIzxWY+u5wW3vfqY6Hr7ohTQqQAbEQ7C3wR+qlUl83R8cedcpXPXhyaXW+dzeV Q6kJoFXaylsw5s3wxuyORhWWCcxLx9iVsuYTNPsOC3WXzysh+Wx77lE7PazGDT9yn1ny Vyudw/cXxp0+NUOcLTa6IZTITsPBTlcOzEBFaoUiGd1wQcASjrzNeo57570Pp/7+WQu3 9ZQdyLPXq1qnJYrWFtGFM53IledtvPzuquutHmRPW+Awm6bIqzG5juiyS9ie2j/tYDbz JcZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713043260; x=1713648060; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ypZqRTr0o0q0ZXBXFLvTiDHblCzKgQBeg79WboA3p18=; b=nJcB0FsmBjg3w5YPsBH5R6GdS+XcTjQQV2+7fwOkPo8fyD4ykxJMegbs+bb3lMTrEI fWbJCc0VQD0nwoZ1AUbmIPzt3L3fJ6rSGDIcC4DCTHAtN+AGxNSWuuaQdtZVxDoN4sLV StYqmtBIPJrTFNtVwid574XrwZ0xo4L2mLbwWvyxlVvdbN1SWUlVEJIEzHpsqcD38ZUM f0ST/u42y4ZYnuCfgdwHQfw/D9y/v0ueiIWF2iMC3MZTjB67wYPY2OyQkwMt2Onn3DGN zSHb8dETGBD0EYxj6qryi12XSVolZ9YcHji33Ud2J2SpKCapKZCfMgus5jYWqH3AMd+6 eQNw== X-Gm-Message-State: AOJu0YxvWpjBhUlPq1z8qS4xxSGBNSsNCtrboY1UN5cZ5fxfQ0fyKoG8 4b/aJIWwJngpNjBZAZljLPniq0fMQSkTiyAhgMXzZAxt4P3x6SVIkaTekw3mQ1M2unjE48IYvOq 34r6GznPVuZpDUJepODTImVKpjPU= X-Google-Smtp-Source: AGHT+IEh2wiD+zuKuLAXsylkA5QhrDxJohbbzDvsi0suzdGQXqPAbuk2JdBrEayYmNcqS7NJSjDNcv2NUKV23/XmyPQ= X-Received: by 2002:aca:2b0a:0:b0:3c6:500:a12c with SMTP id i10-20020aca2b0a000000b003c60500a12cmr6289000oik.24.1713043259935; Sat, 13 Apr 2024 14:20:59 -0700 (PDT) MIME-Version: 1.0 References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> <CAM9ALR__zdLnODhDRY123X94yfNDSq9Eku=XoG8C_EwQm_DuBw@HIDDEN> <m2cyqtnff3.fsf@HIDDEN> In-Reply-To: <m2cyqtnff3.fsf@HIDDEN> From: gusbrs <gusbrs.2016@HIDDEN> Date: Sat, 13 Apr 2024 18:20:48 -0300 Message-ID: <CAM9ALR-zbTSW1Dv2vvFD0jjb4u6U=LquTozM6MM-5SPZ4oAq6A@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex To: Arash Esbati <arash@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Arash, On Sat, 13 Apr 2024 at 18:03, Arash Esbati <arash@HIDDEN> wrote: > I think the editor has to make some assumption; this is one of them. I personally classify that as misbehavior. But I can certainly understand you prefer not to change things at a critical place (and why). (Besides, sinners know they are sinners ;-). > I installed the change on Emacs master (845246093f). This was half of > the bug report, right? Thank you! Regarding the remaining part, again, my advice to you is not to invest too much time in this. So, feel free to "won't fix" and close. Best, gusbrs
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 21:04:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 17:04:07 2024 Received: from localhost ([127.0.0.1]:33851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvkXf-0004cl-0i for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:04:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1rvkXc-0004c7-E3 for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 17:04:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1rvkXM-0006jz-7N; Sat, 13 Apr 2024 17:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=O+2Sz6ULNbdCfF1XL6KbwUZvvw7cynm7WEh/Ko5PECQ=; b=MjNIa9kPtA4t0KDKvGE+ D9vLQbSTJYv+p5KxJ5eh2JglsikWFvlN6fq8A+W+mZwjxllvINZqaiPQcjKy/rKD6tCs1AqwzzE8p kR1zKLwXAEQ11pFA2sReV54go2UIzT938M3ucB+MOgubRisLp9fu+Xg3d+K/EHgf5Jqi04O8giSf9 R2fv24lyi25zmJcfTxKDZxkOUtTevebK79NyHYm+avugd6ynjv02pfjJDe3w70XsvB17gcqPKyM2q CkFVOkjQfnwA/upJyFVtMuZy43vncxDo/3pxT60yXBSpbsTf5JejOpAmnYsBqk6E6DVUUtHIAq7Ws dO4HXf1emvphFg==; From: Arash Esbati <arash@HIDDEN> To: gusbrs <gusbrs.2016@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex In-Reply-To: <CAM9ALR__zdLnODhDRY123X94yfNDSq9Eku=XoG8C_EwQm_DuBw@HIDDEN> (gusbrs's message of "Thu, 11 Apr 2024 16:35:27 -0300") References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> <CAM9ALR__zdLnODhDRY123X94yfNDSq9Eku=XoG8C_EwQm_DuBw@HIDDEN> Date: Sat, 13 Apr 2024 23:03:44 +0200 Message-ID: <m2cyqtnff3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Gustavo, gusbrs <gusbrs.2016@HIDDEN> writes: > All in all, with perhaps the adjustment of the previous comment, this > looks good to me. It is close to as good as is possible within this > approach and certainly counts as good enough in my view. Thanks for testing and your feedback. > But I won't leave you empty handed either: `reftex-what-macro' fails > to handle a macro where the first argument is detached, regardless of > the value of `reftex-allow-detached-macro-args'. > > Try `(reftex-what-macro 1)' on ("|" is point): > > \cite [45] {sig|fridsson} > > Result `nil'. On the other hand, on: > > \cite[45] {sig|fridsson} > > We now get `("\\cite" . 3654)' I think the editor has to make some assumption; this is one of them. > Well, the current version you have is pretty good, and a welcome > improvement. Thank you. I installed the change on Emacs master (845246093f). This was half of the bug report, right? Best, Arash
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 18:09:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 14:09:42 2024 Received: from localhost ([127.0.0.1]:33765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvhos-0002te-FM for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 14:09:42 -0400 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]:50638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gtvbrs@HIDDEN>) id 1rvhoo-0002sa-DJ for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 14:09:41 -0400 Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-dbed0710c74so1601772276.1 for <38249 <at> debbugs.gnu.org>; Sat, 13 Apr 2024 11:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713031762; x=1713636562; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=npag6SdL+tWSkN4aSSeBtjJeLIxDTwYahomLbT6Quhw=; b=as4LtJRRIc8rNDX12H5vAX55vrS73gzoyWjnqAvyORVg7dyLmFwphrZ4Pwn/6JpUxZ sNfwRC6gUtuQInaOWIbjGb/bSJ7RAK5mR0Mn33ogDef2BSeLvo8OGXUnJjRV+/Cx4iQZ BIfkLj8aZOoys+ZbDxe6yF/UJ7sHQm9TmwEFROQmoPCJ/3DMhw6KvN7bGMsJTzV8q9QG CMqQnRK0ViVnPpxvHNH+aComrQXMsl/uh8u6itOk2pJJp+fBi5m47k4N0gKHJwTCLYCN X5SNG2lN41l+ti48Rf8Cr2n4utovkDTpLS9cFDyJbNJTUmI/EQ95USNtJGIaNBPTbt0M so7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713031762; x=1713636562; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=npag6SdL+tWSkN4aSSeBtjJeLIxDTwYahomLbT6Quhw=; b=W+W79OAfJvfBNkO0qB2cHYe+JSTczE1ZY+gL6aYkYh/lKqzTKAEd4MNKpFYF4/e27m ydiyrdO5phCyAyw6qMa9cDjfDGgQeMohdJRN0Hob/kIxR5mwHqv9MxLNMwklAMJ52IVd ZKwb3HgWi7MSa5uDYsz67PfPpiIXymc9/Mn9la6nbI/BpCayHWU6JSbAOXMz/5POY5/g TK2FJ09EPhTDaoJiozeLPmqhyh6HltdVqFQgSgpH7lObROWPauh00lXprIAEYVJoZZ6w YYSN+j8Y9HmZC5vxaNKDjgH/J2Yurg4erkDyd7t451GBP66CYam5Bqhfc8F0tNK9xYWp c5mA== X-Gm-Message-State: AOJu0YzL6GCriL4VxFFS6zE982QKfKPLEUg6Ql0pCguQq3YUzCjyjiyu y+zoClw3xPog+kFSqZK41cDzDyDcU5MXww04pV1Gp/v7Dc3oYyI3vogCRoZjACl655rSnzFj1iQ 1E9YQk6jQnAuGvNKMEV51BwfM+m8= X-Google-Smtp-Source: AGHT+IFlSbQyS+dLXfSD3Rx50v/Jm7HNxjlQjaJJVhzfi8gbmOOL/1EzQ0ZRi2WsYsVkfzs+31DsKUzRaB8vyJwIMrM= X-Received: by 2002:a05:6902:154e:b0:dcd:5c7:8466 with SMTP id r14-20020a056902154e00b00dcd05c78466mr7828900ybu.44.1713031762085; Sat, 13 Apr 2024 11:09:22 -0700 (PDT) MIME-Version: 1.0 References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> <CAM9ALR_c4_ynYfZ23hvWYqyBPP-fGrLWbqCku9jfXU7HaUGAxg@HIDDEN> <m2frvp9rdf.fsf@HIDDEN> In-Reply-To: <m2frvp9rdf.fsf@HIDDEN> From: gusbrs <gusbrs.2016@HIDDEN> Date: Sat, 13 Apr 2024 15:09:11 -0300 Message-ID: <CAM9ALR_BVrQU6OL0NhBws5AoeK=trJQjXDcFqyoaQ04op0xepQ@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex To: Arash Esbati <arash@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Arash, On Sat, 13 Apr 2024 at 13:09, Arash Esbati <arash@HIDDEN> wrote: > Thanks, nice. But I think the necessity you mention is also the weak > point of this approach: You can't just load a .tex file, run the caller > `reftex-create-bibtex-file' and close the file; you have to compile the > file. So I don't think we should replace the current implementation > with the above. A drawback indeed it is. In my view, the reliability and simplicity outweigh that. But, a judgment call, of course. :-) One could, in theory, have both and just accumulate any non repeating keys which appear in either method. But it feels just wrong to do so... Best, gusbrs
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 16:09:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 12:09:47 2024 Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvfwk-0002Oh-HX for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 12:09:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1rvfwe-0002Ms-U9 for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 12:09:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1rvfwO-0004FV-Pg; Sat, 13 Apr 2024 12:09:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=APofCGzI7rDu11vGeK8ozr4ibMpInvFmxrs7Tklv+Fo=; b=IUp+G9qgyN+89NGxCv1P JaoF2GoL08wer5quUBeZPdIxRXd5K0kk+DsJRIWIolrN0k0DCwBKXa+ko4ENTsrkmRT7t8dkGwjoF 5R+GruV7LA/a7TxUPs19a+LDYZUQQjuFnJgrgoWF35Az7t1hYSGVN9I6cph5XM6qknJ4YBHpQLGIP zJFd/rN1A/a0HusUQU5LCx5Tf6W4jWnlpGtqc3CHf3KOSI8/ZH6KLf9o49bBazPfcqY3c4RMupp4S FUC4t3hlDkDgqIlwUUUzAOmVryl5M8qqKgzmBgIcUIPKcLQhPnNDudTqLAt3piqplnp+is1cOdRH8 7/U4RIoanPRPlg==; From: Arash Esbati <arash@HIDDEN> To: gusbrs <gusbrs.2016@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex In-Reply-To: <CAM9ALR_c4_ynYfZ23hvWYqyBPP-fGrLWbqCku9jfXU7HaUGAxg@HIDDEN> (gusbrs's message of "Sat, 13 Apr 2024 08:59:00 -0300") References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> <CAM9ALR_c4_ynYfZ23hvWYqyBPP-fGrLWbqCku9jfXU7HaUGAxg@HIDDEN> Date: Sat, 13 Apr 2024 18:09:16 +0200 Message-ID: <m2frvp9rdf.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Gustavo, gusbrs <gusbrs.2016@HIDDEN> writes: > On Thu, 11 Apr 2024 at 12:46, Arash Esbati <arash@HIDDEN> wrote: > > Just "someone" playing a little with this: > > (defun reftex-all-used-citation-keys-alt () > (let* (keys) > (if (reftex-using-biblatex-p) > (let* ((master (reftex-TeX-master-file)) > (bbl-file (file-name-with-extension master ".bbl"))) > (when (file-exists-p bbl-file) > (with-temp-buffer > (insert-file-contents bbl-file) > (goto-char (point-min)) > (while (re-search-forward "\\\\entry{\\([^}]*\\)}" nil t) > (push (match-string-no-properties 1) keys))))) > (reftex-access-scan-info) > (let* ((files (reftex-all-document-files)) > (aux-files (mapcar (lambda (x) (file-name-with-extension x ".aux")) > files)) > file) > (while (setq file (pop aux-files)) > (when (file-exists-p file) > (with-temp-buffer > (insert-file-contents file) > (goto-char (point-min)) > (while (re-search-forward "^\\\\citation{\\([^}]*\\)}" nil t) > (let ((key (match-string-no-properties 1))) > (unless (member key keys) > (push key keys))))))))) > (nreverse keys))) > > Quickly cooked, certainly needs polishing. But not a bad proof of > concept, I think. Of course, this approach requires that the document > has been compiled and the generated files are up to date with the main > document. Thanks, nice. But I think the necessity you mention is also the weak point of this approach: You can't just load a .tex file, run the caller `reftex-create-bibtex-file' and close the file; you have to compile the file. So I don't think we should replace the current implementation with the above. > (unless (member key keys) > (push key keys)) Can be written as: (cl-pushnew key keys :test #'string=) Best, Arash
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 13 Apr 2024 11:59:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 07:59:30 2024 Received: from localhost ([127.0.0.1]:60249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvc2b-0000e1-Db for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 07:59:30 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]:43228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gtvbrs@HIDDEN>) id 1rvc2Z-0000d2-OZ for 38249 <at> debbugs.gnu.org; Sat, 13 Apr 2024 07:59:28 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-dc25e12cc63so2580377276.0 for <38249 <at> debbugs.gnu.org>; Sat, 13 Apr 2024 04:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713009551; x=1713614351; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=00AuOgA1V91/0GIiYDx65vtvxabog3SEFHGJ7QJyukg=; b=ZBaStm4rlafU84QmgKIJ9QN1//EaiXXg42B9k3F10NpFq4c51pKxpHYsJUOP4sNFPT c00jZb4HsOSSTmxRhX02E5m/Xh/7TTVpEL7B8EhM93Eg5me5nNDuGZ1z1sOkURoqXq4D ZxUSZDs8APjpmVCaDbOxFz1c/U3pSnILhnk8ZMrflckGlMI+L7jdFsV1H0jn5V6s0ba5 Q7vkg6Ecnx726e4S0XNNTOFcUQpcDiCYa1bxo3ls5aPFckGEbeUXxvtoDYTEJh57za1J CPTR/OpHZijA46WMXdElFQbFfKdQNYhaQhfBMMklqiJGHHkesnKaQfMsmC5FFwTZzDwS c4ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713009551; x=1713614351; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=00AuOgA1V91/0GIiYDx65vtvxabog3SEFHGJ7QJyukg=; b=crgWuhOdyfz4/tJB/naMgUDTwZMGrNblMTKW6rWp23f6tO06lbhkzwkpKCoOV5f+aD Fw4LzAYXlB/C7yRYMGS3NBs4buIUGF7JObYJacMBGrU7IeRpIo0F9JrX3i6YQtu++iAt ItMV1d4K8fvnzewui4bu0TAnbgikrGbw6Zv/la/xrdypBV35BORg53lGu1lIzv3l1r5L ljk92cT5mXzqA83g8o4/k4xhxBt9a1neNfLB80F0zZ3VwZdXhVdmJREk713l78n5Vgi4 PEZ9uSiDAwM1TJ4eBoaLfXZVAwRddy8he5U2rxJZtE94kZDdzW/YSpR9HeW/1C/2jpvi qprw== X-Gm-Message-State: AOJu0YxzSye+K+JgKqY/vaZswsvB+qmtsUCKTuZ0zS7Tf3Gj5CIPVTbP vkyr+OP+4Qzy38mwbjnVzRlQTo9RDbk+UbTjCri0OzbbT63gPhKqKtTaXm37pLYRvVD5Jn7qIWm 53n12amQPtub/SL7ko3FhmMuvRRc= X-Google-Smtp-Source: AGHT+IFnhLdpgNBXgZd71MSypawaRtsVCtbGPnQYWG0E1RYSNSWsNRXOGunr5bYxPeZvKRGGt4TqQjAZ2MnRSKkhHXU= X-Received: by 2002:a25:10c1:0:b0:ddd:7a25:a5a0 with SMTP id 184-20020a2510c1000000b00ddd7a25a5a0mr6652786ybq.10.1713009551276; Sat, 13 Apr 2024 04:59:11 -0700 (PDT) MIME-Version: 1.0 References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> In-Reply-To: <m27ch33nt6.fsf@HIDDEN> From: gusbrs <gusbrs.2016@HIDDEN> Date: Sat, 13 Apr 2024 08:59:00 -0300 Message-ID: <CAM9ALR_c4_ynYfZ23hvWYqyBPP-fGrLWbqCku9jfXU7HaUGAxg@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex To: Arash Esbati <arash@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Arash, On Thu, 11 Apr 2024 at 12:46, Arash Esbati <arash@HIDDEN> wrote: > I think AUCTeX/RefTeX are here, if we can improve them, we should do it. > And if someone wants to replace it with something better, we can do it > as well. It is always a matter of "I need that", and best case is one > implements that as well. Just "someone" playing a little with this: (defun reftex-all-used-citation-keys-alt () (let* (keys) (if (reftex-using-biblatex-p) (let* ((master (reftex-TeX-master-file)) (bbl-file (file-name-with-extension master ".bbl"))) (when (file-exists-p bbl-file) (with-temp-buffer (insert-file-contents bbl-file) (goto-char (point-min)) (while (re-search-forward "\\\\entry{\\([^}]*\\)}" nil t) (push (match-string-no-properties 1) keys))))) (reftex-access-scan-info) (let* ((files (reftex-all-document-files)) (aux-files (mapcar (lambda (x) (file-name-with-extension x ".aux")) files)) file) (while (setq file (pop aux-files)) (when (file-exists-p file) (with-temp-buffer (insert-file-contents file) (goto-char (point-min)) (while (re-search-forward "^\\\\citation{\\([^}]*\\)}" nil t) (let ((key (match-string-no-properties 1))) (unless (member key keys) (push key keys))))))))) (nreverse keys))) Quickly cooked, certainly needs polishing. But not a bad proof of concept, I think. Of course, this approach requires that the document has been compiled and the generated files are up to date with the main document. (This is still tricked by biblatex's xdata, but I see no way around it at this level). Best, gusbrs
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 11 Apr 2024 19:36:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 15:35:59 2024 Received: from localhost ([127.0.0.1]:57363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rv0DF-0005VO-2Q for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 15:35:59 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:55337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gtvbrs@HIDDEN>) id 1rv0DC-0005UB-7J for 38249 <at> debbugs.gnu.org; Thu, 11 Apr 2024 15:35:55 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-dd10ebcd702so159342276.2 for <38249 <at> debbugs.gnu.org>; Thu, 11 Apr 2024 12:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712864139; x=1713468939; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3jXTGGi8d16YpJBhKouFpCeYIopEWmyrlX7xfAGplXE=; b=bUrNsRT02BhX1WMX6vE6bwMN0KzJnBR76tbooHHYDIc3HUmR3/BTfgpXCL87i5Niy5 QGdhUJgF1gixbwiVnrIyf5iN0PRNcOSxOXz4RTckp4oMYKwi7ouBJqKeyCzCh5U/iX9O pXUcR4aM0kEdXwMh8ciNSkExGA6/kWc38vvXoEFDigtdtlWJWMTZf6xYltnROw/tVQRZ yF+QcRnufhYJsE7HhVz66EKwdGrzx8n+Dsoutx6S6M5Qud6mj+yVcMZw0zGH128wjA8k Qy5hE/hrwIKyTlUYlpM3sxGfi0E0PvE7+o4zZgA+mwfgXNpB144lciEFwjLuvi6+t+UG hRcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712864139; x=1713468939; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3jXTGGi8d16YpJBhKouFpCeYIopEWmyrlX7xfAGplXE=; b=f/oKW4E9QRZODAaygl3TQG3pjpHQidNupfmkwU3lHEGmiQ6S7XrYZFLZk1Z9qVu+IS xW58BxTO9E8INC6/lQP6CYS1gudSW15C177WOa3AUEACyJAIKfdvMZkYuD8IjR7KqHjw niI8FB8yGb8byfQNbypZeETXSMN2S5L34/vvXKojlgf/gbXLkRYRVmJAbhh5UZSJ6DqP pyrBi+ozpU47XeOO9Vupg5rm0wyYXHkztHinVQk8J2l8EacLrNLXF556Evj2/U8ZfD6w azY1jASb1nSY1Op6EiTa6eV2nDuRG8a4Kk0JmM4U4UQwChsJ5WkY9Nc8EB+zEQDQ4kNr nkJw== X-Gm-Message-State: AOJu0Yzim4osL+s+PEVS+ykuqpljXKrDF27z6tfdureW2/gvbtTKjxN6 NV8bTN+/FDpDxtSAAxVCQ0EJat2+ZjM/t+IS9R2L16W8kpfJFcUsvOScJJyAEXvJA8QranLU24j DRFIadGymO7/4bZ81RFiJfei78fQ= X-Google-Smtp-Source: AGHT+IGNuH7irJ9kc6XTADhfIYdEjfP+NEMzizndopIM5clrPJfMlezEltKb+wYY1o1etssX+aprmwy7dipcYBRxf+c= X-Received: by 2002:a25:8801:0:b0:ddd:696a:8656 with SMTP id c1-20020a258801000000b00ddd696a8656mr496779ybl.41.1712864138947; Thu, 11 Apr 2024 12:35:38 -0700 (PDT) MIME-Version: 1.0 References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> <m27ch33nt6.fsf@HIDDEN> In-Reply-To: <m27ch33nt6.fsf@HIDDEN> From: gusbrs <gusbrs.2016@HIDDEN> Date: Thu, 11 Apr 2024 16:35:27 -0300 Message-ID: <CAM9ALR__zdLnODhDRY123X94yfNDSq9Eku=XoG8C_EwQm_DuBw@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex To: Arash Esbati <arash@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Arash, On Thu, 11 Apr 2024 at 12:46, Arash Esbati <arash@HIDDEN> wrote: > I thought you were a nice guy, but that's about to change ;-) > Persoally, I don't like detached args, but that's only me, and it's a > matter of taste, so it doesn't really count. Well, I don't use it everywhere, and not even in most places, but I do use it whenever I feel it is convenient. And biblatex citation lists are one case where it is practically a necessity. These macros easily become very long with no relevant break point, except perhaps an occasional space in a pre-/postnote, so they quickly become impossible tasks for paragraph filling functions. Adding some possible breaks between the arguments makes for much better results. > Can you please try this on your files: > > [...] My real life documents are not really a good testing ground for this. For starters, I don't have a list to benchmark the results. I could produce one with another tool, but on a real document each bibkey is called multiple times, and we would never really know when or where the parsing failed. But I tested this new version on the MWE for the original report, and it further handles detached arguments. Which is nice. Thank you. You only did so for the citation lists though. The macros matched in `re' do not allow detached arguments. It feels to me like it should. All in all, with perhaps the adjustment of the previous comment, this looks good to me. It is close to as good as is possible within this approach and certainly counts as good enough in my view. > I think in this particular case, we should ignore the value of > `reftex-allow-detached-macro-args'. Agreed. Btw, in plenty of places this just works implicitly. I'd only check/restrict behavior to `reftex-allow-detached-macro-args' if there is a cost or risk involved. > > From AUCTeX/RefTeX's sides pretty much everything works, except that > > you cannot detach the very first argument after the macro. (If I > > recall correctly, this exception is due to an implementation detail in > > font-latex.el, but I don't recall if I had filled this as a > > mal-function or not, I'm just used to it by now. I also don't recall > > if this exception affects only citation lists or is general, probably > > general). > > Can you show a concrete example? Mhm, my memory may have betrayed me there, perhaps not. This belongs to those long term muscle memory things, it is only natural that I lost track of the origin. I should have something noted somewhere, but I couldn't find it. But I won't leave you empty handed either: `reftex-what-macro' fails to handle a macro where the first argument is detached, regardless of the value of `reftex-allow-detached-macro-args'. Try `(reftex-what-macro 1)' on ("|" is point): \cite [45] {sig|fridsson} Result `nil'. On the other hand, on: \cite[45] {sig|fridsson} We now get `("\\cite" . 3654)' (Tested in my own setup, so assuming `reftex-allow-detached-macro-args' is `t', and possibly other noise, but the important point is that the first case fails regardless). This happens because in `reftex-what-macro', after moving backwards all the arguments of the macro, point is exactly at the first character of the first argument, and the function then grabs the macro name with: (when (and (memq (following-char) '(?\[ ?\( ?\{)) (re-search-backward "\\\\[*a-zA-Z]+\\=" nil t)) (setq cmd (reftex-match-string 0)) There's no accounting for a possible space at this point. Good news, it is easy to fix, either by allowing for whitespace in the regexp or perhaps by some backwards version of `(while (and (not (eobp)) (font-latex-forward-comment)))'. I know, you telling me you want to keep your sanity and me suggesting you touch this regexp... Sorry, my bad. But, in fairness, I hadn't even made this a thing. You brought this upon yourself by asking me for an example. ;-) At this point, I'm not sure about similar restrictions stemming from font-latex.el, as I had initially mentioned. I fought a lot with this area of functionality, had many incarnations of setups, and am probably quite detached from the "vanilla" experience here. I'm also not sure if this issue arises somewhere else or not. But I think this thing in `reftex-what-macro' would, alone, be sufficient to generate the muscle memory that I have in this regard. > > And, as you have noted yourself, a comment between two arguments would > > also beat it. I'm sure you know much better than me how hard it is to > > parse TeX arguments solely based on regexps (as opposed to sexp > > navigation). > > Not always: Try "\foo[opti{]}onal]{}" in a .tex file, put point on [ and > hit 'C-M-f'. :-) > > True, `reftex-create-bibtex-file' already exists, so it does pose the > > question as to whether "let it wane", "marginally improve" or "replace > > it with something better" is the best option. Not a question for me to > > answer tough. ;-) > > I think AUCTeX/RefTeX are here, if we can improve them, we should do it. > And if someone wants to replace it with something better, we can do it > as well. It is always a matter of "I need that", and best case is one > implements that as well. Well, the current version you have is pretty good, and a welcome improvement. Thank you. Best, gusbrs
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 11 Apr 2024 15:46:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 11:46:20 2024 Received: from localhost ([127.0.0.1]:57190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ruwd2-0006y5-84 for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 11:46:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1ruwcy-0006wH-3p for 38249 <at> debbugs.gnu.org; Thu, 11 Apr 2024 11:46:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1ruwcj-0006aP-GW; Thu, 11 Apr 2024 11:46:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=H6QntXiYx5cFS1ZZ9VrV9clxIuJMtP5ocKOHmbu5Ua4=; b=iqfxO4M6s7Zbrp6TCHNA 4F1A+5yOLInLyQn0WimTuH5W5DsvG1MCq/XLbmvHMxepTtpDVAMxxlBhegfuWYPOh+zmzAvceRaN2 Y7Uwzy1AOf7JvCotNHF3eBDdZP1Hwjuh0h2fjvAWgQz9MghRIXtXGfBwFMPVmM9A70npyZdJb+vuO iwXsi/xSwa7PLGfoTYJxsuUGoWHG01pIbkkTKmX6ZqvpDTFAvJgi54EAe8rzEi9xdgasZ935v7vey HEiBAQ1bDjDSHMSmh34O3Q9X047eaJUCUDFzLew34opfaqi9b5g/iFwSW8VPD/hmCoY9vrEPz9tsA mcw1/OUog1vhTA==; From: Arash Esbati <arash@HIDDEN> To: gusbrs <gusbrs.2016@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex In-Reply-To: <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> (gusbrs's message of "Thu, 11 Apr 2024 10:08:16 -0300") References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> Date: Thu, 11 Apr 2024 17:45:57 +0200 Message-ID: <m27ch33nt6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) gusbrs <gusbrs.2016@HIDDEN> writes: > I can see you cursing me when you read this one. :-) > But, worse, much worse, I'm a sinner: I enable > `reftex-allow-detached-macro-args' and use it widely ("wildly" one > might say). I thought you were a nice guy, but that's about to change ;-) Persoally, I don't like detached args, but that's only me, and it's a matter of taste, so it doesn't really count. > An example from an actual document of mine: > > destes sobre os benef=C3=ADcios obtidos pelas diferentes partes envolvida= s e os > resultados gerais da valoriza=C3=A7=C3=A3o.\footcites(Sobre a primeira va= loriza=C3=A7=C3=A3o, > veja)() {Holloway1978} [40-88]{DelfimNo1959} [vol.~10, \pnfmt{55-218}, > vol.~11, \pnfmt{35-436}]{Taunay1941} [213-225]{Fausto1989} > [52-66]{Pelaez1971} [494-501]{Krasner1973} [410-463]{Calogeras1960} > [13-22]{Fritsch1988} [44-50, 188-195]{Love1980} [62-73, 84-91]{Topik1987} > [112-134]{Kugelmas1986} > > Or how about: > > militar, mas que contrastava com ele ao especificar detalhadamente as med= idas > a serem tomadas.\footnote{\cites[1917, vol.~II, sess=C3=A3o de 20/06/1917, > \pnfmt{125-131}]{AS} > % Assinado: > % Pires Ferreira (PI), presidente > % F. Mendes de Almeida (MA), relator > % A. Indio do Brasil (PA) > % Soares dos Santos (RS) > % todos militares > [1917, vol.~III, sess=C3=A3o de 04/07/1917, \pnfmt{30-34}]{AS}. A prim= eira > refer=C3=AAncia =C3=A9 a publica=C3=A7=C3=A3o original da leitura do pa= recer em plen=C3=A1rio, mas > > (I hope the email will preserve line breaks, but I think this should > be enough to grasp how bad it can get). Can you please try this on your files: --8<---------------cut here---------------start------------->8--- (defun reftex-all-used-citation-keys () "Return a list of all citation keys used in document." (reftex-access-scan-info) ;; FIXME: multicites macros provided by biblatex ;; are not covered in this function. (let ((files (reftex-all-document-files)) (re (concat "\\\\" "\\(?:" ;; biblatex volcite macros take these args: ;; \volcite[prenote]{volume}[pages]{key} ;; so cater for the first 3 args: (regexp-opt '("volcite" "Volcite" "pvolcite" "Pvolcite" "fvolcite" "ftvolcite" "svolcite" "Svolcite" "tvolcite" "Tvolcite" "avolcite" "Avolcite")) "\\(?:\\[[^]]*\\]\\)?" "{[^}]*}" "\\(?:\\[[^]]*\\]\\)?" "\\|" ;; Other cite macros usually go like: ;; \cite[prenote][postnote]{key} ;; so cater for the optional args: "\\(?:bibentry\\|[a-zA-Z]*[Cc]ite[a-zA-Z*]*\\)" "\\(?:\\[[^]]*\\]\\)\\{0,2\\}" "\\)" ;; Now match the key: "{\\([^}]+\\)}")) (re2 (concat "\\\\" (regexp-opt '("cites" "Cites" "parencites" "Parencites" "footcites" "footcitetexts" "smartcites" "Smartcites" "textcites" "Textcites" "supercites" "autocites" "Autocites" "volcites" "Volcites" "pvolcites" "Pvolcites" "fvolcites" "Fvolcites" "svolcites" "Svolcites" "tvolcites" "Tvolcites" "avolcites" "Avolcites")) "\\(?:([^)]*)\\)\\{0,2\\}")) (re3 (concat "\\(?:\\[[^]]*\\]\\)\\{0,2\\}" "{\\([^}]+\\)}")) file keys kk k) (save-current-buffer (while (setq file (pop files)) (set-buffer (reftex-get-file-buffer-force file 'mark)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward re nil t) ;; Make sure we're not inside a comment: (unless (save-match-data (nth 4 (syntax-ppss))) (setq kk (match-string-no-properties 1)) (while (string-match "%.*\n?" kk) (setq kk (replace-match "" t t kk))) (setq kk (split-string kk "[, \t\r\n]+")) (while (setq k (pop kk)) (or (member k keys) (setq keys (cons k keys))))))))) ;; Re-set `files': (setq files (reftex-all-document-files)) ;; And now search for citation lists: (while (setq file (pop files)) (set-buffer (reftex-get-file-buffer-force file 'mark)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward re2 nil t) ;; Make sure we're not inside a comment: (unless (save-match-data (nth 4 (syntax-ppss))) (while (progn ;; (and reftex-allow-detached-macro-args (while (looking-at "[ \t\r\n]+\\|%.*\n") (goto-char (match-end 0))) ;; ) (and (looking-at re3) (goto-char (match-end 0)))) (setq kk (match-string-no-properties 1)) (while (string-match "%.*\n?" kk) (setq kk (replace-match "" t t kk))) (setq kk (split-string kk "[, \t\r\n]+")) (while (setq k (pop kk)) (or (member k keys) (setq keys (cons k keys))))))))))) (reftex-kill-temporary-buffers) keys)) --8<---------------cut here---------------end--------------->8--- I think in this particular case, we should ignore the value of `reftex-allow-detached-macro-args'. > From AUCTeX/RefTeX's sides pretty much everything works, except that > you cannot detach the very first argument after the macro. (If I > recall correctly, this exception is due to an implementation detail in > font-latex.el, but I don't recall if I had filled this as a > mal-function or not, I'm just used to it by now. I also don't recall > if this exception affects only citation lists or is general, probably > general). Can you show a concrete example? > I did some light testing and it does indeed handle the MWE of the > original report, that is, the simplest cases. But it is easy to beat > it, you know it. Simply detaching the arguments with white space is > enough to fool it (that would be easy to fix, I guess). Any macro in > the pre- or postnotes which itself has an optional argument would fool > `re3' and break the loop (that would be hard to fix...). I will think about this one; we could allow one level of balanced braces inside the arg. > And, as you have noted yourself, a comment between two arguments would > also beat it. I'm sure you know much better than me how hard it is to > parse TeX arguments solely based on regexps (as opposed to sexp > navigation). Not always: Try "\foo[opti{]}onal]{}" in a .tex file, put point on [ and hit 'C-M-f'. > That said, I really don't recall what the "barely out of noobness five > year ago me" was up to when "he" opened this bug report. But gladly > people learn and, nowadays, I'd not even consider for this task > something which does not rely on generated files (.aux, .bcf, etc.) > instead of the main file. biber tool mode, bibtool, bibexport, there > are plenty of options (https://tex.stackexchange.com/q/41821/105447 > seems to be a good list). So, while the "old me" opened this report, > the "current me" would advise you not to invest much of your time in > this. It is a losing battle. You can improve things on the margin but > ultimately it will always remain a "good approximation". Unless, of > course, you want to go all out and start parsing the relevant > generated files. But I'm not sure RefTeX should invest in this, given > there are specialized tools for that. Agreed. > True, `reftex-create-bibtex-file' already exists, so it does pose the > question as to whether "let it wane", "marginally improve" or "replace > it with something better" is the best option. Not a question for me to > answer tough. ;-) I think AUCTeX/RefTeX are here, if we can improve them, we should do it. And if someone wants to replace it with something better, we can do it as well. It is always a matter of "I need that", and best case is one implements that as well. Best, Arash
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 11 Apr 2024 13:08:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 09:08:50 2024 Received: from localhost ([127.0.0.1]:55202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ruuAb-000867-Mv for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 09:08:50 -0400 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:47183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gtvbrs@HIDDEN>) id 1ruuAW-00084V-JE for 38249 <at> debbugs.gnu.org; Thu, 11 Apr 2024 09:08:47 -0400 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-dcc7cdb3a98so7305763276.2 for <38249 <at> debbugs.gnu.org>; Thu, 11 Apr 2024 06:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712840909; x=1713445709; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JGrT2wtv0WM6NgoRZ+LFCMzOOrm7tW1zVd+GmKNcu/M=; b=l9uoKXCpwnfN5cxuK/6HSWiUl35fznw4aW7YcsscVbyRnkWpM6zlU01dOTP8vQPRNZ VnlHdiU7zXGu37XeRtxYsDWarfLSqWxNXVzviDkUzN1Txflvr3WWhEYxnasJs1p/mm44 Y4xdQbnWoYKml1IrSS6yTfwjKGfOPp8+NmOaWTO/Ixdd0VetAbh1IdjrNGsSXwaKulTc 1iwHvPNPWYlKpaGPkXbdRbF6hDnzVaem//sr8vFvWk3h3wKyMhxVKzizwBu2uXkL+wh9 YiHSYpWeHPG23MgG1eaYRpWpBoTmymW2sI77fsxK1TPxaZ003DbMqipXK2xNN2gudQay jG1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712840909; x=1713445709; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JGrT2wtv0WM6NgoRZ+LFCMzOOrm7tW1zVd+GmKNcu/M=; b=HTwt/9NgX5ps/qc3/TOCucR6xbXD4WN2pfSgwJ3PE9F37/ZG9HQrIU4BW1/ghwCKC2 M3RNez7cs8R7YjT0gYUpH/1wo0W+w1OTFKJuHqV8sR3yUWoYPoEpI5st87DvBct6dxNS lJS+YrqAbcqaS4bNKtWl6CZ9si9sapbUSU9hmQH1k5n6M5QtNKtQsiCTrvR6P6TfQmee toqeDRJU0aEF/DFBrfIal0SuxmNAfguOdvCE6pHOSwJQA0EPvtX816SRuMQksqvcs7Px vQ82K6KdMEDVdYsHaDyxtUMF5pJLfMJqoJZ2Yrm+vwTnMo4mzCSztA71gZhYryCdRQL2 /NIg== X-Gm-Message-State: AOJu0YzbByG5GhkHNyGwjC2Kfk4v9s3pDBcHbnkRZDudh0QUfJVmjZYJ TSeTHSIIShsPsggHGY09jfzN0UNQ0LxoqortX7gW5Wv+MkB1ghnHdNQwInK2HgoNomxCc873QhA fLPMkdlHb7LSHmino65OUquZtk/LeaIv64pI= X-Google-Smtp-Source: AGHT+IEHFHnrZBMTpa/dfvL7wgQU53P+pzVVI7T9Wr+9yW3Lvs9EqNhxD+EmKCmrlvxQaS1yQj/4EofIflyAogRQWz8= X-Received: by 2002:a05:6902:382:b0:dda:a608:54bf with SMTP id f2-20020a056902038200b00ddaa60854bfmr5189461ybs.56.1712840907985; Thu, 11 Apr 2024 06:08:27 -0700 (PDT) MIME-Version: 1.0 References: <87tv72i8iw.fsf@HIDDEN> <m2o7ag47oj.fsf@HIDDEN> In-Reply-To: <m2o7ag47oj.fsf@HIDDEN> From: gusbrs <gusbrs.2016@HIDDEN> Date: Thu, 11 Apr 2024 10:08:16 -0300 Message-ID: <CAM9ALR-2toh65xF1HVnBPzO98fc_+iHxvVm2C0n1tB9csSDw_g@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex To: Arash Esbati <arash@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Arash, thank you for looking into this. On Thu, 11 Apr 2024 at 05:36, Arash Esbati <arash@HIDDEN> wrote: > How do you write these citation lists, especially the long one? I mean, > what is the syntax of the TeX parser for this? For example, do you > write: > > \textcites(See, for example)()[45]{sigfridsson}[67]{reese}[24]{companio= n} > > or > > \textcites(See, for example)()[45]{sigfridsson}% > [67]{reese}[24]{companion} > > and some such? I'm asking because for the version with everything in a > single line, the following change should work: I can see you cursing me when you read this one. :-) But, worse, much worse, I'm a sinner: I enable `reftex-allow-detached-macro-args' and use it widely ("wildly" one might say). An example from an actual document of mine: destes sobre os benef=C3=ADcios obtidos pelas diferentes partes envolvidas = e os resultados gerais da valoriza=C3=A7=C3=A3o.\footcites(Sobre a primeira valo= riza=C3=A7=C3=A3o, veja)() {Holloway1978} [40-88]{DelfimNo1959} [vol.~10, \pnfmt{55-218}, vol.~11, \pnfmt{35-436}]{Taunay1941} [213-225]{Fausto1989} [52-66]{Pelaez1971} [494-501]{Krasner1973} [410-463]{Calogeras1960} [13-22]{Fritsch1988} [44-50, 188-195]{Love1980} [62-73, 84-91]{Topik1987} [112-134]{Kugelmas1986} Or how about: militar, mas que contrastava com ele ao especificar detalhadamente as medid= as a serem tomadas.\footnote{\cites[1917, vol.~II, sess=C3=A3o de 20/06/1917, \pnfmt{125-131}]{AS} % Assinado: % Pires Ferreira (PI), presidente % F. Mendes de Almeida (MA), relator % A. Indio do Brasil (PA) % Soares dos Santos (RS) % todos militares [1917, vol.~III, sess=C3=A3o de 04/07/1917, \pnfmt{30-34}]{AS}. A primei= ra refer=C3=AAncia =C3=A9 a publica=C3=A7=C3=A3o original da leitura do pare= cer em plen=C3=A1rio, mas (I hope the email will preserve line breaks, but I think this should be enough to grasp how bad it can get). This is legit (La)TeX syntax, or at least valid (see https://tex.stackexchange.com/a/175359/105447). From AUCTeX/RefTeX's sides pretty much everything works, except that you cannot detach the very first argument after the macro. (If I recall correctly, this exception is due to an implementation detail in font-latex.el, but I don't recall if I had filled this as a mal-function or not, I'm just used to it by now. I also don't recall if this exception affects only citation lists or is general, probably general). (My ears feel hot by now, I don't know what might be going on. :-D ). > Do you want to give it a roll? I did some light testing and it does indeed handle the MWE of the original report, that is, the simplest cases. But it is easy to beat it, you know it. Simply detaching the arguments with white space is enough to fool it (that would be easy to fix, I guess). Any macro in the pre- or postnotes which itself has an optional argument would fool `re3' and break the loop (that would be hard to fix...). And, as you have noted yourself, a comment between two arguments would also beat it. I'm sure you know much better than me how hard it is to parse TeX arguments solely based on regexps (as opposed to sexp navigation). Despite that, I'd say this is still a good improvement relative to the current state of things, and you might want to go with it. That said, I really don't recall what the "barely out of noobness five year ago me" was up to when "he" opened this bug report. But gladly people learn and, nowadays, I'd not even consider for this task something which does not rely on generated files (.aux, .bcf, etc.) instead of the main file. biber tool mode, bibtool, bibexport, there are plenty of options (https://tex.stackexchange.com/q/41821/105447 seems to be a good list). So, while the "old me" opened this report, the "current me" would advise you not to invest much of your time in this. It is a losing battle. You can improve things on the margin but ultimately it will always remain a "good approximation". Unless, of course, you want to go all out and start parsing the relevant generated files. But I'm not sure RefTeX should invest in this, given there are specialized tools for that. True, `reftex-create-bibtex-file' already exists, so it does pose the question as to whether "let it wane", "marginally improve" or "replace it with something better" is the best option. Not a question for me to answer tough. ;-) WDYT? Best, gusbrs
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at 38249) by debbugs.gnu.org; 11 Apr 2024 08:37:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 04:37:14 2024 Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rupvi-0003tB-BV for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 04:37:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1rupvc-0003rQ-TY for 38249 <at> debbugs.gnu.org; Thu, 11 Apr 2024 04:37:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1rupvN-0008Qz-Lq; Thu, 11 Apr 2024 04:36:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=m8wDwBHsHjkMt9WJRWNoDZ7JzJQ8+8JxfdhTO2p5RPo=; b=TaYvxFxW2r3wf2Zgi1SF h9023qApcC5Qlx2NqXKN0+TGaM1/s+JHdCQkvm/NqUEpBMZvbdkV22Z6yCXAQlaCPKI25FmOxg2lJ 6Uwx6Dh+kD/QRYE4h5XjTNcu+DCHWSgTSds5083huE95oDKMZy56mt8aocC1DolzdWR4c4OnMMZVd mKhBwPVk83wVN+Hq6CxjuYCf0ZkewjKXOYd+HRKh45V/QX/GSql0Svo5wz6hdohnuVAupI1pyAQfZ itFyxBS4adFsjDsYeV/xldUW0ojvja8B6oshnqlxlSBAK0iU0M3Iy4QZ+hHA2BOZeKUK31K1oYMW1 AOnVJcho78YLhw==; From: Arash Esbati <arash@HIDDEN> To: Gustavo Barros <gusbrs.2016@HIDDEN> Subject: Re: bug#38249: 12.2.0; reftex-create-bibtex-file and biblatex In-Reply-To: <87tv72i8iw.fsf@HIDDEN> (Gustavo Barros's message of "Sun, 17 Nov 2019 16:57:37 -0300") References: <87tv72i8iw.fsf@HIDDEN> Date: Thu, 11 Apr 2024 10:36:44 +0200 Message-ID: <m2o7ag47oj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38249 Cc: 38249 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Gustavo, Gustavo Barros <gusbrs.2016@HIDDEN> writes: > `reftex-create-bibtex-file' is a neat RefTeX utility, but it doesn=E2=80= =99t=20 > seem to handle some peculiarities of `biblatex', namely: > > - `reftex-all-used-citation-keys', the auxiliary function used by=20 > `reftex-create-bibtex-file' to generate the list of entries cited in=20 > the document, does not include entries cited in qualified citation=20 > lists. How do you write these citation lists, especially the long one? I mean, what is the syntax of the TeX parser for this? For example, do you write: \textcites(See, for example)()[45]{sigfridsson}[67]{reese}[24]{companion} or \textcites(See, for example)()[45]{sigfridsson}% [67]{reese}[24]{companion} and some such? I'm asking because for the version with everything in a single line, the following change should work: --8<---------------cut here---------------start------------->8--- (defun reftex-all-used-citation-keys () "Return a list of all citation keys used in document." (reftex-access-scan-info) ;; FIXME: multicites macros provided by biblatex ;; are not covered in this function. (let ((files (reftex-all-document-files)) (re (concat "\\\\" "\\(?:" ;; biblatex volcite macros take these args: ;; \volcite[prenote]{volume}[pages]{key} ;; so cater for the first 3 args: (regexp-opt '("volcite" "Volcite" "pvolcite" "Pvolcite" "fvolcite" "ftvolcite" "svolcite" "Svolcite" "tvolcite" "Tvolcite" "avolcite" "Avolcite")) "\\(?:\\[[^]]*\\]\\)?" "{[^}]*}" "\\(?:\\[[^]]*\\]\\)?" "\\|" ;; Other cite macros usually go like: ;; \cite[prenote][postnote]{key} ;; so cater for the optional args: "\\(?:bibentry\\|[a-zA-Z]*[Cc]ite[a-zA-Z*]*\\)" "\\(?:\\[[^]]*\\]\\)\\{0,2\\}" "\\)" ;; Now match the key: "{\\([^}]+\\)}")) (re2 (concat "\\\\" (regexp-opt '("cites" "Cites" "parencites" "Parencites" "footcites" "footcitetexts" "smartcites" "Smartcites" "textcites" "Textcites" "supercites" "autocites" "Autocites" "volcites" "Volcites" "pvolcites" "Pvolcites" "fvolcites" "Fvolcites" "svolcites" "Svolcites" "tvolcites" "Tvolcites" "avolcites" "Avolcites")) "\\(?:([^)]*)\\)\\{0,2\\}")) (re3 (concat "\\(?:\\[[^]]*\\]\\)\\{0,2\\}" "{\\([^}]+\\)}")) file keys kk k) (save-current-buffer (while (setq file (pop files)) (set-buffer (reftex-get-file-buffer-force file 'mark)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward re nil t) ;; Make sure we're not inside a comment: (unless (save-match-data (nth 4 (syntax-ppss))) (setq kk (match-string-no-properties 1)) (while (string-match "%.*\n?" kk) (setq kk (replace-match "" t t kk))) (setq kk (split-string kk "[, \t\r\n]+")) (while (setq k (pop kk)) (or (member k keys) (setq keys (cons k keys))))))))) ;; Re-set `files': (setq files (reftex-all-document-files)) ;; And now search for citation lists: (while (setq file (pop files)) (set-buffer (reftex-get-file-buffer-force file 'mark)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward re2 nil t) ;; Make sure we're not inside a comment: (unless (save-match-data (nth 4 (syntax-ppss))) (while (and (looking-at re3) (goto-char (match-end 0))) (setq kk (match-string-no-properties 1)) (while (string-match "%.*\n?" kk) (setq kk (replace-match "" t t kk))) (setq kk (split-string kk "[, \t\r\n]+")) (while (setq k (pop kk)) (or (member k keys) (setq keys (cons k keys))))))))))) (reftex-kill-temporary-buffers) keys)) --8<---------------cut here---------------end--------------->8--- Do you want to give it a roll? > - `reftex-create-bibtex-file' handles the traditional BibTeX `crossref'=20 > and `string' fields, but biblatex extends data inheritance and entry=20 > cross-reference with such fields as `xref', `xdata' and `set', which=20 > are not taken care of. I have to think about this one. Best, Arash
bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Nov 2019 19:57:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 14:57:51 2019 Received: from localhost ([127.0.0.1]:42709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iWQgB-0006bd-2v for submit <at> debbugs.gnu.org; Sun, 17 Nov 2019 14:57:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:34727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg9-0006bV-Cb for submit <at> debbugs.gnu.org; Sun, 17 Nov 2019 14:57:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57094) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg7-0001jO-AQ for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,FILL_THIS_FORM, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg5-0002qK-AB for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:47 -0500 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]:42865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg5-0002p0-22 for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:45 -0500 Received: by mail-qt1-x844.google.com with SMTP id t20so17715605qtn.9 for <bug-auctex@HIDDEN>; Sun, 17 Nov 2019 11:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:message-id:date:mime-version :content-transfer-encoding; bh=SJg4Y/vrc6pl7eAEWmsVOyADSfNaZn72I5k1Np/pXx4=; b=Ppew1GbFyAY1lbrSnTwJJuPuw0Tjd76+895SZpipDuiOkSa6NAfRClaCGso9mLqZnk mn9pN/PJhQQqhKO26Om6HUu0kmAdhgYIrYuCEz7FNF7Vmn4nrHoyGY28HmvYN9EWwQK+ /2mUpRtOQ+7FqHYxuXCHs0oZuWKhN9MQhpDB40eSWhMWFu9gD4J2os584b5uHM9n7Pzw WFTTVH1/PSssdUXFMyxe73Zaq3XoakD4jtUBuY1ENIrigqkLFxV/3TdgIT3RTPP+XoQx rJxgmZmwdFYLszD/dAZ64u7JS4Obs8KYh3An1qeZ+Cob0eckiQUMUN6j+feN9CQOVclu 8Kmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:message-id :date:mime-version:content-transfer-encoding; bh=SJg4Y/vrc6pl7eAEWmsVOyADSfNaZn72I5k1Np/pXx4=; b=h2w6kECl4BAB4O9mj1CgrMRfKOubPcF+MF1i4og/mNQcNsbYudtIvMeJAXo4a9i7Yq FJ8EhYMBIqa46WADnIea11wX/VBy+d0SaZib4S+jGs9BYNqHzvB4LEReg0YkAVhwYofT yhjA0cGNDOz1C0uCjx7BPBR3/cszsy27RBUtZpU4t8vAVR/v/3JiOiRYVrIxxl7hEi9Y DeIQfbmVngALm7HrtuiCbHlTK5LROk8vA2HOq1pOoJ1DBDTwElDQ+bKTA8/G5oCcIh/E 6hAbAkkq8GzPe5q9rWnMFF4XClMT2caeLnYycPTHewA9kKdfFuK6H4ZwJXeqFgCyeZod FkgA== X-Gm-Message-State: APjAAAX/jW9cFf8SXVdpEIC+Fqf9OBVIBw1K951QcuNSmGL9qxQHMANR Hp9z0QizWlhbLHt0TPmgcOT9jK/9NI8= X-Google-Smtp-Source: APXvYqzBBL9jajW30COQSL5Fcc1ApeI2AuKNlmEJPoDMf/E5u5Z2GcP9bpIkXuT4ijFBzSBXGRZ09Q== X-Received: by 2002:aed:2ac2:: with SMTP id t60mr24234899qtd.376.1574020662109; Sun, 17 Nov 2019 11:57:42 -0800 (PST) Received: from gusbrs-laptop ([179.178.160.106]) by smtp.gmail.com with ESMTPSA id w30sm9371408qtc.47.2019.11.17.11.57.39 for <bug-auctex@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Nov 2019 11:57:41 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Gustavo Barros <gusbrs.2016@HIDDEN> To: bug-auctex@HIDDEN Subject: 12.2.0; reftex-create-bibtex-file and biblatex Message-ID: <87tv72i8iw.fsf@HIDDEN> Date: Sun, 17 Nov 2019 16:57:37 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::844 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) Hi all, `reftex-create-bibtex-file' is a neat RefTeX utility, but it doesn=E2=80=99= t=20 seem to handle some peculiarities of `biblatex', namely: - `reftex-all-used-citation-keys', the auxiliary function used by=20 `reftex-create-bibtex-file' to generate the list of entries cited in=20 the document, does not include entries cited in qualified citation=20 lists. - `reftex-create-bibtex-file' handles the traditional BibTeX `crossref'=20 and `string' fields, but biblatex extends data inheritance and entry=20 cross-reference with such fields as `xref', `xdata' and `set', which=20 are not taken care of. A MWE which illustrates these cases is: #+begin_export latex \documentclass{article} \usepackage[minxrefs=3D1]{biblatex} \usepackage{filecontents} \begin{filecontents}{mwe_bib.bib} @article{sigfridsson, author =3D {Sigfridsson, Emma and Ryde, Ulf}, title =3D {Comparison of methods for deriving atomic charges from= =20 the electrostatic potential and moments}, journaltitle =3D {Journal of Computational Chemistry}, date =3D 1998, volume =3D 19, number =3D 4, pages =3D {377-395}, doi =3D=20 {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P}, } @article{reese, author =3D {Reese, Trevor R.}, title =3D {Georgia in {Anglo-Spanish} Diplomacy, 1736--1739}, journaltitle =3D {William and Mary Quarterly}, date =3D 1958, series =3D 3, volume =3D 15, pages =3D {168-190}, } @book{companion, author =3D {Goossens, Michel and Mittelbach, Frank and Samarin,=20 Alexander}, title =3D {The {LaTeX} Companion}, date =3D 1994, edition =3D 1, publisher =3D {Addison-Wesley}, location =3D {Reading, Mass.}, pagetotal =3D 528, } @incollection{westfahl:space, author =3D {Westfahl, Gary}, title =3D {The True Frontier}, subtitle =3D {Confronting and Avoiding the Realities of Space in=20 {American} Science Fiction Films}, pages =3D {55-65}, xref =3D {westfahl:frontier}, } @collection{westfahl:frontier, editor =3D {Westfahl, Gary}, title =3D {Space and Beyond}, date =3D 2000, subtitle =3D {The Frontier Theme in Science Fiction}, publisher =3D {Greenwood}, location =3D {Westport, Conn. and London}, } @xdata{hup, publisher =3D {Harvard University Press}, location =3D {Cambridge, Mass.}, } @incollection{pines, author =3D {Pines, Shlomo}, editor =3D {Twersky, Isadore}, title =3D {The Limitations of Human Knowledge According to=20 {Al-Farabi}, {ibn Bajja}, and {Maimonides}}, date =3D 1979, booktitle =3D {Studies in Medieval {Jewish} History and Literature}, xdata =3D {hup}, pages =3D {82-109}, shorttitle =3D {Limitations of Human Knowledge}, } @set{stdmodel, entryset =3D {glashow,weinberg,salam}, annotation =3D {A \texttt{set} with three members discussing the=20 standard model of particle physics.}, } @article{glashow, author =3D {Glashow, Sheldon}, title =3D {Partial Symmetries of Weak Interactions}, journaltitle =3D {Nucl.~Phys.}, date =3D 1961, volume =3D 22, pages =3D {579-588}, } @article{weinberg, author =3D {Weinberg, Steven}, title =3D {A Model of Leptons}, journaltitle =3D {Phys.~Rev.~Lett.}, date =3D 1967, volume =3D 19, pages =3D {1264-1266}, } @inproceedings{salam, author =3D {Salam, Abdus}, editor =3D {Svartholm, Nils}, title =3D {Weak and Electromagnetic Interactions}, date =3D 1968, booktitle =3D {Elementary particle theory}, booksubtitle =3D {Relativistic groups and analyticity}, booktitleaddon=3D {Proceedings of the {Eighth Nobel Symposium}}, eventdate =3D {1968-05-19/1968-05-25}, venue =3D {Aspen{\"a}sgarden, Lerum}, publisher =3D {Almquist \& Wiksell}, location =3D {Stockholm}, pages =3D {367-377}, } \end{filecontents} \addbibresource{mwe_bib.bib} \begin{document} % Entries cited in qualified citation lists are missing in the file=20 generated by `reftex-create-bibtex-file'. \cites(See, for example)()[45]{sigfridsson}[67]{reese}[24]{companion}. \textcites(See, for=20 example)()[45]{sigfridsson}[67]{reese}[24]{companion}. \parencites(See, for=20 example)()[45]{sigfridsson}[67]{reese}[24]{companion}. % Entry `westfahl:space' xref's entry `westfahl:frontier'. The latter=20 should be included in the bibliography, given option `minxrefs=3D1', but= =20 it is missing in the file generated by `reftex-create-bibtex-file'. \cite{westfahl:space}. % Entry `pines' uses xdata from entry `hup', but the latter is missing=20 in the file generated by `reftex-create-bibtex-file'. \cite{pines}. % Set `stdmodel' is composed by entries `glashow', `weinberg' and=20 `salam', wich are missing in the file generated by=20 `reftex-create-bibtex-file'. \cite{stdmodel}. \printbibliography{} \end{document} #+end_export The content of the file generated by `reftex-create-bibtex-file' on the=20 above MWE is: #+begin_example @incollection{westfahl:space, author =3D {Westfahl, Gary}, title =3D {The True Frontier}, subtitle =3D {Confronting and Avoiding the Realities of Space in=20 {American} Science Fiction Films}, pages =3D {55-65}, xref =3D {westfahl:frontier}, } @incollection{pines, author =3D {Pines, Shlomo}, editor =3D {Twersky, Isadore}, title =3D {The Limitations of Human Knowledge According to=20 {Al-Farabi}, {ibn Bajja}, and {Maimonides}}, date =3D 1979, booktitle =3D {Studies in Medieval {Jewish} History and Literature}, xdata =3D {hup}, pages =3D {82-109}, shorttitle =3D {Limitations of Human Knowledge}, } @set{stdmodel, entryset =3D {glashow,weinberg,salam}, annotation =3D {A \texttt{set} with three members discussing the=20 standard model of particle physics.}, } #+end_example However, all the entries initially provided are required for the MWE to=20 work correctly. Best regards, Gustavo Barros. Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version=20 3.22.30) of 2019-11-11 Package: 12.2.0 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2019-10-31" window-system 'x LaTeX-version "2e" TeX-style-path '("/home/gustavo/.emacs.d/auctex" "/home/gustavo/.emacs.d/elpa/auctex-12.2.0/style" "/home/gustavo/.emacs.d/AUCTeX/auto" "/home/gustavo/.emacs.d/AUCTeX/style" ".auctex-auto" "auctex-style") TeX-auto-save t TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts)=20 %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode=20 texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t"=20 TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info=20 output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts)=20 %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts)=20 %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt=20 once") ("ConTeXt Full" "%(cntxcom) %(extraopts)=20 %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help=20 "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the=20 file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible=20 TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %s" TeX-run-command=20 nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary\n=20 file") ("Index" "makeindex %s" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %s" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil=20 (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil=20 (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")"=20 TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t=20 :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an=20 arbitrary command") ("make4odt" "make4ht -f odt %t" TeX-run-TeX nil=20 (latex-mode)) ("make4html" "make4ht -uf html5+tidy %t" TeX-run-TeX=20 nil (latex-mode)) ("Arara" "arara --verbose %s" TeX-run-TeX nil t=20 :help "Run Arara.") ) )
Gustavo Barros <gusbrs.2016@HIDDEN>
:bug-auctex@HIDDEN
.
Full text available.bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.