Re: customizing Emacs

2001-10-19 Thread Pietro Cagnoni
Tuomas Pellonpera wrote: > > On Thu, 18 Oct 2001, Sean 'Shaleh' Perry wrote: > > > If you decide you must do this, others have pointed the answer to you. I > > just > > want to say beware the path you are taking. > > > > Users of other editors will find editing your codce to be a royal nightmare

RE: customizing Emacs

2001-10-19 Thread Tuomas Pellonpera
On Thu, 18 Oct 2001, Sean 'Shaleh' Perry wrote: > If you decide you must do this, others have pointed the answer to you. I just > want to say beware the path you are taking. > > Users of other editors will find editing your codce to be a royal nightmare. This last point didn't even cross my mind.

Re: customizing Emacs

2001-10-18 Thread Aaron Brashears
Though the question has been answered, I think you'll find this resource valuable when dealing with emacs customization: http://www.dotfiles.com/ On Thu, Oct 18, 2001 at 04:23:06PM +0300, Tuomas Pellonpera wrote: > Hi! > > I am trying to customize my Emacs and its cc-mode. I prefer "bsd" style,

RE: customizing Emacs

2001-10-18 Thread Sean 'Shaleh' Perry
> > However, I noticed that in bsd style the indentation level seems to be 4. > I would like it to be 3. If you decide you must do this, others have pointed the answer to you. I just want to say beware the path you are taking. Users of other editors will find editing your codce to be a royal n

Re: customizing Emacs

2001-10-18 Thread DvB
Tuomas Pellonpera <[EMAIL PROTECTED]> writes: > However, I noticed that in bsd style the indentation level seems to be 4. > I would like it to be 3. How could I accomplish this SIMPLE customization? > I tried to find the answer in > http://www.gnu.org/manual/emacs-20.3/html_mono/emacs.html, but no

Re: customizing Emacs

2001-10-18 Thread Emil Pedersen
Tuomas Pellonpera wrote: > > Hi! > > I am trying to customize my Emacs and its cc-mode. I prefer "bsd" style, > AKA Allman style, to the "gnu" style. With the help of > http://www.delorie.com/gnu/docs/emacs/cc-mode_22.html, I was able to > change the style to "bsd." > > However, I noticed that i

Re: customizing Emacs

2001-10-18 Thread Paul Smith
%% Tuomas Pellonpera <[EMAIL PROTECTED]> writes: You're probably much better off asking on the gnu.emacs.help group. tp> (defun my-c-mode-common-hook () tp> ;; use Allman (BSD) style for all C like languages tp> (c-set-style "bsd") tp> ;; other customizations can go here tp> ;;

customizing Emacs

2001-10-18 Thread Tuomas Pellonpera
Hi! I am trying to customize my Emacs and its cc-mode. I prefer "bsd" style, AKA Allman style, to the "gnu" style. With the help of http://www.delorie.com/gnu/docs/emacs/cc-mode_22.html, I was able to change the style to "bsd." However, I noticed that in bsd style the indentation level seems to b