GNU bug report logs - #49018
28.0.50;[PATCH] Add tex-start-options to tex-compile-commands

Previous Next

Package: emacs;

Reported by: Utkarsh Singh <utkarsh190601 <at> gmail.com>

Date: Mon, 14 Jun 2021 09:37:01 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49018 in the body.
You can then email your comments to 49018 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Mon, 14 Jun 2021 09:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Utkarsh Singh <utkarsh190601 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 14 Jun 2021 09:37:01 GMT) Full text and rfc822 format available.

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

From: Utkarsh Singh <utkarsh190601 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50;[PATCH] Add tex-start-options to tex-compile-commands
Date: Mon, 14 Jun 2021 15:06:36 +0530
Hi,

Tex-mode support a defcustom called `tex-start-options' which can be
used to provide command line options to Tex programs but
`tex-compile-command' variable ignores this defcustom which is used in
function `tex-compile' to compile Tex documents.

LaTex provides a package called 'minted' which is a generic syntax
highlighter, it requires '--shell-escape' as command line option to work
properly.

From 22eb119d897077ad42c7d345977979e385bd16ed Mon Sep 17 00:00:00 2001
From: Utkarsh Singh <utkarsh190601 <at> gmail.com>
Date: Mon, 14 Jun 2021 14:51:23 +0530
Subject: [PATCH] tex-mode.el: Add tex-start-options to tex-compile-commands

---
 lisp/textmodes/tex-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index a805c8952f..8b8108cb97 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -2132,6 +2132,7 @@ tex-use-reftex
 (defvar tex-compile-commands
   `(,@(mapcar (lambda (prefix)
                 `((concat ,prefix tex-command
+                          " " tex-start-options
                           " " (if (< 0 (length tex-start-commands))
                                   (shell-quote-argument tex-start-commands))
                           " %f")
-- 
2.32.0

-- 
Utkarsh Singh
http://utkarshsingh.xyz




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Mon, 14 Jun 2021 13:16:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Utkarsh Singh <utkarsh190601 <at> gmail.com>
Cc: 49018 <at> debbugs.gnu.org
Subject: Re: bug#49018: 28.0.50;[PATCH] Add tex-start-options to
 tex-compile-commands
Date: Mon, 14 Jun 2021 15:15:01 +0200
Utkarsh Singh <utkarsh190601 <at> gmail.com> writes:

> Subject: [PATCH] tex-mode.el: Add tex-start-options to tex-compile-commands

Makes sense, I think.  However, even if this is a very small patch,
there's already four patches from you in Emacs, so I think this would
put you over the limit as to what we can accept without copyright
assignment for the FSF.  I forget -- did you already start that process?
If not, would you be willing to do so?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Mon, 14 Jun 2021 17:11:02 GMT) Full text and rfc822 format available.

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

From: Utkarsh Singh <utkarsh190601 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 49018 <at> debbugs.gnu.org
Subject: Re: bug#49018: 28.0.50;[PATCH] Add tex-start-options to
 tex-compile-commands
Date: Mon, 14 Jun 2021 22:40:58 +0530
Hi Lars,

On 2021-06-14, 15:15 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Makes sense, I think.  However, even if this is a very small patch,
> there's already four patches from you in Emacs, so I think this would
> put you over the limit as to what we can accept without copyright
> assignment for the FSF.  I forget -- did you already start that process?
> If not, would you be willing to do so?

Currently my copyright assignment is being processed, actually I am the
one causing the delay.  I will update you when it's completed.

-- 
Utkarsh Singh
http://utkarshsingh.xyz




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Tue, 15 Jun 2021 13:49:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Utkarsh Singh <utkarsh190601 <at> gmail.com>
Cc: 49018 <at> debbugs.gnu.org
Subject: Re: bug#49018: 28.0.50;[PATCH] Add tex-start-options to
 tex-compile-commands
Date: Tue, 15 Jun 2021 15:48:43 +0200
Utkarsh Singh <utkarsh190601 <at> gmail.com> writes:

> Currently my copyright assignment is being processed, actually I am the
> one causing the delay.  I will update you when it's completed.

Great.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Tue, 22 Jun 2021 03:40:01 GMT) Full text and rfc822 format available.

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

From: Utkarsh Singh <utkarsh190601 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 49018 <at> debbugs.gnu.org
Subject: Re: bug#49018: 28.0.50;[PATCH] Add tex-start-options to
 tex-compile-commands
Date: Tue, 22 Jun 2021 09:09:45 +0530
Hi Lars,

On 2021-06-15, 15:48 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Utkarsh Singh <utkarsh190601 <at> gmail.com> writes:
>
>> Currently my copyright assignment is being processed, actually I am the
>> one causing the delay.  I will update you when it's completed.
>
> Great.  :-)

My CLA has been completed on 2021-06-21.

Thank you,
Utkarsh Singh

-- 
Utkarsh Singh
http://utkarshsingh.xyz




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49018; Package emacs. (Tue, 22 Jun 2021 13:09:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Utkarsh Singh <utkarsh190601 <at> gmail.com>
Cc: 49018 <at> debbugs.gnu.org
Subject: Re: bug#49018: 28.0.50;[PATCH] Add tex-start-options to
 tex-compile-commands
Date: Tue, 22 Jun 2021 15:08:29 +0200
Utkarsh Singh <utkarsh190601 <at> gmail.com> writes:

> My CLA has been completed on 2021-06-21.

Great; I've now applied and pushed your patch to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 49018 <at> debbugs.gnu.org and Utkarsh Singh <utkarsh190601 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 22 Jun 2021 13:09:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Jul 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 251 days ago.

Previous Next


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