47227d087a
Carsten Dominik writes: > On Apr 26, 2009, at 12:08 AM, Samuel Wales wrote: > > > I noticed the following regarding > > org-remember-backup-directory: > > > > 1) auto-saving does not save contents > > - solution: put (auto-save-mode 1) before or after (not > > sure which) the call to org-set-local in the > > following lines in org-remember: > > > > # (expand-file-name > > # (format-time-string "remember-%Y-%m-%d-%H-%M-%S") > > # org-remember-backup-directory)) > > # (save-buffer) > > # (org-set-local 'auto-save-visited-file-name t)) > > # (when (save-excursion > > Done. > > > > 2) save-buffer is called before there are any contents > > - this causes files without useful content to stick > > around in the dir if the buffer is killed or > > something. > > - solution: don't save the buffer; let auto-saving do > > that work. will this work? > > Usually, the template expansion will have filled in stuff like > links and initial contents, so I would prefer to keep the > save-buffer here and let the user deal with the extra files. > > > 3) if you have auto-save-file-name-transforms set, > > auto-saving is done according to that variable instead > > of saving in place. > > > > I am now turning that variable off, locally in the remember buffer. > > Does that fix the problem? > > - Carsten > > > - solution: is this an emacs bug? i am not sure. the > > auto-saving should be done in place, saving in > > org-remember-backup-directory and not saving in the > > place where the transforms variable tells it to save. > > perhaps each user can kludge transforms or perhaps > > emacs needs fixing? i have reached debugging ability > > limit. |
||
---|---|---|
BUGFIXING | ||
EXPERIMENTAL | ||
ORGWEBPAGE | ||
UTILITIES | ||
contrib | ||
doc | ||
lisp | ||
xemacs | ||
.dir-settings.el | ||
.gitignore | ||
ChangeLog | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
request-assign-future.txt |
README
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. xemacs/ The xemacs directory contains special code for XEmacs users, in particular a port of the GNU Emacs outline.el to XEmacs. Org-mode does not work under XEmacs without this file installed. It did until version 4.37, but no longer. CONTRIB/ A diretory with third-party additions for Org. Some really cool stuff is in there. ORGWEBPAGE/ Directory with the source files for the orgmode.org web page. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.