unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 11691@debbugs.gnu.org
Subject: bug#11691: 24.1; shell-command-on-region leaves region marked
Date: Wed, 13 Jun 2012 13:16:14 +0800	[thread overview]
Message-ID: <m2395zaj1d.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

1. save the attached bug.el and b.txt file
2. emacs -q -l bug.el
3. In a terminal open b.txt by running: emacsclient -n b.txt

You should the whole buffer marked as shown in this screenshot.


[-- Attachment #2: scor.png --]
[-- Type: image/png, Size: 12622 bytes --]

[-- Attachment #3: Type: text/plain, Size: 89 bytes --]


It is caused by push-mark and exchange-point-and-mark in
shell-command-on-region.

Leo


[-- Attachment #4: bug.el --]
[-- Type: application/emacs-lisp, Size: 138 bytes --]

[-- Attachment #5: b.txt --]
[-- Type: text/plain, Size: 8 bytes --]

abc
xyz

             reply	other threads:[~2012-06-13  5:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13  5:16 Leo [this message]
2019-08-17 22:28 ` bug#11691: 24.1; shell-command-on-region leaves region marked Lars Ingebrigtsen
2021-06-01  8:24 ` Lars Ingebrigtsen

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=m2395zaj1d.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=11691@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).