GNU bug report logs -
#60645
30.0.50; interactive MODES not detected properly
Previous Next
Full log
Message #20 received at 60645 <at> debbugs.gnu.org (full text, mbox):
* Eli Zaretskii <eliz <at> gnu.org> [2023-01-08 15:11]:
> > > If MODES is present, it should be a list of mode names (symbols) that
> > > this command is applicable for. The main effect of this is that
> > > ‘M-x TAB’ (by default) won’t list this command if the current buffer’s
> > > mode doesn’t match the list. That is, if either the major mode isn’t
> > > derived from them, or (when it’s a minor mode) the mode isn’t in effect.
> IOW, no quoting and no explicit list. The documentation clearly says
>
> (interactive &optional ARG-DESCRIPTOR &rest MODES)
>
> "&rest MODES" means zero or more symbols, not a quoted list.
I was confused with "If MODES is present, it should be a list of mode
names (symbols) that..."
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
This bug report was last modified 2 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.