GNU bug report logs - #10280
ruby-mode.el - Unknown finder.el keyword: ruby

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Mon, 12 Dec 2011 17:26:02 UTC

Severity: wishlist

Found in version 23.3+1-4

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10280 in the body.
You can then email your comments to 10280 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10280; Package emacs. (Mon, 12 Dec 2011 17:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jari Aalto <jari.aalto <at> cante.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 12 Dec 2011 17:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jari Aalto <jari.aalto <at> cante.net>
To: submit <at> debbugs.gnu.org
Subject: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Mon, 12 Dec 2011 19:24:39 +0200
Package: emacs
Version: 23.3+1-4
Severity: wishlist

ruby.el reads:

    ...
    ;; Keywords: languages ruby
    ;; Version: 1.0

However word "ruby" is not in list returned by M-x finder-list-keywords.
Perhaps finder-list-keywords or ruby.el should be updated.

Jari

-- System Information
Debian Release: wheezy/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs23         23.3+1-4        GNU Emacs is the extensible self-documenting 
emacs23-lucid   23.3+1-4        GNU Emacs is the extensible self-documenting 
emacs23-nox     23.3+1-4        GNU Emacs is the extensible self-documenting 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10280; Package emacs. (Thu, 15 Dec 2011 21:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 10280 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: 10280 <at> debbugs.gnu.org
Subject: Re: bug#10280: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Thu, 15 Dec 2011 23:35:15 +0200
> ruby.el reads:
>
>     ...
>     ;; Keywords: languages ruby
>     ;; Version: 1.0
>
> However word "ruby" is not in list returned by M-x finder-list-keywords.
> Perhaps finder-list-keywords or ruby.el should be updated.

Free-form user-defined keywords are allowed since the list of keywords is
open-ended.  So this is rather a shortcoming of `finder-list-keywords'
that doesn't yet list all keywords beyond a few of "official" ones.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10280; Package emacs. (Mon, 12 Aug 2019 00:33:02 GMT) Full text and rfc822 format available.

Message #11 received at 10280 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10280 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#10280: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Mon, 12 Aug 2019 02:32:19 +0200
Juri Linkov <juri <at> jurta.org> writes:

>> ruby.el reads:
>>
>>     ...
>>     ;; Keywords: languages ruby
>>     ;; Version: 1.0
>>
>> However word "ruby" is not in list returned by M-x finder-list-keywords.
>> Perhaps finder-list-keywords or ruby.el should be updated.
>
> Free-form user-defined keywords are allowed since the list of keywords is
> open-ended.  So this is rather a shortcoming of `finder-list-keywords'
> that doesn't yet list all keywords beyond a few of "official" ones.

Do we really want to change finder-list-keywords to list all keywords?
(For some definition of "all".)

Wouldn't that make the menu much harder to navigate?

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10280; Package emacs. (Mon, 12 Aug 2019 01:04:01 GMT) Full text and rfc822 format available.

Message #14 received at 10280 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Kangas <stefan <at> marxist.se>, Juri Linkov <juri <at> jurta.org>
Cc: 10280 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: RE: bug#10280: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Sun, 11 Aug 2019 18:03:19 -0700 (PDT)
> >>     ;; Keywords: languages ruby
> >>
> >> However word "ruby" is not in list returned by M-x finder-list-
> >> keywords. Perhaps finder-list-keywords or ruby.el should be updated.
> >
> > Free-form user-defined keywords are allowed since the list of
> > keywords is open-ended.  So this is rather a shortcoming of
> > `finder-list-keywords'

No, it's not a shortcoming.  It's open-ended by design,
AFAIK, and that's good.

> > that doesn't yet list all keywords beyond a few of "official" ones.

And it shouldn't, IMO.  list `finder-known-keywords'
should remain something defined by Emacs.

On the other hand, `finder.el' could be enhanced
to provide such a feature as an _option_.  It
could have a user option whose value is a list
of additional keywords to recognize.

That's the approach we take with Dired guessing
shell-command associations.  We have a non-option
variable, `dired-guess-shell-alist-default', which
is defines the default associations, and we have
a user option, `dired-guess-shell-alist-user',
which is prepended to the default list.

That would let users control the behavior of
`finder-list-keywords'.  After all, that's a
command - it's for users.

> Do we really want to change finder-list-keywords to list all keywords?
> (For some definition of "all".)

No, we don't; that is, I don't.

Field `Keywords' is _not_ just for `finder.el'.
It's for anything a library writer (or user) wants
it to be for.

(I believe it predates `finder.el', but I'm not sure
of that.)

> Wouldn't that make the menu much harder to navigate?

Yes.  If we want to let users choose that, and choose
how much harder (which and how many extra keywords),
that's fine, however.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10280; Package emacs. (Mon, 12 Aug 2019 21:38:02 GMT) Full text and rfc822 format available.

Message #17 received at 10280 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 10280 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#10280: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Tue, 13 Aug 2019 00:27:45 +0300
>>>     ;; Keywords: languages ruby
>>>     ;; Version: 1.0
>>>
>>> However word "ruby" is not in list returned by M-x finder-list-keywords.
>>> Perhaps finder-list-keywords or ruby.el should be updated.
>>
>> Free-form user-defined keywords are allowed since the list of keywords is
>> open-ended.  So this is rather a shortcoming of `finder-list-keywords'
>> that doesn't yet list all keywords beyond a few of "official" ones.
>
> Do we really want to change finder-list-keywords to list all keywords?
> (For some definition of "all".)
>
> Wouldn't that make the menu much harder to navigate?

It's possible now to visit (info "(*Finder*) Keyword unknown")
to see all unsupported keywords.  Among other keywords
there is also the "ruby" keyword linking to ruby-mode.
So it seems you could close this report.




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Tue, 13 Aug 2019 07:03:01 GMT) Full text and rfc822 format available.

Notification sent to Jari Aalto <jari.aalto <at> cante.net>:
bug acknowledged by developer. (Tue, 13 Aug 2019 07:03:02 GMT) Full text and rfc822 format available.

Message #22 received at 10280-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10280-done <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#10280: ruby-mode.el - Unknown finder.el keyword: ruby
Date: Tue, 13 Aug 2019 09:02:07 +0200
Juri Linkov <juri <at> jurta.org> writes:

> It's possible now to visit (info "(*Finder*) Keyword unknown")
> to see all unsupported keywords.  Among other keywords
> there is also the "ruby" keyword linking to ruby-mode.
> So it seems you could close this report.

Thanks for that; closing.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Sep 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.