emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window
@ 2011-12-15  1:26 Jeff Horn
  2011-12-15 16:58 ` Sean O'Halpin
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Horn @ 2011-12-15  1:26 UTC (permalink / raw)
  To: emacs-orgmode

Recently did a fresh pull, which seems to have broken org-agenda-switch-to.

To reproduce, open an agenda buffer, navigate to a line you want to
inspect, press [RET]. On my machine, this calls autopair, then falls
back to org-agenda-switch-to. Autopair doesn't seem to be causing the
problem, since it persists even if I call =M-x org-agenda-switch-to=
instead of pressing [RET].

Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

Can anyone reproduce?

,----[ Full Backtrace ]
| Debugger entered--Lisp error: (void-function
|   org-pop-to-buffer-same-window) (org-pop-to-buffer-same-window
|   buffer) (let* ((marker (or (org-get-at-bol (quote org-marker))
|   (org-agenda-error))) (buffer (marker-buffer marker)) (pos
|   (marker-position marker))) (org-pop-to-buffer-same-window buffer)
|   (and delete-other-windows (delete-other-windows)) (widen) (goto-char
|   pos) (when (eq major-mode (quote org-mode)) (org-show-context (quote
|   agenda)) (save-excursion (and (outline-next-heading)
|   (org-flag-heading nil))) (when (outline-invisible-p) (show-entry))))
|   (if (and org-return-follows-link (not (org-get-at-bol (quote
|   org-marker))) (org-in-regexp org-bracket-link-regexp))
|   (org-open-link-from-string (match-string 0)) (let* ((marker (or
|   (org-get-at-bol (quote org-marker)) (org-agenda-error))) (buffer
|   (marker-buffer marker)) (pos (marker-position marker)))
|   (org-pop-to-buffer-same-window buffer) (and delete-other-windows
|   (delete-other-windows)) (widen) (goto-char pos) (when (eq major-mode
|   (quote org-mode)) (org-show-context (quote agenda)) (save-excursion
|   (and (outline-next-heading) (org-flag-heading nil))) (when
|   (outline-invisible-p) (show-entry))))) org-agenda-switch-to()
|   call-interactively(org-agenda-switch-to) (let ((cua-delete-selection
|   (not autopair-autowrap)) (blink-matching-paren (not
|   autopair-action))) (call-interactively beyond-autopair)) (let*
|   ((autopair-emulation-alist nil) (beyond-cua (let ((cua--keymap-alist
|   nil)) (autopair-original-binding))) (beyond-autopair
|   (autopair-original-binding))) (when autopair-autowrap (setq
|   autopair-wrap-action (autopair-calculate-wrap-action))) (setq
|   this-original-command beyond-cua) (when (and (featurep (quote
|   paredit)) (string-match "paredit" (symbol-name beyond-cua))) (setq
|   autopair-action nil)) (let ((cua-delete-selection (not
|   autopair-autowrap)) (blink-matching-paren (not autopair-action)))
|   (call-interactively beyond-autopair))) autopair-fallback(" ") (let
|   ((pair (autopair-find-pair (char-before)))) (when (and pair (eq
|   (char-syntax pair) 41) (eq (char-after) pair)) (setq autopair-action
|   (list (quote newline) pair (point)))) (autopair-fallback (kbd
|   "RET"))) autopair-newline() call-interactively(autopair-newline nil
|   nil)
`----
-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-11  4:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-15  1:26 [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window Jeff Horn
2011-12-15 16:58 ` Sean O'Halpin
2011-12-18 18:55   ` Jeff Horn
2011-12-30 21:14     ` Jeff Horn
2011-12-30 21:44       ` Jeff Horn
2011-12-31 16:46         ` Nick Dokos
2012-01-11  4:16           ` Jeff Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).