From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87388 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: gnorb problem Date: Wed, 22 Feb 2017 11:54:41 +0000 Message-ID: <87vas2a1a6.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1487764567 9069 195.159.176.226 (22 Feb 2017 11:56:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2017 11:56:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35609@lists.math.uh.edu Wed Feb 22 12:56:01 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgVWa-0001jq-3i for ding-account@gmane.org; Wed, 22 Feb 2017 12:56:00 +0100 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id e2eae97d-f8f5-11e6-b156-b499baabecb2; Wed, 22 Feb 2017 11:56:04 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1cgVVf-0006HY-BK; Wed, 22 Feb 2017 05:55:03 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cgVVd-0006Gt-Kc for ding@lists.math.uh.edu; Wed, 22 Feb 2017 05:55:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cgVVb-0007WB-O3 for ding@lists.math.uh.edu; Wed, 22 Feb 2017 05:55:01 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cgVVU-0001N9-UD for ding@gnus.org; Wed, 22 Feb 2017 12:54:53 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cgVVJ-0003jj-Ie for ding@gnus.org; Wed, 22 Feb 2017 12:54:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 166 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:sl3RtAnye3ZvIGlDkosOXemqn80= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87388 Archived-At: --=-=-= Content-Type: text/plain Hi Forgive to discuss this here but maybe other people have similar problems. I using GNU emacs 25 or 26 and the latest gnorb version I added a gnorb-init file which I attach but on startup I receive an error which I don't understand. Uwe Brauer --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=gnorb-bug.txt --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=gnorb-init.el Content-Transfer-Encoding: quoted-printable ;;; elisp-insert.el --- init package for gnorb ;; Copyright (C) 2017 Uwe Brauer ;; Author: Uwe Brauer oub@mat.ucm.es ;; Maintainer: Uwe Brauer oub@mat.ucm.es ;; Created: 21 Feb 2017 ;; Version: 1.0 ;; Keywords: =20 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 1, or (at your option) ;; any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; A copy of the GNU General Public License can be obtained from this ;; program's author (send electronic mail to oub@mat.ucm.es) or from ;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA ;; 02139, USA. ;; LCD Archive Entry: ;; gnorb-init|Uwe Brauer|oub@mat.ucm.es ;; |init package for gnorb ;; |$Date$|$Revision$|~/packages/gnorb-init.el ;;; Commentary: ;;; Change log: ;; $Log$ ;;; Code: ;; gnorb (require 'gnorb-registry) (use-package gnorb :defer 5 :bind (:map message-mode-map ("C-c t" . gnorb-gnus-outgoing-do-todo)) :config (use-package init-gnus :config (setq gnus-registry-install t) (setq gnorb-gnus-new-todo-capture-key "t") (gnorb-tracking-initialize)) (use-package gnorb-bbdb :init (setq gnorb-org-agenda-popup-bbdb t) :bind ( ;; ("C-c C" . gnorb-bbdb-cite-contact) :map bbdb-mode-map ("O" . gnorb-bbdb-tag-agenda) ("S" . gnorb-bbdb-mail-search) ;; ([remap bbdb-mail] . gnorb-bbdb-mail) ("l" . gnorb-bbdb-open-link))) (use-package gnorb-org :bind ( :map org-mode-map ("C-c C" . gnorb-org-contact-link) ("C-c t" . gnorb-org-handle-mail) ("C-c e" . gnorb-org-view) ("C-c E" . gnorb-org-email-subtree) ("C-c V" . gnorb-org-popup-bbdb)) (:map org-agenda-mode-map ("H" . gnorb-org-handle-mail) ("V" . gnorb-org-popup-bbdb))) (use-package gnorb-gnus :bind ( :map gnus-summary-mime-map ("a" . gnorb-gnus-article-org-attach)) (:map gnus-summary-mode-map ("C-c t" . gnorb-gnus-incoming-do-todo)) :config (push '("attach to org heading" . gnorb-gnus-mime-org-attach) gnus-mime-action-alist) ;; The only way to add mime button command keys is by redefining ;; gnus-mime-button-map, possibly not ideal. Ideal would be a ;; setter function in gnus itself. (push '(gnorb-gnus-mime-org-attach "a" "Attach to Org heading") gnus-mime-button-commands) (setq gnus-mime-button-map (let ((map (make-sparse-keymap))) ; (define-key map gnus-mouse-2 'gnus-article-push-button) ; (define-key map gnus-down-mouse-3 'gnus-mime-button-menu) (dolist (c gnus-mime-button-commands) (define-key map (cadr c) (car c))) map))))=20 =20 (eval-after-load "gnorb-org" '(progn (org-defkey org-mode-map (kbd "C-c C") 'gnorb-org-contact-link) (org-defkey org-mode-map (kbd "C-c t") 'gnorb-org-handle-mail) (org-defkey org-mode-map (kbd "C-c e") 'gnorb-org-view) (org-defkey org-mode-map (kbd "C-c E") 'gnorb-org-email-subtree) (org-defkey org-mode-map (kbd "C-c V") 'gnorb-org-popup-bbdb) (setq gnorb-org-agenda-popup-bbdb t) (eval-after-load "org-agenda" '(progn (org-defkey org-agenda-mode-map (kbd "C-c t") 'gnorb-org-ha= ndle-mail) (org-defkey org-agenda-mode-map (kbd "C-c v") 'gnorb-org-po= pup-bbdb) (org-defkey org-agenda-mode-map (kbd "V") 'gnorb-org-view))= ))) =20 (eval-after-load "gnorb-gnus" '(progn (define-key gnus-summary-mime-map "a" 'gnorb-gnus-article-org-attach) (define-key gnus-summary-mode-map (kbd "C-c t") 'gnorb-gnus-incoming-= do-todo) (push '("attach to org heading" . gnorb-gnus-mime-org-attach) gnus-mime-action-alist) ;; The only way to add mime button command keys is by redefining ;; gnus-mime-button-map, possibly not ideal. Ideal would be a ;; setter function in gnus itself. (push '(gnorb-gnus-mime-org-attach "a" "Attach to Org heading") gnus-mime-button-commands) (setq gnus-mime-button-map (let ((map (make-sparse-keymap))) ; (define-key map gnus-mouse-2 'gnus-article-push-button) ; (define-key map gnus-down-mouse-3 'gnus-mime-button-menu) (dolist (c gnus-mime-button-commands) (define-key map (cadr c) (car c))) map)))) =20 (eval-after-load "message" '(progn (define-key message-mode-map (kbd "C-c t") 'gnorb-gnus-outgoing-do-to= do))) (setq gnorb-gnus-sent-groups "nnml+archive:sent-mail") (provide 'gnorb-init) ;;; GNORB-INIT.EL ends here --=-=-=--