bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11691: 24.1; shell-command-on-region leaves region marked


From: Lars Ingebrigtsen
Subject: bug#11691: 24.1; shell-command-on-region leaves region marked
Date: Sat, 17 Aug 2019 15:28:51 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Leo <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]