Emacs seems to save synchronously, i.e. the interface locks up during a save.
This is especially noticeable when using tramp.
Is there any way to have the save happen in the background?
The echo area is the line at the bottom of Emacs below the mode line:
~ ~
| |
+-----------------------+
|-U:--- mode-line |
+-----------------------+
| M-x echo-area |
+-----------------------+
Now the mode line is highly customizable while the echo area is more rigid (and unused a lot of the time). The question is pretty simple: is it possible to hide the echo area during inactivity and redisplay it once it needs your attention:
~ ~ ~ ~
| | | |
| | +-----------------------+
| | |-U:--- mode-line |
+-----------------------+ +-----------------------+
|-U:--- mode-line | | M-x echo-area |
+-----------------------+ +-----------------------+
Inactive Active
This is similar to the way Google Chrome displays URLs when you hover your mose over a link and the Firefox addon Pentadactyl where the command-line is hidden by default.
I've had geben running perfectly on previous versions of Ubuntu. After the upgrade, and installing the latest version of geben (0.26), it only half works. Specifically, when in context mode, local variables are always marked as undefined.
Has anybody successfully gotten geben up and running under Ubuntu 10.04, or is this a bug in geben (I've reported it as one, but thought I'd check here just in case there is a workaround).
geben 0.26
xdebug 2.0.5
emacs 23.1.1
5.3.2-1ubuntu4.1
Thanks!
Hello, when I get a compiler error (in my case gcc) in Emacs (version 23 for information) I use next-error Lisp function to jump to the next error :)
But when I do this the window is split vertically, but I want this to be done horizontally.
Anyone know how to modify this behavior?
Thanks
I've never learned to use Vi or Emacs yet people do use them still, despite there being other editors out there that are free and useful. What is it about these two and any others like them that means they hold appeal in the face of the newer editors?
I've checked my elisp files to make sure that I do not have any bindings that contain Shift+R (and I have not found any). I expect SHIFT+R to print an uppercase character, but instead I get R R undefined inside of the Emacs command line. This is only in C/C++ major modes.
Any suggestions?
Update: Describing the key shows that it is undefined. How would I define it for the normal, expected use (capitalizing the letter R)?
In python, you might do something like
i = (0, 3, 2)
x = [x+1 for x in range(0,5)]
operator.itemgetter(*i)(x)
to get (1, 4, 3).
In (emacs) lisp, I wrote this function called extract which does something similar,
(defun extract (elems seq)
(mapcar (lambda (x) (nth x seq)) elems))
(extract '(0 3 2) (number-sequence 1 5))
but I feel like there should be something built in? All I know is first, last, rest, nth, car, cdr... What's the way to go? ~ Thanks in advance ~
I'm using a Mac keyboard on Ubuntu at work. What do I add to my .emacs file to turn the command key to Meta?
I tried (setq mac-command-key-is-meta t) and (setq mac-command-key 'meta) and neither works.
When I run Gnu Emacs under cygwin on Windows and I press "ctrl-x ctrl-c" to exit I get the message:
ctrl-x ctrl-g is undefined
: However, when I run Xemacs the "ctrl-x ctrl-c" works fine
Is there an easy way to use emacs key-bindings when you are using a not-English (Russian) keyboard layout?
Whenever an international layout is on, all keystrokes are interpreted literally, M-? instead of M-a. As a result I can't use commands.
It would also be nice if Linux could interpret non-prefixed and shift-prefixed keys according according to an international layout, while keeping the rest English.
What are some features of Emacs Lisp that you use to solve real problems?
One feature per answer
Give an example and short description of the feature, not just a link to documentation
Label the feature using bold title as the first line
See also:
Hidden features of Python
Hidden features of Ruby
Hidden features of Perl
Hidden features of Java
I'm using Gnu Emacs on OSX, Windows, and Linux. Is there some command which can download and install packages (or .el files) automatically? I've seen there are some work-in-progress projects on the internet (after googling) but I was wondering if I was missing some awesome package manager out there that just works.
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.
Thanks
Sandeep
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
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 any suggestions,
Something like this:
http://perl.plover.com/yak/regex/samples/slide083.html
In other words I want to match successfully on { { foo } { bar} } but not on { { foo } .
I see it's possible in perl, and in .NET. Is it possible in emacs regex?
I can't seem to find this on google anywhere. I am trying to move to emacs from eclipse but I can't for the life of me figure out how to set my svn author name so it doesn't default the author name OR save the password so I don't have to type it in any each time. I am Ubuntu 8.10 if that matters.
Any insight would be great. Thanks.
Whenever I edit files on emacs, it seems a temporary file is created with the same name with ~ appended to it. Does anyone know an quick/easy way to delete all of these files in the working directory?
I'm using the php debugger geben and nxhtml-mode -- my standard mode for editing php files. Unfortunately, these two modes don't mix well. Is it possible to configure emacs such a way that it enables nxhtml only conditionaly, when I open php files manually, but enables php-mode instead when the buffer is opened by geben?
hello.
I am wondering if there is local version control/snapshots for emacs independent of VC?
let me clarify:
every time I save buffer, I would like to be able to keep track of changes of each save in session. I know I can do something similar with backup files, but they are not automated like VC and a somewhat cumbersome.
I have searched Google, but did not find the solution.
Perhaps my query string was not good.
Thanks
I have a buffer open in emacs. I want a function that will return t if the current buffer contains the string, otherwise it returns nil.
(defun buffer-contains-substring (string)
...
)
Hi,
do you know what is the easiest way to move selected region or line (if there is no selection) up or down in emacs? I'm looking for the same functionality as is in eclipse (bounded to M-up, M-down).
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.
in a file, i have used m-x ucs-insert to insert a hex character 9e (which in emacs shows up as \236). however, when this is read in by the C program, 9e is becoming 0x9ec2. Where is this c2 coming from and how do i get rid of it??
In Textmate I can wrap enclosing characters ('(', '[', '"', etc.) around text by selecting it and hitting the opening character. For example, if I select word and hit (, it will become (word). What does Emacs call this feature and how do I enable it?