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


Message #11 received at 13304 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 13304 <at> debbugs.gnu.org
Subject: Re: bug#13304: [PATCH] full-path gud breakpoints now don't get
	confused by tramp
Date: Mon, 31 Dec 2012 16:41:42 +0100
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)

Best regards, Michael.




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.