Skip to content

Instantly share code, notes, and snippets.

View bdionne's full-sized avatar

Bob Dionne bdionne

View GitHub Profile
;; Wrapper for growlnotify
(defun growl-chat (title message &optional sticky)
(interactive "sTitle: \nsGrowl: ")
(shell-command
(format "/usr/local/bin/growlnotify %s -m '%s' --appIcon 'Aquamacs Emacs' %s" title message (if sticky "--sticky" ""))))
;; Sticky notifications
(defun growl-chat-sticky (title message)
(interactive "sTitle: \nsGrowl: ")
(growl-chat title message t))
(setq erlang-indent-level 4)
(setq erlang-tab-always-indent t)
(setq erlang-electric-commands t)
(require 'distel)
(distel-setup)
(defconst distel-shell-keys
'(("C-M-i" erl-complete)
("M-?" erl-complete)
PID Initial Call Status Info
<?.74.0> sneezy_lb_callback:ha break {sneezy_lb_callback,4
PID/Name Initial Call Reds Msgs
init otp_ring0:start/2 5215 0
erl_prim_loader erlang:apply/2 380848 0
error_logger proc_lib:init_p/5 18270 0
application_controlle erlang:apply/2 21633 0
<0.8.0> proc_lib:init_p/5 44 0
<0.9.0> application_master:start_it/4 69 0
kernel_sup proc_lib:init_p/5 39239 0
rex proc_lib:init_p/5 85 0
global_name_server proc_lib:init_p/5 50 0
(sneezy@erlang)1>
=INFO REPORT==== 8-Dec-2012::08:57:14 ===
PROCESSING: nomatch
(sneezy@erlang)1>
=INFO REPORT==== 8-Dec-2012::08:57:14 ===
PROCESSING: nomatch
(sneezy@erlang)1>
=ERROR REPORT==== 8-Dec-2012::08:57:14 ===
Error in process <0.63.0> on node 'sneezy@erlang' with exit value: {{badmatch,{error,not_found}},[{sneezy_user_store,inc_stat,2,[{file,"src/sneezy_user_store.erl"},{line,41}]},{sneezy_lb_callback,handle_event,3,[{file,"src/sneezy_lb_callback.erl"},{line,55}]},{elli_http,handle_request,4,...
PID Initial Call Status Info
<?.247.0> couch_btree:open/3 idle {}
<?.137.0> couch_btree:full_redu idle {}
<?.135.0> couch_btree:full_redu idle {}
<?.244.0> couch_btree:open/3 idle {}
<?.248.0> couch_btree:open/3 idle {}
<?.241.0> couch_btree:open/3 break {couch_btree,174}
<?.139.0> couch_btree:full_redu idle {}
<?.136.0> couch_btree:full_redu idle {}
<?.134.0> couch_btree:full_redu idle {}
% Copyright 2012 Cloudant
%
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
arbiter_op_update_shards:run/1
chttpd:replication_uri/2
chttpd:replication_uri/2
chttpd_auth:cookie_auth_header/2
chttpd_auth:cookie_auth_header/2
chttpd_auth:cookie_auth_user/1
chttpd_auth:default_authentication_handler/1
chttpd_auth:default_authentication_handler/1
chttpd_auth:delete_user/3
chttpd_auth:extract_password/1
(defun erlang-flymake-bigcouch-get-include-dirs ()
(list (concat (erlang-flymake-get-app-dir) "include")
"/Users/bitdiddle/emacs/dbcore/deps"
"/Users/bitdiddle/emacs/dbcore/apps"
"/Users/bitdiddle/emacs/couchdb/src"
"/Users/bitdiddle/emacs/couchdb/src/couchdb"
"/Users/bitdiddle/emacs"
))
(setq erlang-flymake-get-include-dirs-function
>> REG_SEND: [TYPE erl-pid distel_16799@erlang\.local 7 0 0] rex [[TYPE erl-pid distel_16799@erlang\.local 7 0 0] [call code ensure_loaded (distel) [TYPE erl-pid distel_16799@erlang\.local 1 0 0]]]
>> REG_SEND: [TYPE erl-pid distel_16799@erlang\.local 6 0 0] rex [[TYPE erl-pid distel_16799@erlang\.local 6 0 0] [call distel rpc_entry (distel who_calls (couch_util get_value 2)) [TYPE erl-pid distel_16799@erlang\.local 1 0 0]]]
<< SEND: [TYPE erl-pid distel_16799@erlang\.local 7 0 0] [rex [module distel]]
<< SEND: [TYPE erl-pid distel_16799@erlang\.local 1 0 0] [put_chars "application_controller: 4 unresolved calls
"]
<< SEND: [TYPE erl-pid distel_16799@erlang\.local 1 0 0] [put_chars "application_master: 6 unresolved calls
"]
<< SEND: [TYPE erl-pid distel_16799@erlang\.local 1 0 0] [put_chars "application_starter: 1 unresolved call
"]
<< SEND: [TYPE erl-pid distel_16799@erlang\.local 1 0 0] [put_chars "code: 1 unresolved call