Simon Wright <[email protected]> writes: > On 28 Nov 2014, at 13:59, Stephen Leake <[email protected]> > wrote: > > >> It is simple to drop _ from the search syntax when defining a partial >> case exception, which gives the behavior you describe: >> >> ada-mode.el:1024 >> >> (unless word >> (if (use-region-p) >> (setq word (buffer-substring-no-properties (region-beginning) >> (region-end))) >> (save-excursion >> (let ((syntax (if partial "w" "w_"))) >> (skip-syntax-backward syntax) >> (setq word >> (buffer-substring-no-properties >> (point) >> (progn (skip-syntax-forward syntax) (point)) >> )))))) > > This behaviour seems more natural to me.
Ok, it will be in the next version -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
