Skip to content

Instantly share code, notes, and snippets.

Ian Eure ieure

Block or report user

Report or block ieure

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pdl-org.el
(defun pdl-agenda ()
"Switch to my agenda, regenerating it in the process."
(interactive)
(save-selected-window
(pop-to-buffer
(prog1 org-agenda-buffer-name
(if (get-buffer org-agenda-buffer-name)
(org-agenda-redo)
(org-agenda nil "a")
(org-agenda-day-view))))))
View gist:603512
def maybe_raise(an_exception):
if some_condition:
raise an_exception
try:
raise Exception("test 123")
except Exception, ex:
maybe_raise(ex)
You can’t perform that action at this time.