emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bugs in org-remember-backup-directory
Date: Thu, 4 Jun 2009 20:59:48 -0700	[thread overview]
Message-ID: <20524da70906042059n4d9f0f78qd6d80c5ca48e3377@mail.gmail.com> (raw)
In-Reply-To: <20524da70906041429n5270a4f4ice50676d2587a9d0@mail.gmail.com>

The bug still exists.

To reproduce, run emacs -Q --load <the minimal setup below>, remember
a task, make enough changes to trigger do-auto-save, then c-x c-s.  It
should tell you it has changed and ask if you want to save.

You will have to set 3 env vars for dirs of your choice.
I didn't want to risk making dirs for you.

(require 'cl)

(defun alpha-add-path (p) (setq load-path (cons p load-path)))

(alpha-add-path (concat (getenv "delorgsrc") "/lisp"))
(alpha-add-path (concat (getenv "delpkgbef") "/remember"))

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(defvar alpha-mac-font
    (defconst alpha-mac-font-2
    (set-frame-font alpha-mac-font-2))
(set-frame-font alpha-mac-font)

(require 'org-install)

(defvar alpha-org-map (make-sparse-keymap "alpha org map"))
(define-key global-map [f8] alpha-org-map)
(define-key alpha-org-map [f8] 'org-remember)             ;c-c r
(define-key alpha-org-map "o" 'org-open-at-point-global) ;c-c o

(require 'remember-autoloads)

(setq org-remember-templates
      `(("conversation" ?c    "* CONVERSATION %U %?\n%i")))

(add-hook 'remember-mode-hook 'delete-other-windows)
(setf org-remember-backup-directory
      (getenv "demacsremember"))
;;;(setf org-remember-backup-directory nil)
(add-hook 'org-remember-mode-hook
          (lambda () (when org-remember-backup-directory
                       (cd org-remember-backup-directory))))
(add-hook 'org-remember-mode-hook
          (lambda ()
            (define-key org-remember-mode-map
                "\C-x\C-s" 'org-remember-finalize)
            ;;i think org-mode-map will override?
            (define-key org-remember-mode-map
                "\C-c\C-c" nil)))

  reply	other threads:[~2009-06-05  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25 22:08 bugs in org-remember-backup-directory Samuel Wales
2009-04-30 13:30 ` Carsten Dominik
2009-05-04 17:14   ` Samuel Wales
2009-05-04 17:57     ` Samuel Wales
2009-06-04 14:40       ` Carsten Dominik
2009-06-04 21:29         ` Samuel Wales
2009-06-05  3:59           ` Samuel Wales [this message]
2009-06-05  7:00             ` Carsten Dominik
2009-06-18 22:59               ` Samuel Wales
2009-06-26 22:27             ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20524da70906042059n4d9f0f78qd6d80c5ca48e3377@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).