emacs 22.2.1 on Linux
I am doing some C/C++ programming using emacs. I am wondering does emacs support completions (IntelliSense in Visual Studio).
For example when filling structures I would like to see the list of members when I type the dot operator or arrow operator.
The same would go for function signatures that give me the types...
In Emacs is there a way to syntax-highlight the parentheses of quoted and backquoted sexps differently than the parens of other sexps so they stand out? e.g. I want these parens to be a different color than other parens:
(foo `(bar (baz)) quux)
^ ^
...
I use emacs 23.1.1 with KDE 4.3.1. I have set (initial-frame-alist) and (default-frame-alist) to make my windows come up where I want. But my initial window does not come up where I want.
My initial window comes up with one font, changes font, changes size, moves (to where I want) and then finally repositions to somewhere else. It's thi...
I want to have all my file buffers always synchronized with the file content on disk.
Is is possible? (preferably as a mode)
If you think it is unsafe, than I will just say that emacs undo + git is more than enough for me and I find explicit saving and reverting (if other program changes the file) obsolete safety feature.
...
I've been caught up in long running computations lately thanks to Project Euler and I'd like to know how to abort an evaluation and return to the REPL prompt. I'm running the standard Clojure Box version of Emacs. I tried the obvious REPL > Interrupt Lisp Process and Slime > Interrupt Command but neither kill the execution and return my ...
I would be most happy with some kind of emacs hook that would be activated when a file that is under git repository is visited. But other solutions are welcome as well.
...
Hi,
I'm trying to use C-h c in emacs to figure out what a key combination is bound to. The combination is C-u C-c C-q, which realigns tags in org-mode. However, Emacs just tries to look up C-u C-c and then fails. What am I doing wrong? I realize I could easily look at the orgmode source or something to figure this out, but for future ref...
Am planning on learning how to use this editor since i was told that this was the "hacker's editor".
So what is so nice about emacs?
...
Someplace I saw a snippet of code which told vi to use soft tabs and set the size of a tab. If you put this snippet at the bottom of a source file, then vi would magically use those settings for that file.
What is the syntax and rules for including that snippet in a source file? Can emacs be made to use these settings as well?
...
I'm learning Emacs Lisp and I came across this decade old post saying that at some point Guile (Scheme) will replace Emacs Lisp, or Emacs will be rewritten with Guile.
http://sanpietro.red-bean.com/guile/guile/old/3114.html
I was wondering if this is still a possibility, and if developers should be trying to write Elisp with this in m...
I have created an emacs-23 custom theme using customize-create-theme. It works fine under X (Linux gnome desktop). However, when running under a tty (within gnome-terminal) some of the colors are wrong.
It is not the accuracy of the colors which are a problem (although it would be nice to match them under both situations) but the fact t...
Normally when i need to change the color of a certain element in emacs, i would do a M-x describe-face which will eventually bring up a customize buffer to change it. In the emacs term, It seems like i dont have the ability to enter the minibuffer to input that command. How do I figure out which variable to change?
Heres a picture, to m...
You know under SGML mode (PSGML) Emacs could indent the XML buffer automatically.
C-x-h ;; Select all
M-C-\ ;; Indent
But all the indent was 2 spaces. How can I set to make auto indent to 4 spaces?
I tried (setq-default sgml-indent-step 4), but it doesn't work.
Current view is:
<TESTCASE>
<NAME>00001<NAME>
<TIMEOUT>600000</TIME...
I have a makefile in the project root directory. If I am editing a file in a subdirectory, how do I invoke make from EMACS? M-x compile make will not work as it looks for the makefile in the current directory. But I have the makefile in the project root directory.
Any thoughts?
Edit
As suggested, *make -f fullpath_to_makefile* did th...
Hello,
I normally connect to another server using the terminal using:
ssh [email protected]
However, I have been using emacs a lot now, and I am wondering if I can connect to a remote Red Hat server from within emacs?
Many thanks for any suggestions,
...
From Emacs 23.1 NEWS:
*** The Emacs character set is now a superset of Unicode. (It has about
four times the code space, which
should be plenty).
And more details later on:
*** In multibyte buffers and strings, characters are represented by UTF-8
byte sequences. The character code
space is now 0x0..0x3FFFFF with no
g...
I'm using emacs (21.4.1) via PuTTY (0.60) connected to a CentOS5.3 box with a UK keyboard. Whenever I enter the £ symbol emacs locks hard, making the whole putty window unresponsive and loosing all changes.
Edit:
Futher to pajato0's suggestion, I get the following message:
à (translated from £) runs the command self-insert-command
...
I've had these functions in my .emacs.el file for years:
(defun dos2unix ()
"Convert a DOS formatted text buffer to UNIX format"
(interactive)
(set-buffer-file-coding-system 'undecided-unix nil))
(defun unix2dos ()
"Convert a UNIX formatted text buffer to DOS format"
(interactive)
(set-buffer-file-coding-system 'undecided-d...
I'm reading my email in emacs using Wanderlust client. I'm subscribed on a bunch of mailing lists and quite often I'm noticing well-formatted emails which employs LaTeX-style (most simple explanation for desired behavior I guess) citations for links.
For example:
A side note: as written in [1], "7.5. Hints and Tips for Effective Use of...
I'm sharing my emacs configuration files between a linux box and an OS X box. The config breaks however when I define a specific font for Emacs.app in the config which is then not available on linux.
Is there a way I can test for the current platform and then execute or skip the OS X specific instructions?
...