unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7488: 24.0.50; format-decode-region acts on whole buffer, not on region
@ 2010-11-26 17:34 Drew Adams
  2010-11-29 11:27 ` Lawrence Mitchell
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2010-11-26 17:34 UTC (permalink / raw)
  To: 7488

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'






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-06 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26 17:34 bug#7488: 24.0.50; format-decode-region acts on whole buffer, not on region Drew Adams
2010-11-29 11:27 ` Lawrence Mitchell
2010-12-06 19:36   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).