Commits

yagnesh raghava yakkala committed ac5fd87

* init-message.el: gnus and stuff

  • Participants
  • Parent commits ba99f7a

Comments (0)

Files changed (3)

 ;; Copyright (C) Yagnesh Raghava Yakkala. www.yagnesh.org
 ;;
 
-;; (require 'bbdb)
-(require 'bbdb-autoloads)
 (require 'bbdb)
 
 (setq bbdb-file "~/git/org/.bbdb")
 ;;; --------------------------------------------------------
 
 (setq-default
- ;; gnus-summary-line-format "%U%R%z %(%&user-date;  %-15,15f %* %B%s%)\n"
  ;; gnus-user-date-format-alist '((t . "%Y-%m-%d %H:%M"))
  gnus-user-date-format-alist '((t . "%m-%d %H:%M"))
 
  gnus-sum-thread-tree-single-leaf     "╰► "
  )
 
+;; (setq gnus-summary-line-format ":%U%R %B %s %-60=| %5L |%-10,8f |%&user-date; \n")
+;; gnus-summary-line-format "%U%R%z %(%&user-date;  %-15,15f %* %B%s%)\n"
 (setq gnus-summary-line-format
       (concat
        "%0{%U%R%z%}"
 (add-hook 'message-mode-hook 'turn-on-orgstruct++)
 (add-hook 'message-mode-hook 'turn-on-orgtbl)
 
+(add-hook 'message-mode-hook
+          (lambda ()
+            (setq fill-column 78)
+            (turn-on-auto-fill)))
+
+(setq gnus-confirm-mail-reply-to-news t
+      message-kill-buffer-on-exit t
+      message-elide-ellipsis "\n[snipped %l lines]\n\n")
+
+;;; --------------------------------------------------------
+;; sent copy
+(setq gnus-message-archive-group
+      '((if (message-news-p)
+            "nnml:mail.sent.news"
+          "nnml:mail.sent.mail")))
+
+
 ;;; footnotes
 (autoload 'footnote-mode "footnote" nil t)
 (add-hook 'message-mode-hook 'footnote-mode)