GNU bug report logs - #11691
24.1; shell-command-on-region leaves region marked

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Wed, 13 Jun 2012 05:20:02 UTC

Severity: minor

Found in version 24.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 11691 <at> debbugs.gnu.org
Subject: bug#11691: 24.1; shell-command-on-region leaves region marked
Date: Sat, 17 Aug 2019 15:28:51 -0700
Leo <sdl.web <at> gmail.com> writes:

> 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.

I can confirm that that is the case.

> It is caused by push-mark and exchange-point-and-mark in
> shell-command-on-region.
>
> Leo
>
> (setq format-alist
>       '((rot13 "rot13" "abc" "tr a-mn-z n-za-m" "tr a-mn-z n-za-m" t nil)))
> (setq server-use-tcp t)
> (server-start)

But...  this happens because you set `format-alist' to this rather
curious value?  Without this `format-alist' setting, things work as
expected.

So I'm not sure whether this is a bug or an expected result.  Anybody?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 72 days ago.

Previous Next


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