tramp-devel
[Top][All Lists]
Advanced

[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: Dave Abrahams
Subject: Re: tramp (2.2.6-pre); remote rgrep doesn't work for me
Date: Mon, 17 Dec 2012 15:36:23 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin)

Nice!  I think you've nailed it!

on Mon Dec 17 2012, Michael Albinus <michael.albinus-AT-gmx.de> wrote:

> Dave Abrahams <address@hidden> writes:
>
>>> Then what about the following patch:
>>
>> Well, technically it works, but it leaves the grep buffer looking as
>> below.  Maybe it would be better to break each line at whitespace
>> after 80-120 characters.
>
> That would be hairy. Instead, I would prefer to filter the " \<NL>"
> strings out of the displayed command. Like this:
>
> detlef:~/src/emacs> bzr diff --diff-options=-c lisp/progmodes/compile.el
> === modified file 'lisp/progmodes/compile.el'
> *** lisp/progmodes/compile.el 2012-10-23 19:07:44 +0000
> --- lisp/progmodes/compile.el 2012-12-17 20:08:08 +0000
> ***************
> *** 1611,1617 ****
>               (format "%s started at %s\n\n"
>                       mode-name
>                       (substring (current-time-string) 0 19))
> !             command "\n")
>       (setq thisdir default-directory))
>         (set-buffer-modified-p nil))
>       ;; Pop up the compilation buffer.
> --- 1611,1618 ----
>               (format "%s started at %s\n\n"
>                       mode-name
>                       (substring (current-time-string) 0 19))
> !             (apply 'concat (split-string command (regexp-quote " \\\n") t))
> !             "\n")
>       (setq thisdir default-directory))
>         (set-buffer-modified-p nil))
>       ;; Pop up the compilation buffer.
>
> Does it work for you?
>
> Best regards, Michael.

-- 
Dave Abrahams
BoostPro Computing                  Software Development        Training
http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost



reply via email to

[Prev in Thread] Current Thread [Next in Thread]