[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.2.6-pre); remote rgrep doesn't work for me
From: |
Michael Albinus |
Subject: |
Re: tramp (2.2.6-pre); remote rgrep doesn't work for me |
Date: |
Mon, 17 Dec 2012 14:41:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Dave Abrahams <address@hidden> writes:
> on Sun Dec 16 2012, Michael Albinus <michael.albinus-AT-gmx.de> wrote:
>
>> Maybe it is due to the very long command line? What happens, if you send
>> the command in the Emacs shell as (several lines)
>
> It works fine.
Then what about the following patch:
--8<---------------cut here---------------start------------->8---
address@hidden:~/src/emacs$ bzr diff --diff-options=-c lisp/progmodes/grep.el
=== modified file 'lisp/progmodes/grep.el'
*** lisp/progmodes/grep.el 2012-11-30 07:37:23 +0000
--- lisp/progmodes/grep.el 2012-12-17 13:26:14 +0000
***************
*** 999,1005 ****
" " find-name-arg " "
(mapconcat #'shell-quote-argument
(split-string files)
! (concat " -o " find-name-arg " "))
" "
(shell-quote-argument ")"))
dir
--- 999,1005 ----
" " find-name-arg " "
(mapconcat #'shell-quote-argument
(split-string files)
! (concat " \\\n" " -o " find-name-arg "
"))
" "
(shell-quote-argument ")"))
dir
***************
*** 1020,1026 ****
(concat "*/"
(cdr ignore)))))))
grep-find-ignored-directories
! " -o -path ")
" "
(shell-quote-argument ")")
" -prune -o "))
--- 1020,1026 ----
(concat "*/"
(cdr ignore)))))))
grep-find-ignored-directories
! " \\\n -o -path ")
" "
(shell-quote-argument ")")
" -prune -o "))
***************
*** 1038,1044 ****
(shell-quote-argument
(cdr ignore))))))
grep-find-ignored-files
! " -o -name ")
" "
(shell-quote-argument ")")
" -prune -o "))))))
--- 1038,1044 ----
(shell-quote-argument
(cdr ignore))))))
grep-find-ignored-files
! " \\\n -o -name ")
" "
(shell-quote-argument ")")
" -prune -o "))))))
--8<---------------cut here---------------end--------------->8---
- tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/09
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Michael Albinus, 2012/12/09
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/14
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Michael Albinus, 2012/12/16
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/16
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Michael Albinus, 2012/12/16
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/16
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me,
Michael Albinus <=
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/17
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Michael Albinus, 2012/12/17
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/17
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Michael Albinus, 2012/12/20
- Re: tramp (2.2.6-pre); remote rgrep doesn't work for me, Dave Abrahams, 2012/12/20