Even though beginning-of-defun and end-of-defun have been advised by
senator, the narrow-to-defun and widen functions do not seem to work, as
they seem to be using the unadvised functions. Do they need to be advised as
well?
--
knut
> -----Original Message-----
> From: David Ponce [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, December 10, 2000 3:26 AM
> To: Paul Kinnucan
> Cc: [EMAIL PROTECTED]
> Subject: senator 2.0
>
> Hello Paul,
>
> I submit you my latest [hard] work on senator. There is so many
> improvements in this release that I choose to make it senator version
> 2.0. Here is a summary of changes:
>
> * For each built-in search command `search-forward',
> `search-backward', `re-search-forward', `re-search-backward',
> `word-search-forward' and `word-search-backward', there is an
> equivalent `senator-<search-command>' defined which searches only in
> semantic token names.
>
> * The command `senator-isearch-toggle-semantic-mode' toggles semantic
> search in isearch mode. When semantic search is enabled, isearch is
> restricted to token names.
>
> * A `senator-minor-mode' is provided to easily enable or disable the
> SEmantic NAvigaTOR stuff for the current buffer.
>
> * Senator minor mode uses the common prefix key "C-c ,". The
> following default key bindings are provided when semantic minor mode
> is enabled:
>
> key binding
> --- -------
> C-c , n `senator-next-token'
> C-c , p `senator-previous-token'
> C-c , i `senator-isearch-toggle-semantic-mode'
>
> * Senator minor mode provides a "Senator" menu for navigation and
> search.
>
> * Senator should work well with GNU Emacs 20, 21 and XEmacs 21 (I
> finally installed XEmacs 21.1.9 on my Windows NT box ;-) ).
> Actually tested with semantic 1.3.2 on GNU Emacs 20.7 and 21.0,
> and XEmacs 21.1.9.
>
> * The `beginning-of-defun' and `end-of-defun' advices are now included
> in senator.
>
> Finally, two great news :-)
>
> - Senator will be part of the future version of semantic.
> - Eric has plan to include semantic in the Emacs 21 distribution
> (maybe version 21.2).
>
> Any feedback on this new version of senator will be welcome.
>
> Sincerely,
> David << File: senator2.zip >>