raman <[EMAIL PROTECTED]> writes: > I observe that file-remote-p gets called *lots* of times while > doing things like expand-file-name --- though it doesn't appear > to have a performance hit on today's machines, it still feels > excessive --- at least when watching things in the debugger to > see Emacs performing the same set of contortions over and over > again.
`mode-line-format' contains per default `mode-line-remote', introduced a couple of weeks ago. Evaluating this variable calls `file-remote-p'. I guess this is the reason of the observed behaviour. As you said, it shouldn't be a performance bottleneck, because `file-remote-p' doesn't connect a remote machine ever. As far as I see in the code, `expand-file-name' doesn't call `file-remote-p'. Best regards, Michael. _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug