This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] avoid GDB crash on inspection of pascal arrays


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

>> If it helps someone, here's the Emacs recipe for converting all tabs
>> into the equivalent number of spaces:

Joel> Wasn't there a way to simply get emacs to reformat automatically?
Joel> I kind of remember something like ctrl-tab, or something like that
Joel> would reformat the current line. So if you select a region, and then
Joel> apply ctrl-tab, the whole region would be reformatted...

You can use indent-region to indent the current region.
This is bound to M-C-\ by default.
TAB will reindent the current line.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]