GNU bug report logs - #21652
bell chars

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Tom Baker <tombaker17@HIDDEN>; dated Thu, 8 Oct 2015 23:11:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:51:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:51:38 2020
Received: from localhost ([127.0.0.1]:58421 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7Moh-0007R2-SO
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:51:38 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:48744)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1k7MoV-0007Qj-7h
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:51:35 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4BV4VL16qTz1rs2p;
 Sun, 16 Aug 2020 19:51:22 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4BV4VL0fvMz1qvyk;
 Sun, 16 Aug 2020 19:51:22 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id Y4Arc5lI-ZhR; Sun, 16 Aug 2020 19:51:21 +0200 (CEST)
X-Auth-Info: 3/6YOcNAuEtkdrMWMG+wh4bPVkUOkJRqjdJv4RtWHxKjZqub125KxtVvUs0Rkm1s
Received: from igel.home (ppp-46-244-167-253.dynamic.mnet-online.de
 [46.244.167.253])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 16 Aug 2020 19:51:21 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id CD53D2C2857; Sun, 16 Aug 2020 19:51:20 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#21652: bell chars
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 <834kp2ilyi.fsf@HIDDEN>
 <CAK9k5tc8LVeNCqtwf5wQz2AkHwjVxV=dEhdEkL+vUOgnNKhBcw@HIDDEN>
 <83y2meh52g.fsf@HIDDEN>
X-Yow: Am I in GRADUATE SCHOOL yet?
Date: Sun, 16 Aug 2020 19:51:20 +0200
In-Reply-To: <83y2meh52g.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 16 Aug
 2020 20:29:59 +0300")
Message-ID: <874kp2xyw7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, stefan@HIDDEN, Tom Baker <tombaker17@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Aug 16 2020, Eli Zaretskii wrote:

>> From: Tom Baker <tombaker17@HIDDEN>
>> Date: Sun, 16 Aug 2020 13:10:40 -0400
>> Cc: stefan@HIDDEN, 21652 <at> debbugs.gnu.org
>> 
>> shell-mode will output a control-G to the screen, silently, and the
>> user sees ^G .
>
> That sounds like a bug to me: Emacs should emulate what the shell does
> outside of Emacs.

