From: Jeff Horn <jrhorn424@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window
Date: Wed, 14 Dec 2011 20:26:40 -0500 [thread overview]
Message-ID: <CA+K2SAyoq3ncf4jW4yHU3oZWKOGHyQ7JyBnJP_Sxp=b9dfsPLQ@mail.gmail.com> (raw)
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/
next reply other threads:[~2011-12-15 1:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 1:26 Jeff Horn [this message]
2011-12-15 16:58 ` [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+K2SAyoq3ncf4jW4yHU3oZWKOGHyQ7JyBnJP_Sxp=b9dfsPLQ@mail.gmail.com' \
--to=jrhorn424@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).