GNU bug report logs - #35128
12.1.2; C-u ` <symbol> puts cursor before closing dollar sign

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Todor Tsankov <tt.debian@HIDDEN>; Keywords: fixed patch; dated Wed, 3 Apr 2019 18:19:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.
Added tag(s) fixed. Request was from Ikumi Keita <ikumi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 35128 <at> debbugs.gnu.org:


Received: (at 35128) by debbugs.gnu.org; 6 Apr 2019 11:41:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 06 07:41:08 2019
Received: from localhost ([127.0.0.1]:46621 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hCjh5-0003j1-C1
	for submit <at> debbugs.gnu.org; Sat, 06 Apr 2019 07:41:08 -0400
Received: from smtp1.inetd.co.jp ([210.129.88.11]:33136)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1hCjh2-0003io-I9
 for 35128 <at> debbugs.gnu.org; Sat, 06 Apr 2019 07:41:05 -0400
Received: from localhost (210-20-200-15.rev.home.ne.jp [210.20.200.15])
 by smtp1.inetd.co.jp (Postfix) with ESMTPA id A29D77C;
 Sat,  6 Apr 2019 20:41:01 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: Todor Tsankov <tt.debian@HIDDEN>
Subject: Re: bug#35128: 12.1.2;
 C-u ` <symbol> puts cursor before closing dollar sign
In-reply-to: <b6352807-2baf-e65d-60c8-cc36b0e2ee08@HIDDEN>
References: <15d7c872-14ea-e019-b258-3f0536693984@HIDDEN>
 <3159.1554399109@localhost> <b6352807-2baf-e65d-60c8-cc36b0e2ee08@HIDDEN>
Comments: In-reply-to Todor Tsankov <tt.debian@HIDDEN>
 message dated "Fri, 05 Apr 2019 22:34:22 -0700."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <8710.1554550860.1@localhost>
Date: Sat, 06 Apr 2019 20:41:00 +0900
Message-ID: <8711.1554550860@localhost>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35128
Cc: 35128 <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 (-)

>>>>> Todor Tsankov <tt.debian@HIDDEN> writes:

> The new function works for me. Thanks for the quick reaction and for the
> fix!

Thanks for confirmation.  I installed the fix in the git repository.

Best,
Ikumi Keita




Information forwarded to bug-auctex@HIDDEN:
bug#35128; Package auctex. Full text available.

Message received at 35128 <at> debbugs.gnu.org:


Received: (at 35128) by debbugs.gnu.org; 6 Apr 2019 05:34:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 06 01:34:37 2019
Received: from localhost ([127.0.0.1]:46472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hCdyP-0001DV-A6
	for submit <at> debbugs.gnu.org; Sat, 06 Apr 2019 01:34:37 -0400
Received: from smtpng3.m.smailru.net ([94.100.177.149]:42286)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tt.debian@HIDDEN>) id 1hCdyM-0001DG-Qf
 for 35128 <at> debbugs.gnu.org; Sat, 06 Apr 2019 01:34:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru;
 s=mail2; 
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject;
 bh=VZC8u1FaHXzu/EXCDofuIUTy+95fXC9ITYllWdc09W8=; 
 b=mw3co6RVfRg+eG8FwG3HRPYY3l7t19iqic6LZxoxxuglzqDKnn8Itdy3VAVHa8oczunmUS8iD8er6orIg1z4i8A2BKXYza7cSR8VXgtQLjdMZ4WHu1FD3W49uGPMGyKlCVv2uEZYnFbsjoA8b4v6/LOPMANgSQPeiJHAKOYhMkw=;
Received: by smtpng3.m.smailru.net with esmtpa (envelope-from
 <tt.debian@HIDDEN>)
 id 1hCdyE-0003GD-VN; Sat, 06 Apr 2019 08:34:27 +0300
Subject: Re: bug#35128: 12.1.2; C-u ` <symbol> puts cursor before closing
 dollar sign
To: Ikumi Keita <ikumi@HIDDEN>
References: <15d7c872-14ea-e019-b258-3f0536693984@HIDDEN>
 <3159.1554399109@localhost>
