2

I am being bothered by the strange screen fragment while using emacs.

Sometimes, when I edit something in emacs, the screen gets fragmented like this:

The lines are not correctly updated

enter image description here

Below is the correct display

enter image description here


My ubuntu is in VirtualBox. The VirtualBox version is 4.3.10. I have installed the guest addition.

The ubuntu I am using is

ubuntu 13.10
Intel® Core™ i7-2600 CPU @ 3.40GHz × 4
Chromium 64-bit

The emacs I am using should be the newest one

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.6) of 2014-01-03 on gold, modified by Debian

Jackson Tale
  • 121
  • 4
  • Try adding this to your ~/.emacs file: (setq-default column-number-mode t). Does that help? – terdon Apr 14 '14 at 13:35
  • @terdon just did, let me use for a while and see whether it works. can you tell me what's the purpose of that setting? – Jackson Tale Apr 14 '14 at 14:09
  • Not really, no :) That's why this was just a comment. I had a similar, though not identical, problem and that helped. It is something to do with the number of columns your window has and seems to help with the drawing issues you describe. I believe the root of the problem is a miscommunication between emacs and the compositing window manager but I'm not sure. – terdon Apr 14 '14 at 14:12
  • @terdon sorry to tell ya that it didn't work. still I am having this issue – Jackson Tale Apr 14 '14 at 14:57
  • Yeah, that was just a wild shot in the dark. It improved but did not fix it for me too. Are you using unity or another desktop environment? – terdon Apr 14 '14 at 15:01
  • @terdon I am using a virtual box hosting ubuntu 13.10, what do you mean by unity or desktop environment? sorry to ask this silly question as I am not actually a linux pro. – Jackson Tale Apr 14 '14 at 15:11
  • No worries, the desktop environment is the graphical interface you see, there are many but the dafault Ubuntu one is called unity. PLease [edit] your question and clarify that this is in a VM. If you are using virtualbox, make sure you have installed the guest additions, they solve all sorts of graphics issues. Have a look at this answer. – terdon Apr 14 '14 at 15:15
  • @terdon ok, but I installed guest additions, as if I didn't, I even couldn't use copy/paste lol – Jackson Tale Apr 14 '14 at 15:35
  • Yes, you also need to activate the unity plugin in compiz-config-settings-manager. – terdon Apr 14 '14 at 16:44
  • If you use C-l does it fix the garbled display? – Drew Apr 15 '14 at 00:51
  • Why don't you ask the guys on emacs-devel? If it is a display bug then they will be interested. http://news.gmane.org/gmane.emacs.devel – Tom Apr 15 '14 at 06:18

0 Answers0