Hi, does anyone know of a good way to distinguish dired-mode buffer names from other types of buffers in the minibuffer while using ido-mode? For instance... showing a forward-slash at end of a dired-mode buffer name?
...
Hello,
In ESS when I am evaluating chunks of code in a .R file using C-c C-j or C-c C-r (to send the line or region to a running R process), how can I get the R buffer to scroll down automatically, such that after evaluating a region the cursor is at the bottom, at the prompt?
Thanks.
...
Hi all,
I'm just coming back to rails coding after a long hiatus. I was using rinari previously but noticed that there's a new version of emacs-rails. Is anyone using either? Any preferences for one over the other? What are people using for their rails projects within emacs these days?
...
I just installed icicles with emacs, and so far I am liking it a lot. I'm not entirely sure if this is possible, but I would like to implement (or use, if it already exists) a feature in icicles that would auto-complete words from an English dictionary.
So, if I'm writing something and need a word that rhymes with floor, I can type in ...
Hello,
I often find myself in the following situation. Say I was editing a file with this contents
\begin{itemize}
\item
\end{itemize}
I really like http://stackoverflow.com !
And say the point was after the word \item. What I want to do is select http://stackoverflow.com , C-w it, and go back to \item, and yank it there. What I wou...
In vim, we can use "set cursorline" in dotvim file to turn it on. Is there a way to do this in emacs?
...
According to a doc
Emacs supports “drag and drop”: dropping a file into an ordinary Emacs window visits the file using that window. As an exception, dropping a file into a window displaying a Dired buffer moves or copies the file into the displayed directory.
How can I disable move or copy of a file in a dired mode so that emacs w...
Hello all,
I have a book project which I'd like to start sooner than later. This would follow an agile-like publishing workflow, i.e: publish early and often. It is meant to be self-publsihed by me and I'm not really looking to paper-publish it, even though we never know.
If I weren't a geek, I'd probably have already started writting ...
Is there a difference between setting things for a mode using eval-after-load and using the mode hook?
I've seen some code where define-key is used inside a major mode hook, and some other code where define-key is used in eval-after-load form.
...
I have a line in my .emacs which set a default font:
(set-default-font "Monaco-10")
It works fine for me, but I need two exceptions:
I need to change default font for a one file, for example ~/some. How can I do it?
I need to change default fonr for a gnux (M-x gnus). How can I achieve it?
...
I have a messages line this:
message 1
answer 1.1
answer 1.1.1
answer 1.2
answer 1.3
massage 2
...
and I have the line in my .gnus.el:
(global-set-key [f9] (lambda () (interactive) (gnus-summary-lower-score-by-subj-substr-temp)))
When I select "message 1" and press F9 next lines:
message1
answer 1.1
answer 1.1.1
answer...
In Emacs, I'm working with a file that is a hybrid of two languages.
Question 1: Is there a simple way to write a major mode file that combines two major modes?
Details:
The language is called "brew" (not the "BREW" of "Binary Runtime Environment for Wireless").
brew is made up of the languages R and Latex, whose modes are R-mode and...
For emacs users out there, what are your recommended keyboards?
Bonus points for keyboards that:
Have no capslock key. Instead, a control key in that position.
Alt keys that are closer to the center, and easier to use with meta key combos. I find
alt keys too far to the left to be a bit awkward to hit with my thumb in some key combos....
I want to display a colored string of text in the minibuffer, but when I use the 'message' function, the text-properties of are stripped.
...
What are the best plugins for emacs if you want to use it for web development?
...
Surround.vim is a nifty vim extension that allows you to surround blocks of text with , brackets, braces, and pretty much any arbitrary "surround" character. It supports paragraph and word surround, but I frequently use it in visual mode.
I'm playing around with Emacs and wondering if there's something similar; something that will let me...
I'm having a problem with Emacs's indentation of Java enums. While it indents the first member OK, it wants to give all of the rest of the static enum members an additional level of indentation. It looks like this:
class MyClass {
public enum MyEnum {
ONE(1), //good
TWO(2), // not good!
THREE(3),
...
I installed Ubuntu 10.04, and with it came Emacs 23. If I want to select text in Emacs, that works perfectly fine except the fact that the region is not highlighted.
However, this only happens, if I try to make a region using the keyboard. If I select something with the mouse, it is highlighted as usual.
Does anybody know, why the regi...
Hi ,
i have the following in my .emacs file(thanks to SOer nikwin), which evaluates the current buffer content and displays the output in another buffer.
(defun shell-compile ()
(interactive)
(save-buffer)
(shell-command (concat "python " (buffer-file-name))))
(add-hook 'python-mode-hook
(lambda () (local-set-key (k...
Hello,
I have a file in emacs with the buffer coding system set to "no conversion", showing an equals sign ("=") in the mode-line.
I don't know how to change this coding system.
Could anyone help?
Thanks
...