Mercurial > emacs
diff src/nsmenu.m @ 96892:4aec559b9f05
NS cleanup: change 'PENDING' to 'FIXME'/'TODO'/'XXX'
| author | Adrian Robert <Adrian.B.Robert@gmail.com> |
|---|---|
| date | Tue, 22 Jul 2008 12:33:13 +0000 |
| parents | 1e2f7aab70ba |
| children | 605ff890793b |
line wrap: on
line diff
--- a/src/nsmenu.m Tue Jul 22 11:54:25 2008 +0000 +++ b/src/nsmenu.m Tue Jul 22 12:33:13 2008 +0000 @@ -78,7 +78,7 @@ ========================================================================== */ -/*23: PENDING: not currently used, but should normalize with other terms. */ +/*23: FIXME: not currently used, but should normalize with other terms. */ void x_activate_menubar (struct frame *f) { @@ -197,9 +197,9 @@ } set_buffer_internal_1 (XBUFFER (buffer)); - /* PENDING: for some reason this is not needed in other terms, - but some menu updates call Info-extract-pointer which causes - abort-on-error if waiting-for-input. Needs further investigation. */ + /* TODO: for some reason this is not needed in other terms, + but some menu updates call Info-extract-pointer which causes + abort-on-error if waiting-for-input. Needs further investigation. */ owfi = waiting_for_input; waiting_for_input = 0; @@ -239,10 +239,10 @@ if (NILP (string)) break; - /* PENDING: we'd like to only parse the needed submenu, but this - was causing crashes in the _common parsing code.. need to make - sure proper initialization done.. */ -/* if (submenu && strcmp (submenuTitle, SDATA (string))) + /* FIXME: we'd like to only parse the needed submenu, but this + was causing crashes in the _common parsing code.. need to make + sure proper initialization done.. */ +/* if (submenu && strcmp (submenuTitle, SDATA (string))) continue; */ submenu_start[i] = menu_items_used; @@ -298,16 +298,16 @@ set_buffer_internal_1 (prev); /* Compare the new menu items with previous, and leave off if no change */ - /* PENDING: following other terms here, but seems like this should be - done before parse stage 2 above, since its results aren't used */ + /* FIXME: following other terms here, but seems like this should be + done before parse stage 2 above, since its results aren't used */ if (previous_menu_items_used && (!submenu || (submenu && submenu == last_submenu)) && menu_items_used == previous_menu_items_used) { for (i = 0; i < previous_menu_items_used; i++) - /* PENDING: this ALWAYS fails on Buffers menu items.. something - about their strings causes them to change every time, so we - double-check failures */ + /* FIXME: this ALWAYS fails on Buffers menu items.. something + about their strings causes them to change every time, so we + double-check failures */ if (!EQ (previous_items[i], XVECTOR (menu_items)->contents[i])) if (!(STRINGP (previous_items[i]) && STRINGP (XVECTOR (menu_items)->contents[i]) @@ -333,7 +333,7 @@ } } /* The menu items are different, so store them in the frame */ - /* PENDING: this is not correct for single-submenu case */ + /* FIXME: this is not correct for single-submenu case */ f->menu_bar_vector = menu_items; f->menu_bar_items_used = menu_items_used; @@ -830,7 +830,7 @@ } else { /* no position given */ - /* PENDING: if called during dump, we need to stop precomputation of + /* FIXME: if called during dump, we need to stop precomputation of key equivalents (see below) because the keydefs in ns-win.el have not been loaded yet. */ if (noninteractive) @@ -934,7 +934,7 @@ specpdl_count2 = SPECPDL_INDEX (); #if 0 - /*PENDING: a couple of one-line differences prevent reuse */ + /* FIXME: a couple of one-line differences prevent reuse */ wv = digest_single_submenu (0, menu_items_used, Qnil); #else {
