Rodrigo Bernardo Pimentel <[EMAIL PROTECTED]> writes: > > > However, having to type "/[root@localhost]" is getting old faster > > > and faster :) > > > > Yes, indeed. Well, the most recent version of Tramp has a variable > > tramp-default-method-alist which allows you to configure some > > things. By default, root is the default user for the `su' method, > > for example, so /[su/localhost] should be enough. > > > > Oh, on XEmacs the default value is nil. Sorry. > > Why is that? > > > Then the host name may be empty, so that /[su/root@] might work. But > > don't count on it...
If I remember correctly, "root" and "localhost" are default values for both "su" and "sudo" methods. If you have nothing defined in your .emacs; still user name / host name completion (via <TAB>) should give you these values. Just checked with GNU Emacs; it still seems to work. For XEmacs I'm too tired now. > Thanks a lot, > > > > rbp Best regards, Michael. _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel
