unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 7488@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	[thread overview]
Message-ID: <6A85A72454A944B98ADFC09FCA3AC821@us.oracle.com> (raw)

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'






             reply	other threads:[~2010-11-26 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 17:34 Drew Adams [this message]
2010-11-29 11:27 ` bug#7488: 24.0.50; format-decode-region acts on whole buffer, not on region Lawrence Mitchell
2010-12-06 19:36   ` Chong Yidong

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6A85A72454A944B98ADFC09FCA3AC821@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7488@debbugs.gnu.org \
    /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.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).