GNU bug report logs - #7488
24.0.50; format-decode-region acts on whole buffer, not on region

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 26 Nov 2010 17:30:03 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: 7488 <at> debbugs.gnu.org
Subject: bug#7488: 24.0.50; format-decode-region acts on whole buffer, not on region
Date: Fri, 26 Nov 2010 09:34:13 -0800
emacs -Q

;; On Windows, load cygwin-mount.el and setup-cygwin.el, from Emacs wiki:
http://www.emacswiki.org/cgi-bin/wiki?action=index;match=%5C.(el%7Ctar)(%5C.gz)%
3F%24

;; (That just gives you a bash shell etc.)

C-x b *scratch*

Select the text "notes you don't want".

M-x format-encode-region RET rot13 RET

Select the same region (text that was just encoded).

M-x format-decode-region RET rot13 RET

The entire buffer gets ROT13'd, not just the region.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'





This bug report was last modified 14 years and 174 days ago.

Previous Next


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