A text editor, usually characterized by its extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor."
4
votes
2answers
20 views
Getting wmctrl to work with multiple Emacs windows
I'm trying to write a script that switches focus to Emacs. This is what I have:
#!/bin/bash
wmctrl -a 'emacs@pat-ubuntu-desktop'
It works fine when there is only one Emacs window (or "frame," in ...
-1
votes
2answers
77 views
Joe,pico,emacs missing
I've installed a 'linux in a box' at home using FreeBSD and Virtual Box.But when I tryed to make a C file,joe,emacs and pico give me 'Command not found'. joe z.c,emacs z.c, pico m.c are the commands ...
2
votes
3answers
175 views
Scrolling on very long files (1M+ lines) on Emacs
I was wondering if besides the basic navigation commands:
C-p : Jump backwards one line.
C-n : Jump forward one line.
C-v : Jump forward one full screen.
M-v : Jump backwards one full screen.
M-a : ...
6
votes
4answers
2k views
Emacs sync w/ Google Calendar and Contacts?
Is there a way to use Emacs to sync with Google Calendar and Google Contacts, ideally keeping a local copy so I can access them offline?
2
votes
1answer
99 views
Graphical console applications in Emacs
I am having trouble running htop within an ansi-term in Emacs 24.2. It looks like some of the control characters are not interpreted correctly.
I thought ansi-term was capable of handling font ...
0
votes
1answer
73 views
emacs fonts from ssh not as good as locally installed
How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system?
EDIT: I didn't get an ...
3
votes
2answers
380 views
How to enter Erlang Mode in Emacs?
How do I enter erlang mode in emacs to get code highlighting, etc.? Whenever I open an erlang file nothing special happens. Do I need to change something in my .emacs file, or do I need to add a ...
4
votes
1answer
173 views
How can I use two modes in emacs (markdown and auctex)?
When I edit markdown in emacs I use markdown-mode. However I often have to type some math formulas in the markdown file (processed by mathjax). However for those math parts markdown mode is not very ...
1
vote
1answer
27 views
How to attach elisp function source code in Emacs?
I could use M-x find-function to find the source code of some elisp functions if the function is not written in C code.
But since I am using a Debian binary package of Emacs , some of the source ...
1
vote
1answer
37 views
How to open all the files in a directory, using terminal, in emacs?
I've 4 java files in a directory, which I want to work with in emacs. How do I open them all with one command?
1
vote
1answer
138 views
Replacing Evernote with Emacs and markdown - .org file list
I have grown tired of using evernote with wine or with any of the linux clients. I decided to change to Emacs and write all my notes in markdown so I can easily publish them in HTML and sync them with ...
13
votes
3answers
2k views
Shift-arrow not working in emacs within tmux
I recently started using tmux (was a screen user before) and I'm loving it, except for one small problem. I use emacs within my tmux session and I am used to using Shift-arrow keys to move between ...
2
votes
2answers
217 views
emacs shell mode (M-x shell)
When I am using the emacs M-x shell mode I see strange characters on my screen which I believe are related to my prompt (which includes an End-Of-Line) and the use of colors.
So, here's what I see on ...
1
vote
2answers
34 views
Logging all input and output in zsh on demand
Is there any way to activate/deactivate the logging of all input and output on a zsh session?
I am using oh-my-zsh with a customized prompt with colors, etc. and I would like to preserve all of these ...
3
votes
1answer
24 views
Emacs: make portion of buffer readonly
I sometimes edit files in emacs where portions of the file are
documentation or something else that shouldn't be edited, and another
portions are "play areas" where I'm free to edit and create new ...
4
votes
2answers
275 views
Replace require statements by autoload in .emacs file to improve performance
According to these posts:
How can I make emacs start-up faster
a-nickels-worth.blogspot.de/effective emacs
one can somehow replace require and load statements in the .emacs file to speed up the ...
3
votes
1answer
53 views
Timelineview of all agenda files
Is it possible to get a timeline view that combines the entries from all agenda files?
0
votes
1answer
30 views
Keyboard shortcut to switch files in one Emacs instance?
I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
0
votes
2answers
32 views
Emacs “jump to class definition” functionality?
I want to jump to a class file "A" from another file "B" which defines objects "A". In eclipse, it is done using F3. Is there a way to achieve this in emacs?
1
vote
1answer
18 views
Emacs : Ctrl+space (set mark) insert only a space in Konsole
I'm having a problem with emacs in Konsole : I can't set a mark to select text in emacs. Ctrl+space insert a space character instead of setting the mark.
On XTerm, i've almost the same behaviour. It ...
0
votes
0answers
41 views
ansi-term no longer works when emacs is run in daemon mode
I shell into a remote server to run emacs using ssh. Ever since I started running emacs as a daemon I've been having problems using ansi-term, shell, and eshell.
I can run commands in eshell fine, ...
3
votes
2answers
493 views
No font in emacs on CentOS
When I open emacs over an SSH connection I get this error
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string ...
0
votes
4answers
87 views
Count number of processes with ps -Af
I have to count the number of emacs processes on the machine I'm remote using, by using the command ps -Af. Where do I even start?
2
votes
3answers
61 views
Can I bridge “backwards” from an ssh connection to my local emacs-server?
I'd very much like to log in to a remote machine with ssh and via the $EDITOR environment variable (or something similar) be able to edit in my local Emacs. In this case, specifically for when I log ...
2
votes
0answers
54 views
zsh: Echoing every statement?
I have an odd problem with zsh when I switch between shells in a particular way:
Option 1 (works well):
I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh
...
1
vote
0answers
52 views
how to setup AucTex with LuaTex in Emacs
How can I add to the list LuaTeX when I type Ctrlc Ctrlc?
I was able to add Latexmk to the list by adding
(add-hook 'LaTeX-mode-hook (lambda ()
(push
'("Latexmk" "latexmk -pdf %s" TeX-run-TeX ...
3
votes
1answer
26 views
Emacs soft line wrap at word boundary
How can I have emacs set to move the the last word at the 80 character mark?
What I mean is this:
Instead of
ran/
ge
I would like emacs to place the whole word range on the next line at the 80 ...
1
vote
0answers
15 views
latexmk with emacs only runs once instead of twice
I have latexmk setup to run through Auctex.
I hit crtl + c crtl + c and the option latexmk is present. When I run a file that has new bibliography items, it says after compiling that I need to run ...
1
vote
0answers
42 views
emacs shell sync directory
I encounter this quite a lot. when I open a emacs shell and run M-x dirs it will complain to me that:couldn't cd or sometimes just hang emacs what is the solution for this ?
What shell are you ...
1
vote
0answers
19 views
emacs elpa load packages
I am using emacs24, and I started using elpa to download the packages to ~/.emacs.d/elpa folder.
How can I load these packages?
For instance, I have tried (see below) for rainbow-delimiter but it ...
6
votes
3answers
536 views
Emacs indentation using Tabs
Is there a way to make Emacs indent code using only tabs globally and not spaces.
I know of tabify command. I would prefer the automated indentation to use tabs rather than a mixture of tabs and ...
2
votes
0answers
79 views
Gnome Terminal---hide the tilde files produced by Emacs
Editing text file using Emacs will make Emacs make a companion file for its own purpose.
For example, after first editing a file called test.c, Emacs will leave a file called test.c~ in the same ...
1
vote
0answers
57 views
Emacs on Minix 3?
Has anybody managed to install Emacs on Minix 3? Emacs was available on earlier versions of Minix. I am OK with an earlier version of Emacs if necessary. I don't find Zile, mg or Elle adequate and ...
1
vote
1answer
41 views
Effect if any of changing LD_LIBRARY_PATH environnment variable on emacs fonts?
The rendering of my emacs fonts changes if I define a specific list of directories under the LD_LIBRARY_PATH environment variable just before I call emacs. I changed this because I wanted to use emacs ...
3
votes
4answers
68 views
emacs copy and paste
How can I copy from emacs and paste into another instance of emacs or else where?
If I do C-space, M-w, and then C-y, I can only paste in the open instance of Emacs. If I navigate to another Emacs ...
1
vote
0answers
27 views
emacs auto indentation
I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}.
If I had the following, (below is what would happen if I hit tab on the \end{enumerate}
...
2
votes
4answers
98 views
Ctrl-s hang terminal emulator?
I came across a sentence in vimdoc:
Note: CTRL-S does not work on all terminals and might block
further input, use CTRL-Q to get going again.
and this key indeed hangs my vim. I was ...
4
votes
2answers
127 views
vim customized with emacs commands (insert mode only)
I was an emacs user, and I have to switch to vim. But I miss some basic emacs commands in vim insert mode:
C-A
C-E
C-K
C-Y
C-x C-s
... and some other
I know that I can press Escape and then press ...
2
votes
0answers
40 views
Why isn't Gnus scoring emails based on the To: or Cc: headers?
I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having a trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address ...
1
vote
2answers
56 views
text color settings in emacs
I just switched to emacs from Vim today so I have no idea what I am doing. How do I change the syntax coloring in Emacs? Everything is green or light green.
As you can see, latex tex is dark green ...
0
votes
1answer
28 views
emacs line wrapping and numbering
How can I tell emacs to wrap lines at the 80th character?
I am looking for a solution I can put in /.emacs.
I put this in /.emacs but it doesn't work.
;; ========== Enable Line Numbering ========== ...
1
vote
1answer
41 views
Emacs: Interface that mixes commands and arguments
I'm experiencing with ways to configure Emacs to enable me to type less, but achieving the same thing, by exploiting the fact that in programming, you do (type) more or less the same thing over and ...
2
votes
1answer
45 views
Why does emacs movemail take precedence over mailutils movemail?
I have installed mailutils from the Ubuntu 12.10 repo and specified the rmail-mailmove-program as either /usr/bin/movemail or /usr/bin/movemail.mailutils but in either case emacs reports
...
1
vote
1answer
22 views
Emacs: mode-local macro with dashes and dots
In Emacs, how can I make a macro, that is local to the HTML mode, and uses dashes and dots? Take a look at the Elisp below:
(define-abbrev-table 'html-mode-abbrev-table
'(("..." "…") ...
1
vote
1answer
47 views
Get zsh to report directory to emacs
From the emacs manual
Unlike Shell mode, Term mode does not track the current directory by examining your input. But some shells can tell Term what the current directory is. This is done ...
3
votes
4answers
321 views
How to set up tea-time in emacs to use native notification system in gnome
Is there an easy way of having tea-time display messages via gnome's native notification system?
The current "notification function" in tea-time.el is:
(defun show-notification (notification)
...
0
votes
0answers
46 views
User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?
I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
0
votes
0answers
22 views
emacs change point color to current foreground
I'm trying to customize my emacs so that the point color is the same as the foreground on of the character I'm standing on.
I have this now:
(defun fixpoint ()
"awesome stuff happening to point"
...
1
vote
1answer
77 views
Use tabs for indentation in Python mode
I am using Emacs for Python developement. My team is using Tab indentation, so I must do the same. The problem is that I can't figure out how to make python-mode use tabs instead of spaces. I want ...
1
vote
1answer
93 views
Emacs X toolkit support?
From what I understand, Emacs uses GTK as it's default X toolkit. Does Emacs support X toolkits other than GTK? For example, can I build Emacs to use Qt4 instead of GTK?