From: Todor Tsankov <tt.debian@HIDDEN>
Message-ID: <b6352807-2baf-e65d-60c8-cc36b0e2ee08@HIDDEN>
Date: Fri, 5 Apr 2019 22:34:22 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <3159.1554399109@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Authentication-Results: smtpng3.m.smailru.net;
 auth=pass smtp.auth=tt.debian@HIDDEN
 smtp.mailfrom=tt.debian@HIDDEN
X-77F55803: 2D1AD755E866B1545A78504BD2AC29418FE6238DCB65762E89ECF983D7B8B10D88F618E673A97F52F979233CF47C02CF
X-7FA49CB5: 0D63561A33F958A5C84D11D28144F4664C357BD5D54B15399A435BED7848BA348941B15DA834481FA18204E546F3947CD2DCF9CF1F528DBCF6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B974A882099E279BDA471835C12D1D977C4224003CC836476C0CAF46E325F83A522CA9DD8327EE493B89ED3C7A628178106747F940A19231D9518D868E143F77B731C566533BA786A40A5AABA2AD371193C9F3DD0FB1AF5EB6BDDD5131A82B29C2623479134186CDE6BA297DBC24807EABDAD6C7F3747799A
X-Mailru-Sender: 689FA8AB762F739359CD701D0F70D3B13AFE62E7F24A1D1242A8952D1B91D1911646EBDE42D3894B78BE569BC5BE87F41D988CFDBCA51818ACA15A9D01AF375D2426A9611C05C7F96D641EACA40F3D86221F13F98F33C7E30D4ABDE8C577C2ED
X-Mras: OK
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35128
Cc: 35128 <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 (-)

On 04/04/2019 10:31, Ikumi Keita wrote:
> Hi Tsankov,
> 
>>>>>> Todor Tsankov <tt.debian@HIDDEN> writes:
>> The math prefix command "`" with a prefix argument allows to quickly
>> insert mathematical symbols surrounded by dollar signs. After this
>> command, AucTeX places the cursor before the closing dollar sign, so one
>> needs an extra keystroke to move forward and continue typing after that.
>> This did not happen in version 11.91, where the cursor was placed after
>> the closing dollar sign, so it can be considered a regression. This is
>> quite annoying for me: I mostly use this command to insert single
>> symbols (for example Greek letters) in the text.
> 
> Thanks for reporting the bug.  This is a regression in an attempt to
> wrap the whole "\langle" and "\rangle" pair inside the dollar signs,
> when one types "`" followed by "(".
> 
> I hope that the following definition for the function
> `LaTeX-math-insert' would fix the bug.  Could you test it if you know
> how to do that?
> 

The new function works for me. Thanks for the quick reaction and for the
fix!

Best,
Todor




Information forwarded to bug-auctex@HIDDEN:
bug#35128; Package auctex. Full text available.
Added tag(s) patch. Request was from Ikumi Keita <ikumi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 35128 <at> debbugs.gnu.org:


Received: (at 35128) by debbugs.gnu.org; 4 Apr 2019 17:31:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 04 13:31:57 2019
Received: from localhost ([127.0.0.1]:44642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hC6DU-0005tk-Mo
	for submit <at> debbugs.gnu.org; Thu, 04 Apr 2019 13:31:56 -0400
Received: from smtp1.inetd.co.jp ([210.129.88.11]:34592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1hC6DS-0005tY-73
 for 35128 <at> debbugs.gnu.org; Thu, 04 Apr 2019 13:31:55 -0400
Received: from localhost (210-20-200-15.rev.home.ne.jp [210.20.200.15])
 by smtp1.inetd.co.jp (Postfix) with ESMTPA id C066074;
 Fri,  5 Apr 2019 02:31:50 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: Todor Tsankov <tt.debian@HIDDEN>
Subject: Re: bug#35128: 12.1.2;
 C-u ` <symbol> puts cursor before closing dollar sign
In-reply-to: <15d7c872-14ea-e019-b258-3f0536693984@HIDDEN>
References: <15d7c872-14ea-e019-b258-3f0536693984@HIDDEN>
Comments: In-reply-to Todor Tsankov <tt.debian@HIDDEN>
 message dated "Wed, 03 Apr 2019 20:18:33 +0200."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3158.1554399109.1@localhost>
Date: Fri, 05 Apr 2019 02:31:49 +0900
Message-ID: <3159.1554399109@localhost>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35128
Cc: 35128 <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 Tsankov,

