I am trying to diagnose this problem. TAB creates 4 spaces instead of a 4 col TAB like I want. But I don't think it should because C-h v indent-tabs-mode on the buffer in question says it is set to t. When I check my keybindings, TAB is set to c-indent-line-or-region. Does this function ignore my tabs-mode?
...
I have configured my emacs to run zsh shell within ansi-term. However, copy/paste no longer works i.e. nothing is getting pasted from kill-ring to the terminal.
Changing the TERM to vt100, or eterm doesn't solve the problem.
Would appreciate any ideas or solution.
To provide context I have configured ansi-term as follows:
(global-se...
Hi there,
I have just started using Emacs for the specific purpose of editing latex documents. I was attracted to Emacs because I want to be able to customize syntax highlighting even to the point of defining the colors of specific words. I am new to Emacs and not a programmer, so I having an extreme difficulty in doing what I want to d...
It's supposed to be M + cursor, but any shortcut in emacs using M (escape) on my mac sucks, because every time i need to use it, i need to release M (the escape key) and then press it again. Is there a better shortcut for moving along words in emacs (kind of like ctr + arrow in windows?)
...
I use Pymacs to load Ropemacs and Rope with the following lines in my .emacs as described here.
(autoload 'pymacs-load "pymacs" nil t)
(pymacs-load "ropemacs" "rope-")
It however slows down the startup of Emacs significantly as it takes a while to load Ropemacs.
I tried the following line instead but that loads Ropemacs everytime Py...
I believe that not all R users know elisp. It would be nice if ESS users could share their code in their .emacs file here. Well commented code would be particularly useful. Hope this will promote the use of ESS by R users.
...
When c-auto-newline is set to non-nil, it re-indents the current line and inserts a carriage return and then indents the new line. However. I'm using 1TBS indent-style (with 4 space indents), which means if/else statements are made like this:
if (n == 1) {
exit(EXIT_SUCCESS);
} else {
perror("n");
}
Also, I write do/while writ...
The following UNIX one-liner looks for Python files below the CWD and adds them to a TAGS file for Emacs (or we could do the same with Ctags).
find . -name *.py -print | xargs etags
This breaks if the CWD has a space or other unusual character in its name. -print0 or -ls don't seem to help, in spite of what man find says. Is there a n...
Is there a way to stop a running operation in the SLIME REPL?
The Clojure SLIME folks apparently have some way to do this, so how about in ordinary Common Lisp?
Thanks /Erik
...
I would like to ask regular ESS/R users what key bindings do they use frequently and tips on using ESS/R.
...
Hi, I understand emacs lisp is great for handling dates and times, but does it have a function to convert strings to internal representation of integers using formats like %Y, %m, %d, %H, %M, %S, and so on? And also, in the emacs reference manual, it says that times are lists of two or three integers, but is there a more formal specifica...
I am a newbie in Emacs, and I am not a programmer. I have just tried to save a simple *.rtf file with some websites and tips on how to use emacs and I got
These default coding systems were
tried to encode text in the buffer
`notes.rtf': (iso-latin-1-dos (315 .
8216) (338 . 8217) (1514 . 8220) (1525
. 8221)) However, each o...
Hi there,
So, I've finally made the plunge, and have gotten to the state where I'm quite happy to have switched from vi and vim to emacs... I've been putting stuff in my .emacs file, learning how to evaluate things (not to mention becoming familiar with movement commands), etc. etc. etc.
And now I have a problem with a require line in...
Hello
GNU Emacs 23.1.1
I am wondering is there a way to display the path of the file in the status bar, instead of just the filename.
I have to open many files in many directories, and sometimes I forget what directory they are in. Just easier to display the some of the path in the status bar if that is possible.
Sometimes my direct...
I can read the documentation, so I'm not asking for a cut-n-paste of that.
I'm trying to understand the motivation for this function.
When would I want to use it?
Thanks.
...
Hi there,
recently I started using Emacs as a Python IDE, and it not quite intuitive... The problem I am struggling with right now is how to pass command line arguments to the inferior python shell when the buffer is evaluated with C-c C-c. Thanks for help.
...
Hi all
I'd like to ask - what is the function doing nil conversion from nil's to zeroes in elisp?
I'm a newbie and I think I am inventing the wheel with my code:
(defun chgnull (x)
(if (null x) 0 1))
(mapcar 'chgnull '(1 2 nil))
Search through Emacs sources by keyword "to zero" and such haven't shown anything relevant.
...
Hi,
I live in the linux terminal all the time under my slackware GNU/linux system (an EeePC). By default, GNU Emacs won't start if It can't find several Xorg libraries. Assuming I will never use X software at all, would it make sense for me to drop all this Xorg stuff and compile emacs again ?
Are you aware of anything that could get m...
Is there any programmable/customizable Open Source Proxy server which allows me to do this:
For certain pages which get an authentication page which always looks the same (it's custom, not the standard proxy authentication stuff) I can hook up a script which sends the login credentials (via POST).
The reason is to work around a nasty ...
Hello,
GNU Emacs 23.1.1
Fedora 13
I can select the colour theme by
M-x color-theme-select
I scroll down and select the
clarity and beauty
This works ok. However, in my configuration I am not sure how to select this. This is what I have, but doesn't work.
(require 'color-theme)
(color-theme-ClarityandBeauty)
many thanks for a...