From unknown Thu Sep 11 14:10:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23352: 24.5; find-grep repeat Resent-From: Nick Roosevelt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 22:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23352 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23352@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1461450630827 (code B ref -1); Sat, 23 Apr 2016 22:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2016 22:30:30 +0000 Received: from localhost ([127.0.0.1]:44366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au64M-0000DG-24 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 18:30:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au55f-0006yA-I5 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au55Y-0008Of-Ev for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55Y-0008Ob-BM for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55W-0005mv-M0 for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au55U-0008OR-QC for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:38 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:38246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55U-0008OM-If for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:36 -0400 Received: by mail-ig0-x229.google.com with SMTP id m9so38967097ige.1 for ; Sat, 23 Apr 2016 14:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=V4H30nv1XlEQUvPR+CuwNeFx4nw+zc6KVZ0qOq+wBTI=; b=HuCeWp+2vqztBGms8xCrfPMWblYjvt1hflafvPZYOYmP1+2Tw3D9QV+I6IZcBY0Jfz WvO1s9plmmOcUz5v6zA2c97mi5ATFVrtHyxpmZ2DpEmUDJ23Gfh9Jg3TzhXLZN3uFT+b gQ2CyUNlx/m5sRBnRZDXrUiZpK0BUFbUHIHQmH2EqlGOvAMsMP//GXyf0z7jx8ekZT6y 665stApBG7J7up/6hISUwUtJr9Jc4AH+2wVZrZSzaETGPNnuq8TVdgR74kZOoYp9Y77c 4oxx3B1vD4xsrhHWlZRTE1QJ33qAfvaQhKVGkhHV1ZU3WcXGzH7xNE/dB0LPRu2CA/g3 o+vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=V4H30nv1XlEQUvPR+CuwNeFx4nw+zc6KVZ0qOq+wBTI=; b=DWHmMUoKEUTTs2o17rB6P3Y3c5zhO0LJSLm/Ag2M2/Q+Ux47VDJJZ35QKYtZdKfZvW v0+95zG0aNUZIsh1NmfybApHUePmXMD3z1d/c0kgvs3DlU62sGwrkjCqiaiPEjzJyDCp /llzIc+Fyji9Yc0Vazk7x2suTOSxLSggxjppKznk89+ndkbR+enyI2VF86m9yyTIaMq3 niFlAt3Pc0pAD03X56tKNRP5CV7rhkIV4WjbqB6qkUiTx0CaXwlcQfAokcltv+rwFX1v XyRIhk/B8kX1tOroT7XPFnZGLgIx9iZ0+x962gZ1b6njnh+Bdpjp2+g36vgK1LiFIWFs +yuA== X-Gm-Message-State: AOPr4FVkVXx+8JfIHbfTZ4zxpeF3xKMQciT2N5dlNlunAW/M3m/UmBGG7m0pz+wImBCLzbKx9C2u+QMhpUyVPQ== MIME-Version: 1.0 X-Received: by 10.50.142.97 with SMTP id rv1mr4240214igb.74.1461446855835; Sat, 23 Apr 2016 14:27:35 -0700 (PDT) Received: by 10.79.130.135 with HTTP; Sat, 23 Apr 2016 14:27:35 -0700 (PDT) Date: Sat, 23 Apr 2016 14:27:35 -0700 Message-ID: From: Nick Roosevelt Content-Type: multipart/alternative; boundary=001a1130c444b34a4405312d9c21 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Mailman-Approved-At: Sat, 23 Apr 2016 18:30:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --001a1130c444b34a4405312d9c21 Content-Type: text/plain; charset=UTF-8 I do a find-grep, and it's great. The buffer is compilation mode and everything. But I often want to do the same search again after doing some editing. Most of the time, for compilation mode, when I try again, it would have the same compile command. Not in find-grep. In other modes, a simple 'g' would redo it, but in the find-grep, it does something else (It seems to me that it used to try to do a compile with `make -k` but now it seems to want to save the buffer.) A stackoverflow user suggested filing a bug report ( http://stackoverflow.com/questions/35808207/how-can-i-easily-repeat-emacs-find-grep ), so here it is. In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0) of 2015-08-11 on yosemitevm.local Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2 --without-dbus --without-gnutls --without-x --without-ns' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Ruby Minor modes in effect: global-flycheck-mode: t flycheck-mode: t rspec-verifiable-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t display-time-mode: t diff-auto-refine-mode: t tooltip-mode: t electric-indent-mode: t file-name-shadow-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Quit Grep finished (matches found) *grep* finished ESC C-M-g is undefined Quit [2 times] Grep finished (matches found) *grep* finished Making completion list... Load-path shadows: /Users/nroose/.emacs.d/elpa/dash-20140811.523/dash hides /usr/local/share/emacs/site-lisp/dash-emacs/dash /Users/nroose/.emacs.d/elpa/dash-functional-20150828.413/dash-functional hides /usr/local/share/emacs/site-lisp/dash-emacs/dash-functional ~nroose/emacs/cl-lib hides /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/emacs-lisp/cl-lib Features: (shadow sort mail-extr emacsbug sendmail grep coffee-mode misearch multi-isearch ibuf-ext ibuffer vc-git slim-mode xterm magit-version flycheck find-func rx pcase subr-x .emacs web-mode disp-table rubocop feature-mode cucumber-mode rspec-mode compile info flycheck-autoloads dash-autoloads pkg-info-autoloads epl-autoloads magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit package epg-config magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode help-mode magit-git crm magit-section magit-utils git-commit with-editor async-bytecomp async tramp-sh tramp tramp-compat auth-source eieio eieio-core gnus-util password-cache tramp-loaddefs trampver shell pcomplete server dash haml-mode js time-date advice byte-opt bytecomp byte-compile cl-extra cconv json imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode ruby-mode smie sql-indent sql view thingatpt csh-mode yaml-mode time image rdebug gud tool-bar comint regexp-opt ansi-color rcov psvn derived wid-edit cl-macs cl gv log-edit message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log diff-mode easy-mmode pp elp ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util dired easymenu bindings-config edmacro kmacro cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Memory information: ((conses 16 355530 25362) (symbols 48 36100 0) (miscs 40 2380 1816) (strings 32 80035 8501) (string-bytes 1 2397100) (vectors 16 29393) (vector-slots 8 568117 8953) (floats 8 157 821) (intervals 56 6460 259) (buffers 960 30)) --001a1130c444b34a4405312d9c21 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I do a find-grep, and it's great.=C2=A0 The buffer is = compilation mode and
everything.=C2=A0 But I often want to do the same s= earch again after doing
some editing.=C2=A0 Most of the time, for compil= ation mode, when I try again,
it would have the same compile command.=C2= =A0 Not in find-grep.=C2=A0 In other
modes, a simple 'g' would r= edo it, but in the find-grep, it does
something else (It seems to me tha= t it used to try to do a compile with
`make -k` but now it seems to want= to save the buffer.)=C2=A0 A stackoverflow
user suggested filing a bug = report
(http://stackoverflow.com/questions/35808207= /how-can-i-easily-repeat-emacs-find-grep),
so here it is.


In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0)
of 2015-08-11 on yo= semitevm.local
Configured using:
`configure --prefix=3D/usr/local/Cel= lar/emacs/24.5
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp=
--infodir=3D/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2--without-dbus --without-gnutls --without-x --without-ns'

Impo= rtant settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-codi= ng-system: utf-8-unix

Major mode: Ruby

Minor modes in effect:=
=C2=A0 global-flycheck-mode: t
=C2=A0 flycheck-mode: t
=C2=A0 rsp= ec-verifiable-mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0 auto-re= vert-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-p= ackage-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 display-time-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 font-l= ock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mo= de: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mode: t=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent = messages:
Quit
Grep finished (matches found)
*grep* finished
ESC C-M-g is undefined
Quit [2 times]
Grep finished (matches found)=
*grep* finished

Making completion list...

Load-path shado= ws:
/Users/nroose/.emacs.d/elpa/dash-20140811.523/dash hides /usr/local/= share/emacs/site-lisp/dash-emacs/dash
/Users/nroose/.emacs.d/elpa/dash-f= unctional-20150828.413/dash-functional hides /usr/local/share/emacs/site-li= sp/dash-emacs/dash-functional
~nroose/emacs/cl-lib hides /usr/local/Cell= ar/emacs/24.5/share/emacs/24.5/lisp/emacs-lisp/cl-lib

Features:
(= shadow sort mail-extr emacsbug sendmail grep coffee-mode misearch
multi-= isearch ibuf-ext ibuffer vc-git slim-mode xterm magit-version
flycheck f= ind-func rx pcase subr-x .emacs web-mode disp-table rubocop
feature-mode= cucumber-mode rspec-mode compile info flycheck-autoloads
dash-autoloads= pkg-info-autoloads epl-autoloads magit-blame magit-stash
magit-bisect m= agit-remote magit-commit magit-sequence magit package
epg-config magit-a= pply magit-wip magit-log magit-diff smerge-mode
magit-core magit-autorev= ert autorevert filenotify magit-process
magit-popup magit-mode help-mode= magit-git crm magit-section magit-utils
git-commit with-editor async-by= tecomp async tramp-sh tramp tramp-compat
auth-source eieio eieio-core gn= us-util password-cache tramp-loaddefs
trampver shell pcomplete server da= sh haml-mode js time-date advice
byte-opt bytecomp byte-compile cl-extra= cconv json imenu cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles c= c-align cc-engine cc-vars
cc-defs css-mode ruby-mode smie sql-indent sql= view thingatpt csh-mode
yaml-mode time image rdebug gud tool-bar comint= regexp-opt ansi-color
rcov psvn derived wid-edit cl-macs cl gv log-edit= message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode ma= il-parse rfc2231
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr = mailabbrev
mail-utils gmm-utils mailheader ring pcvs-util add-log diff-m= ode
easy-mmode pp elp ediff-merg ediff-wind ediff-diff ediff-mult ediff-= help
ediff-init ediff-util dired easymenu bindings-config edmacro kmacro=
cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks
lis= p-float-type tabulated-list newcomment lisp-mode prog-mode register
page= menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax
facem= enu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibeta= n thai tai-viet lao korean japanese hebrew greek romanian slovak
czech e= uropean ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-ho= ok help simple abbrev minibuffer nadvice loaddefs button
faces cus-face = macroexp files text-properties overlay sha1 md5 base64
format env code-p= ages mule custom widget hashtable-print-readable
backquote make-network-= process multi-tty emacs)

Memory information:
((conses 16 355530 2= 5362)
(symbols 48 36100 0)
(miscs 40 2380 1816)
(strings 32 80035 = 8501)
(string-bytes 1 2397100)
(vectors 16 29393)
(vector-slots 8 = 568117 8953)
(floats 8 157 821)
(intervals 56 6460 259)
(buffers 9= 60 30))
--001a1130c444b34a4405312d9c21-- From unknown Thu Sep 11 14:10:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nick Roosevelt Subject: bug#23352: closed (Re: bug#23352: 24.5; find-grep repeat) Message-ID: References: X-Gnu-PR-Message: they-closed 23352 X-Gnu-PR-Package: emacs Reply-To: 23352@debbugs.gnu.org Date: Thu, 21 Dec 2017 19:43:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1513885382-13267-1" This is a multi-part message in MIME format... ------------=_1513885382-13267-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23352: 24.5; find-grep repeat which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23352@debbugs.gnu.org. --=20 23352: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23352 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1513885382-13267-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23352-done) by debbugs.gnu.org; 21 Dec 2017 19:42:57 +0000 Received: from localhost ([127.0.0.1]:46486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS6k5-0003Ri-1Y for submit@debbugs.gnu.org; Thu, 21 Dec 2017 14:42:57 -0500 Received: from sinyavsky.aurox.ch ([37.35.109.145]:38104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS6k3-0003RW-AA for 23352-done@debbugs.gnu.org; Thu, 21 Dec 2017 14:42:55 -0500 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id C886B22612 for <23352-done@debbugs.gnu.org>; Thu, 21 Dec 2017 19:35:02 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1513884901; x=1514748902; bh=z6y176bcuUXVb Y6kQ84dwQ7oftE+isc15N79HWMnjhg=; b=W1wyvoXxIa9bsm+six96y3TqccNyx 4Fcwd6BZ+bfDG3h5EH7sOUvY/8ecPX1aTrQIlzpzde+tI5y38VJoSyb4b83hMiz4 nXZrY9o9w/GfCLqUMxKkYmeeJqQdXZm8FM9mz8T4wvIZeScDoNbxHLZrV2fOyX4K 9Pp1GACJ1Oxm5w= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AKKmntixaQFC for <23352-done@debbugs.gnu.org>; Thu, 21 Dec 2017 19:35:01 +0000 (UTC) Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id C5D67225EB; Thu, 21 Dec 2017 19:35:00 +0000 (UTC) Date: Thu, 21 Dec 2017 20:46:33 +0100 Message-Id: From: charles@aurox.ch (Charles A. Roelli) To: Nick Roosevelt In-reply-to: (message from Nick Roosevelt on Sat, 23 Apr 2016 14:27:35 -0700) Subject: Re: bug#23352: 24.5; find-grep repeat References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 23352-done Cc: 23352-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Date: Sat, 23 Apr 2016 14:27:35 -0700 > From: Nick Roosevelt > > I do a find-grep, and it's great. The buffer is compilation mode and > everything. But I often want to do the same search again after doing > some editing. Most of the time, for compilation mode, when I try again, > it would have the same compile command. Not in find-grep. In other > modes, a simple 'g' would redo it, but in the find-grep, it does > something else (It seems to me that it used to try to do a compile with > `make -k` but now it seems to want to save the buffer.) A stackoverflow > user suggested filing a bug report > (http://stackoverflow.com/questions/35808207/how-can-i-easily-repeat-emacs-find-grep), > so here it is. > > In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0) > of 2015-08-11 on yosemitevm.local > Configured using: > `configure --prefix=/usr/local/Cellar/emacs/24.5 > --enable-locallisppath=/usr/local/share/emacs/site-lisp > --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2 > --without-dbus --without-gnutls --without-x --without-ns' `g' (recompile) in the buffer generated by find-grep seems to repeat the compile command exactly as it was issued, at least in emacs -q. If you can show a counterexample, please reopen this bug. ------------=_1513885382-13267-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 23 Apr 2016 22:30:30 +0000 Received: from localhost ([127.0.0.1]:44366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au64M-0000DG-24 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 18:30:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au55f-0006yA-I5 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au55Y-0008Of-Ev for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55Y-0008Ob-BM for submit@debbugs.gnu.org; Sat, 23 Apr 2016 17:27:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55W-0005mv-M0 for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au55U-0008OR-QC for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:38 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:38246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au55U-0008OM-If for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 17:27:36 -0400 Received: by mail-ig0-x229.google.com with SMTP id m9so38967097ige.1 for ; Sat, 23 Apr 2016 14:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=V4H30nv1XlEQUvPR+CuwNeFx4nw+zc6KVZ0qOq+wBTI=; b=HuCeWp+2vqztBGms8xCrfPMWblYjvt1hflafvPZYOYmP1+2Tw3D9QV+I6IZcBY0Jfz WvO1s9plmmOcUz5v6zA2c97mi5ATFVrtHyxpmZ2DpEmUDJ23Gfh9Jg3TzhXLZN3uFT+b gQ2CyUNlx/m5sRBnRZDXrUiZpK0BUFbUHIHQmH2EqlGOvAMsMP//GXyf0z7jx8ekZT6y 665stApBG7J7up/6hISUwUtJr9Jc4AH+2wVZrZSzaETGPNnuq8TVdgR74kZOoYp9Y77c 4oxx3B1vD4xsrhHWlZRTE1QJ33qAfvaQhKVGkhHV1ZU3WcXGzH7xNE/dB0LPRu2CA/g3 o+vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=V4H30nv1XlEQUvPR+CuwNeFx4nw+zc6KVZ0qOq+wBTI=; b=DWHmMUoKEUTTs2o17rB6P3Y3c5zhO0LJSLm/Ag2M2/Q+Ux47VDJJZ35QKYtZdKfZvW v0+95zG0aNUZIsh1NmfybApHUePmXMD3z1d/c0kgvs3DlU62sGwrkjCqiaiPEjzJyDCp /llzIc+Fyji9Yc0Vazk7x2suTOSxLSggxjppKznk89+ndkbR+enyI2VF86m9yyTIaMq3 niFlAt3Pc0pAD03X56tKNRP5CV7rhkIV4WjbqB6qkUiTx0CaXwlcQfAokcltv+rwFX1v XyRIhk/B8kX1tOroT7XPFnZGLgIx9iZ0+x962gZ1b6njnh+Bdpjp2+g36vgK1LiFIWFs +yuA== X-Gm-Message-State: AOPr4FVkVXx+8JfIHbfTZ4zxpeF3xKMQciT2N5dlNlunAW/M3m/UmBGG7m0pz+wImBCLzbKx9C2u+QMhpUyVPQ== MIME-Version: 1.0 X-Received: by 10.50.142.97 with SMTP id rv1mr4240214igb.74.1461446855835; Sat, 23 Apr 2016 14:27:35 -0700 (PDT) Received: by 10.79.130.135 with HTTP; Sat, 23 Apr 2016 14:27:35 -0700 (PDT) Date: Sat, 23 Apr 2016 14:27:35 -0700 Message-ID: Subject: 24.5; find-grep repeat From: Nick Roosevelt To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1130c444b34a4405312d9c21 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 23 Apr 2016 18:30:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --001a1130c444b34a4405312d9c21 Content-Type: text/plain; charset=UTF-8 I do a find-grep, and it's great. The buffer is compilation mode and everything. But I often want to do the same search again after doing some editing. Most of the time, for compilation mode, when I try again, it would have the same compile command. Not in find-grep. In other modes, a simple 'g' would redo it, but in the find-grep, it does something else (It seems to me that it used to try to do a compile with `make -k` but now it seems to want to save the buffer.) A stackoverflow user suggested filing a bug report ( http://stackoverflow.com/questions/35808207/how-can-i-easily-repeat-emacs-find-grep ), so here it is. In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0) of 2015-08-11 on yosemitevm.local Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2 --without-dbus --without-gnutls --without-x --without-ns' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Ruby Minor modes in effect: global-flycheck-mode: t flycheck-mode: t rspec-verifiable-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t display-time-mode: t diff-auto-refine-mode: t tooltip-mode: t electric-indent-mode: t file-name-shadow-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Quit Grep finished (matches found) *grep* finished ESC C-M-g is undefined Quit [2 times] Grep finished (matches found) *grep* finished Making completion list... Load-path shadows: /Users/nroose/.emacs.d/elpa/dash-20140811.523/dash hides /usr/local/share/emacs/site-lisp/dash-emacs/dash /Users/nroose/.emacs.d/elpa/dash-functional-20150828.413/dash-functional hides /usr/local/share/emacs/site-lisp/dash-emacs/dash-functional ~nroose/emacs/cl-lib hides /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/emacs-lisp/cl-lib Features: (shadow sort mail-extr emacsbug sendmail grep coffee-mode misearch multi-isearch ibuf-ext ibuffer vc-git slim-mode xterm magit-version flycheck find-func rx pcase subr-x .emacs web-mode disp-table rubocop feature-mode cucumber-mode rspec-mode compile info flycheck-autoloads dash-autoloads pkg-info-autoloads epl-autoloads magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit package epg-config magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode help-mode magit-git crm magit-section magit-utils git-commit with-editor async-bytecomp async tramp-sh tramp tramp-compat auth-source eieio eieio-core gnus-util password-cache tramp-loaddefs trampver shell pcomplete server dash haml-mode js time-date advice byte-opt bytecomp byte-compile cl-extra cconv json imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode ruby-mode smie sql-indent sql view thingatpt csh-mode yaml-mode time image rdebug gud tool-bar comint regexp-opt ansi-color rcov psvn derived wid-edit cl-macs cl gv log-edit message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log diff-mode easy-mmode pp elp ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util dired easymenu bindings-config edmacro kmacro cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Memory information: ((conses 16 355530 25362) (symbols 48 36100 0) (miscs 40 2380 1816) (strings 32 80035 8501) (string-bytes 1 2397100) (vectors 16 29393) (vector-slots 8 568117 8953) (floats 8 157 821) (intervals 56 6460 259) (buffers 960 30)) --001a1130c444b34a4405312d9c21 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I do a find-grep, and it's great.=C2=A0 The buffer is = compilation mode and
everything.=C2=A0 But I often want to do the same s= earch again after doing
some editing.=C2=A0 Most of the time, for compil= ation mode, when I try again,
it would have the same compile command.=C2= =A0 Not in find-grep.=C2=A0 In other
modes, a simple 'g' would r= edo it, but in the find-grep, it does
something else (It seems to me tha= t it used to try to do a compile with
`make -k` but now it seems to want= to save the buffer.)=C2=A0 A stackoverflow
user suggested filing a bug = report
(http://stackoverflow.com/questions/35808207= /how-can-i-easily-repeat-emacs-find-grep),
so here it is.


In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0)
of 2015-08-11 on yo= semitevm.local
Configured using:
`configure --prefix=3D/usr/local/Cel= lar/emacs/24.5
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp=
--infodir=3D/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2--without-dbus --without-gnutls --without-x --without-ns'

Impo= rtant settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-codi= ng-system: utf-8-unix

Major mode: Ruby

Minor modes in effect:=
=C2=A0 global-flycheck-mode: t
=C2=A0 flycheck-mode: t
=C2=A0 rsp= ec-verifiable-mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0 auto-re= vert-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-p= ackage-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 display-time-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 font-l= ock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mo= de: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mode: t=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent = messages:
Quit
Grep finished (matches found)
*grep* finished
ESC C-M-g is undefined
Quit [2 times]
Grep finished (matches found)=
*grep* finished

Making completion list...

Load-path shado= ws:
/Users/nroose/.emacs.d/elpa/dash-20140811.523/dash hides /usr/local/= share/emacs/site-lisp/dash-emacs/dash
/Users/nroose/.emacs.d/elpa/dash-f= unctional-20150828.413/dash-functional hides /usr/local/share/emacs/site-li= sp/dash-emacs/dash-functional
~nroose/emacs/cl-lib hides /usr/local/Cell= ar/emacs/24.5/share/emacs/24.5/lisp/emacs-lisp/cl-lib

Features:
(= shadow sort mail-extr emacsbug sendmail grep coffee-mode misearch
multi-= isearch ibuf-ext ibuffer vc-git slim-mode xterm magit-version
flycheck f= ind-func rx pcase subr-x .emacs web-mode disp-table rubocop
feature-mode= cucumber-mode rspec-mode compile info flycheck-autoloads
dash-autoloads= pkg-info-autoloads epl-autoloads magit-blame magit-stash
magit-bisect m= agit-remote magit-commit magit-sequence magit package
epg-config magit-a= pply magit-wip magit-log magit-diff smerge-mode
magit-core magit-autorev= ert autorevert filenotify magit-process
magit-popup magit-mode help-mode= magit-git crm magit-section magit-utils
git-commit with-editor async-by= tecomp async tramp-sh tramp tramp-compat
auth-source eieio eieio-core gn= us-util password-cache tramp-loaddefs
trampver shell pcomplete server da= sh haml-mode js time-date advice
byte-opt bytecomp byte-compile cl-extra= cconv json imenu cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles c= c-align cc-engine cc-vars
cc-defs css-mode ruby-mode smie sql-indent sql= view thingatpt csh-mode
yaml-mode time image rdebug gud tool-bar comint= regexp-opt ansi-color
rcov psvn derived wid-edit cl-macs cl gv log-edit= message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode ma= il-parse rfc2231
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr = mailabbrev
mail-utils gmm-utils mailheader ring pcvs-util add-log diff-m= ode
easy-mmode pp elp ediff-merg ediff-wind ediff-diff ediff-mult ediff-= help
ediff-init ediff-util dired easymenu bindings-config edmacro kmacro=
cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks
lis= p-float-type tabulated-list newcomment lisp-mode prog-mode register
page= menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax
facem= enu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibeta= n thai tai-viet lao korean japanese hebrew greek romanian slovak
czech e= uropean ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-ho= ok help simple abbrev minibuffer nadvice loaddefs button
faces cus-face = macroexp files text-properties overlay sha1 md5 base64
format env code-p= ages mule custom widget hashtable-print-readable
backquote make-network-= process multi-tty emacs)

Memory information:
((conses 16 355530 2= 5362)
(symbols 48 36100 0)
(miscs 40 2380 1816)
(strings 32 80035 = 8501)
(string-bytes 1 2397100)
(vectors 16 29393)
(vector-slots 8 = 568117 8953)
(floats 8 157 821)
(intervals 56 6460 259)
(buffers 9= 60 30))
--001a1130c444b34a4405312d9c21-- ------------=_1513885382-13267-1--