It's a matter of how much you want to do in the
comint-output-filter-functions.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:31:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:31:41 2020
Received: from localhost ([127.0.0.1]:58389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7MVR-0004kL-2D
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:31:41 -0400
Received: from mail-yb1-f169.google.com ([209.85.219.169]:32830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1k7MVP-0004k3-JC
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:31:39 -0400
Received: by mail-yb1-f169.google.com with SMTP id p191so8165902ybg.0
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 10:31:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=OFEoeFFr+g/XU0OMVLNJXbKitiu4QAE/tL//lb+L6Ao=;
 b=AdoYDj7bH/3lVyA1vSvs3zFdoAshOvbS4CaJWJEcv75phwCE2GTyVDrVwrTFWVLpUU
 KUQb92ne4gBXA5QqsovjnInrizTx6HzQ4RlT01rebN1YaKa6Za9L/mbOMP/ocQM0NxuP
 lxKIvwlF4Awz1UXkQNx7W3WcQ1Sj6yYSDTBpVzPwGwtPjI7p5aaL2DU3WMLU8TMxpOeX
 Fh8nCyjC5V6vcUc7hlzWvHccKzj84QDut3OvSDISbJrakeFOoCQlRSseFtGqSAs3xXU2
 3L8C+EnLCKnN1StOvJY5cTJevjVpV0dgEut9+1pemzfPPHpsF4mUoKgCX2VBKX3Zbvfr
 Ni9A==
X-Gm-Message-State: AOAM532yOesSAxoa68kXsYTZfVabtaIYedzj14ll35g2+U38azp2k73/
 NPUOeRiKAZhIxP6MtXrr1xqVq4wYnUgeie+4bNU=
X-Google-Smtp-Source: ABdhPJzg9NN0ZSShfkhDn1/gdZsuAqOL2l76y85Yhl8t1DiJqjDNjQKli/0JnZSvZg0qFF/XvI/r2LKYmEvAT8J+3lw=
X-Received: by 2002:a25:4609:: with SMTP id t9mr15361774yba.231.1597599094041; 
 Sun, 16 Aug 2020 10:31:34 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 16 Aug 2020 10:31:33 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CAK9k5tdde2kuB2RzPZpLR11jSZ6vDYhWALd7jKMreoB95Je7qQ@HIDDEN>
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <CAK9k5tdde2kuB2RzPZpLR11jSZ6vDYhWALd7jKMreoB95Je7qQ@HIDDEN>
MIME-Version: 1.0
Date: Sun, 16 Aug 2020 10:31:33 -0700
Message-ID: <CADwFkm=WBKu2Z0p_eCBWfa8BN_CTSP+h89tA3ByRSeiPCR+DiA@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Tom Baker <tombaker17@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Tom Baker <tombaker17@HIDDEN> writes:

> [Please remember, in the post to which this was a reply, I suggest
> withdrawing the suggestion. I made it quite a while back and don't
> need it. Thanks.]

Sorry, I misread what you were saying in that message and thought you
were saying the opposite.

I'm happy to hear that you found a solution to your problem.  I think
Eli asked some questions in his latest email that you could maybe help
us clarify.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:30:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:30:32 2020
Received: from localhost ([127.0.0.1]:58383 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7MUJ-0004iT-MV
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:30:31 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1k7MUE-0004hu-Fc
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:30:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41824)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1k7MU8-00008J-My; Sun, 16 Aug 2020 13:30:20 -0400
Received: from [176.228.60.248] (port=4771 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1k7MU5-0003zA-Cs; Sun, 16 Aug 2020 13:30:20 -0400
Date: Sun, 16 Aug 2020 20:29:59 +0300
Message-Id: <83y2meh52g.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Tom Baker <tombaker17@HIDDEN>
In-Reply-To: <CAK9k5tc8LVeNCqtwf5wQz2AkHwjVxV=dEhdEkL+vUOgnNKhBcw@HIDDEN>
 (message from Tom Baker on Sun, 16 Aug 2020 13:10:40 -0400)
Subject: Re: bug#21652: bell chars
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 <834kp2ilyi.fsf@HIDDEN>
 <CAK9k5tc8LVeNCqtwf5wQz2AkHwjVxV=dEhdEkL+vUOgnNKhBcw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, stefan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Baker <tombaker17@HIDDEN>
> Date: Sun, 16 Aug 2020 13:10:40 -0400
> Cc: stefan@HIDDEN, 21652 <at> debbugs.gnu.org
> 
> shell-mode will output a control-G to the screen, silently, and the
> user sees ^G .

That sounds like a bug to me: Emacs should emulate what the shell does
outside of Emacs.

Or maybe you need to run "M-x term" for that to work?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:19:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:19:54 2020
Received: from localhost ([127.0.0.1]:58368 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7MK2-0004Rn-50
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:19:54 -0400
Received: from mail-lf1-f44.google.com ([209.85.167.44]:45179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tombaker17@HIDDEN>) id 1k7MK0-0004RY-Jw
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:19:53 -0400
Received: by mail-lf1-f44.google.com with SMTP id b30so7186706lfj.12
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 10:19:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=oDBNpGguVD19sLO/HNDgx7iomz/HE6OUDkgoQRQqL1g=;
 b=E2hLOiYQaMwqYWhvUMZdR5cnopC25xKH4zD9TJqWCAsrFU0Ab9KFddacb/ULTbnsQx
 utjTtubZYiLEVxzGfbE4SV7Iis/brtUiLlAEs2fGxGW6dcwmYdjcivPpX9jeNKZ1yyzE
 5HIBTXFco8Yg5q2quB5Jj9Tr7CNrJhhAg6Z2n+YbiduWgoKwAV6O3FQq+rQySrHmK8Jm
 uZDHlnhIdohmRfhXpZwC05R7GiRgOnZElF1sX8fQnBmCR5Kn+K4cTUz1gwfsWwvbOnTB
 MCWtMWZJFnzNqAOBALyr0FDSFzfZs5bDX3WsFqEctnWz9bL136Of2jgmS6MzzPGrsVhs
 m2yw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=oDBNpGguVD19sLO/HNDgx7iomz/HE6OUDkgoQRQqL1g=;
 b=PGqsWl988qF4nMzfQHVjLhKhmg9MHusCJDNHmb1zTawrAEEvlswAfDAbUi250r4VrM
 AQ/Az+1+7LPftoK6sKQIYDQ3uQb21K6XZRxJkMJNtBNfN5UzHDlDCVbd/cRKAnusRuRH
 SdSYxHFKg4jrAHh/+/ahM1isRiaQmG8NxjGornqIk6DyJgiDOOiyUvGgKTZn6YuthZhy
 OqbwxpodciqF7OR2PrjB8PaGOmMdMdF5QJq2G7h0bsoDu7khbFFVLl+FQo/xzlhwE9Si
 W+WDZZpzUnPxVt48H6smYQXrI8klOHfUn6F2Kb68jdTntx9MmX0Voc0sK/qn7LtOYnWs
 rNCg==
X-Gm-Message-State: AOAM531mfCAtKda74VzXzc/zXxmLlEEapCvoVb9GgnCsW9nuarKVBmxA
 b+IsvUFBeIxHTZbT+fQqh+Ar07uzFUw/BUjG8Ek=
X-Google-Smtp-Source: ABdhPJxC9q+JM8b4Noka5BXNsP5uuBM+VlNZVyCmlwJF2mXjEnFiNrge7yPO6dATR9Hrk9h0g5DF70Z8j68zWk6rY64=
X-Received: by 2002:ac2:4571:: with SMTP id k17mr5741041lfm.182.1597598386566; 
 Sun, 16 Aug 2020 10:19:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:ed0f:0:0:0:0:0 with HTTP; Sun, 16 Aug 2020 10:19:45
 -0700 (PDT)
In-Reply-To: <87d03qy2ga.fsf@HIDDEN>
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 <87d03qy2ga.fsf@HIDDEN>
From: Tom Baker <tombaker17@HIDDEN>
Date: Sun, 16 Aug 2020 13:19:45 -0400
Message-ID: <CAK9k5teO1wCkhoHP5R3KMhizNyHMtvS66kYa9ed=__bkHwtgMg@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Andreas Schwab <schwab@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

On 8/16/20, Andreas Schwab <schwab@HIDDEN> wrote:
> On Aug 16 2020, Tom Baker wrote:
>
>> This is correct.  Most non-emacs shells have a scrolling limit, so
>> eventually command output scrolls off the top of the screen and is lost
>> forever.
>
> That's a property of the terminal emulator, not the shell.  For example,
> konsole can be configured to infinite scrollback.

Thank you, Andreas, for that correction. You are right, I was speaking
in a "general usage", which was technically inexact.

On windows, one can run the CMD.EXE "shell" within the "Command
Window" that is a terminal emulator.

On platforms that support the bash "shell", it usually is not hard to
have it generate its own teminal emulator window. One can also just
run the "shell" within another terminal emulator.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:10:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:10:50 2020
Received: from localhost ([127.0.0.1]:58358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7MBF-00021W-Tl
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:10:50 -0400
Received: from mail-lj1-f177.google.com ([209.85.208.177]:43106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tombaker17@HIDDEN>) id 1k7MBD-00021I-5D
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:10:48 -0400
Received: by mail-lj1-f177.google.com with SMTP id v12so14938611ljc.10
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 10:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=MHfdv1wxl/73TVtCix4EILC1a90OQvPrTnQM8Qxivss=;
 b=s/MdmbnEamJ5hulwDDocbvZtlG4ligKbKuDD5A/0OcxrZUojRscNOGXbMqmL927abu
 Sb94f1ijU2UESSeYaQpRGlxESqzbeRtxlNsr5ecGax978ycP/hQzSyG8TnBIEelt0SJS
 voh+Ocg4jk5iVEijCAF9jqL/cvEPR1wrnSNgMCDFs5Up6RePHzzYYyVN7QSlrFxC80xO
 mnuuHWVAPhRFhtqiYkeud+j10zZ9XR9tgrWjbVCdmWBo3W7p1e+YCR/cnKiQrXVzQ4+i
 4zga1+3IfUD/Rt2gLoaCF6YgIMtRqENfzynb19oNAvXFdYPxJttyhiD5ZiWE061Qp4BL
 PfwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=MHfdv1wxl/73TVtCix4EILC1a90OQvPrTnQM8Qxivss=;
 b=HhmqwvabtFl7VmS6cfWfh7PO/BxWfKT9MOqmbuw5Xt9w84AeLSBLtWYOM2a9695N1I
 UQB6iKtzGwMFjDSxGPG3qioDsecC48hK+B+yQ2iK53I3rHTQACg6SXLRviKUuHyMUG8x
 TZMN7yGCXvNztmCav/me5CYAw2qrBwAOsAPEfqg8Yd7i+yCBs6ZMl4SjeiB5Lbg3dQPe
 eUhLFa5zgQPW3lKm4j6V1eucSgOPWR3/Xsk7aKCX/oRLLwRWKgqL/TYYmzirz+HhFHNL
 lVNDcFrGXnjEVBk7rDi14hG5wMDEwvRqCl40otWmeH+nAtAMDCOIBQjqRD3SFvsdTnS1
 l/QA==
X-Gm-Message-State: AOAM530S81ze+oqymNIrxY0DoSILvzYM+Tfm32j/+xcco5OMmePm2FNr
 Xf30IiVmLsAqNM1vv23sLoKb/c6gW4H26M+dK103bTXDWQk=
X-Google-Smtp-Source: ABdhPJwLPEcjg5ztR9bPMGMaSb4GtN86S/L5TD9Mc+1ugE5a2Mj8hFcAo6QDcocTAwiDb87UU7zTUE02k7NKppjPw04=
X-Received: by 2002:a2e:9842:: with SMTP id e2mr5823553ljj.88.1597597841034;
 Sun, 16 Aug 2020 10:10:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:ed0f:0:0:0:0:0 with HTTP; Sun, 16 Aug 2020 10:10:40
 -0700 (PDT)
In-Reply-To: <834kp2ilyi.fsf@HIDDEN>
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 <834kp2ilyi.fsf@HIDDEN>
From: Tom Baker <tombaker17@HIDDEN>
Date: Sun, 16 Aug 2020 13:10:40 -0400
Message-ID: <CAK9k5tc8LVeNCqtwf5wQz2AkHwjVxV=dEhdEkL+vUOgnNKhBcw@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, stefan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

On 8/16/20, Eli Zaretskii <eliz@HIDDEN> wrote:
>> From: Tom Baker <tombaker17@HIDDEN>
>> Date: Sun, 16 Aug 2020 11:55:01 -0400
>> Cc: Stefan Kangas <stefan@HIDDEN>, 21652 <at> debbugs.gnu.org
>>
>> > would the shell beep?
>>
>> Yes, whether in bash or cmd.exe, I add an "echo the bell char so I'll know
>> I am done" command.

Yes, but know that I mean the instance bash that I invoked outside of
emacs, or the instance
of cmd.exe that I invoked in the Windows Run Command box. A separate
window, not in emacs. My command that does work runs to completion,
and then the computer puts out a beep sound.

>> In shell
>> mode (and not in all external shells), I can "enter my command" and hit
>> enter, and then slap my forehead and
>> mutter "gee, I forgot", and enter the "echo bell" command any time after
>> that -- the shell mode will execute
>> followup lines of commands afterwards seamlessly.

All that happens when this runs inside of emacs is that my command
that does work runs to completion, and then my "echo bell" command
runs and the screen now has a cute little up arrow
and a letter G (for the control-G that was output).

> I'm probably confused: if shell-mode does beep, then why do you need
> any changes?  Just be sure to have the "echo bell" at the end of your
> command, and it will beep, right?

No. The paragraph was confusing, I admit. shell-mode will output a
control-G to the screen, silently, and the user sees  ^G  .

>> (IN CASE OF FOLLOWUP DISCUSSION: I already said (in the post to which this
>> is a reply) that I can
>> withdraw the suggestion. I don't need it any more. [I forget exactly what
>> year, 2018, 2019, or 2020, I made
>> this suggestion, but I've moved on from it without an emacs change, which
>> I did form my own benefit,
>> anyway.] )
>
> Before we decide that you should withdraw your suggestion, I think
> it's worthwhile to figure out whether there's some Emacs bug here.  If

I do not know how this wound up on a "bug list" when this would be
simply an "enhancement".

There is no emacs bug.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:40:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 12:40:19 2020
Received: from localhost ([127.0.0.1]:58300 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7Lhj-0005HA-82
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:40:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1k7Lhg-0005Gu-EP
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:40:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40825)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1k7Lhb-0003AV-0q; Sun, 16 Aug 2020 12:40:11 -0400
Received: from [176.228.60.248] (port=1690 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1k7LhX-0002Uo-Of; Sun, 16 Aug 2020 12:40:10 -0400
Date: Sun, 16 Aug 2020 19:39:49 +0300
Message-Id: <834kp2ilyi.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Tom Baker <tombaker17@HIDDEN>
In-Reply-To: <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 (message from Tom Baker on Sun, 16 Aug 2020 11:55:01 -0400)
Subject: Re: bug#21652: bell chars
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, stefan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Baker <tombaker17@HIDDEN>
> Date: Sun, 16 Aug 2020 11:55:01 -0400
> Cc: Stefan Kangas <stefan@HIDDEN>, 21652 <at> debbugs.gnu.org
> 
> > would the shell beep?
> 
> Yes, whether in bash or cmd.exe, I add an "echo the bell char so I'll know I am done" command. In shell
> mode (and not in all external shells), I can "enter my command" and hit enter, and then slap my forehead and
> mutter "gee, I forgot", and enter the "echo bell" command any time after that -- the shell mode will execute
> followup lines of commands afterwards seamlessly.
> 
> So that's another "the Emacs shell mode" does "something a shell doesn't".

I'm probably confused: if shell-mode does beep, then why do you need
any changes?  Just be sure to have the "echo bell" at the end of your
command, and it will beep, right?

> (IN CASE OF FOLLOWUP DISCUSSION: I already said (in the post to which this is a reply) that I can
> withdraw the suggestion. I don't need it any more. [I forget exactly what year, 2018, 2019, or 2020, I made
> this suggestion, but I've moved on from it without an emacs change, which I did form my own benefit,
> anyway.] )

Before we decide that you should withdraw your suggestion, I think
it's worthwhile to figure out whether there's some Emacs bug here.  If
the shell does something, but running that shell inside Emacs doesn't,
then there's a bug we had better fixed.

But, of course, if you would like to stop the discussion, I won't
insist on continuing it.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:34:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 12:34:36 2020
Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7LcC-000581-D8
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:34:36 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:44806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1k7Lc9-00057c-2n
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:34:35 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4BV2ng37Z7z1rsXc;
 Sun, 16 Aug 2020 18:34:31 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4BV2ng0gyqz1qvJk;
 Sun, 16 Aug 2020 18:34:31 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 4oD6ZBIxRXiE; Sun, 16 Aug 2020 18:34:30 +0200 (CEST)
X-Auth-Info: bUSMACjYq2kNc3MsbbR4jI4vCa5LKFqbuirMGc+09vvE+t7XJDPYdbNO+qM8hbVT
Received: from igel.home (ppp-46-244-167-253.dynamic.mnet-online.de
 [46.244.167.253])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 16 Aug 2020 18:34:30 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 49F782C2857; Sun, 16 Aug 2020 18:34:29 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Tom Baker <tombaker17@HIDDEN>
Subject: Re: bug#21652: bell chars
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
 <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
X-Yow: Here we are in America...  when do we collect unemployment?
Date: Sun, 16 Aug 2020 18:34:29 +0200
In-Reply-To: <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
 (Tom Baker's message of "Sun, 16 Aug 2020 11:55:01 -0400")
Message-ID: <87d03qy2ga.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Aug 16 2020, Tom Baker wrote:

> This is correct.  Most non-emacs shells have a scrolling limit, so
> eventually command output scrolls off the top of the screen and is lost
> forever.

That's a property of the terminal emulator, not the shell.  For example,
konsole can be configured to infinite scrollback.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:10:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 12:10:57 2020
Received: from localhost ([127.0.0.1]:58250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7LFJ-0002L5-NL
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:10:57 -0400
Received: from mail-lj1-f171.google.com ([209.85.208.171]:43976)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tombaker17@HIDDEN>) id 1k7LFG-0002Kq-4x
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:10:56 -0400
Received: by mail-lj1-f171.google.com with SMTP id v12so14846406ljc.10
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 09:10:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=A55ctBgAuy1a3NNZPeHPZgGgb4eq/mD59FBe5I2FYfA=;
 b=JmleaRfxAQNP3Bq9uKl0WGpmfZZxqMtNjB604keyBODzvJzJ+MuPCGiqIBkIRORrEl
 uDtcLnMyYxQH2mGAQH/SkeRtuh3mZYRQcozt2ka2oyaX4MOde8R2sWiNGuPVUKC9id7F
 x6sBHvyqx6FHzgxZovKht/HcWg07I1EXN8z+MIgXRx7aQ1Mz08wf+PDvJ25j0RurwFBV
 neWz7BO9+WbhqqTMqYuP5n1gIiJq2YDB/Xr/dHKnL/12YtzeUXvRm7DFJkbWEwagL4JD
 uTTJBHnFbe4eKZYbOGH6YOg7ak/qzefpCnd0itTTXUdWDO/wiZzGgmB/VFHJUNg/ebJi
 T0zA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=A55ctBgAuy1a3NNZPeHPZgGgb4eq/mD59FBe5I2FYfA=;
 b=MquiUc27ntn02UbusifX7LWq9PqgPFPju7nfOXcYJbLHtvhsJcKC1pWb2Z5wisOYBp
 /gZvhP92nd9eLyze5Ovy60GwXp9bUvuR4jUbELOxsC8rVBgZOF6hNUNB4ZgeobUXwBOS
 1hTil1YsdE5OrHfrTp39ZurXvAVi7ilduvRHH2kWKa78KbmgvAcUjA0Z1U/+wp0dNjUN
 TUVK9cjsI/srzyG7dyjej8iywKbG+lk9QtkpGRrh35QyekI5Zvc9cGrufpzaJ2wAEa98
 77vzUUfCAhvMtQdvafUPYd/ycyDgI3SMNFiNAjuHcJNaslaFqCoAP3w1WjEhCgyqkX6f
 4Rqg==
X-Gm-Message-State: AOAM530jipsCO1Z2ygD6Q4dsgscWPbJsGHsB02kbozqqHi2oNaOetkHr
 G20PaeeTO0qU8Y/DMQI1OddK+DRTYOZ/7S6yxyV338kaQkoq1g==
X-Google-Smtp-Source: ABdhPJwFTBhKws9yG7gwORbLRFbNct1yh7a9dDBfobat3eO/K34DYymF88LHcKSs4haV03gotkTdUKhtN0rUt9ZCL3k=
X-Received: by 2002:a2e:9842:: with SMTP id e2mr5740191ljj.88.1597594248016;
 Sun, 16 Aug 2020 09:10:48 -0700 (PDT)
MIME-Version: 1.0
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
In-Reply-To: <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
From: Tom Baker <tombaker17@HIDDEN>
Date: Sun, 16 Aug 2020 12:11:43 -0400
Message-ID: <CAK9k5tdde2kuB2RzPZpLR11jSZ6vDYhWALd7jKMreoB95Je7qQ@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Stefan Kangas <stefan@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a5f6ec05ad00e56b"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000a5f6ec05ad00e56b
Content-Type: text/plain; charset="UTF-8"

The "shelisp" package is one of the "packages" that emacs can use. (I refer
you to the manual about
"packages" to find it.)  It sits on the shell-mode and watches for a
certain escape sequence being written to the screen.

When the escape sequence shows up, immediately following should be some
elisp code, followed by a terminating sequence.

My example would be that I enter

     $ longrunningcommand.exe ; mydinger.sh

where "mydinger.sh" is a bash script that outputs the escape sequence, then
"(ding)", and then the terminating sequence.

That is enough to make the emacs ring a bell and get my attention.

[Please remember, in the post to which this was a reply, I suggest
withdrawing the suggestion. I made it quite a while back and don't
need it. Thanks.]

--000000000000a5f6ec05ad00e56b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>The &quot;shelisp&quot; package is one of the &quot;p=
ackages&quot; that emacs can use. (I refer you to the manual about</div><di=
v>&quot;packages&quot; to find it.)=C2=A0 It sits on the shell-mode and wat=
ches for a certain escape sequence being written to the screen.</div><div><=
br></div><div>When the escape sequence shows up, immediately following shou=
ld be some elisp code, followed by a terminating sequence.</div><div><br></=
div><div>My example would be that I enter</div><div><br></div><div>=C2=A0=
=C2=A0=C2=A0=C2=A0 $ longrunningcommand.exe ; mydinger.sh</div><div><br></d=
iv><div>where &quot;mydinger.sh&quot; is a bash script that outputs the esc=
ape sequence, then &quot;(ding)&quot;, and then the terminating sequence.</=
div><div><br></div><div>That is enough to make the emacs ring a bell and ge=
t my attention.</div><div><br></div><div>[Please remember, in the post to w=
hich this was a reply, I suggest withdrawing the suggestion. I made it quit=
e a while back and don&#39;t</div><div>need it. Thanks.]</div><div><br></di=
v></div>

--000000000000a5f6ec05ad00e56b--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 15:54:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 11:54:20 2020
Received: from localhost ([127.0.0.1]:58236 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7KzC-0001w1-R5
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 11:54:19 -0400
Received: from mail-lf1-f47.google.com ([209.85.167.47]:41102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tombaker17@HIDDEN>) id 1k7Kz6-0001vk-Ho
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 11:54:18 -0400
Received: by mail-lf1-f47.google.com with SMTP id i19so7127389lfj.8
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 08:54:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=EAljmVseRwyNDcSkcPo/lRaIRXFJZk3xtGBQ2JS/TGY=;
 b=hG1lIlHWGeUd1SVMqH9B5e/OvkAkBcmGCpZcTU2vCPPPcG5wZrUw5qVtO06Vj+DG3z
 yPELHzgbEmP5gnpr1aZ8hfHm/kCdfzV+JzK7nV1gT4SKqNfesvtb33YUXrkjTygMbSjI
 xE8VCjCMFOqGxFwSjbzUNZ4UDwlYkf/hgm1vQJvo+iMaMhl4TZ7urIYXlFSYhWrwfs7s
 0EGiRpqgE0QsJ1zDhwL5e7Z20rmfzVmzDpGbp6wMupX57qZOOJeDriKHcgYD1aUqEIkC
 LS/ZB//qGCovcok+a3BYU7PTRz791NgW2swiWlBlQUlR7ToMkQWmmUUCcHiPqCK/WFwJ
 jQ+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=EAljmVseRwyNDcSkcPo/lRaIRXFJZk3xtGBQ2JS/TGY=;
 b=hVetIwGxqTwxgCCrovnV38sy9wod+utvkFnICrXlGTxnfTZ1MEaVNLJrusb4ubZQiF
 VD3EZentRILM8AIiXgqDIkOG0OElPyUyAN7041OOtx+da/bmw4pRr13fSzSty/qakNxM
 QXbhxlfJudvednvb6vNaNNY7yTT82ebh2j8PVWYvPVR8mGHv8NgeWywXoPqffRraGUCI
 IL07PRQz11CWvWcLpEbg0Xg6CUcyERHisNmTRFPP6Hl6DlUd1bUG/PkiTHZOX4spAzoD
 jL8fXNJnJ4QZm5iP+wREeepCBzEcX5Vs7fmckDOBpnGx+y4AMB/v0SASaIHydef7wtJ8
 ONYA==
X-Gm-Message-State: AOAM533prf/Dy28JCqd1VnzdP5mamb5aWAmrEwir8EHDUnfGGeM4hkAi
 2w+UOJcqVBuK7mVPXLNkzumDM0uhMYbb/Z+tW4k=
X-Google-Smtp-Source: ABdhPJwhsMbARoAWgIG3/CzKOzt2LOIDM3fPjWJaIvlexPqzhutYpgZdPoNDA9yCRLjBDA+ngOx9RBWmy4xMlonb0G0=
X-Received: by 2002:ac2:5468:: with SMTP id e8mr5548679lfn.83.1597593246163;
 Sun, 16 Aug 2020 08:54:06 -0700 (PDT)
MIME-Version: 1.0
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 <837dtyiqq0.fsf@HIDDEN>
In-Reply-To: <837dtyiqq0.fsf@HIDDEN>
From: Tom Baker <tombaker17@HIDDEN>
Date: Sun, 16 Aug 2020 11:55:01 -0400
Message-ID: <CAK9k5tf4k9pNWuDft=LDcawGAGkPtz7hFv0AqxyPb4giuWNJ0Q@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000eee75505ad00a93a"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000eee75505ad00a93a
Content-Type: text/plain; charset="UTF-8"

On Sun, Aug 16, 2020 at 10:57 AM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Stefan Kangas <stefan@HIDDEN>
> > Date: Sun, 16 Aug 2020 07:23:29 -0700
> > Cc: 21652 <at> debbugs.gnu.org
> >
> > Tom Baker <tombaker17@HIDDEN> writes:
> >
> > > I wrote this because I have a history of setting one command going,
> > > then going off to do something else, and then remembering an hour
> > > later "is that command done yet?" and looking to see that it finished
> > > a half hour before.
> >
> > This is a valid use case.
>
> There's something I don't think I understand in this use case: if the
> same command was run from a shell prompt outside Emacs, would the
> shell beep?  Or is the intent to make the Emacs shell mode do
> something a shell doesn't?
>

This is correct.  Most non-emacs shells have a scrolling limit, so
eventually command output scrolls off the top of the screen and is lost
forever.

So "the Emacs shell mode" does "something a shell doesn't" right there.

Whether I am on Android, Mac, PC, or Linux, I can scroll back in the shell
mode.  And the "cross-platform" part of it is important to me, since I jump
from one machine to another all the time.

> would the shell beep?

Yes, whether in bash or cmd.exe, I add an "echo the bell char so I'll know
I am done" command. In shell mode (and not in all external shells), I can
"enter my command" and hit enter, and then slap my forehead and mutter
"gee, I forgot", and enter the "echo bell" command any time after that --
the shell mode will execute followup lines of commands afterwards
seamlessly.

So that's another "the Emacs shell mode" does "something a shell doesn't".

There are lots more -- I've relied on the basic Emacs shell-mode since the
1980's. It's incredibly productive.

(IN CASE OF FOLLOWUP DISCUSSION: I already said (in the post to which this
is a reply) that I can withdraw the suggestion. I don't need it any more.
[I forget exactly what year, 2018, 2019, or 2020, I made this suggestion,
but I've moved on from it without an emacs change, which I did form my own
benefit, anyway.] )

--000000000000eee75505ad00a93a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g=
mail_attr">On Sun, Aug 16, 2020 at 10:57 AM Eli Zaretskii &lt;<a href=3D"ma=
ilto:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">&gt; From: Stefan Kangas &lt;<a href=3D"ma=
ilto:stefan@HIDDEN" target=3D"_blank">stefan@HIDDEN</a>&gt;<br>
&gt; Date: Sun, 16 Aug 2020 07:23:29 -0700<br>
&gt; Cc: <a href=3D"mailto:21652 <at> debbugs.gnu.org" target=3D"_blank">21652@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt; Tom Baker &lt;<a href=3D"mailto:tombaker17@HIDDEN" target=3D"_blank=
">tombaker17@HIDDEN</a>&gt; writes:<br>
&gt; <br>
&gt; &gt; I wrote this because I have a history of setting one command goin=
g,<br>
&gt; &gt; then going off to do something else, and then remembering an hour=
<br>
&gt; &gt; later &quot;is that command done yet?&quot; and looking to see th=
at it finished<br>
&gt; &gt; a half hour before.<br>
&gt; <br>
&gt; This is a valid use case.<br>
<br>
There&#39;s something I don&#39;t think I understand in this use case: if t=
he<br>
same command was run from a shell prompt outside Emacs, would the<br>
shell beep?=C2=A0 Or is the intent to make the Emacs shell mode do<br>
something a shell doesn&#39;t?<br></blockquote><div><br></div><div>This is =
correct.=C2=A0 Most non-emacs shells have a scrolling limit, so eventually =
command output scrolls off the top of the screen and is lost forever.</div>=
<div><br></div><div>So &quot;the Emacs shell mode&quot; does &quot;somethin=
g a shell doesn&#39;t&quot; right there.=C2=A0 <br></div><div><br></div><di=
v>Whether I am on Android, Mac, PC, or Linux, I can scroll back in the shel=
l mode.=C2=A0 And the &quot;cross-platform&quot; part of it is important to=
 me, since I jump from one machine to another all the time.</div><div><br><=
/div><div>&gt; would the shell beep?<br></div><div><br></div><div>Yes, whet=
her in bash or cmd.exe, I add an &quot;echo the bell char so I&#39;ll know =
I am done&quot; command. In shell mode (and not in all external shells), I =
can &quot;enter my command&quot; and hit enter, and then slap my forehead a=
nd mutter &quot;gee, I forgot&quot;, and enter the &quot;echo bell&quot; co=
mmand any time after that -- the shell mode will execute followup lines of =
commands afterwards seamlessly.</div><div><br></div><div>So that&#39;s anot=
her &quot;the Emacs shell mode&quot; does &quot;something a shell doesn&#39=
;t&quot;.</div><div><br></div><div>There are lots more -- I&#39;ve relied o=
n the basic Emacs shell-mode since the 1980&#39;s. It&#39;s incredibly prod=
uctive.</div><div><br></div><div>(IN CASE OF FOLLOWUP DISCUSSION: I already=
 said (in the post to which this is a reply) that I can withdraw the sugges=
tion. I don&#39;t need it any more. [I forget exactly what year, 2018, 2019=
, or 2020, I made this suggestion, but I&#39;ve moved on from it without an=
 emacs change, which I did form my own benefit, anyway.] )</div><div><br></=
div></div></div>

--000000000000eee75505ad00a93a--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 14:57:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 10:57:19 2020
Received: from localhost ([127.0.0.1]:58165 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7K63-0000aZ-2v
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:57:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41404)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1k7K61-0000aM-U3
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:57:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39715)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1k7K5w-0006t1-KN; Sun, 16 Aug 2020 10:57:12 -0400
Received: from [176.228.60.248] (port=3076 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1k7K5v-0006mA-DI; Sun, 16 Aug 2020 10:57:12 -0400
Date: Sun, 16 Aug 2020 17:56:55 +0300
Message-Id: <837dtyiqq0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
 (message from Stefan Kangas on Sun, 16 Aug 2020 07:23:29 -0700)
Subject: Re: bug#21652: bell chars
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
 <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org, tombaker17@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Sun, 16 Aug 2020 07:23:29 -0700
> Cc: 21652 <at> debbugs.gnu.org
> 
> Tom Baker <tombaker17@HIDDEN> writes:
> 
> > I wrote this because I have a history of setting one command going,
> > then going off to do something else, and then remembering an hour
> > later "is that command done yet?" and looking to see that it finished
> > a half hour before.
> 
> This is a valid use case.

There's something I don't think I understand in this use case: if the
same command was run from a shell prompt outside Emacs, would the
shell beep?  Or is the intent to make the Emacs shell mode do
something a shell doesn't?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 14:23:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 10:23:38 2020
Received: from localhost ([127.0.0.1]:58095 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k7JZS-0008C6-G9
	for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:23:38 -0400
Received: from mail-yb1-f171.google.com ([209.85.219.171]:39870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1k7JZO-0008Bs-Vn
 for 21652 <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:23:36 -0400
Received: by mail-yb1-f171.google.com with SMTP id q16so7970548ybk.6
 for <21652 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 07:23:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=9cy6W/xmxQ6iScdHpWptnhJ2uvDTQjdTM/GQpsbzcyg=;
 b=i207HwmOyM1rWQnl793tXtuKgcfP5KnJKm/uxXt3TkODQKqjw6NCXrXTrEji9wc20M
 O66/xRRXHP4IhOSQPtZSywGLhJruH7Wp9W1xEjkzPZ3glQbbA10hfhwXGKm2oZj5rRxb
 CWgLbg/qg21LhXN8N7Yr89CiOynpBBdJfcK/3vlNC8ofpsCysFvrxJeRD2hCU7Tj2Xue
 9y4cHeoEpc/VFSEnKTAdqBP9PN/45X9nL5YbHm84FZMSQJYWayz2St2tGYcKRoa/oWnA
 QG1NGXoFEMbD89KecLBuC9IDZoazjyLLv4carDQPJP36+mbMoAR2SRXroxOWVBLqGZo4
 bU7g==
X-Gm-Message-State: AOAM5307vnTLoZp4aiw5ztXzVUmLrgaQLa3gQ4Hc4qVPw0lJxmjUVyAD
 XGnAz/muHY3TLIIJYbGR+3tVkDrgZCYtem52oiE=
X-Google-Smtp-Source: ABdhPJwlVUAIxJmrT0WFsI7yxvdBNkQFluDGtOwFTns5ySJWGOMPopnC7FhJh4dDqif1vlbWG8ltF8bqQKb8rlMz3Cw=
X-Received: by 2002:a25:4ed7:: with SMTP id
 c206mr15720664ybb.129.1597587809426; 
 Sun, 16 Aug 2020 07:23:29 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 16 Aug 2020 07:23:29 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
 <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
MIME-Version: 1.0
Date: Sun, 16 Aug 2020 07:23:29 -0700
Message-ID: <CADwFkmmyBR+wuL=FQVjVAnFctuGid=6vyCtD3e17Bz5PVTyQ-w@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Tom Baker <tombaker17@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Tom Baker <tombaker17@HIDDEN> writes:

> I wrote this because I have a history of setting one command going,
> then going off to do something else, and then remembering an hour
> later "is that command done yet?" and looking to see that it finished
> a half hour before.

This is a valid use case.  But I'm not convinced we should do any
changes in the code to cover it.  The problem here is that everyone's
needs are different, so we would end up having to spread little `beep's
all over the Emacs code base.

May I propose something like the following as an alternative:

   long-running-command.sh ; aplay beep.wav

(Searching the web I also found out about a command line utility
`beep' that may or may not be of interest.)

> Second -- I have little trouble withdrawing the suggestion, because
> the "shelisp" package is a more suitable implementation of my use
> case. The idea of an advice got to be a little sloppy of an
> implementation because the sound would come put before the call, or
> after the call, and not synchronized with the other characters.

I don't know what shelisp is or how it relates to the current
discussion.  Could you please clarify?

I'm sorry to hear you had no success with advice.  That would be the
canonical way to add specialized behaviour to a function in Emacs, but
sometimes it can be a bit finicky to get the details right.  Perhaps you
could ask on the emacs-help mailing list about it.

> Thanks for your volunteer work in maintaining the emacs software!

Thanks for using it!

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 01:10:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 21:10:47 2020
Received: from localhost ([127.0.0.1]:56608 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k77CA-0000Mt-JV
	for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 21:10:46 -0400
Received: from mail-lj1-f173.google.com ([209.85.208.173]:38201)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tombaker17@HIDDEN>) id 1k77C6-0000Mc-IH
 for 21652 <at> debbugs.gnu.org; Sat, 15 Aug 2020 21:10:45 -0400
Received: by mail-lj1-f173.google.com with SMTP id m22so13712321ljj.5
 for <21652 <at> debbugs.gnu.org>; Sat, 15 Aug 2020 18:10:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=5md7qRIhehSrm28osKWhvheMZwQ2uB++xCm/mIKtUpM=;
 b=dQKOF4bK+dDSFWeBPHgRaLwXdxox0pkJwvY8LVpJYxy2WdRYz3YRaelVGqKJQSBPo1
 V6Znr8X+heHHLufe+8wIf08gtMpTvxF3ixFGYFJgvsbICj3B+4ogk86BxodIsisI3//Z
 KUy9EzZCdaf86c7hJHAINJ31OHz0PVZgPQcL4lCe82I/aSiM6U8p9Huh3LR2Fnhh3zhG
 WuJDFLuLyd6SslfZW1/wsVJ6/9ltLzjRjX3UEGMR0TwF/5jU/6sYRL2tMMWfO969sLat
 21wi3zswsigT+erjXzoBDjyf6Pc/uvkJytzQsmL2niscdnOgLFlBI3yJ1hBNWajfRf+7
 079w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=5md7qRIhehSrm28osKWhvheMZwQ2uB++xCm/mIKtUpM=;
 b=Wdy6I+S/dUKEPkICl8ca1BU3p1llCxp5EF+TGleCMXYsFNYAzJerv1NRXHesEpt1O1
 aKAxX9BDl1t9X1DdWUT6KF0+h79xNR+02HkqQHU6/zdF+aqqyJciYyxCYvplf+6k87hV
 bimzDRw0gGFYOYyByrDnPD00PRTApYRcdrAnnB5eSHXDfW7UdXspkE2UWXe0AhTGbLKE
 VUJWLjsZcogxZiQPtseRCgUoZBH6nQWC0adk3xwylVgMBrYKdx7Km1LNnGM7oUQWPwV6
 nHvdBQGYGOsdjsOUUvfzqkAirq2mCbp8XPndfq7zct3XaPowbPzeFFydYgg0NS6TAhOg
 SDgg==
X-Gm-Message-State: AOAM531GaSVbH9JQJ/ZHJ248sv75xcyBSGZa3/FyormQwzntLlipnffs
 aN2bXBaPWgdu3v1EJS7vgLTz3QAqc04048oUxzz2+wSz/t8=
X-Google-Smtp-Source: ABdhPJxOSZQWQaD7Xy9QMio5uH4rPc0nm+jktnrRopzBxi/pIZUO6UY1zIT2IkBsPd8wPoT1a9ohZgmM2/Ef+CcJ+Gk=
X-Received: by 2002:a2e:7e0d:: with SMTP id z13mr4525077ljc.12.1597540236077; 
 Sat, 15 Aug 2020 18:10:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:ed0f:0:0:0:0:0 with HTTP; Sat, 15 Aug 2020 18:10:35
 -0700 (PDT)
In-Reply-To: <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
From: Tom Baker <tombaker17@HIDDEN>
Date: Sat, 15 Aug 2020 21:10:35 -0400
Message-ID: <CAK9k5tc6yvYHK7mtuZasR5Km1gtqVMU0Pihsx7piQt=SwMOfAQ@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Stefan Kangas <stefan@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

First the use case -- One has a number of things to do, in a limited
amount of time. Using the command shell in emacs, give the first in a
series of commands, one that will take a long time; after it finishes
successfully, another command should be given; if it fails, it should
be corrected and run again. And while it runs for a long time, one
wants to be doing something else.  So one arranges for an "echo
control-G" command to make the thing beep when it is done, so one
doesn't have to sit and watch the thing run through the command,
watching for the first command to finish.

I wrote this because I have a history of setting one command going,
then going off to do something else, and then remembering an hour
later "is that command done yet?" and looking to see that it finished
a half hour before.

Second -- I have little trouble withdrawing the suggestion, because
the "shelisp" package is a more suitable implementation of my use
case. The idea of an advice got to be a little sloppy of an
implementation because the sound would come put before the call, or
after the call, and not synchronized with the other characters.

Thanks for your volunteer work in maintaining the emacs software!

On 8/15/20, Stefan Kangas <stefan@HIDDEN> wrote:
> Tom Baker <tombaker17@HIDDEN> writes:
>
>> I have a real need to have my command shells beep at me when their work is
>> done, so I set it up so beeps are passed to the
>> host system.
>>
>> In the function comint-carriage-motion I alter
>>
>> (defun comint-carriage-motion (start end)
>>   "Interpret carriage control characters in the region from START to END.
>> Translate carriage return/linefeed sequences to linefeeds.
>> Make single carriage returns delete to the beginning of the line.
>> Make backspaces delete the previous character."
>>
>> to say
>>
>> (defun comint-carriage-motion (start end)
>>   "Interpret carriage control characters and bells in the region from
>> START to END.
>> Translate carriage return/linefeed sequences to linefeeds.
>> Make single carriage returns delete to the beginning of the line.
>> Make backspaces delete the previous character. Pass bells through."
>>
>> and the code chunk
>>
>>                 (cond ((= ch ?\b)                  ; CH = BS
>>                        (delete-char 1)
>>                        (if (> (point) lbeg)
>>                                    (delete-char -1)))
>>                       ((= ch ?\n)
>>                        (when delete-end            ; CH = LF
>>                                 (if (< delete-end (point))
>>                                      (delete-region lbeg delete-end))
>>                                 (set-marker delete-end nil)
>>                                 (setq delete-end nil))
>>                        (forward-char 1)
>>                        (setq lbeg (point)))
>>                       (t                            ; CH = CR
>>
>> changed to
>>
>>                 (cond ((= ch ?\b)            ; CH = BS
>>                        (delete-char 1)
>>                        (if (> (point) lbeg)
>>                                    (delete-char -1)))
>>                       ((= ch ?\n)
>>                        (when delete-end      ; CH = LF
>>                                 (if (< delete-end (point))
>>                                      (delete-region lbeg delete-end))
>>                                 (set-marker delete-end nil)
>>                                 (setq delete-end nil))
>>                        (forward-char 1)
>>                        (setq lbeg (point)))
>>                       ((= ch ?\a)
>>                        (forward-char 1)
>>                        (ding)
>>                        (sit-for 0.45 t))      ; CH = BL
>>                       (t                      ; CH = CR
>
> So the difference here is that you would like to add a call to (ding)?
> I'm not sure the addition you propose is suitable for general use.
>
> Perhaps you could explain the use-case here in a bit more detail?  For
> example, why can't you just add an advice to the function in question?
>
> Best regards,
> Stefan Kangas
>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at 21652 <at> debbugs.gnu.org:


Received: (at 21652) by debbugs.gnu.org; 15 Aug 2020 06:26:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 02:26:22 2020
Received: from localhost ([127.0.0.1]:54219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k6pe2-0004tk-No
	for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 02:26:22 -0400
Received: from mail-yb1-f196.google.com ([209.85.219.196]:35512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1k6pdz-0004tK-EN
 for 21652 <at> debbugs.gnu.org; Sat, 15 Aug 2020 02:26:21 -0400
Received: by mail-yb1-f196.google.com with SMTP id y134so6419801yby.2
 for <21652 <at> debbugs.gnu.org>; Fri, 14 Aug 2020 23:26:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=0GGh2sxsP+OIefnIpzoXipZNNvDh/nUW92saakT9rWg=;
 b=Pke2qzhkkfksUl1+njoIhUEdcIv0UaQ2eStYYnF//Eabb7ZZuYGLWKa3IeEnC/ccUr
 umF0FMcsORSo7Seu9LsfJYIdimmNtfBXgIvt0cNYjdWqhWkqZCFoNSi1jvkqJOqUZwwC
 oAEE0o3AhnZI1C56j1MFJtVUmuOa15wL/2NRozQ5NULXn6c/4h9aaReWifGzsSYGnnul
 hIJXj2ssOSJOTgMvyL2xsVVEaIKK3VQwRcA+ivf1i0udd87CMrv/DJI4SRIv9v6wEuNm
 AGr9xN9xtdKVq0eMrqvcQu3NmiU4XV5r24XLfoNDoE2LZXQk1Tf60P19M7heFWCq887F
 xWDQ==
X-Gm-Message-State: AOAM530/UyyTwerBJsZfdCAg3boTBWAw6/xcYE+JarbP+yttfHolFB6J
 K+guqPJtazfHrxWbjrx3G9RDnz9GkNL+SSlT+L8=
X-Google-Smtp-Source: ABdhPJw08CJin6kDQeyjL2JXqnSOak5wbOG9E0w/C3Z9ZU1X3KSgJNi4WEFCz8ucgfF/ow6KqDMzLBvkCHC/CoSk5oU=
X-Received: by 2002:a25:7007:: with SMTP id l7mr8145657ybc.85.1597472774014;
 Fri, 14 Aug 2020 23:26:14 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 14 Aug 2020 23:26:13 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
 (Tom Baker's message of "Thu, 8 Oct 2015 18:55:25 -0400")
References: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Fri, 14 Aug 2020 23:26:13 -0700
Message-ID: <CADwFkmnHuzeGANQD0cfXFa4SG0M+mTVj034-+ACxM3ME_v=N7w@HIDDEN>
Subject: Re: bug#21652: bell chars
To: Tom Baker <tombaker17@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 21652
Cc: 21652 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tom Baker <tombaker17@HIDDEN> writes:

> I have a real need to have my command shells beep at me when their work is done, so I set it up so beeps are passed to the
> host system.
>
> In the function comint-carriage-motion I alter
>
> (defun comint-carriage-motion (start end)
>   "Interpret carriage control characters in the region from START to END.
> Translate carriage return/linefeed sequences to linefeeds.
> Make single carriage returns delete to the beginning of the line.
> Make backspaces delete the previous character."
>
> to say
>
> (defun comint-carriage-motion (start end)
>   "Interpret carriage control characters and bells in the region from START to END.
> Translate carriage return/linefeed sequences to linefeeds.
> Make single carriage returns delete to the beginning of the line.
> Make backspaces delete the previous character. Pass bells through."
>
> and the code chunk
>
>                 (cond ((= ch ?\b)                  ; CH = BS
>                        (delete-char 1)
>                        (if (> (point) lbeg)
>                                    (delete-char -1)))
>                       ((= ch ?\n)
>                        (when delete-end            ; CH = LF
>                                 (if (< delete-end (point))
>                                      (delete-region lbeg delete-end))
>                                 (set-marker delete-end nil)
>                                 (setq delete-end nil))
>                        (forward-char 1)
>                        (setq lbeg (point)))
>                       (t                            ; CH = CR
>
> changed to
>
>                 (cond ((= ch ?\b)            ; CH = BS
>                        (delete-char 1)
>                        (if (> (point) lbeg)
>                                    (delete-char -1)))
>                       ((= ch ?\n)
>                        (when delete-end      ; CH = LF
>                                 (if (< delete-end (point))
>                                      (delete-region lbeg delete-end))
>                                 (set-marker delete-end nil)
>                                 (setq delete-end nil))
>                        (forward-char 1)
>                        (setq lbeg (point)))
>                       ((= ch ?\a)
>                        (forward-char 1)
>                        (ding)
>                        (sit-for 0.45 t))      ; CH = BL
>                       (t                      ; CH = CR

So the difference here is that you would like to add a call to (ding)?
I'm not sure the addition you propose is suitable for general use.

Perhaps you could explain the use-case here in a bit more detail?  For
example, why can't you just add an advice to the function in question?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Oct 2015 23:10:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 08 19:10:32 2015
Received: from localhost ([127.0.0.1]:33175 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZkKKV-0007vH-Hd
	for submit <at> debbugs.gnu.org; Thu, 08 Oct 2015 19:10:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58433)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6J-0007Yl-3a
 for submit <at> debbugs.gnu.org; Thu, 08 Oct 2015 18:55:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6H-0004GB-TL
 for submit <at> debbugs.gnu.org; Thu, 08 Oct 2015 18:55:51 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33637)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6H-0004G2-H3
 for submit <at> debbugs.gnu.org; Thu, 08 Oct 2015 18:55:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40148)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6F-0000lz-Q8
 for bug-gnu-emacs@HIDDEN; Thu, 08 Oct 2015 18:55:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6E-0004EJ-Gy
 for bug-gnu-emacs@HIDDEN; Thu, 08 Oct 2015 18:55:47 -0400
Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:33590)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tombaker17@HIDDEN>) id 1ZkK6E-0004Dx-BB
 for bug-gnu-emacs@HIDDEN; Thu, 08 Oct 2015 18:55:46 -0400
Received: by igbkq10 with SMTP id kq10so26082208igb.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 08 Oct 2015 15:55:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=gXrReneIsGkZDjXerddTD7qXjy/o8fozi03TEhyKYUo=;
 b=aSfMnQ5cdNh1K5pT3f9TfUCyyUtyFkPEsl1sQGP0JwXbBMHo9CS0GMwo9ueBQ4vg4N
 jgeulTXfYLUTlz5DkFgjIIcpU+SptX4MyRu4TVuhm0IBzcDyV3mngF59uArvnpnJFuNE
 N8hxO+CSeWgPOBdVJaw11DNNpvjLhZuNn7TKUM1LxC8Q5oCwl0yaxqqPE0O4RC1PQIOg
 j9p0NDpIStvNqMeAdWha6q8Lj58ZiNMdCj7z6oC5Hgkz96nAdZaCbmdSnSWxrgjed8qQ
 XB8CtxK43aMNCYzJ3pW+ffEYQR+GTP2soOmjSXsC1ZfUisYMD4Iisr/B85CMvkw85ycL
 sUTQ==
X-Received: by 10.50.66.197 with SMTP id h5mr6713314igt.82.1444344945071; Thu,
 08 Oct 2015 15:55:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.210.86 with HTTP; Thu, 8 Oct 2015 15:55:25 -0700 (PDT)
From: Tom Baker <tombaker17@HIDDEN>
Date: Thu, 8 Oct 2015 18:55:25 -0400
Message-ID: <CAK9k5td5cmpd4WA7Vkd+EkWny+ws_k_rUd-dXctmutZXZZcYYA@HIDDEN>
Subject: bell chars
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=047d7bd6be0e625b3205219fc39c
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 08 Oct 2015 19:10:28 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

--047d7bd6be0e625b3205219fc39c
Content-Type: text/plain; charset=UTF-8

Please excuse me if this has been suggested before for adding to Emacs.



I have a real need to have my command shells beep at me when their work is
done, so I set it up so beeps are passed to the

host system.



In the function comint-carriage-motion I alter



(defun comint-carriage-motion (start end)

  "Interpret carriage control characters in the region from START to END.

Translate carriage return/linefeed sequences to linefeeds.

Make single carriage returns delete to the beginning of the line.

Make backspaces delete the previous character."



to say



(defun comint-carriage-motion (start end)

  "Interpret carriage control characters and bells in the region from START
to END.

Translate carriage return/linefeed sequences to linefeeds.

Make single carriage returns delete to the beginning of the line.

Make backspaces delete the previous character. Pass bells through."



and the code chunk



                (cond ((= ch ?\b)                  ; CH = BS

                       (delete-char 1)

                       (if (> (point) lbeg)

                                   (delete-char -1)))

                      ((= ch ?\n)

                       (when delete-end            ; CH = LF

                                (if (< delete-end (point))

                                     (delete-region lbeg delete-end))

                                (set-marker delete-end nil)

                                (setq delete-end nil))

                       (forward-char 1)

                       (setq lbeg (point)))

                      (t                            ; CH = CR



changed to



                (cond ((= ch ?\b)            ; CH = BS

                       (delete-char 1)

                       (if (> (point) lbeg)

                                   (delete-char -1)))

                      ((= ch ?\n)

                       (when delete-end      ; CH = LF

                                (if (< delete-end (point))

                                     (delete-region lbeg delete-end))

                                (set-marker delete-end nil)

                                (setq delete-end nil))

                       (forward-char 1)

                       (setq lbeg (point)))

                      ((= ch ?\a)

                       (forward-char 1)

                       (ding)

                       (sit-for 0.45 t))      ; CH = BL

                      (t                      ; CH = CR



Again, please excuse me if this has been suggested as a feature before.


God's Blessings,

Tom Baker

--047d7bd6be0e625b3205219fc39c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div link=3D"#0563C1" vlink=3D"=
#954F72" lang=3D"EN-US"><div>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">Plea=
se excuse me if this has been suggested before for adding to Emacs.</span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">I ha=
ve a real need to have my command shells beep at me when their work is done=
, so I set it up so beeps are passed to the</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">host=
 system.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">In t=
he function comint-carriage-motion I alter</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font-famil=
y:monospace,monospace">(defun comint-carriage-motion (start end)</span></p>=
<div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">=C2=A0 &quot;Interpret carriage control charac=
ters in the region from START to END.</span></p><div style=3D"margin-left:4=
0px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Translate carriage return/linefeed sequences t=
o linefeeds.</span></p><div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Make single carriage returns delete to the beg=
inning of the line.</span></p><div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Make backspaces delete the previous character.=
&quot;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">to s=
ay</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font-famil=
y:monospace,monospace">(defun comint-carriage-motion (start end)</span></p>=
<div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">=C2=A0 &quot;Interpret carriage control charac=
ters and bells in the region from START to END.</span></p><div style=3D"mar=
gin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Translate carriage return/linefeed sequences t=
o linefeeds.</span></p><div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Make single carriage returns delete to the beg=
inning of the line.</span></p><div style=3D"margin-left:40px">
</div><p style=3D"margin-left:40px" class=3D"MsoNormal"><span style=3D"font=
-family:monospace,monospace">Make backspaces delete the previous character.=
 Pass bells through.&quot;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">and =
the code chunk</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:monospac=
e,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (cond ((=3D ch ?\b)=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></font><font =
size=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0=C2=A0=C2=
=A0 ; CH =3D BS</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=
delete-char 1)</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=
if (&gt; (point) lbeg)</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font size=
=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0 =C2=A0=C2=A0 =
(delete-char -1)))</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((=3D c=
h ?\n)</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=
when delete-end=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 ; CH =3D LF</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font size=
=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0 (if (&lt; del=
ete-end (point))</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font size=
=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0 =C2=A0=C2=A0=
=C2=A0=C2=A0 (delete-region lbeg delete-end))</span></font></p><font size=
=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font size=
=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0 (set-marker d=
elete-end nil)</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font size=
=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0 (setq delete-=
end nil))</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=
forward-char 1)</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=
setq lbeg (point)))</span></font></p><font size=3D"1">
</font><p class=3D"MsoNormal"><font size=3D"1"><span style=3D"font-family:m=
onospace,monospace">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (t=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0</span></font><font s=
ize=3D"1"><span style=3D"font-family:monospace,monospace">=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 ; CH =3D CR</span></font></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">chan=
ged to</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 (cond ((=3D ch ?\b)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
</span><span style=3D"font-family:monospace,monospace">=C2=A0=C2=A0=C2=A0 ;=
 CH =3D BS</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete-char 1)</span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (&gt; (point) lbeg)</=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-family:monospace,mono=
space">=C2=A0 =C2=A0=C2=A0 (delete-char -1)))</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((=3D ch ?\n)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (when delete-end=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 ; CH =3D LF</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-family:monospace,mono=
space">=C2=A0 (if (&lt; delete-end (point))</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-family:monospace,mono=
space">=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 (delete-region lbeg delete-end))</sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-family:monospace,mono=
space">=C2=A0 (set-marker delete-end nil)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-family:monospace,mono=
space">=C2=A0 (setq delete-end nil))</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (forward-char 1)</span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq lbeg (point)))</spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((=3D ch ?\a)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (forward-char 1)</span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (ding)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (sit-for 0.45 t))=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 ; CH =3D BL</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (t=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0</span><span style=3D"font-family:monospace,monospace">=C2=A0=C2=A0=
=C2=A0 ; CH =3D CR</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">=C2=
=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">Agai=
n, please excuse me if this has been suggested as a feature before.</span><=
/p>
<p class=3D"MsoNormal"><br><span style=3D"font-family:monospace,monospace">=
</span></p><p class=3D"MsoNormal"><span style=3D"font-family:monospace,mono=
space">God&#39;s Blessings, <br></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:monospace,monospace">Tom =
Baker</span></p><span style=3D"font-family:monospace,monospace"><br></span>=
</div></div></div></div>

--047d7bd6be0e625b3205219fc39c--




Acknowledgement sent to Tom Baker <tombaker17@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#21652; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 16 Aug 2020 18:00:02 UTC

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