Emacs starts in c++ mode but doesn't use c++ setup
Hi,
I'm trying to use Emacs to edit C++ files (extension .cpp). My ~/.emacs file contains:
When I open a C++ file in Emacs, it's in C++ mode (the syntax coloring is correct). But indenting braces is done like this:
When I manually enter M-x c++-mode, suddenly the braces are how I want them:
If I'm already in c++ mode, why does indentation work properly only after entering c++ mode again? Is my hook not right? Thanks in advance.
Make sure you have the latest release of CC EMACS. Maybe sourceforge has example files. Not that I am an emacs guy! I have been resisting since MULTICS 25 years ago -- not there so often, install not always welcome.
This is on a CentOS box, I have two scripts that need to run in order.
I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
$ touch x y
$ ls -l x y
-rw-r--r-- 1 g660 0 Sep 26 03:38 x
-rw-r--r-- 1 g660 0 Sep 26 03:38 y
$ chmod 777 x y
$ ls -l x y
-rwxrwxrwx 1 g660 0 Sep 26 03:38 x
-rwxrwxrwx 1 g660 0 Sep 26 03:38 y
$ rm a.tar
$ tar cvzf a.tar.gz .
./
./x
./y
./a.tar.gz
$ ls -l
total 4
-rw-r--r-- 1 ... (3 Replies)
Hi,
I am not sure if this is the right forum to post an emacs question, but if you could point me to an appropriate emacs forum that would be useful too.
Anyway, here is the description of the problem:
I usually develop python code with emacs, emacs being in python code. On my desktop a... (0 Replies)
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
hello all
I saw somewhere there is some kind of version of emacs in full text mode ?
how can I get/download it? if I have ordenry emacs installed can I start it in text mode?
thanks (2 Replies)