From: Carsten Dominik <carsten.dominik@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bugs in org-remember-backup-directory
Date: Fri, 5 Jun 2009 09:00:35 +0200 [thread overview]
Message-ID: <5B1C687E-88F3-44B6-A5FC-D704F3C4D598@gmail.com> (raw)
In-Reply-To: <20524da70906042059n4d9f0f78qd6d80c5ca48e3377@mail.gmail.com>
I am still unable to reproduce this.
Anyone?
- Carsten
On Jun 5, 2009, at 5:59 AM, Samuel Wales wrote:
> 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
> "-apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1")
> '(progn
> (progn
> (defconst alpha-mac-font-2
> "-apple-courier-medium-r-normal--*-*-*-*-*-240-*")
> (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)
> (org-remember-insinuate)
>
> (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)))
next prev parent reply other threads:[~2009-06-05 8:03 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
2009-06-05 7:00 ` Carsten Dominik [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=5B1C687E-88F3-44B6-A5FC-D704F3C4D598@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).