GNU bug report logs - #13304
[PATCH] full-path gud breakpoints now don't get confused by tramp

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Sat, 29 Dec 2012 11:02:02 UTC

Severity: normal

Tags: patch

Done: Dima Kogan <dima <at> secretsauce.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dima Kogan <dima <at> secretsauce.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 13304 <at> debbugs.gnu.org
Subject: bug#13304: [PATCH] full-path gud breakpoints now don't get confused by tramp
Date: Mon, 31 Dec 2012 11:53:13 -0800
[Message part 1 (text/plain, inline)]
> On Mon, 31 Dec 2012 16:41:42 +0100
> Michael Albinus <michael.albinus <at> gmx.de> wrote:
>
> Dima Kogan <dima <at> secretsauce.net> writes:
> 
> > +	     (tramp-file-name-localname (tramp-dissect-file-name
> > +					 (buffer-file-name) t))
> 
> Don't use Tramp internal functions, they are not documented by
> intention. You could use instead
> 
> (file-remote-p (buffer-file-name) 'localname)

Great point; this is really much better. I'm attaching an updated patch.
[0001-full-path-gud-breakpoints-now-don-t-get-confused-by-.patch (text/x-patch, attachment)]

This bug report was last modified 9 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.