Public Activity

Fetched from http://localhost:42353/activitypub/public/page?cursor=%7B%22or%22%3A%5B%7B%22published%22%3A%7B%22lt%22%3A%222018-10-15T14%3A42%3A00.332Z%22%7D%7D%2C%7B%22and%22%3A%5B%7B%22published%22%3A%7B%22equals%22%3A%222018-10-15T14%3A42%3A00.332Z%22%7D%7D%2C%7B%22id%22%3A%7B%22lt%22%3A%22https%3A%2F%2Fdistbin.com%2Factivities%2F0f5f5a70-379e-49b4-b072-e411b5d848d1%22%7D%7D%5D%7D%5D%7D

{…}
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "OrderedCollectionPage",
  "orderedItems": [
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:1ac5066b-e69f-4d7f-97b2-98fead2244d5",
        "type": "Note",
        "content": "[2018-10-13 19:47:08 +0200] ERROR: oh crap, an exception\r\n----------------------------------------------------------------\r\nWe are very sorry. It seems that an error occurred in Sup. Please\r\naccept our sincere apologies. Please submit the contents of\r\n/home/user/.sup/exception-log.txt and a brief report of the\r\ncircumstances to https://github.com/sup-heliotrope/sup/issues so that\r\nwe might address this problem. Thank you!\r\n\r\nSincerely,\r\nThe Sup Developers\r\n----------------------------------------------------------------\r\n--- RuntimeError from thread: poll after loading inbox\r\n\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in `find_docid'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:in `find_doc'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:181:in `message_joining_killed?'\r\n(eval):1:in `message_joining_killed?'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:217:in `block in poll_from'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:161:in `block in poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each_with_index'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:201:in `poll_from'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:146:in `block (2 levels) in do_poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:136:in `each'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:136:in `block in do_poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:135:in `synchronize'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:135:in `do_poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/modes/poll_mode.rb:15:in `poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:58:in `poll_with_sources'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:94:in `poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/bin/sup:207:in `block (2 levels) in <module:Redwood>'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup.rb:87:in `block in reporting_thread'\r\n--- RuntimeError from thread: index sync\r\n\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in `find_docid'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:in `find_doc'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `block in index_message_threading'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `map'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `index_message_threading'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:717:in `sync_message'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:141:in `update_message_state'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:566:in `run_sync_worker'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:553:in `block in start_sync_worker'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup.rb:87:in `block in reporting_thread'\r\n--- RuntimeError from thread: main\r\n\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in `find_docid'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:in `find_doc'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `block in index_message_threading'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `map'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in `index_message_threading'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:717:in `sync_message'\r\n(eval):1:in `sync_message'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:215:in `block in poll_from'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:161:in `block in poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each_with_index'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `poll'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:201:in `poll_from'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'\r\n/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/sent.rb:33:in `block in write_sent_message'",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "https://distbin.com/activities/f6fbf460-467b-450d-80d5-9dd507f0f9fe",
      "published": "2018-10-15T00:11:44.921Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:f6fbf460-467b-450d-80d5-9dd507f0f9fe"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/f6fbf460-467b-450d-80d5-9dd507f0f9fe"
      ],
      "uuid": "f6fbf460-467b-450d-80d5-9dd507f0f9fe",
      "replies": "https://distbin.com/activities/f6fbf460-467b-450d-80d5-9dd507f0f9fe/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:7e5477c5-88b5-4a66-9077-34487a738d4a",
        "type": "Note",
        "content": "no.",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "https://distbin.com/activities/d80db44a-ad02-4404-a65e-d75659d9f5a5"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/d80db44a-ad02-4404-a65e-d75659d9f5a5"
      ],
      "id": "https://distbin.com/activities/412f1652-2f0f-4ddb-9a12-1d71f635caa8",
      "published": "2018-10-14T17:13:59.487Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:412f1652-2f0f-4ddb-9a12-1d71f635caa8"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/412f1652-2f0f-4ddb-9a12-1d71f635caa8"
      ],
      "uuid": "412f1652-2f0f-4ddb-9a12-1d71f635caa8",
      "replies": "https://distbin.com/activities/412f1652-2f0f-4ddb-9a12-1d71f635caa8/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:51c3cee8-cb02-4f89-b354-49481509ea4c",
        "type": "Note",
        "content": "",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "http://distbin.com/about"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "http://distbin.com/about"
      ],
      "id": "https://distbin.com/activities/cfc53e4e-b1ef-4ce4-b031-4450993ac9e1",
      "published": "2018-10-14T10:45:16.939Z",
      "distbin:activityPubDeliveryFailures": [
        {
          "name": "UnexpectedContentTypeError",
          "message": "Dont know how to parse contentType=text/html"
        }
      ],
      "distbin:activityPubDeliverySuccesses": [],
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:cfc53e4e-b1ef-4ce4-b031-4450993ac9e1"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/cfc53e4e-b1ef-4ce4-b031-4450993ac9e1"
      ],
      "uuid": "cfc53e4e-b1ef-4ce4-b031-4450993ac9e1",
      "replies": "https://distbin.com/activities/cfc53e4e-b1ef-4ce4-b031-4450993ac9e1/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:fbb0478d-2995-4f3e-919b-e96bde395d24",
        "type": "Note",
        "content": "Another reply, by somebody else",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "https://distbin.com/activities/f5a0578e-2885-4570-9824-b9dcc5269a18"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/f5a0578e-2885-4570-9824-b9dcc5269a18",
        "https://distbin.com/activities/89e33de8-b4e9-43dd-bbd4-1863645d0af0"
      ],
      "attributedTo": {
        "url": "http://mastodon.social/@weslem"
      },
      "id": "https://distbin.com/activities/3701dbc7-0283-4d59-9f7f-b1c36eadd6da",
      "published": "2018-10-12T18:13:17.595Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:3701dbc7-0283-4d59-9f7f-b1c36eadd6da"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/3701dbc7-0283-4d59-9f7f-b1c36eadd6da"
      ],
      "uuid": "3701dbc7-0283-4d59-9f7f-b1c36eadd6da",
      "replies": "https://distbin.com/activities/3701dbc7-0283-4d59-9f7f-b1c36eadd6da/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:ad02dc0a-5f87-41da-853b-d3d6ed6d2949",
        "type": "Note",
        "content": "",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "http://distbin.com/about"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "http://distbin.com/about"
      ],
      "id": "https://distbin.com/activities/4eff93c7-0b27-4ba1-b942-ae0ba0133191",
      "published": "2018-10-11T04:47:24.069Z",
      "distbin:activityPubDeliveryFailures": [
        {
          "name": "UnexpectedContentTypeError",
          "message": "Dont know how to parse contentType=text/html"
        }
      ],
      "distbin:activityPubDeliverySuccesses": [],
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:4eff93c7-0b27-4ba1-b942-ae0ba0133191"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/4eff93c7-0b27-4ba1-b942-ae0ba0133191"
      ],
      "uuid": "4eff93c7-0b27-4ba1-b942-ae0ba0133191",
      "replies": "https://distbin.com/activities/4eff93c7-0b27-4ba1-b942-ae0ba0133191/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:27e6ea2c-1663-4c6c-b589-0cb73e1057a6",
        "type": "Note",
        "content": "foo bar",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "https://distbin.com/activities/32c05aaf-d8d4-4136-85b0-a59e1d0ac73e",
      "published": "2018-10-10T15:48:46.600Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:32c05aaf-d8d4-4136-85b0-a59e1d0ac73e"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/32c05aaf-d8d4-4136-85b0-a59e1d0ac73e"
      ],
      "uuid": "32c05aaf-d8d4-4136-85b0-a59e1d0ac73e",
      "replies": "https://distbin.com/activities/32c05aaf-d8d4-4136-85b0-a59e1d0ac73e/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:c037f709-1a24-40bb-bc5b-9702966c0bd3",
        "type": "Note",
        "content": "Test",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "https://distbin.com/activities/544d4888-00c0-47cb-ba44-234ef70ecd04",
      "published": "2018-10-09T17:20:36.230Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:544d4888-00c0-47cb-ba44-234ef70ecd04"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/544d4888-00c0-47cb-ba44-234ef70ecd04"
      ],
      "uuid": "544d4888-00c0-47cb-ba44-234ef70ecd04",
      "replies": "https://distbin.com/activities/544d4888-00c0-47cb-ba44-234ef70ecd04/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:04fe402d-b06b-4b8e-aa2b-1cba8e06d4b3",
        "type": "Note",
        "content": ";; -------------------------------------\r\n;; Security\r\n(setq network-security-level 'paranoid) ;; asks for certificate verification on each SSL connection, option to save configuration\r\n\r\n;; -------------------------------------\r\n;; Preparation\r\n\r\n;; Add local load paths\r\n(add-to-list 'load-path \"~/.emacs.d/lisp\")\r\n(let ((default-directory \"~/.emacs.d/lisp/\")) \r\n  (normal-top-level-add-subdirs-to-load-path))\r\n(add-to-list 'custom-theme-load-path \"~/.emacs.d/themes\")\r\n\r\n;; Enable package.el, default package manager\r\n(require 'package)\r\n(package-initialize)\r\n\r\n;; Ensure every package from ELPA is installed and if not, prompt for installation.\r\n(defun ensure-package-installed \r\n    (&rest \r\n     packages) \r\n  (mapcar (lambda (package) \r\n\t    (unless (package-installed-p package) \r\n\t      (package-install package))) packages))\r\n\r\n;; ELPA packages list\r\n(ensure-package-installed 'dash 'company 'adjust-parens 'async 'org)\r\n\r\n;; -------------------------------------\r\n;; Configuration of built-in and ELPA packages\r\n\r\n;; Elisp format\r\n(require 'elisp-format)\r\n\r\n;; Recent files\r\n(recentf-mode 1)\r\n(setq recentf-max-menu-items 10)\r\n(global-set-key \"\\C-x\\ \\C-r\" 'recentf-open-files)\r\n\r\n;; Completion framework\r\n(add-hook 'after-init-hook 'global-company-mode)\r\n(setq company-minimum-prefix-length 2)\r\n(setq company-dabbrev-downcase nil)\r\n(setq company-show-numbers t)\r\n\r\n;; Automatic parenthesis, duh (adjust-parens\r\n(add-hook 'emacs-lisp-mode-hook #'adjust-parens-mode)\r\n(local-set-key (kbd \"TAB\") 'lisp-indent-adjust-parens)\r\n(local-set-key (kbd \"<backtab>\") 'lisp-dedent-adjust-parens)\r\n\r\n;; Some packages can make use of this, for example company-mode\r\n(dired-async-mode 1)\r\n\r\n;; Emacs org mode\r\n(add-to-list 'auto-mode-alist '(\"\\\\.org\\\\'\" . org-mode))\r\n(global-set-key \"\\C-cl\" 'org-store-link)\r\n(global-set-key \"\\C-ca\" 'org-agenda)\r\n\r\n;; -------------------------------------\r\n;; Configuration of third party packages copied to \"~/.emacs.d/lisp\" from \"~/.emacs.d/third_party_repositories\"\r\n\r\n;; God mode - reduces key chords usage\r\n(require 'god-mode)\r\n(setq god-exempt-major-modes nil)\r\n(setq god-exempt-predicates nil)\r\n(global-set-key (kbd \"<escape>\") 'god-mode-all)\r\n\r\n;; Solarized theme\r\n(setq solarized-high-contrast-mode-line t)\r\n(setq x-underline-at-descent-line t)\r\n(setq solarized-use-variable-pitch nil)\r\n(load-theme 'solarized-dark t)\r\n\r\n;; Emacs Multimedia System\r\n(require 'emms-setup)\r\n(emms-all)\r\n(emms-default-players)\r\n(emms-history-load)\r\n\r\n;; -------------------------------------\r\n;; Programming and sysadmin stuff\r\n\r\n;TODO\r\n\r\n;; -------------------------------------\r\n;; Basic adjustments\r\n(set-language-environment \"UTF-8\") ;; Set input\r\n(setq tramp-default-method \"ssh\") ;; Default connection method for TRAMP - remote files plugin\r\n(add-hook 'focus-out-hook 'garbage-collect) ;; garbage collect when Emacs is not in focus\r\n(set-default 'truncate-lines t) ;; Turn off line wrapping by default\r\n(when (fboundp 'winner-mode)\t;; I don't remember\r\n  (winner-mode 1))\r\n\r\n;; -------------------------------------\r\n;; Custom keybinds\r\n(global-set-key (kbd \"C-c w\") 'toggle-truncate-lines) ;; wrap\r\n(global-set-key (kbd \"C-c e\") 'eshell) ;; Emacs shell shortcut\r\n(global-set-key (kbd \"C-c t\") 'term)   ;; ANSI term\r\n(global-set-key (kbd \"C-c x\") 'browse-url-at-point) ;; Open link under cursor\r\n(global-set-key (kbd \"C-x p\") 'proced)\t\t    ;; System monitor\r\n\r\n;; Visual\r\n;(toggle-frame-maximized)\t ;; Maximize Emacs on startup\r\n(set-frame-font \"Hack 9\" nil t)\t ;; Set font\r\n(menu-bar-mode -1)\t\t ;; Remove menu bar\r\n(tool-bar-mode -1)\t\t ;; Remove toolbar\r\n(scroll-bar-mode -1)\t\t ;; Remove scrollbar\r\n(setq inhibit-startup-message t) ;; Disable startup message\r\n(setq ring-bell-function 'ignore) ;; Disable raping your ears with error ring tone\r\n(setq initial-scratch-message nil) ;; Disable text in scratch\r\n(setq initial-major-mode 'org-mode) ;; Set scratch buffer major mode to org-mode\r\n(setq confirm-kill-emacs #'y-or-n-p) ;; Confirm kill Emacs\r\n(global-prettify-symbols-mode +1)    ;; Make symbols pretty e.g. lamba\r\n\r\n;; -------------------------------------\r\n;; Custom functions\r\n\r\n;; Close everything without closing Emacs\r\n(defun close-all-buffers () \r\n  (interactive) \r\n  (mapc 'kill-buffer (buffer-list)))\r\n(global-set-key (kbd \"\\C-c\\ \\c\") 'close-all-buffers)\r\n\r\n;; Set Emacs window title to current file path\r\n(setq frame-title-format '(\"\" invocation-name \": \" \r\n\t\t\t   (:eval (if (buffer-file-name) \r\n\t\t\t\t      (abbreviate-file-name (buffer-file-name)) \"%b\"))))\r\n\r\n;; Change mini buffer startup message\r\n(defun display-startup-echo-area-message () \r\n  (message \"...\"))\r\n\r\n;; y/n for yes/no confirmation dial\r\n(defalias 'yes-or-no-p 'y-or-n-p)\r\n\r\n;; Page scroll\r\n(defun gcm-scroll-down () \r\n  (interactive) \r\n  (scroll-up 4))\r\n(defun gcm-scroll-up () \r\n  (interactive) \r\n  (scroll-down 4))\r\n(global-set-key (kbd \"M-p\") 'gcm-scroll-up)\r\n(global-set-key (kbd \"M-n\") 'gcm-scroll-down)\r\n\r\n;; Term paste\r\n(eval-after-load \"term\" '(define-key term-raw-map (kbd \"C-c C-y\") 'term-paste))\r\n\r\n;; Puts temporary autosave files in one directory, so they do not clutter whole filesystem\r\n(defvar user-temporary-file-directory \"~/.emacs-autosaves/\")\r\n(make-directory user-temporary-file-directory t)\r\n(setq backup-by-copying t)\r\n(setq backup-directory-alist `((\".\" . ,user-temporary-file-directory) \r\n\t\t\t       (tramp-file-name-regexp nil)))\r\n(setq auto-save-list-file-prefix (concat user-temporary-file-directory \".auto-saves-\"))\r\n(setq auto-save-file-name-transforms `((\".*\" ,user-temporary-file-directory t)))\r\n\r\n;; -------------------------------------\r\n;; Eshell stuff\r\n\r\n;; Prompt\r\n(setq eshell-prompt-regexp \"^[^#$\\n]*[#$] \" eshell-prompt-function (lambda nil (concat \"[\"\r\n\t\t\t\t\t\t\t\t\t\t  (user-login-name)\r\n\t\t\t\t\t\t\t\t\t\t  \"@\" (system-name)\r\n\t\t\t\t\t\t\t\t\t\t  \" \" (if (string=\r\n\t\t\t\t\t\t\t\t\t\t\t   (eshell/pwd) \r\n\t\t\t\t\t\t\t\t\t\t\t   (getenv\r\n\t\t\t\t\t\t\t\t\t\t\t    \"HOME\"))\r\n\t\t\t\t\t\t\t\t\t\t\t  \"~\"\r\n\t\t\t\t\t\t\t\t\t\t\t(eshell/basename\r\n\t\t\t\t\t\t\t\t\t\t\t (eshell/pwd)))\r\n\t\t\t\t\t\t\t\t\t\t  \"]\" (if (=\r\n\t\t\t\t\t\t\t\t\t\t\t   (user-uid)\r\n\t\t\t\t\t\t\t\t\t\t\t   0) \"# \"\r\n\t\t\t\t\t\t\t\t\t\t\t\"$ \"))))\r\n\r\n;; Quick Eshell per buffer\r\n(defun eshell-here () \r\n  (interactive) \r\n  (let* ((parent (if (buffer-file-name) \r\n\t\t     (file-name-directory (buffer-file-name)) default-directory)) \r\n\t (height (/ (window-total-height) 3)) \r\n\t (name   (car (last (split-string parent \"/\" t))))) \r\n    (split-window-vertically (- height)) \r\n    (other-window 1) \r\n    (eshell \"new\") \r\n    (rename-buffer (concat \"*eshell: \" name \"*\")) \r\n    (insert (concat \"ls\")) \r\n    (eshell-send-input)))\r\n(global-set-key (kbd \"C-!\") 'eshell-here)\r\n(defun eshell/x () \r\n  \"type x in eshell to exit\"\r\n  (delete-window) \r\n  (eshell/exit))\r\n",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "https://distbin.com/activities/1838c6bb-50b4-4ecf-abb5-105310bf4ce2",
      "published": "2018-10-07T06:56:34.419Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:1838c6bb-50b4-4ecf-abb5-105310bf4ce2"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/1838c6bb-50b4-4ecf-abb5-105310bf4ce2"
      ],
      "uuid": "1838c6bb-50b4-4ecf-abb5-105310bf4ce2",
      "replies": "https://distbin.com/activities/1838c6bb-50b4-4ecf-abb5-105310bf4ce2/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:e83ad205-54d1-4909-b41a-9bb426f5c323",
        "type": "Note",
        "content": "wot",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "https://distbin.com/activities/0702aa82-71ad-4448-afe0-25c06d7ed4aa"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/0702aa82-71ad-4448-afe0-25c06d7ed4aa"
      ],
      "id": "https://distbin.com/activities/9f227607-9f0d-4da8-bf75-d27973f7db82",
      "published": "2018-10-04T14:15:13.237Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:9f227607-9f0d-4da8-bf75-d27973f7db82"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/9f227607-9f0d-4da8-bf75-d27973f7db82"
      ],
      "uuid": "9f227607-9f0d-4da8-bf75-d27973f7db82",
      "replies": "https://distbin.com/activities/9f227607-9f0d-4da8-bf75-d27973f7db82/replies"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "object": {
        "id": "urn:uuid:8c19a3be-4906-4c67-8598-3998ad050f78",
        "type": "Note",
        "content": "&#26263;&#31034;&#27861;&#26159;&#21542;&#25171;&#31639;&#21457;&#36798;&#26159;&#21542;",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "https://distbin.com/activities/ee4436d9-5025-4811-856c-6f4e0d347e1d",
      "published": "2018-09-29T13:16:53.371Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:ee4436d9-5025-4811-856c-6f4e0d347e1d"
      ],
      "inbox": [
        "https://distbin.com/activitypub/inbox"
      ],
      "url": [
        "https://distbin.com/activities/ee4436d9-5025-4811-856c-6f4e0d347e1d"
      ],
      "uuid": "ee4436d9-5025-4811-856c-6f4e0d347e1d",
      "replies": "https://distbin.com/activities/ee4436d9-5025-4811-856c-6f4e0d347e1d/replies"
    }
  ],
  "startIndex": 25,
  "next": "?cursor=%7B%22or%22%3A%5B%7B%22published%22%3A%7B%22lt%22%3A%222018-09-29T13%3A16%3A53.371Z%22%7D%7D%2C%7B%22and%22%3A%5B%7B%22published%22%3A%7B%22equals%22%3A%222018-09-29T13%3A16%3A53.371Z%22%7D%7D%2C%7B%22id%22%3A%7B%22lt%22%3A%22https%3A%2F%2Fdistbin.com%2Factivities%2Fee4436d9-5025-4811-856c-6f4e0d347e1d%22%7D%7D%5D%7D%5D%7D",
  "partOf": "/activitypub/public"
}

