{"issue":{"created_at":"2011-11-25T09:57:05Z","state":"closed","updated_at":"2011-12-14T10:56:58Z","user":{"gravatar_id":"07a14e3c722f3d9ffb0e3d111a59f74d","id":319349,"url":"https://api.github.com/users/FigmentEngine","login":"FigmentEngine","avatar_url":"https://secure.gravatar.com/avatar/07a14e3c722f3d9ffb0e3d111a59f74d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":8,"body":"New installation, with newbie vim user and first install of pathogen (so probably user error!)\r\n\r\nVim 7.2.2, pathogen 2.0\r\ndisabled the global /etc/vimrc\r\nput the following in .vimrc\r\n\r\n    call pathogen#infect()\r\n    syntax on\r\n    filetype plugin indent on\r\n\r\npathogen is in\r\n\r\n    ~$ ls .vim/autoload/pathogen.vim\r\n    .vim/autoload/pathogen.vim\r\n\r\nstarting vim:\r\n\r\n    vim -Vdebug -u NONE\r\n    :so .vimrc\r\n\r\nerror displayed\r\n\r\n    Error detected while processing /home/ec2-user/.vimrc:\r\n    line    1:\r\n    E117: Unknown function: pathogen#infect\r\n\r\ndebug text follows:\r\n\r\n    sourcing \".vimrc\"\r\n    Searching for \"autoload/pathogen.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/autoload/pathogen.vim\"\r\n    chdir(/home/me/.vim/autoload)\r\n    fchdir() to previous dir\r\n    line 1: sourcing \"/home/me/.vim/autoload/pathogen.vim\"\r\n    finished sourcing /home/me/.vim/autoload/pathogen.vim\r\n    continuing in /home/me/.vimrc\r\n    Searching for \"autoload/pathogen.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/autoload/pathogen.vim\"\r\n    chdir(/home/me/.vim/autoload)\r\n    fchdir() to previous dir\r\n    line 1: sourcing \"/home/me/.vim/autoload/pathogen.vim\"\r\n    finished sourcing /home/me/.vim/autoload/pathogen.vim\r\n    continuing in /home/me/.vimrc\r\n    Error detected while processing /home/me/.vimrc:\r\n    line    1:\r\n    E117: Unknown function: pathogen#infect\r\n    chdir(/usr/share/vim/vim72/syntax)\r\n    fchdir() to previous dir\r\n    line 2: sourcing \"/usr/share/vim/vim72/syntax/syntax.vim\"\r\n    Searching for \"syntax/synload.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/syntax/synload.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/syntax/synload.vim\"\r\n    Searching for \"/usr/share/vim/vim72/syntax/synload.vim\"\r\n    chdir(/usr/share/vim/vim72/syntax)\r\n    fchdir() to previous dir\r\n    line 19: sourcing \"/usr/share/vim/vim72/syntax/synload.vim\"\r\n    Searching for \"syntax/syncolor.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/syntax/syncolor.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/syntax/syncolor.vim\"\r\n    Searching for \"/usr/share/vim/vim72/syntax/syncolor.vim\"\r\n    chdir(/usr/share/vim/vim72/syntax)\r\n    fchdir() to previous dir\r\n    line 21: sourcing \"/usr/share/vim/vim72/syntax/syncolor.vim\"\r\n    finished sourcing /usr/share/vim/vim72/syntax/syncolor.vim\r\n    continuing in /usr/share/vim/vim72/syntax/synload.vim\r\n    Searching for \"/usr/share/vim/vimfiles/after/syntax/syncolor.vim\"\r\n    Searching for \"/home/me/.vim/after/syntax/syncolor.vim\"\r\n    finished sourcing /usr/share/vim/vim72/syntax/synload.vim\r\n    continuing in /usr/share/vim/vim72/syntax/syntax.vim\r\n    Searching for \"filetype.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/filetype.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/filetype.vim\"\r\n    Searching for \"/usr/share/vim/vim72/filetype.vim\"\r\n    chdir(/usr/share/vim/vim72)\r\n    fchdir() to previous dir\r\n    line 25: sourcing \"/usr/share/vim/vim72/filetype.vim\"\r\n    Searching for \"ftdetect/*.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/ftdetect/*.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/ftdetect/*.vim\"\r\n    Searching for \"/usr/share/vim/vim72/ftdetect/*.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/after/ftdetect/*.vim\"\r\n    Searching for \"/home/me/.vim/after/ftdetect/*.vim\"\r\n    not found in 'runtimepath': \"ftdetect/*.vim\"\r\n    finished sourcing /usr/share/vim/vim72/filetype.vim\r\n    continuing in /usr/share/vim/vim72/syntax/syntax.vim\r\n    Searching for \"/usr/share/vim/vimfiles/after/filetype.vim\"\r\n    Searching for \"/home/me/.vim/after/filetype.vim\"\r\n    Executing FileType Auto commands for \"*\"\r\n    autocommand exe \"set syntax=\" . expand(\"<amatch>\")  \r\n\r\n    Executing Syntax Auto commands for \"*\"\r\n    autocommand call s:SynSet()\r\n\r\n    Executing BufRead Auto commands for \"*\"\r\n    autocommand if !did_filetype() && expand(\"<amatch>\") !~ g:ft_ignore_pat | runtime! scripts.vim | endif\r\n\r\n    Searching for \"scripts.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/scripts.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/scripts.vim\"\r\n    Searching for \"/usr/share/vim/vim72/scripts.vim\"\r\n    chdir(/usr/share/vim/vim72)\r\n    fchdir() to previous dir\r\n    line 0: sourcing \"/usr/share/vim/vim72/scripts.vim\"\r\n    finished sourcing /usr/share/vim/vim72/scripts.vim\r\n    continuing in BufRead Auto commands for \"*\"\r\n    Searching for \"/usr/share/vim/vimfiles/after/scripts.vim\" \r\n    Searching for \"/home/me/.vim/after/scripts.vim\"\r\n    Executing BufRead Auto commands for \"*\"\r\n    autocommand if !did_filetype() && expand(\"<amatch>\") !~ g:ft_ignore_pat    && (getline(1) =~ '^#' || getline(2) =~ '^#' || getline(3) =~ '^#'^I|| getline(4) =~ '^#' || getline(5) =~ '^#') |   setf conf | endif \r\n\r\n    finished sourcing /usr/share/vim/vim72/syntax/syntax.vim\r\n    continuing in /home/me/.vimrc\r\n    Searching for \"filetype.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/filetype.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/filetype.vim\"\r\n    Searching for \"/usr/share/vim/vim72/filetype.vim\"\r\n    chdir(/usr/share/vim/vim72)\r\n    fchdir() to previous dir\r\n    line 3: sourcing \"/usr/share/vim/vim72/filetype.vim\"\r\n    finished sourcing /usr/share/vim/vim72/filetype.vim\r\n    continuing in /home/me/.vimrc\r\n    Searching for \"/usr/share/vim/vimfiles/after/filetype.vim\"\r\n    Searching for \"/home/me/.vim/after/filetype.vim\"\r\n    Searching for \"ftplugin.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/ftplugin.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/ftplugin.vim\"\r\n    Searching for \"/usr/share/vim/vim72/ftplugin.vim\"\r\n    chdir(/usr/share/vim/vim72)\r\n    fchdir() to previous dir\r\n    line 3: sourcing \"/usr/share/vim/vim72/ftplugin.vim\"\r\n    finished sourcing /usr/share/vim/vim72/ftplugin.vim\r\n    continuing in /home/me/.vimrc\r\n    Searching for \"/usr/share/vim/vimfiles/after/ftplugin.vim\"\r\n    Searching for \"/home/me/.vim/after/ftplugin.vim\"\r\n    Searching for \"indent.vim\" in \"/home/me/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/home/me/.vim/after\"\r\n    Searching for \"/home/me/.vim/indent.vim\"\r\n    Searching for \"/usr/share/vim/vimfiles/indent.vim\"\r\n    Searching for \"/usr/share/vim/vim72/indent.vim\"\r\n    chdir(/usr/share/vim/vim72)\r\n    fchdir() to previous dir\r\n    line 3: sourcing \"/usr/share/vim/vim72/indent.vim\"\r\n    finished sourcing /usr/share/vim/vim72/indent.vim\r\n    continuing in /home/me/.vimrc\r\n    Searching for \"/usr/share/vim/vimfiles/after/indent.vim\"\r\n    Searching for \"/home/me/.vim/after/indent.vim\"\r\n    finished sourcing .vimrc \r\n\r\n","assignee":null,"id":2347922,"labels":[],"number":50,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"E117: Unknown function: pathogen#infect","html_url":"https://github.com/tpope/vim-pathogen/issues/50","closed_at":"2011-12-14T10:56:58Z","url":"https://api.github.com/repos/tpope/vim-pathogen/issues/50","milestone":null},"action":"closed"}