Edebug fails to remove overlay arrow when started from buffer with local overlay arrow, like *grep* Steps to repeat: emacs -Q M-x grep RET GNU src/* RET (assuming Emacs was started in the Emacs root) M-x next-error RET C-x C-f ../lisp/progmodes/compile.el RET C-s compilation-goto-locus ( C-a C-u C-M-x C-x b *grep* RET M-x next-error RET q Now, the Edebug overlay arrow is still present in the "compile.el" buffer, even though Edebug no longer is active. Sincerely, Anders Lindgren In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-01-09 on macpro.lan Repository revision: 115931 monnier@iro.umontreal.ca-20140109015919-e2odlbm4kphig5ya Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Grep Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f C-g x g r e p f p r o r SPC s r c - / * C-x C-f C-g C-x o C-x o C-h f c o m p i l a g o t C-e C-x p C-x o C-e C-u C-u C-M-x C-x b C-a g C-x b o m p c o m p C-h v e d e b u o v e r l a p o C-x o C-h v C-h v e m a v c z s - b z C-x p C-x o C-x o Recent messages: uncompressing compile.el.gz...done is undefined Edebug: compilation-goto-locus Go... Making completion list... [2 times] Type "q" to restore previous buffer. Grep exited abnormally with code 2 C-x p is undefined Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp edebug cl-loaddefs cl-lib jka-compr find-func help-mode easymenu help-fns vc-bzr shell pcomplete grep compile comint ansi-color ring time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs)