Re: Solved: Re: tabs with cperl-mode

2005-06-09 Thread Stefan Monnier
>> align everything on multiples of 8. I.e. start by setting >> cperl-indent-level to 8. > I changed that. It works :) And i was confused again, because i had > (setq tab-width 4) > in my .emacs . So I googled a bit and I found the solution. > so this works fine for me: > (setq cperl-continue

Solved: Re: tabs with cperl-mode

2005-06-09 Thread Martin Barth
> align everything on multiples of 8. I.e. start by setting > cperl-indent-level to 8. I changed that. It works :) And i was confused again, because i had (setq tab-width 4) in my .emacs . So I googled a bit and I found the solution. so this works fine for me: (setq cperl-continued-statement-

Re: tabs with cperl-mode

2005-06-08 Thread Stefan Monnier
> hi everyone, I need to just use tabs for indentiation with emacs and > cperl_mode to stick to our coding style guide. I've search quite a while > but i didnt found anything that could help me. > in http://www.gnu.org/software/emacs/manual/emacs.html#Just%20Spaces is > decribed to use only space

Re: tabs with cperl-mode

2005-06-08 Thread Martin Barth
> Stop asking Emacs to indent with spaces. i never did that. ( well i think so ) > The default on Emacs is to indent with tabs. even with no emacs config files there are spaces and tabs for indentation. ( if I indent for 8 "spaces" there is a \t instead of the spaces in the files i saved. mayb

Re: tabs with cperl-mode

2005-06-08 Thread Ilya Zakharevich
[A complimentary Cc of this posting was sent to Martin Barth <[EMAIL PROTECTED]>], who wrote in article <[EMAIL PROTECTED]>: > hi everyone, > > I need to just use tabs for indentiation with emacs and cperl_mode to stick > to our coding style guide. > I've search quite a while but i didnt found any

Re: tabs with cperl-mode

2005-06-08 Thread Matthias Förste
"Martin Barth" <[EMAIL PROTECTED]> writes: > Hi, > >> C-q TAB ? Would this work? OTOH: couldn't you switch off cperl-mode, >> i.e. remove Perl files from auto-mode-alist? > well, C-q TAB would be something like a workaround since I am using > cperl-mode because I write perl code *g*. > > and I lik

Re: tabs with cperl-mode

2005-06-08 Thread Martin Barth
Hi, > C-q TAB ? Would this work? OTOH: couldn't you switch off cperl-mode, > i.e. remove Perl files from auto-mode-alist? well, C-q TAB would be something like a workaround since I am using cperl-mode because I write perl code *g*. and I like the cperl-mode indent function with TAB but i need onl

Re: tabs with cperl-mode

2005-06-08 Thread Peter Dyballa
Am 08.06.2005 um 13:18 schrieb Martin Barth: I need to just use tabs for indentiation with emacs and cperl_mode to stick to our coding style guide. C-q TAB ? Would this work? OTOH: couldn't you switch off cperl-mode, i.e. remove Perl files from auto-mode-alist? -- Mit friedvollen Grüßen