1

I have a few annoying warnings that appear when I start emacs:

$ /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 --
daemon=/tmp/green

Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/mavericks/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
starting ~/.emacs.d/init.el
ad-handle-definition: ‘tramp-read-passwd’ got redefined
ending ~/.emacs.d/init.el
Starting Emacs daemon.

How can I get rid of the tramp related warning and the "No such file" messages?

My setup is running: emacs 25.1 mostly on -nw mode and daemon/client mode osx 10.11.4 osx terminal with bash shell

Drew
  • 29,895
  • 7
  • 74
  • 104
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
  • How did you come about finding your binary -- did you download it from the tried and true: https://emacsformacosx.com/ Or did you build it yourself? You can build Emacs without dependencies and it won't look for anything extra when you launch it. – lawlist Apr 11 '16 at 08:51
  • i didnt build it myself, downloded from https://emacsformacosx.com/builds – american-ninja-warrior Apr 11 '16 at 10:13
  • Consider submitting a bug report to the maintainer about the `arch-dependent data dir . . .` warning message. As to the other message about `tramp-read-passwd`, search through your user-configuration and third-party installed libraries for that function -- that won't happen with **Emacs -Q**, so it's something you have done post-build (or permitted to be done . . .). It may not be necessary to redefine that function. – lawlist Apr 11 '16 at 16:02
  • `ad-handle-definition: ‘tramp-read-passwd’ got redefined` means that you (or a library you've loaded) has defined some *advice* for `tramp-read-passwd` (which necessarily redefines the function for that symbol), and that the thing being advised was loaded subsequently to the advice being evaluated. It's rather unlikely to be something you need to worry about. You can use `C-h f tramp-read-passwd` to find out more about the advice in question. – phils Apr 11 '16 at 20:59

1 Answers1

0

This could happen if you have some environment variables set like EMACSPATH which if set needs to be a directory.

nhed
  • 5,774
  • 3
  • 30
  • 44