[2018-10-13 19:47:08 +0200] ERROR: oh crap, an exception

We are very sorry. It seems that an error occurred in Sup. Please accept our sincere apologies. Please submit the contents of /home/user/.sup/exception-log.txt and a brief report of the circumstances to https://github.com/sup-heliotrope/sup/issues so that we might address this problem. Thank you!

Sincerely,

The Sup Developers

--- RuntimeError from thread: poll after loading inbox

/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in find_docid' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:infind_doc' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:181:in message_joining_killed?' (eval):1:inmessage_joining_killed?' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:217:in block in poll_from' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:161:inblock in poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in each' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:ineach_with_index' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:201:inpoll_from' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:146:in block (2 levels) in do_poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:136:ineach' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:136:in block in do_poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:135:insynchronize' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:135:in do_poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:inmethod_missing' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/modes/poll_mode.rb:15:in poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:58:inpoll_with_sources' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:94:in poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:inmethod_missing' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/bin/sup:207:in block (2 levels) in <module:Redwood>' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup.rb:87:inblock in reporting_thread' --- RuntimeError from thread: index sync

/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in find_docid' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:infind_doc' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in block in index_message_threading' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:inmap' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in index_message_threading' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:717:insync_message' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:141:in update_message_state' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:566:inrun_sync_worker' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:553:in block in start_sync_worker' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup.rb:87:inblock in reporting_thread' --- RuntimeError from thread: main

