From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: richard.banach@manchester.ac.uk (Richard Banach) Newsgroups: gmane.emacs.bugs Subject: bug#28277: emacs -nw bug? Date: Tue, 29 Aug 2017 17:36:10 +0100 Message-ID: <20170829163610.6B412301033@cspc120.cs.man.ac.uk> References: <20170829124623.6EC32301033@cspc120.cs.man.ac.uk> <63tw0qfjvu.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1504024787 10997 195.159.176.226 (29 Aug 2017 16:39:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 16:39:47 +0000 (UTC) User-Agent: Heirloom mailx 12.5 7/5/10 Cc: 28277@debbugs.gnu.org To: richard.banach@manchester.ac.uk, rgm@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 29 18:39:41 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmjYA-0002QE-9X for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 18:39:38 +0200 Original-Received: from localhost ([::1]:46043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmjYH-0004z4-1V for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 12:39:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmjXf-0004eI-HC for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 12:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmjXb-0003a0-8t for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 12:39:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmjXb-0003Zf-3n for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 12:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmjXa-00040s-Rv for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: richard.banach@manchester.ac.uk (Richard Banach) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Aug 2017 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28277 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28277-submit@debbugs.gnu.org id=B28277.150402471215380 (code B ref 28277); Tue, 29 Aug 2017 16:39:02 +0000 Original-Received: (at 28277) by debbugs.gnu.org; 29 Aug 2017 16:38:32 +0000 Original-Received: from localhost ([127.0.0.1]:60934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmjX6-0003zy-Fw for submit@debbugs.gnu.org; Tue, 29 Aug 2017 12:38:32 -0400 Original-Received: from probity.mcc.ac.uk ([130.88.200.94]:11691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmjUs-0003wC-LQ for 28277@debbugs.gnu.org; Tue, 29 Aug 2017 12:36:15 -0400 Original-Received: from cspc120.cs.man.ac.uk ([130.88.193.206]) by probity.mcc.ac.uk with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dmjUs-000AXZ-1r; Tue, 29 Aug 2017 17:36:14 +0100 Original-Received: by cspc120.cs.man.ac.uk (Postfix, from userid 4029) id 6B412301033; Tue, 29 Aug 2017 17:36:10 +0100 (BST) In-Reply-To: <63tw0qfjvu.fsf@fencepost.gnu.org> X-SA-Exim-Connect-IP: 130.88.193.206 X-SA-Exim-Mail-From: richard.banach@manchester.ac.uk X-SA-Exim-Scanned: No (on probity.mcc.ac.uk); SAEximRunCond expanded to false X-Mailman-Approved-At: Tue, 29 Aug 2017 12:38:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136334 Archived-At: Glenn Morris wrote: | Richard Banach wrote: | | > I use emacs -nw and see what looks like a bug | > | > * in tex mode, if I type $\it identifiername$ it doesn't recognise | > the second $ as closing the scope of \it ... and wants to underline | > everything that follows ... i haven't found how to turn this off | | Thanks for the report. This is not specific to emacs -nw. | Relevant forms that tex-mode does understand are: | | $foo$ | \textit{foo} | {\it foo} | | I'm not sure what you are trying to achieve with an \it inside math mode? | I don't think I've seen that form used before. hi, here's the explanation ..... ideally, you could use \usepackage{oz} which gives exactly the result i'd like inside any $_math_scope_$ unfortunately, publishers (springer, elsevier,etc) as a rule don't recognise oz and remove it, without compensating ... result ugly you can do it the hard way .... $\mathit{identifiername}$ or slightly less good $\textit{identifiername}$ or (same) ${\it identifiername}$ or (lazy way) $\it identifiername$ the last three of which give basically the same results, but the last of which requires the least typing (if, like me, you're a bit annoyed at not being able to have \usepackage{oz}) cheers, richard. ps. in ordinary emacs (i.e. not -nw) it doesn't try to underline \it stuff, so the problem doesn't arise visually (in my installation)