Repository: bbatsov/projectile

Issue #1364: void-function orig-fun in compilation-find-file-projectile-find-compilation-buffer advice
Created: 2018-12-17T10:29:48Z
Expected behavior
Navigate to warning line of code.
Actual behavior
Debugger entered--Lisp error: (void-function orig-fun)
  orig-fun(#<marker at 852 in *Compile-Log*> "projectile.el" nil nil)
  compilation-find-file-projectile-find-compilation-buffer(#f(advice-wrapper :around #f(compiled-function (marker filename directory &rest formats) "Find a buffer for file FILENAME.\nIf FILENAME is not found at all, ask the user where to find it.\nPop up the buffer containing MARKER and scroll to MARKER if we ask\nthe user where to find the file.\nSearch the directories in `compilation-search-path'.\nA nil in `compilation-search-path' means to try the\n\"current\" directory, which is passed in DIRECTORY.\nIf DIRECTORY is relative, it is combined with `default-directory'.\nIf DIRECTORY is nil, that means use `default-directory'.\nFORMATS, if given, is a list of formats to reformat FILENAME when\nlooking for it: for each element FMT in FORMATS, this function\nattempts to find a file whose name is produced by (format FMT FILENAME)." #<bytecode 0x8dbc3d>) ad-Advice-compilation-find-file) #<marker at 852 in *Compile-Log*> "projectile.el" nil)
  apply(compilation-find-file-projectile-find-compilation-buffer #f(advice-wrapper :around #f(compiled-function (marker filename directory &rest formats) "Find a buffer for file FILENAME.\nIf FILENAME is not found at all, ask the user where to find it.\nPop up the buffer containing MARKER and scroll to MARKER if we ask\nthe user where to find the file.\nSearch the directories in `compilation-search-path'.\nA nil in `compilation-search-path' means to try the\n\"current\" directory, which is passed in DIRECTORY.\nIf DIRECTORY is relative, it is combined with `default-directory'.\nIf DIRECTORY is nil, that means use `default-directory'.\nFORMATS, if given, is a list of formats to reformat FILENAME when\nlooking for it: for each element FMT in FORMATS, this function\nattempts to find a file whose name is produced by (format FMT FILENAME)." #<bytecode 0x8dbc3d>) ad-Advice-compilation-find-file) (#<marker at 852 in *Compile-Log*> "projectile.el" nil))
  compilation-find-file(#<marker at 852 in *Compile-Log*> "projectile.el" nil)
  apply(compilation-find-file #<marker at 852 in *Compile-Log*> "projectile.el" nil nil)
  compilation-next-error-function(0 nil)
  next-error-internal()
  compile-goto-error(return)
  funcall-interactively(compile-goto-error return)
  call-interactively(compile-goto-error nil nil)
  command-execute(compile-goto-error)

Steps to reproduce the problem

Open projectile.el file. Run M-x byte-compile-file [RET] projectile.el [RET]
Click on any warning line to navigate the code.

Projectile version information
Projectile 20181217.801

Duplicate issue #1365: Commit e0762baea97ad30e84a4963d76015be18586745a break ggtags for me
Created: 2018-12-17T23:55:39Z
Expected behavior
ggtags should jump to definition
Actual behavior
Error: Symbol's function definition is void: orig-fun
Steps to reproduce the problem
enable ggtags in a project,
open list of definitions with M-.
jump to definition with enter
Environment & Version information
Projectile version information
(commit 1ac0ded)
*Include here the version string displayed by M-x projectile-version.
Projectile 1.1.0snapshot 

Emacs version
GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-31
Operating system
OSX

Closing comment (2018-12-18T00:00:44Z): duplicate of #1364