emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: existing work on TODO items


From: Dave Love
Subject: Re: existing work on TODO items
Date: Mon, 09 Jan 2006 23:49:40 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.4 (gnu/linux)

Ken Manheimer <address@hidden> writes:

> it would be helpful to me to find out how to repeat that bug, so i
> could repair it.

Find allout.el, go to the first heading (e.g. with the menu), use
Headings -> Toggle Topic Encryption from the menu, type `foo' as
passphrase and `bar' as the hint to get:

  ;;;_~* Provide
  -----BEGIN PGP MESSAGE-----
  Version: GnuPG v1.4.1 (GNU/Linux)
  
  jA0EAwMC4k9RaxuRboJgyRabxt2CW0in+vaRHnZ6jysmkDfz1KQ7
  =TImu
  -----END PGP MESSAGE-----
  
Use the toggle menu item again, and entering `foo' as the passphrase,
it says `Passphrase differs from established' and fails to decrypt
when I try again.  I did that test in Emacs 21 on Debian stable(-ish),
`gpg (GnuPG) 1.4.1'.  It was the same when I originally tried with the
development Emacs on Debian testing.

> it defaults to using symmetric-mode encoding.  describe-key (`C-h k
> C-c x') will tell you that a single universal argument (ie, C-u) will
> use key-pair encryption, and a doubled universal argument will do the
> symmetric-mode encryption but disregard the cache.

Oh.  I hadn't examined the keymap, but C-c x is reserved for users
according to the Lisp manual.  `allout-passphrase-verifier-handling'
appeared to be documented as controlling the behaviour.

>> with non-ASCII, potentially also causing data loss, though I don't
>> know what's actually done.
>
> this is something i need to understand better.  it's a responsibility
> of the pgg routines, but my changes may have left that off.

No.  What, say, pgg-encode tries to do for an interactive call (which
is tested wrongly) can lead to data loss anyway since it doesn't check
that it's valid.  Check that with handa, since people accept what he
says.

> allout doesn't handle whitespace-delimited outlines.  (i also have an
> unreleased minor-mode block-wise outlining package - outdent.el -
> which i use for python programming.)  i don't know about the outline
> variables that major modes set.  can you tell me about them?

See python.el for the example.  If it's not done in the installed
version, try <URL:http://www.loveshack.ukfsn.org/emacs/python.el>.  I
don't recall if I contributed that for the old python-mode.el, but I
couldn't get even the bugs in that fixed for use with Emacs.

> i agree.  there are some provisions of which you might not be aware -
> the allout-mode function has substantial documentation, 

I don't understand why the help text for allout-mode looks different
from what I remember before, but I don't have time or inclination to
understand it all, I'm afraid.  This was just an aside.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]