* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
@ 2016-08-02 13:33 ` Kaushal Modi
2016-08-02 16:14 ` Barry Margolin
` (4 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Kaushal Modi @ 2016-08-02 13:33 UTC (permalink / raw
To: rob.dunne, help-gnu-emacs
On Tue, Aug 2, 2016 at 1:00 AM <rob.dunne@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).
Can you recreate this issue in an emacs -Q session and report the steps one
can take to recreate that?
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
>
It might also be of help to update to the latest stable version (24.5) or
the Release Candidate version ( 25.1-rc1
http://alpha.gnu.org/gnu/emacs/pretest/ ) of the soon to be released 25.1
version and see if you can recreate the issue on those versions.
--
Kaushal Modi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
2016-08-02 13:33 ` Kaushal Modi
@ 2016-08-02 16:14 ` Barry Margolin
2016-08-02 22:09 ` Bob Proulx
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Barry Margolin @ 2016-08-02 16:14 UTC (permalink / raw
To: help-gnu-emacs
In article <9d56d493-eaf4-43ab-9fde-246be124f190@googlegroups.com>,
rob.dunne@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
Usually problems like this mean that the $TERM environment variable is
incorrect, so it's not sending the proper control sequences for your
terminal.
>
>
> 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
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
2016-08-02 13:33 ` Kaushal Modi
2016-08-02 16:14 ` Barry Margolin
@ 2016-08-02 22:09 ` Bob Proulx
2016-08-03 23:22 ` rob.dunne
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Bob Proulx @ 2016-08-02 22:09 UTC (permalink / raw
To: rob.dunne; +Cc: help-gnu-emacs
rob.dunne@gmail.com wrote:
> 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.
I assume you are using a text terminal (rather than a graphics
display). What type of terminal are you using? What is $TERM in that
terminal? Verifying the correct combination of TERM and terminal
should solve this problem. If not then try using a different terminal
program from the many available.
Bob
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
` (2 preceding siblings ...)
2016-08-02 22:09 ` Bob Proulx
@ 2016-08-03 23:22 ` rob.dunne
2016-08-04 2:55 ` Dale Snell
2016-08-04 5:28 ` Eli Zaretskii
2016-08-03 23:33 ` rob.dunne
2016-09-07 2:58 ` rob.dunne
5 siblings, 2 replies; 9+ messages in thread
From: rob.dunne @ 2016-08-03 23:22 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-03 23:22 ` rob.dunne
@ 2016-08-04 2:55 ` Dale Snell
2016-08-04 5:28 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: Dale Snell @ 2016-08-04 2:55 UTC (permalink / raw
To: help-gnu-emacs
On Wed, 3 Aug 2016 16:22:58 -0700 (PDT), in message
a1e71037-3c54-4084-9731-82f9947735f7@googlegroups.com,
rob.dunne@gmail.com wrote:
> 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
>
Hello Rob,
I have tried this in both 24.5.1 (the version that ships with
Fedora 23) and 25.1-rc1, which I downloaded and compiled
specifically for this test. In neither case did your bug show up.
When I positioned the cursor over the "a" and hit C-k C-k, the
letter and then the blank line disappeared as expected. The rest
of the characters remained as expected as well.
I am left to suspect that there is something amiss with your
setup. I'm afraid I have no idea what that could be.
Sorry I couldn't be of more help.
--Dale
--
“Zathras is used to being beast of burden to other people's needs.
Very sad life. Probably have very sad death, but at least there
is symmetry.”
-- Zathras, _Babylon 5_, "War Without End, Part 1"
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-03 23:22 ` rob.dunne
2016-08-04 2:55 ` Dale Snell
@ 2016-08-04 5:28 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2016-08-04 5:28 UTC (permalink / raw
To: help-gnu-emacs
> Date: Wed, 3 Aug 2016 16:22:58 -0700 (PDT)
> From: rob.dunne@gmail.com
> Injection-Date: Wed, 03 Aug 2016 23:22:58 +0000
>
> /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
What you describe means that the software that actually draws to the
glass doesn't do what Emacs tells it to do.
Check the settings of your video hardware -- if there are some
"optimization" features there, turn them off, reboot, and try again.
If that doesn't help, check your versions and configuration of the X
related stuff (Xlib etc.) -- maybe you have some broken version.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
` (3 preceding siblings ...)
2016-08-03 23:22 ` rob.dunne
@ 2016-08-03 23:33 ` rob.dunne
2016-09-07 2:58 ` rob.dunne
5 siblings, 0 replies; 9+ messages in thread
From: rob.dunne @ 2016-08-03 23:33 UTC (permalink / raw
To: help-gnu-emacs
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
I spoke too soon.
Control-c-r in ess mode (submit a command from a script buffer to an R process running in another buff) messes up the R buffer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-k messes up display -- have to redraw-display
2016-08-02 4:55 C-k messes up display -- have to redraw-display rob.dunne
` (4 preceding siblings ...)
2016-08-03 23:33 ` rob.dunne
@ 2016-09-07 2:58 ` rob.dunne
5 siblings, 0 replies; 9+ messages in thread
From: rob.dunne @ 2016-09-07 2:58 UTC (permalink / raw
To: help-gnu-emacs
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
I have upgraded to Ubuntu 16.04.1 LTS GNU Emacs 24.5.1.
The problem has disappeared
Bye
R
^ permalink raw reply [flat|nested] 9+ messages in thread