Re: distinguish tramp from non-tramp buffer

2018-08-11 Thread Michael Albinus
Ernesto Alfonso writes: Hi Ernesto, > Thanks Michael, that seems to work. Since this question has been asked several times on the mailing list, I've added it to the "Frequently Asked Questions" of the manual. > Ernesto Best regards, Michael. ___

Re: distinguish tramp from non-tramp buffer

2018-08-10 Thread Ernesto Alfonso
Thanks Michael, that seems to work. Ernesto On Fri, Aug 10, 2018 at 6:04 AM Michael Albinus wrote: > Ernesto Alfonso writes: > > > Hi, > > Hi Ernesto, > > > I'm not too familiar with tramp internals and I was looking for a way > > to easily determine whether a given buffer is using tramp or

Re: distinguish tramp from non-tramp buffer

2018-08-10 Thread Michael Albinus
Ernesto Alfonso writes: > Hi, Hi Ernesto, > I'm not too familiar with tramp internals and I was looking for a way > to easily determine whether a given buffer is using tramp or not, and > optionally to determine the method in use. The buffer-local variable `default-directory' will help. It