From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#19812: 24.4; suggest `shell-mode' not interactive Date: Tue, 06 Aug 2019 00:59:45 +0300 Organization: LINKOV.NET Message-ID: <87v9vbtgry.fsf@mail.linkov.net> References: <87bnl5qc50.fsf@blah.blah> <87v9vfmjke.fsf@mouse.gnus.org> <83tvayemrf.fsf@gnu.org> <87ef22ld5g.fsf@mouse.gnus.org> <87o9142890.fsf@mail.linkov.net> <87d0hk2drc.fsf@blah.blah> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="104273"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 19812@debbugs.gnu.org To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 00:05:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hul6R-000QzI-MC for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 00:05:15 +0200 Original-Received: from localhost ([::1]:57236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hul6Q-0003cI-Lf for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 18:05:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45770) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hul6G-0003c4-11 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 18:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hul6F-0004Vo-40 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 18:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hul6E-0004Uq-Mg for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 18:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hul6E-0008Ek-G1 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 18:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2019 22:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19812 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19812-submit@debbugs.gnu.org id=B19812.156504265031576 (code B ref 19812); Mon, 05 Aug 2019 22:05:02 +0000 Original-Received: (at 19812) by debbugs.gnu.org; 5 Aug 2019 22:04:10 +0000 Original-Received: from localhost ([127.0.0.1]:35994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hul5O-0008DE-9n for submit@debbugs.gnu.org; Mon, 05 Aug 2019 18:04:10 -0400 Original-Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:45682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hul5M-0008D5-MU for 19812@debbugs.gnu.org; Mon, 05 Aug 2019 18:04:09 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8D1685E1911; Mon, 5 Aug 2019 22:04:07 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com (100-96-84-65.trex.outbound.svc.cluster.local [100.96.84.65]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 13D445E2A86; Mon, 5 Aug 2019 22:04:07 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Mon, 05 Aug 2019 22:04:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Average-Blushing: 4434372d2e506bab_1565042647381_2908630609 X-MC-Loop-Signature: 1565042647381:2995520895 X-MC-Ingress-Time: 1565042647380 Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a2.g.dreamhost.com (Postfix) with ESMTP id 36965837E2; Mon, 5 Aug 2019 15:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=Y/aOm815k1bZ/R9XPpFtPEzkjlc=; b= 1gnbHbpVrXQ/hTacTMau6/lW52X+q8w/hAeh/fQ1xfU4oLgLpWyMPsLPeAgix159 b9tr5YEFMDdWpUtgTzZKRK7nLSllWGEed9lHX1wJifjOr9Mvx+9tPDFrkeXJsmw4 0r6e6FEo0FEFKXwCCYa0IbIiGQiMGCxzrSKGLGxbVs0= Original-Received: from mail.jurta.org (m91-129-103-91.cust.tele2.ee [91.129.103.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a2.g.dreamhost.com (Postfix) with ESMTPSA id 3800B837DE; Mon, 5 Aug 2019 15:03:59 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a2 In-Reply-To: <87d0hk2drc.fsf@blah.blah> (Kevin Ryde's message of "Mon, 05 Aug 2019 18:54:47 +1000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddruddtledgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrledunecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrledupdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepuhhsvghrgedvpghkvghvihhnseihrghhohhordgtohhmrdgruhenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164657 Archived-At: >> It might be useful to visit log files previously saved from shell buffers, >> like compilation-mode adds such local-variable prop-line: >> >> -*- mode: compilation -*- > > I suppose the difference is compilation-mode does useful things when a > compilation has finished, whereas shell-mode and similar would be more > or less entirely for interaction. It makes sense to visit a previously saved shell buffer only to see highlighted prompts and command lines (that shell-mode currently is unable to do). > I've had file buffers in compilation-mode for stepping error lines in > the way you say. The only thing I've been tricked by is accidentally > "g" recompile which replaces the file text -- in a sensible way, but for > me usually not what I meant to do :-). Maybe "g" should check if the compilation buffer is visiting a file, and not to recompile in this case.