/home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:615:in find_docid' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:620:infind_doc' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in block in index_message_threading' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:inmap' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:803:in index_message_threading' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/index.rb:717:insync_message' (eval):1:in sync_message' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:215:inblock in poll_from' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:161:in block in poll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:ineach' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:in each_with_index' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/maildir.rb:160:inpoll' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/poll.rb:201:in poll_from' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/util.rb:610:inmethod_missing' /home/user/.rvm/gems/ruby-2.3.3/gems/sup-0.22.1/lib/sup/sent.rb:33:in `block in write_sent_message'

no.

https://distbin.com/activities/cfc53e4e-b1ef-4ce4-b031-4450993ac9e1

Another reply, by somebody else

https://distbin.com/activities/4eff93c7-0b27-4ba1-b942-ae0ba0133191

foo bar

Test

;; ------------------------------------- ;; Security (setq network-security-level 'paranoid) ;; asks for certificate verification on each SSL connection, option to save configuration

;; ------------------------------------- ;; Preparation

;; Add local load paths (add-to-list 'load-path "~/.emacs.d/lisp") (let ((default-directory "~/.emacs.d/lisp/")) (normal-top-level-add-subdirs-to-load-path)) (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")

;; Enable package.el, default package manager (require 'package) (package-initialize)

;; Ensure every package from ELPA is installed and if not, prompt for installation. (defun ensure-package-installed (&rest packages) (mapcar (lambda (package) (unless (package-installed-p package) (package-install package))) packages))

;; ELPA packages list (ensure-package-installed 'dash 'company 'adjust-parens 'async 'org)

;; ------------------------------------- ;; Configuration of built-in and ELPA packages

;; Elisp format (require 'elisp-format)

;; Recent files (recentf-mode 1) (setq recentf-max-menu-items 10) (global-set-key "\C-x\ \C-r" 'recentf-open-files)

;; Completion framework (add-hook 'after-init-hook 'global-company-mode) (setq company-minimum-prefix-length 2) (setq company-dabbrev-downcase nil) (setq company-show-numbers t)

;; Automatic parenthesis, duh (adjust-parens (add-hook 'emacs-lisp-mode-hook #'adjust-parens-mode) (local-set-key (kbd "TAB") 'lisp-indent-adjust-parens) (local-set-key (kbd "") 'lisp-dedent-adjust-parens)

;; Some packages can make use of this, for example company-mode (dired-async-mode 1)

;; Emacs org mode (add-to-list 'auto-mode-alist '("\.org\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda)

;; ------------------------------------- ;; Configuration of third party packages copied to "~/.emacs.d/lisp" from "~/.emacs.d/third_party_repositories"

;; God mode - reduces key chords usage (require 'god-mode) (setq god-exempt-major-modes nil) (setq god-exempt-predicates nil) (global-set-key (kbd "") 'god-mode-all)

;; Solarized theme (setq solarized-high-contrast-mode-line t) (setq x-underline-at-descent-line t) (setq solarized-use-variable-pitch nil) (load-theme 'solarized-dark t)

;; Emacs Multimedia System (require 'emms-setup) (emms-all) (emms-default-players) (emms-history-load)

;; ------------------------------------- ;; Programming and sysadmin stuff

;TODO

;; ------------------------------------- ;; Basic adjustments (set-language-environment "UTF-8") ;; Set input (setq tramp-default-method "ssh") ;; Default connection method for TRAMP - remote files plugin (add-hook 'focus-out-hook 'garbage-collect) ;; garbage collect when Emacs is not in focus (set-default 'truncate-lines t) ;; Turn off line wrapping by default (when (fboundp 'winner-mode) ;; I don't remember (winner-mode 1))

;; ------------------------------------- ;; Custom keybinds (global-set-key (kbd "C-c w") 'toggle-truncate-lines) ;; wrap (global-set-key (kbd "C-c e") 'eshell) ;; Emacs shell shortcut (global-set-key (kbd "C-c t") 'term) ;; ANSI term (global-set-key (kbd "C-c x") 'browse-url-at-point) ;; Open link under cursor (global-set-key (kbd "C-x p") 'proced) ;; System monitor

;; Visual ;(toggle-frame-maximized) ;; Maximize Emacs on startup (set-frame-font "Hack 9" nil t) ;; Set font (menu-bar-mode -1) ;; Remove menu bar (tool-bar-mode -1) ;; Remove toolbar (scroll-bar-mode -1) ;; Remove scrollbar (setq inhibit-startup-message t) ;; Disable startup message (setq ring-bell-function 'ignore) ;; Disable raping your ears with error ring tone (setq initial-scratch-message nil) ;; Disable text in scratch (setq initial-major-mode 'org-mode) ;; Set scratch buffer major mode to org-mode (setq confirm-kill-emacs #'y-or-n-p) ;; Confirm kill Emacs (global-prettify-symbols-mode +1) ;; Make symbols pretty e.g. lamba

;; ------------------------------------- ;; Custom functions

;; Close everything without closing Emacs (defun close-all-buffers () (interactive) (mapc 'kill-buffer (buffer-list))) (global-set-key (kbd "\C-c\ \c") 'close-all-buffers)

;; Set Emacs window title to current file path (setq frame-title-format '("" invocation-name ": " (:eval (if (buffer-file-name) (abbreviate-file-name (buffer-file-name)) "%b"))))

;; Change mini buffer startup message (defun display-startup-echo-area-message () (message "..."))

;; y/n for yes/no confirmation dial (defalias 'yes-or-no-p 'y-or-n-p)

;; Page scroll (defun gcm-scroll-down () (interactive) (scroll-up 4)) (defun gcm-scroll-up () (interactive) (scroll-down 4)) (global-set-key (kbd "M-p") 'gcm-scroll-up) (global-set-key (kbd "M-n") 'gcm-scroll-down)

;; Term paste (eval-after-load "term" '(define-key term-raw-map (kbd "C-c C-y") 'term-paste))

;; Puts temporary autosave files in one directory, so they do not clutter whole filesystem (defvar user-temporary-file-directory "~/.emacs-autosaves/") (make-directory user-temporary-file-directory t) (setq backup-by-copying t) (setq backup-directory-alist (("." . ,user-temporary-file-directory) (tramp-file-name-regexp nil))) (setq auto-save-list-file-prefix (concat user-temporary-file-directory ".auto-saves-")) (setq auto-save-file-name-transforms((".*" ,user-temporary-file-directory t)))

;; ------------------------------------- ;; Eshell stuff

;; Prompt (setq eshell-prompt-regexp "^[^#$\n]*[#$] " eshell-prompt-function (lambda nil (concat "[" (user-login-name) "@" (system-name) " " (if (string= (eshell/pwd) (getenv "HOME")) "~" (eshell/basename (eshell/pwd))) "]" (if (= (user-uid) 0) "# " "$ "))))

;; Quick Eshell per buffer (defun eshell-here () (interactive) (let ((parent (if (buffer-file-name) (file-name-directory (buffer-file-name)) default-directory)) (height (/ (window-total-height) 3)) (name (car (last (split-string parent "/" t))))) (split-window-vertically (- height)) (other-window 1) (eshell "new") (rename-buffer (concat "eshell: " name "*")) (insert (concat "ls")) (eshell-send-input))) (global-set-key (kbd "C-!") 'eshell-here) (defun eshell/x () "type x in eshell to exit" (delete-window) (eshell/exit))

wot

暗示法是否打算发达是否

25 previous items - Next Page