From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#21609: bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ Date: Thu, 24 Nov 2016 09:08:59 +1300 Message-ID: <08c3b161-174d-1fb7-5df4-bbf7f7d47ee9@orcon.net.nz> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1479931823 9492 195.159.176.226 (23 Nov 2016 20:10:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2016 20:10:23 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cc: 24837@debbugs.gnu.org, 21609@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 23 21:10:12 2016 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 1c9drw-0000d7-Hk for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2016 21:10:12 +0100 Original-Received: from localhost ([::1]:36223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9drz-00009a-JW for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2016 15:10:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9drp-00007Q-QB for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 15:10:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9drm-0000Sp-L0 for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 15:10:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9drm-0000SX-HV for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 15:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c9drm-0003Hs-6K for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 15:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2016 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21609-submit@debbugs.gnu.org id=B21609.147993174812569 (code B ref 21609); Wed, 23 Nov 2016 20:10:02 +0000 Original-Received: (at 21609) by debbugs.gnu.org; 23 Nov 2016 20:09:08 +0000 Original-Received: from localhost ([127.0.0.1]:39583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9dqt-0003Ga-OG for submit@debbugs.gnu.org; Wed, 23 Nov 2016 15:09:07 -0500 Original-Received: from [219.88.242.52] (port=41818 helo=mail.orcon.net.nz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9dqq-0003GK-PS; Wed, 23 Nov 2016 15:09:05 -0500 Original-Received: from [192.168.20.100] ([150.107.172.103]) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id uANK90Dd027754; Thu, 24 Nov 2016 09:09:01 +1300 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=150.107.172.103; country=NZ; region=Bay of Plenty Region; city=Tauranga; latitude=-37.6686; longitude=176.2664; http://maps.google.com/maps?q=-37.6686,176.2664&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02Sbw908P - 71052bd00dcb - 20161124 X-Scanned-By: CanIt (www . roaringpenguin . com) 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:126025 Archived-At: On 24/11/16 08:44, Philipp Stephani wrote: > Phil Sainty schrieb am Mo., 31. Okt. 2016 um >> This is a duplicate of bug #21609 -- any command which directly >> modifies the state of the terminal buffer can cause the apparent >> state to be out of sync with the 'actual' state (i.e. the state >> according to the inferior process). > > Should maybe terminal buffers in char-mode be read-only? The process > filter could then use inhibit-read-only. That's an interesting thought, and may be worth investigating (offhand I've no idea whether it's workable), but note that it's not sufficient to deal with all cases -- any Emacs command which moves point can create an inconsistent state without modifying the buffer contents.