From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: rob.dunne@gmail.com Newsgroups: gmane.emacs.help Subject: Re: C-k messes up display -- have to redraw-display Date: Wed, 3 Aug 2016 16:22:58 -0700 (PDT) Message-ID: References: <9d56d493-eaf4-43ab-9fde-246be124f190@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1470266735 10549 195.159.176.226 (3 Aug 2016 23:25:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2016 23:25:35 +0000 (UTC) Injection-Date: Wed, 03 Aug 2016 23:22:58 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 04 01:25:31 2016 Return-path: Envelope-to: geh-help-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 1bV5XV-0001q4-L1 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Aug 2016 01:25:29 +0200 Original-Received: from localhost ([::1]:37058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV5XS-0007Nm-AO for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Aug 2016 19:25:26 -0400 X-Received: by 10.157.37.206 with SMTP id q72mr18102191ota.20.1470266578872; Wed, 03 Aug 2016 16:22:58 -0700 (PDT) X-Received: by 10.36.20.201 with SMTP id 192mr1215756itg.8.1470266578563; Wed, 03 Aug 2016 16:22:58 -0700 (PDT) Original-Path: usenet.stanford.edu!f6no7173180ith.0!news-out.google.com!d68ni16042ith.0!nntp.google.com!f6no7173169ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <9d56d493-eaf4-43ab-9fde-246be124f190@googlegroups.com> Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.155.34.83; posting-account=x0w3YQoAAADdt9oVUKog3y_cZypko1Wn Original-NNTP-Posting-Host: 130.155.34.83 Original-Xref: usenet.stanford.edu gnu.emacs.help:218703 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111059 Archived-At: On Tuesday, August 2, 2016 at 2:55:43 PM UTC+10, rob....@gmail.com wrote: > Hi emacs group, > > I am have a problem on a new machine. > When I type C-k, the display is mucked up. The next line in the file is repeated > multiple times. I have to use "M-x redraw-display" to fix it. > > The problem happens in .Rnw, and .s file (but perhaps not all other files). > > I can't find anything on the web about this problem. > > My question is > > 1) how can I fix it, or > 2) how can I get more information about the problem? There in nothing in the messages buffer > 3) can you show me how to make C-k delete to the end of a line and then call > redraw-display? Not a neat thing to do, but better than what I am doing now > > > Ubuntu 14.04.4 LTS > GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-08 on lamiak, modified by Debian > > > Bye > R some new information 1) it happens in a graphics display not a text window (sorry -- I thought it happened in both, so I did not specify it) 2) I installed emacs 25.1-rc1 -- the same thing happens i.e. > pwd /tmp/emacs-25.1 > emacs -Q t.tex #file with 1 letter per line -- a to h a b c d e f g h #I put the cursor at a and press C-k -- it clears to the end of line #I press C-k again to get rid of the blank line and the display then looks like b h h h h h h M-x redraw display fixes it b c d e f g h so far I have not found any other key combination that causes a problem Bye R