GNU bug report logs - #24935
[PATCH] Add tests for rot13.el

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Sun, 13 Nov 2016 11:08:01 UTC

Severity: wishlist

Tags: patch

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24935 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 24935 <at> debbugs.gnu.org
Subject: Re: bug#24935: [PATCH] Add tests for rot13.el
Date: Tue, 15 Nov 2016 22:23:32 +0200
> Date: Tue, 15 Nov 2016 19:43:55 +0100
> From: Simen Heggestøyl <simenheg <at> gmail.com>
> Cc: 24935 <at> debbugs.gnu.org
> 
>   "ROT13 encrypt OBJECT, a buffer or string.
> Return the ROT13 encrypted string when OBJECT is a string,
> ignoring START and END.  ROT13 encrypt the region between
> positions START and END when OBJECT is a buffer; all three
> arguments are then required."

It sounds strange to describe first the use case where the arguments
are ignored.  I suggest this instead:

  ROT13 encrypt OBJECT, a buffer or string.
If OBJECT is a buffer, encrypt the region between START and END.
If OBJECT is a string, encrypt it in its entirety, ignoring START
and END, and return the encrypted string.




This bug report was last modified 8 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.