emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Bill Day <williamson.day@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Documentation suggestion re: buffers containing crypted entries
Date: Mon, 02 May 2011 00:42:17 -0300	[thread overview]
Message-ID: <4dbe281d.218fec0a.0399.ffffaafa@mx.google.com> (raw)
In-Reply-To: <BANLkTim9RPnB+PGwp4i5Ux-=MxLLMxENyg@mail.gmail.com>


I was hit by this last week when I was investigating why my emacs
initialization was taking so long. Later I found out that org-crypt was the
culprit, since it added a "sit for 5s" in order for the user to actually
see this warning.

The problem is that org-crypt tests the value of the auto-save-default
variable during loading time. This reflects the default behavior and not
the actual auto-save status of the current buffer.

Maybe a variable to disable this warning could be introduced so that the
user could disable it after understanding the problem.

--
Darlan

At Sat, 30 Apr 2011 17:34:06 -0400,
Bill Day <williamson.day@gmail.com> wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> I appreciate the warning about encrypted entries, and, I would like to add,
> all the hard work and careful thought that has gone into making org-mode
> such an incredible piece of software.
> 
> I checked the documentation regarding turning off auto-save on pages
> containing encrypted entries and saw that the warning was repeated but there
> was no advice on how to implement it.  See
> http://orgmode.org/worg/org-tutorials/encrypting-files.html
> 
> My eventual solution (there may be better ones) was to add a line at the top
> of my encrypted page as follows:
> 
> # -*- buffer-auto-save-file-name: nil; -*-
> 
> This itself generates a warning every time I go to that page, but it seems
> to inhibit auto-save. I would like to suggest that a little bit of
> explanation of how to turn auto-save on and off be added to the
> documentation on encryption with org-mode.
> 
> Thank you.
> 
> Sincerely,
> 
> Bill Day
> 
> -- 
> Bill Day
> williamson.day@gmail.com
> [2  <text/html; ISO-8859-1 (quoted-printable)>]
> 

  reply	other threads:[~2011-05-02  3:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30 21:34 Documentation suggestion re: buffers containing crypted entries Bill Day
2011-05-02  3:42 ` Darlan Cavalcante Moreira [this message]
2011-06-12 20:41   ` Dave Abrahams
2011-06-24 10:04     ` Eric S Fraga
2011-06-24 10:53       ` Bastien
2011-06-24 13:42         ` Eric S Fraga
2011-06-27 16:56           ` Bastien
2011-06-28 13:29             ` Darlan Cavalcante Moreira
2011-06-24 21:03         ` [PATCH] org-crypt: only warn about auto-save-mode when running org-decrypt Pieter Praet
2011-06-24 21:50           ` Nick Dokos
2011-06-26  6:38             ` Pieter Praet
2011-06-26  8:38               ` [PATCH] org-crypt: make org-decrypt disable auto-save-mode (configurable) Pieter Praet
2011-06-27 16:31               ` [PATCH] org-crypt: only warn about auto-save-mode when running org-decrypt Bastien
2011-06-28  6:55                 ` Pieter Praet
2011-06-28  6:57                   ` [PATCH] org-crypt: make org-decrypt disable auto-save-mode (configurable) Pieter Praet
2011-06-28 10:04                     ` Bastien
2011-06-28 10:05                   ` [PATCH] org-crypt: only warn about auto-save-mode when running org-decrypt Bastien
2011-06-24 11:57       ` Documentation suggestion re: buffers containing crypted entries Bernt Hansen
2011-06-27 16:55 ` Bastien

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=4dbe281d.218fec0a.0399.ffffaafa@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=williamson.day@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).