From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ethan Glasser-Camp Newsgroups: gmane.emacs.bugs Subject: bug#23959: 25.0.94; find: missing argument to `-exec' Date: Tue, 12 Jul 2016 15:27:39 -0400 Message-ID: <87r3ayodw4.fsf@betacantrips.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468352087 6468 80.91.229.3 (12 Jul 2016 19:34:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 19:34:47 +0000 (UTC) To: 23959@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 21:34:35 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bN3Ry-0004rP-Ao for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 21:34:34 +0200 Original-Received: from localhost ([::1]:42952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3Rx-0007uK-G7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 15:34:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3Mh-0002kz-Mp for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:29:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN3Mc-0007Zs-2U for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3Mb-0007Zd-UZ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN3Mb-00066i-QQ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ethan Glasser-Camp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146835168123384 (code B ref -1); Tue, 12 Jul 2016 19:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jul 2016 19:28:01 +0000 Original-Received: from localhost ([127.0.0.1]:48726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN3La-00064d-0M for submit@debbugs.gnu.org; Tue, 12 Jul 2016 15:28:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN3LY-000646-Bz for submit@debbugs.gnu.org; Tue, 12 Jul 2016 15:27:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN3LR-0007K2-M7 for submit@debbugs.gnu.org; Tue, 12 Jul 2016 15:27:51 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3LR-0007Jv-IR for submit@debbugs.gnu.org; Tue, 12 Jul 2016 15:27:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3LO-0008GY-Q4 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:27:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN3LK-0007JH-4T for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:27:46 -0400 Original-Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:36696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3LJ-0007J4-V5 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:27:42 -0400 Original-Received: by mail-qt0-x22c.google.com with SMTP id 52so13799263qtq.3 for ; Tue, 12 Jul 2016 12:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wf0n3vp5de/yXwh+ivrdgPOOhiOfpFkmw28BfP+GtDk=; b=wCOTJxBbuzjiijqo60qgr/wfwDYah2boz0luSDJng2/hoyS8a+JEQqrZYNBUMfMRq0 8upNqtWEjqwSffJ2Lbj5SnTnR1xVSoRGaGNMxun51qVAku36kdLX2/gBs6MLG0ZtRIoX uvXjpRak1yDV6+rRsovfWGn7MpXh/paiTLhUjIfPX5vkNmUfCzHeloOPNGXLEz6CESKA lvYnaSRTcgAIFqXcrxXDxFAMt2fsVzdF78YhIWLHMIJZ6LObjhfDa0p8ySW/xptbarOD 4mFqyAng5JebgH58+849C/LyFmI0dWnnI0rc7Oy/AVnCkMEJUlOnXaQJl/SgHLHcDp5X ycrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wf0n3vp5de/yXwh+ivrdgPOOhiOfpFkmw28BfP+GtDk=; b=isDHNGNIXhL1rBIOWS397T5xQXSN6GMnq54TmKuUlJwq76IuQRgkgI+ZfFQee+nfVi DCENAg7QLUTH5UIx9F+71+XGp3SRKHQSx2o9j3eDpOkjcAxuY4aJIvQuzDefNCVWKYkm 25ma301b6wzebkvjyw+ATgc7T1XozwbHQQoSLmbDQjaFbjv7k/bkRB+eIPwVr9YsLn0J 8fF36NboiS4aR3xXG+BJE1/KRbf1zhjBmdsIX1cFCRHUMqq9j+BMbyABhm9ED2YhRrw7 kOBsxFhMpTKS8BJ0GZTJJsy7G7Xl4aAKQX2SkHuAm6m7cnDx+7BILHC4uLM1QQXO9ery Ypqw== X-Gm-Message-State: ALyK8tLVsyqnRdfLBr8SKBiPs2SZsDzgF0qZ431dPOXasCp8948o4XqzrQYVHi+YeEjZNw== X-Received: by 10.200.48.112 with SMTP id g45mr6171104qte.70.1468351661071; Tue, 12 Jul 2016 12:27:41 -0700 (PDT) Original-Received: from smtp.gmail.com ([66.114.71.21]) by smtp.gmail.com with ESMTPSA id r81sm1258616qka.33.2016.07.12.12.27.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 12:27:40 -0700 (PDT) X-Google-Original-From: Ethan Glasser-Camp 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120949 Archived-At: 1. Install fish-shell (http://fishshell.com/) and use it as your default shell, although it may be enough to launch emacs from inside fish. 2. emacs -Q 3. M-x rgrep RET 4. any string RET 5. any directory RET Expected result: grep is invoked on the given directory and files are returned. Actual result: find: missing argument to `-exec' I believe this is because the fish shell interprets the "{}" as a brace expansion -- see http://fishshell.com/docs/current/index.html#expand-brace -- and needs the braces to be escaped. Editing the grep command using C-u and inserting quotes around the braces makes it work as expected. In GNU Emacs 25.0.94.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.4) of 2016-05-18 built on buildhw-10.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11803000 System Description: Fedora release 24 (Twenty Four) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno --with-xwidgets build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el = (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/git-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/mercurial-site-start.el (so= urce)...done For information about GNU Emacs and the GNU system, type C-h C-a. You can run the command =E2=80=98set-variable=E2=80=99 with M-x s-va RET Loading sendmail...done user-error: Value =E2=80=98(quote header)=E2=80=99 does not match type choi= ce of mail-envelope-from M-p is undefined You can run the command =E2=80=98set-variable=E2=80=99 with M-x s-va RET Grep exited abnormally with code 1 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader find-dired dired grep compile comint ansi-color ring sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-edit cus-start cus-load wid-edit thingatpt help-fns help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 114420 7060) (symbols 48 21837 0) (miscs 40 94 116) (strings 32 19996 4525) (string-bytes 1 562787) (vectors 16 13396) (vector-slots 8 444288 4260) (floats 8 179 7) (intervals 56 325 0) (buffers 976 13) (heap 1024 22685 1616))