>>>>> Todor Tsankov <tt.debian@HIDDEN> writes:
> The math prefix command "`" with a prefix argument allows to quickly
> insert mathematical symbols surrounded by dollar signs. After this
> command, AucTeX places the cursor before the closing dollar sign, so one
> needs an extra keystroke to move forward and continue typing after that.
> This did not happen in version 11.91, where the cursor was placed after
> the closing dollar sign, so it can be considered a regression. This is
> quite annoying for me: I mostly use this command to insert single
> symbols (for example Greek letters) in the text.

Thanks for reporting the bug.  This is a regression in an attempt to
wrap the whole "\langle" and "\rangle" pair inside the dollar signs,
when one types "`" followed by "(".

I hope that the following definition for the function
`LaTeX-math-insert' would fix the bug.  Could you test it if you know
how to do that?

To other maintainers: The new definition contains a fix to behave
correctly when active region is in effect.  Now typing "`" followed by,
say, "^", wraps the text in the active region in "\hat{}", even when the
prefix C-u is given and the point is placed at the end of the active
region.  (This issue is not a regression brought by me.  It has been in
AUCTeX since long before.)

Regards,
Ikumi Keita

(defun LaTeX-math-insert (string dollar)
  "Insert \\STRING{}.  If DOLLAR is non-nil, put $'s around it.
If `TeX-electric-math' is non-nil wrap that symbols around the
string."
  (let ((active (TeX-active-mark))
	(m (make-marker))
	closer)
    (if (and active (> (point) (mark)))
	(exchange-point-and-mark))
    (when dollar
      (insert (or (car TeX-electric-math) "$"))
      (save-excursion
	(if active (goto-char (mark)))
	;; Store closer string for later reference.
	(setq closer (or (cdr TeX-electric-math) "$"))
	(insert closer)
	;; Set temporal marker to decide whether to put the point
	;; after the math mode closer or not.
	(set-marker m (point))))
    (funcall LaTeX-math-insert-function string)
    ;; If the above `LaTeX-math-insert-function' resulted in
    ;; inserting, e.g., a pair of "\langle" and "\rangle" by
    ;; typing "`(", keep the point between them.  Otherwise
    ;; move the point after the math mode closer.
    (if (and dollar
	     (= m (+ (point) (length closer))))
	(goto-char m))
    ;; Make temporal marker point nowhere not to slow down the
    ;; subsequent editing in the buffer.
    (set-marker m nil)))





Information forwarded to bug-auctex@HIDDEN:
bug#35128; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 18:18:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 03 14:18:50 2019
Received: from localhost ([127.0.0.1]:43176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hBkTK-00075Q-7J
	for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 14:18:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tt.debian@HIDDEN>) id 1hBkTH-00075C-3Y
 for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 14:18:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:39715)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tt.debian@HIDDEN>) id 1hBkTB-00022v-Py
 for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 14:18:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54114)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tt.debian@HIDDEN>) id 1hBkTA-0004Hn-E1
 for bug-auctex@HIDDEN; Wed, 03 Apr 2019 14:18:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tt.debian@HIDDEN>) id 1hBkT9-0001yl-7y
 for bug-auctex@HIDDEN; Wed, 03 Apr 2019 14:18:40 -0400
Received: from smtp60.i.mail.ru ([217.69.128.40]:60282)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tt.debian@HIDDEN>) id 1hBkT8-0001pV-DL
 for bug-auctex@HIDDEN; Wed, 03 Apr 2019 14:18:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru;
 s=mail2; 
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:To;
 bh=GJfoY3t/VEuUxU1xtDurwStMGzUNfBG5azRPoNPzB+M=; 
 b=iYTFJTNoacStH5Kqx8DTmkhOhgarcWdQqn0hd4ioUBvwR1sihmquCibN0tyS1bT9tCn2ft6PIRgfvwNf6OexjTNIMUdY2rp8gfhUT4n9jmGycmyIzVGvShzrbjE033KiBVFEm5QLWotjS7aZWa64LOd+tSklMtAXgFxSoTtiKeY=;
Received: by smtp60.i.mail.ru with esmtpa (envelope-from <tt.debian@HIDDEN>)
 id 1hBkT4-0003Jj-D6
 for bug-auctex@HIDDEN; Wed, 03 Apr 2019 21:18:34 +0300
