From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16963 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.gnus.user Subject: Drafts created when editing mails with Outorg Date: Mon, 21 Jul 2014 11:55:28 +0200 Message-ID: <87k377nii7.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1405936566 17632 80.91.229.3 (21 Jul 2014 09:56:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2014 09:56:06 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jul 21 11:56:00 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X9AK6-0001Dh-GM for gegu-info-gnus-english@m.gmane.org; Mon, 21 Jul 2014 11:55:58 +0200 Original-Received: from localhost ([::1]:33167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9AK6-0005NG-7g for gegu-info-gnus-english@m.gmane.org; Mon, 21 Jul 2014 05:55:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9AJz-0005NA-G5 for info-gnus-english@gnu.org; Mon, 21 Jul 2014 05:55:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9AJr-0003Y1-IP for info-gnus-english@gnu.org; Mon, 21 Jul 2014 05:55:51 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9AJr-0003Xr-89 for info-gnus-english@gnu.org; Mon, 21 Jul 2014 05:55:43 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9AJo-0000yr-HL for info-gnus-english@gnu.org; Mon, 21 Jul 2014 11:55:40 +0200 Original-Received: from g231109248.adsl.alicedsl.de ([92.231.109.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 11:55:40 +0200 Original-Received: from tjolitz by g231109248.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 11:55:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 102 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g231109248.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:vCQHYDhNdrzREe3wxVd2iOtqtpQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16963 Archived-At: Hi List, I use gnus/message-mode for emails, but often edit my mails in full Org-mode with Outorg (see installation instruction at the end of this post). This works by doing M-# # (or M-x outorg-edit-as-org) in the message-mode buffer, and then later M-# (or M-x outorg-copy-edits-and-exit) in the popped-up *outorg-edit-buffer* when done with editing in Org-mode. The *outorg-edit-buffer* is backed-up in a tmp-file anyway via kill-buffer-hook, so there is no need to create and save drafts from its content. However, my draft folder is full of entries like this ,---- | [ 87: nobody ] (none) | [ 148: nobody ] (none) | [ 26: nobody ] (none) `---- that contain the content of these temporary *outorg-edit-buffers*, e.g. ,---- | * --text follows this line-- | | Hi List, | after updating yesterday to | | #+begin_src emacs-lisp | (call-interactively 'org-version) | #+end_src | | #+results: | : Org-mode version 8.2.6 (release_8.2.6-1123-g024a05 @ | /usr/share/emacs/24.3/lisp/org/lisp/) | | I got this error when opening the agenda today: | | ,----------------------------------------------------- | | org-agenda-mode: Symbol's value as variable is void: | | org-agenda-archives-mode | `----------------------------------------------------- | | A quick google search led to a solution from this | [[http://irreal.org/blog/?p=2030][Blog]] : | | ,----------------------------------------- | | (setq org-agenda-archives-mode nil) | | (setq org-agenda-skip-comment-trees nil) | | (setq org-agenda-skip-function nil) | `----------------------------------------- | | -- | cheers, | Thorsten `---- Since outorg.el itself does nothing wrt these drafts, it must be a gnus thing. So my question is: when, how and why are these drafts created and how can I avoid that? PS *** OUTORG INSTALLATION INSTRUCTIONS *** 1. Install outshine, outorg (and maybe navi-mode) via Melpa or clone their git repos (https://github.com/tj64/outshine, https://github.com/tj64/outorg, https://github.com/tj64/navi) and put them on the load-path 2. Put this in your init file: ,---- | (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode) | (add-hook 'message-mode-hook 'outline-minor-mode) | ;; more hooks for other major-modes ... | | ;; outorg ; <= required indirectly | ;; (require 'outorg) | | ;; outshine | (require 'outshine) | (add-hook 'outline-minor-mode-hook | 'outshine-hook-function) ; <= important! | | (setq outshine-use-speed-commands t) | | ;; navi-mode ; <= optional | (require 'navi-mode) `---- 3. You need to set this too in your init.el (before outline is loaded): ,---- | (defvar outline-minor-mode-prefix "\M-#") `---- -- cheers, Thorsten