Simon Wright <[email protected]> writes: > On 11 Sep 2013, at 12:24, Georg Bauhaus <[email protected]> wrote: > >> when I noticed Emacs complaining about an invalid ^C >> while loading ada-mode's syntax table, it turned out >> that this helped: >> >> @@ -188 +188 @@ >> - (define-key map ["\C-c" tab] 'ada-indent-region) >> + (define-key map [?\C-c tab] 'ada-indent-region) >> >> C-c TAB is now working as expected. >> >> (The chord was not defined before the change; the string >> "^C " would become CAR of a list after (3 keymap ...) >> of ada-mode-map, before the (return ...) list). > > Here, TAB is bound to indent-for-tab-command, which indents the > current line *or region* and uses wisi-indent-line - so why do we need > more?
Good point. And that's why I didn't notice that this binding was not working. > I ask because Georg's patch doesn't work for me; C-h k C-c TAB says > "C-c TAB (translated from C-c <tab>) is undefined" I get the same (on Windows 7, emacs 24.3) Georg: ok to delete this binding? -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
