jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] Issue with TAB


Hi,

executing
  M-x paste
in jed before you paste your clipboard content will prevent jed's auto
formating.

Cheers,

Manfred


Facundo Andrés Bianco wrote:
> Hello there,
> 
> I've a problem with TABs and copy-n-paste. (I use jed into URxvt.)
> For example, I select the code:
> 
> {{{
> 
> #include <stdio.h>
> 
> int main(void)
> {
> <TAB>printf("hello, world\n");
> <TAB>return 0;
> }
> 
> }}}
> 
> and when I paste it on jed, I got
> 
> {{{
> 
> #include <stdio.h>
> 
>  int main(void)
>  {
>   <TAB>printf("hello, world\n");
>   <TAB><TAB>return 0;
>   <TAB><TAB>}
> 
> }}}
> 
> Does somebody know how to avoid it?
> 
> My ~/.jedrc has:
> 
> {{{
> 
> % Tabs
> Tab_Always_Inserts_Tab = 1;
> TAB_DEFAULT = 3;
> USE_TABS = 1;
> WRAP_INDENTS = 1
> 
> }}}
> 
> Thanks in advance!
> Best,
> 

-- 
Manfred Hanke      Manfred.Hanke(at)sternwarte.uni-erlangen.de
Dr. Karl Remeis-Observatory,  University of Erlangen-Nuremberg
Sternwartstrasse 7,      96049 Bamberg, Germany
phone: ++49 951 95222-34                fax: ++49 951 95222-22
  web: http://pulsar.sternwarte.uni-erlangen.de/hanke
--
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l

[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]