From: Sam S. <sd...@gn...> - 2017-06-02 21:34:56
|
Hi Bruno, > * Bruno Haible <oe...@py...t> [2017-06-02 19:17:49 +0200]: > >> 2. HANDLER_FRAME is a substring of CHANDLER_FRAME (thus search >> problems). > > 'object' is a substring of 'gcv_object_t', and so on. This sucks too. I would rename `object' to `unsafe_object_t'. > Emacs and grep both have ways to search for identifiers, regardless of > other identifiers that may contain the search term as a substring. Simple things should be easy. Typing [^_]HANDLER_FRAME (and making sure that "[]" are not special in the tool chain) is harder than typing L_HANDLER_FRAME. It also requires knowledge that the only other HANDLER_FRAME is C_HANDLER_FRAME. L_HANDLER_FRAME also lends itself to automatic search term extraction easier, e.g., Emacs command "recursively search all project directories for symbol at point". However, this is not important enough for an extended discussion. Have a great weekend! -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://www.memritv.org http://memri.org https://jihadwatch.org Every day above ground is a good day. |