Questions tagged [emacs]
emacs is a popular text editor, usually characterized by it's extensibility and often described as "the extensible, customizable, self-documenting, real-time display editor". Now part of the GNU project, it was originally developed by Richard Stallman in the mid 1970s, and development and ongoing extension of it continues to this day.
391
questions
2
votes
1
answer
2k
views
What is the purpose of the package emacs24-common-non-dfsg?
I tried to run C-h r from Emacs, but got error
Info file emacs does not exists
After googling i found the package emacs24-common-non-dfsg. What is the purpose of this package, and why would I want ...
2
votes
1
answer
204
views
How to stop Ctrl+= being swallowed?
I want to bind C-= in Emacs but Emacs sees it as "=". Emacs is 24.3 running in gnome-terminal on Ubuntu 14.10. xev sees that Control is pressed but C-v C-= in bash prints only "=". I assume that ...
2
votes
0
answers
168
views
Is it possible to transform sublime text or emacs to something like bpython?
I'm using sublime text 3 and I like it a lot, but maybe a bit more love for bpython. It detects what libraries are installed and has autocompletion for codes that weren't previously written in the ...
0
votes
1
answer
771
views
Short keys to make a line comment in shell script Emacs?
I want to write shell scripts by using Emacs. I have already known to turn shell-script-mode on, but still don't know which short keys to make a line become comment. For example, which short keys in ...
2
votes
1
answer
2k
views
Copy-Paste from Mac to Emacs of ubuntu
(* I have post the same question on AskDifferent, so far I have not got any answer yet, I guess here fits this question better *)
I use version 10.9.2 of OS X and a virtual machine 6.0.5 VMware ...
1
vote
1
answer
226
views
dpkg --status package_name
I'm just playing around with Ubuntu 14.04.1 LTS. I installed emacs, and wanted to double check if it was.
~ 1496 $ dpkg --status emacs
dpkg-query: package 'emacs' is not installed and no information ...
0
votes
1
answer
289
views
Problem rebinding isearch key in Emacs
Hello I am trying to rebind the Emacs key for isearch (C-s) to the more CUA like C-i becuase C-s is bound to save. I did the following:
(global-set-key "\C-i" 'isearch-forward)
(global-set-key (kbd "...
1
vote
1
answer
2k
views
When I install packages, I keep getting fontconfig warning
I'm running Ubuntu 14.04 LTS on a virtual machine, and I was installing packages, specifically text editors in this case (emacs23, sublime, vim..). Anyways, I get this massive warning of font ...
0
votes
1
answer
844
views
Build Emacs: cannot find -lpng15
I'm trying to build Emacs 24.4 and this error occured:
/usr/bin/ld: cannot find -lpng15
collect2: error: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/home/nick/...
0
votes
1
answer
188
views
Find and replace in whole buffer for emacs23
I have been using emacs for years, but am by no means an expert. When I got my new verion of Ubuntu I got the latest version of emacs (24), but hated it, so dropped back to emacs23. It is like what ...
1
vote
1
answer
1k
views
Use Super+C/V for copy-pasting in Emacs
In Emacs I activated the option to use CUA keys for copy/cut-pasting with C-c/C-x/C-v. However sometimes it creates a problem when using Latex/Auctex key shortcuts, because it "eats" the first C-c or ...
4
votes
1
answer
257
views
Long-press enter as Control key
I am a Emacs user and I want to have Long-press enter as an extra control key. I used to do this in Mac OS with KeyboardRemap4Macbook. But was not able to find it how to do in Ubuntu Unity. This would ...
9
votes
1
answer
135
views
How can I use emacs instead of Ubuntu SDK to write Ubuntu Touch Apps?
I want to use emacs and console tools instead of Ubuntu SDK to edit and debug my projects.
Where can I learn about doing that?
1
vote
0
answers
299
views
Terminal screen will not be refreshed after suspending program: is this a bug or a default configuration problem?
Sometimes after suspending emacs(CTRL+Z) terminal screen refreshes incorrectly:
Never experienced this problem in Ubuntu 12.04 (my current version is 14.04 with gnome-shell 3.6.2)
1
vote
3
answers
140
views
Replace a specific section of code
I don't know what could do this, sed, vim, whatever. Lets say I have 30 functions, to keep it simple, i'll show 3
#first function
AddOne = [
a+1==b, b+1==c
]
# second function
...
1
vote
0
answers
233
views
Emacs freezing for a few seconds while in use
My EMACS tends to freeze for a few seconds while I am typing code, and I am not sure what is wrong as when I monitor my CPU and RAM usage, there are no visible spikes.
System Info:
Ubuntu 14.0.4
...
1
vote
2
answers
2k
views
Why ubuntu has vi , emacs ,nano with os default?
I am new to ubuntu ..So basically an OS has an app for a purpose..
But ubuntu has three basic text-editors..like nano, vi, emacs ...
So what is the reason for that? and what are the advantages and ...
4
votes
0
answers
608
views
How does gedit detect the encoding of a text file? [duplicate]
How does gedit detect the encoding of a text file when opening it?
I notice that gedit can always find the correct encoding when opening a text file of mine, while chardet can often fail to and emacs ...
4
votes
2
answers
4k
views
How to convert a text file with mixture of encodings to a single encoding?
I created a text file by copying its different parts from different
sources (webpages, other text files, pdf files) into gedit and
saving it to the file. I guess that is the reason that I have
...
0
votes
1
answer
101
views
Upgraded to 14.04 but have a problem editing grub
I am trying to edit this file to add "nomodeset" to the end of the line.
Is there any way to edit a buffer? Is there a work-around for this?
2
votes
1
answer
5k
views
Dependency Problems after updating to 14.04?
I can't seem to install or uninstall anything after updating to 14.04 because emacs and LaTeX was broken. I think I removed all the corrupt LaTeX files, but the emacs ones won't go away. Anyone know ...
1
vote
0
answers
623
views
Configuration error for pep8 and flymake for emacs
I am trying to configure pep8 to ignore E221, E222, and E226 (all related to spacing around operators). I followed this documentation
https://pep8.readthedocs.org/en/1.4.6/intro.html
to generate a ....
2
votes
1
answer
522
views
Emacs Keybindings for all Text Inputs
I type with ten fingers. I try to avoid all keys on the keyboard which are not easily accessible:
Pos1
End1
Esc
...
Up to now my fingers like the emacs key bindings, since they work in the editor ...
3
votes
1
answer
382
views
Emacs keybindings in Lubuntu
Is there a way to enable ubiquitous emacs keybindings in Lubuntu?
I've seen solutions for Ubuntu and Xubuntu, such as emacs keybindings in ubuntu 12.04, but I haven't found one for Lubuntu.
1
vote
0
answers
27
views
How to avoid unity lens to capture the meta key so I can use EMACS? [duplicate]
When I use the graphical EMACS and I want for, for example, execute M-x . as soon as I press the Meta key the unity dash opens and I lose focus from emacs, this is really annoying. how do I avoid ...
2
votes
0
answers
317
views
Disable system shortcut for a single application
When I use emacs, I want to be able to use C-q (quoted-insert).
However when I do that in Unity, the program quits since C-q is the system-wide shortcut I set for closing a window.
I want to keep C-q ...
11
votes
3
answers
22k
views
Compile error: checking for libXaw... configure: error: No X toolkit could be found
Can anyone solve this error? After I configure emacs and run make, i get the following:
[jroberts@pc emacs-24.3]$ make
make: *** No targets specified and no makefile found. Stop.
Here is the output ...
3
votes
0
answers
1k
views
How to install melpa in emacs
I need to install MELPA into my emacs 23.3 version. I have googled for the ways to install it but couldn't find/understand any of them.
Can anyone please help me with installing MELPA. I am using ...
1
vote
1
answer
311
views
Unparseable output from pylint in emacs
I just upgraded from Ubuntu 12.04 to 14.04 (clean upgrade, not in-place).
I found that I couldn't call pylint from within emacs (M-x pylint) as I used to, so I installed the package python-mode.
Now ...
2
votes
2
answers
530
views
Emacs 24 in Ubuntu 14.04: Can I remove whitespace of the toolbar?
I have installed Emacs 24 in Ubuntu 14.04 using sudo apt-get install emacs.
However it has strange white space in the leftside of the toolbar.
Can I remove that, or at least change the color of it?
...
2
votes
1
answer
739
views
How to transform Vim configuration into Emacs one? [closed]
I need to setup Emacs editor by preparing the ~/.emacs configuration file. I have been using Vim for years and now I want to switch to Emacs for various reasons that are out of scope of this post. To ...
3
votes
2
answers
2k
views
How to obtain an Italian dictionary to spell-check within GNU Emacs which correctly recognize accented characters?
I am editing documents in Italian with GNU Emacs and I am used to spell-check my files with ispell. I have an Italian dictionary already installed (the iitalian package for ispell), but it doesn't ...
1
vote
1
answer
616
views
Copy & paste non-ASCII characters to an Emacs window from another window doesn't work correctly
I work with emacs with iso-8859-1 coding system. I use emacs23. I have these lines in my .emacs file:
(setq default-buffer-file-coding-system 'iso-8859-1)
(set-selection-coding-system 'iso-8859-1)
...
0
votes
1
answer
158
views
Dinotrace installation
was trying to install dinotrace viewer. instructions at: http://www.veripool.org/projects/dinotrace/wiki/Installing
got the following error in make install command:
*** Lisp files not installed, you ...
0
votes
0
answers
29
views
How to update the software database? [duplicate]
I have setup two disks on my computer, Ubuntu, / and /home. Later I found the disk space on / is not big enough (just 20G), so I installed my texlive to my own disk, somewhere under $HOME. Now I want ...
3
votes
1
answer
1k
views
Emacs and xft fonts
I'm trying to set up Consolas font in emacs. I built emacs with --configure --with-xft and put:
Emacs.font: Consolas-16
Emacs.fontBackend: xf
to the .xsession
But when I'm trying to start emacs I'm ...
1
vote
1
answer
1k
views
ipython emacs send code to interpreter
I am using ipython3 with emacs.
It works but I would like to define a command that automatically send the highlighted code to the console. How can I do that?
This should be a short cut for the ...
1
vote
1
answer
333
views
Keyboard shortcuts keep resetting
There is a conflict between the Ubuntu keyboard shortcut Ctrl-Alt-S (which does "toggle shaded state") and the emacs macro Ctrl-Alt-S, which invokes forward-search-regex, which of course is vastly ...
2
votes
1
answer
410
views
Emacs doesn't kill-yank anymore after Xubuntu upgrade to 14.04
I just upgraded Xubuntu on my laptop from 13.10 to 14.04. Emacs' version is 24.3.1. Everything is working fine except the kill-yank system (copy-paste).
To investigate this, I open emacs in my home ("...
25
votes
2
answers
12k
views
The Ctrl space does not set mark in Emacs
I installed Ubuntu 14.04 and use fvwm as the windows manager. The Ctrl+space does not set mark in Emacs. It seems that Ctrl+Space does nothing. I use Ctrl+Alt + F2 to go to the console, and Emacs ...
0
votes
1
answer
479
views
Emacs key inserting problem
I recently upgraded to Ubuntu 14.04 and since then I started to have a weird problem with my Emacs.
When I type the ° character (which maps to dead_abovering on my keyboard) it inserts the sequence Ä°...
3
votes
1
answer
853
views
Skype logout (pc logout) when activating the user interface
I have a problem with my skype (version 4.2.0.11) , when I open it I instantly logout from computer. I tried to remove (also remove it by using --purge) and reinstall from terminal however same ...
4
votes
2
answers
6k
views
How to use python3 in emacs on ubuntu 14.04
I am using emacs in python mode.
To run a python file I use the command C-c C-c.
Emacs automatically start to run python 2.7 while I would like to use python3.
Once I have been able to solve ...
1
vote
1
answer
1k
views
How to disable (Not remove completely) global menu bar?
While using the text-editors I like to work on text editors with completely full-screen mode.
But In almost all editors the global-menu-bar of ubuntu Desktop remains on the screen.
I just want to ...
0
votes
2
answers
679
views
When starting Emacs from menu, it is not obeying .Xresources
I have
emacs.font: Inconsolata-13
in my .Xresources
(And I have said xrdb -merge .Xresources. I have even rebooted the computer.)
When I open Emacs from the command line, it uses Inconsolata. When ...
2
votes
4
answers
985
views
More modern or more conventional version of Emacs
Is there a more modern or more conventional version of Emacs?
I'm thinking something like Aquamacs from Mac OS X. I'd like the standard conventional keyboard shortcuts found in common programs to ...
28
votes
3
answers
23k
views
How to stop Alt from triggering Global Menu?
I am trying to disable Alt from triggering the global menu when I am using an application (I am using Ubuntu 14.04).
My problem is, when I am using emacs, for example, and I hit Alt+h, the help menu ...
5
votes
2
answers
1k
views
How do I remove the shortcut buttons/toolbar from emacs?
After upgrading from Ubuntu 13 -> 14.04 emacs now wastes valuable screen space with silly buttons. How can I go back to a "buttonless" version of emacs?
2
votes
0
answers
113
views
Strange screen fragment when using emacs
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
Below is ...
0
votes
1
answer
2k
views
how to leave a process running in backgroun on a terminal [duplicate]
I am running some simulation through a server.
I usually login in the server using ssh command from the shell of my laptop.
then I run emacs in terminal mode and with it I start some python ...