To: bug-auctex@HIDDEN
From: Todor Tsankov <tt.debian@HIDDEN>
Subject: 12.1.2; C-u ` <symbol> puts cursor before closing dollar sign
Message-ID: <15d7c872-14ea-e019-b258-3f0536693984@HIDDEN>
Date: Wed, 3 Apr 2019 20:18:33 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en_US
Content-Transfer-Encoding: 7bit
Authentication-Results: smtp60.i.mail.ru; auth=pass smtp.auth=tt.debian@HIDDEN
 smtp.mailfrom=tt.debian@HIDDEN
X-77F55803: CF41D5CA8C6D3C0C7F9F52485CB584D7FE68477BFBFC01B482B312C76D781F64FB868AB45D5610AE62E962F8C7FF0BE4074A40F52AF1438D
X-7FA49CB5: 0D63561A33F958A5DFC98D07C799AF955CD2743BED2A1DB1273E5AEF61941FFE8941B15DA834481FA18204E546F3947CB861051D4BA689FCF6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B3A703B70628EAD7BA471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249A240AA100E89C4EC3AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE7967168D0166C962CCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE77B8A461A80339E2D8FA038A1F39AEA4875ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC8519DC0BE04022C72727F269C8F02392CD5571747095F342E88FB05168BE4CE3AF
X-Mailru-Sender: 5CC720418FBFCD100129AB5CB3149A47220E170A9935F9A87866E3A20D4021CECA051C13401809B8EBB3DCAAC2C4CE5B9314192DE98EED7F028C21F86B62436F9DF8B2A409BE323FF7BD29934E560DCEE96FF52F074A4893B93E98C39DA16A030DA7A0AF5A3A8387
X-Mras: OK
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 217.69.128.40
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
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: -0.0 (/)

Dear maintainer,

The math prefix command "`" with a prefix argument allows to quickly
insert mathematical symbols surrounded by dollar signs. After this
command, AucTeX places the cursor before the closing dollar sign, so one
needs an extra keystroke to move forward and continue typing after that.
This did not happen in version 11.91, where the cursor was placed after
the closing dollar sign, so it can be considered a regression. This is
quite annoying for me: I mostly use this command to insert single
symbols (for example Greek letters) in the text.

In case this change was intentional, please provide a configuration
option to revert to the old behaviour (which, in my opinion, makes more
sense).

Thank you for maintaining AucTeX!

Regards,
Todor


Emacs  : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-09-15, modified by Debian
Package: 12.1.2

current state:
==============
(setq
 AUCTeX-date "2019-02-08"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
"/home/todor/.emacs.d/elpa/auctex-12.1.2/style"
                  "/home/todor/.emacs.d/auctex/auto"
"/home/todor/.emacs.d/auctex/style"
                  "auto" "style")
 TeX-auto-save nil
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %`%(extraopts)
%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil (plain-tex-mode ams-tex-mode
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"
TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "amstex %(PDFout) %`%(extraopts)
%S%(mode)%' %t" TeX-run-TeX
                     nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts)
%(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt
once")
                    ("ConTeXt Full" "%(cntxcom) %(extraopts)
%(execopts)%t" TeX-run-TeX
                     nil (context-mode) :help "Run ConTeXt until
completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run
Biber")
                    ("View" "%V" TeX-run-discard-or-function t t :help
"Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the
file")
                    ("Queue" "%q" TeX-run-background nil t :help "View
the printer queue"
                     :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help
                     "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t
:help
                     "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
                     "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help
                     "Convert PostScript file to PDF")
                    ("Glossaries" "makeglossaries %s" TeX-run-command
nil t :help
                     "Run makeglossaries to create glossary file")
                    ("Index" "makeindex %s" TeX-run-index nil t :help
                     "Run makeindex to create index file")
                    ("upMendex" "upmendex %s" TeX-run-index t t :help
                     "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil t :help
                     "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil
(latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil
(latex-mode) :help
                     "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")"
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
:help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help "Run an
arbitrary command"))
 )




Acknowledgement sent to Todor Tsankov <tt.debian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#35128; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 6 Apr 2019 11:45:02 UTC

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