Bug 1176547 - emacs grep warns "GREP_OPTIONS is deprecated"
Summary: emacs grep warns "GREP_OPTIONS is deprecated"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-22 10:10 UTC by Jens Petersen
Modified: 2015-05-21 03:35 UTC (History)
5 users (show)

Fixed In Version: emacs-24.5-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1220215 (view as bug list)
Environment:
Last Closed: 2015-04-18 09:40:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2014-12-22 10:10:12 UTC
Description of problem:
Running M-x grep in F21 gives a warning message from grep:

grep: warning: GREP_OPTIONS is deprecated; please use an alias or script


Version-Release number of selected component (if applicable):
emacs-24.4-3.fc21

How reproducible:
100%

Steps to Reproduce:
1. M-x grep
2. :

Actual results:
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

Expected results:
no warning

Additional info:
This should be already fixed upstream in
http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/grep.el?id=2e4c2fe2787785a421f256541de642976e9bd90b

Comment 2 Fedora Update System 2015-04-07 11:27:01 UTC
emacs-24.4-6.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/emacs-24.4-6.fc22

Comment 3 Fedora Update System 2015-04-07 11:28:05 UTC
emacs-24.4-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/emacs-24.4-6.fc21

Comment 4 Fedora Update System 2015-04-07 17:10:16 UTC
Package emacs-24.4-6.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing emacs-24.4-6.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5689/emacs-24.4-6.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-04-15 10:16:05 UTC
emacs-24.5-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/emacs-24.5-1.fc22

Comment 6 Fedora Update System 2015-04-18 09:40:30 UTC
emacs-24.4-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-04-23 16:04:00 UTC
emacs-24.5-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 tkil 2015-05-11 03:32:48 UTC
Looks like the fix is actually in emacs-common:

$ sudo dnf whatprovides /usr/share/emacs/24.5/lisp/progmodes/grep.elc
Using metadata from Sat May  9 13:14:10 2015 (1 day, 7:09:37 hours old)
emacs-common-1:24.5-1.fc21.x86_64 : Emacs common files
Repo        : @System

emacs-common-1:24.5-1.fc21.x86_64 : Emacs common files
Repo        : updates

And that file definitely still contains GREP_OPTIONS:

$ strings /usr/share/emacs/24.5/lisp/progmodes/grep.elc | grep GREP_OPTIONS | wc -l
2

Thanks!

Comment 9 tkil 2015-05-11 03:36:35 UTC
CLOSED ERRATA cannot be reopened.  Joy.
Cloned to bug 1220215.

Comment 10 Jens Petersen 2015-05-11 03:42:17 UTC
(In reply to tkil from comment #9)
> CLOSED ERRATA cannot be reopened.

That is not true, but perhaps you don't have permission to.

Comment 11 tkil 2015-05-17 05:30:24 UTC
(In reply to Jens Petersen from comment #10)
> (In reply to tkil from comment #9)
> > CLOSED ERRATA cannot be reopened.
> 
> That is not true, but perhaps you don't have permission to.

From https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_status :

> This bug fix has been resolved by the Assigned Engineer. The
> CLOSED state includes the resolution field which describes why
> a bug report is closed. See Resolution descriptions. If the
> CLOSED resolution ERRATA is set, the bug report cannot be
> reopened. Instead, enter a new bug report for a new problem.

But maybe that's a RedHat thing, not a Fedora thing.  Anyway, it's where the "Status" header links to.

Regardless, my F21 system seems happily free of the GREP_OPTIONS warning, so I'm a happy camper either way.  Apologies if I made extra work, and thanks for getting it fixed!

Comment 12 Petr Hracek 2015-05-18 07:32:09 UTC
Only for your information.

GREP_OPTIONS is already fixed in F21. See BZ https://bugzilla.redhat.com/show_bug.cgi?id=1218384

Comment 13 tkil 2015-05-21 03:35:57 UTC
(In reply to Petr Hracek from comment #12)
> Only for your information.
> 
> GREP_OPTIONS is already fixed in F21. See BZ
> https://bugzilla.redhat.com/show_bug.cgi?id=1218384

Thanks!

Apologies if I wasn't clear: even when I wrote #11, the problem had already been fixed up on my system.  :-)

Thanks again!


Note You need to log in before you can comment on or make changes to this bug.