From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21652@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144434583230465 (code B ref -1); Thu, 08 Oct 2015 23:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2015 23:10:32 +0000 Received: from localhost ([127.0.0.1]:33175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkKKV-0007vH-Hd for submit@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 ) id 1ZkK6J-0007Yl-3a for submit@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 ) id 1ZkK6H-0004GB-TL for submit@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 ) id 1ZkK6H-0004G2-H3 for submit@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 ) id 1ZkK6F-0000lz-Q8 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 18:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkK6E-0004EJ-Gy for bug-gnu-emacs@gnu.org; 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 ) id 1ZkK6E-0004Dx-BB for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 18:55:46 -0400 Received: by igbkq10 with SMTP id kq10so26082208igb.0 for ; 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 Date: Thu, 8 Oct 2015 18:55:25 -0400 Message-ID: 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-Mailman-Approved-At: Thu, 08 Oct 2015 19:10:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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

Plea= se excuse me if this has been suggested before for adding to Emacs.<= /p>

=C2= =A0

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

host= system.

=C2= =A0

In t= he function comint-carriage-motion I alter

=C2= =A0

(defun comint-carriage-motion (start end)

=

=C2=A0 "Interpret carriage control charac= ters in the region from START to END.

Translate carriage return/linefeed sequences t= o linefeeds.

Make single carriage returns delete to the beg= inning of the line.

Make backspaces delete the previous character.= "

=C2= =A0

to s= ay

=C2= =A0

(defun comint-carriage-motion (start end)

=

=C2=A0 "Interpret carriage control charac= ters and bells in the region from START to END.

Translate carriage return/linefeed sequences t= o linefeeds.

Make single carriage returns delete to the beg= inning of the line.

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

=C2= =A0

and = the code chunk

=C2= =A0

=C2=A0=C2=A0=C2=A0=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 =C2=A0=C2=A0=C2= =A0 ; CH =3D BS

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =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)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =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 (> (point) lbeg)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)))

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =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

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 (< del= ete-end (point))

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=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-region lbeg delete-end))

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (set-marker d= elete-end nil)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 delete-= end nil))

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =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)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =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)))

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ; CH =3D CR

=C2= =A0

chan= ged to

=C2= =A0

=C2= =A0=C2=A0=C2=A0=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 ;= CH =3D BS

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 (> (point) lbeg)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)))

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 (< delete-end (point))

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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-region lbeg delete-end))

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (set-marker delete-end nil)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 delete-end nil))

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)))

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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)

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 ; CH =3D CR

=C2= =A0

Agai= n, please excuse me if this has been suggested as a feature before.<= /p>


=

God's Blessings,

Tom = Baker


=
--047d7bd6be0e625b3205219fc39c-- From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Aug 2020 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159747278318836 (code B ref 21652); Sat, 15 Aug 2020 06:27:02 +0000 Received: (at 21652) by debbugs.gnu.org; 15 Aug 2020 06:26:23 +0000 Received: from localhost ([127.0.0.1]:54219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6pe2-0004tk-No for submit@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 ) id 1k6pdz-0004tK-EN for 21652@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@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 In-Reply-To: (Tom Baker's message of "Thu, 8 Oct 2015 18:55:25 -0400") References: 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: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tom Baker 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 From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 01:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 21652@debbugs.gnu.org Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15975402471423 (code B ref 21652); Sun, 16 Aug 2020 01:11:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 01:10:47 +0000 Received: from localhost ([127.0.0.1]:56608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k77CA-0000Mt-JV for submit@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 ) id 1k77C6-0000Mc-IH for 21652@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@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: References: From: Tom Baker Date: Sat, 15 Aug 2020 21:10:35 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 wrote: > Tom Baker 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 > From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 14:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159758781831506 (code B ref 21652); Sun, 16 Aug 2020 14:24:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 14:23:38 +0000 Received: from localhost ([127.0.0.1]:58095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7JZS-0008C6-G9 for submit@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 ) id 1k7JZO-0008Bs-Vn for 21652@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@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 In-Reply-To: References: MIME-Version: 1.0 Date: Sun, 16 Aug 2020 07:23:29 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Tom Baker 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 From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 21652@debbugs.gnu.org, tombaker17@gmail.com Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15975898392271 (code B ref 21652); Sun, 16 Aug 2020 14:58:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 14:57:19 +0000 Received: from localhost ([127.0.0.1]:58165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7K63-0000aZ-2v for submit@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 ) id 1k7K61-0000aM-U3 for 21652@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Sun, 16 Aug 2020 07:23:29 -0700) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Sun, 16 Aug 2020 07:23:29 -0700 > Cc: 21652@debbugs.gnu.org > > Tom Baker 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? From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21652@debbugs.gnu.org, Stefan Kangas Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15975932607446 (code B ref 21652); Sun, 16 Aug 2020 15:55:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 15:54:20 +0000 Received: from localhost ([127.0.0.1]:58236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7KzC-0001w1-R5 for submit@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 ) id 1k7Kz6-0001vk-Ho for 21652@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@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: <837dtyiqq0.fsf@gnu.org> In-Reply-To: <837dtyiqq0.fsf@gnu.org> From: Tom Baker Date: Sun, 16 Aug 2020 11:55:01 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000eee75505ad00a93a" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --000000000000eee75505ad00a93a Content-Type: text/plain; charset="UTF-8" On Sun, Aug 16, 2020 at 10:57 AM Eli Zaretskii wrote: > > From: Stefan Kangas > > Date: Sun, 16 Aug 2020 07:23:29 -0700 > > Cc: 21652@debbugs.gnu.org > > > > Tom Baker 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

On Sun, Aug 16, 2020 at 10:57 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Stefan Kangas <stefan@marxist.se>
> Date: Sun, 16 Aug 2020 07:23:29 -0700
> Cc: 21652@d= ebbugs.gnu.org
>
> Tom Baker <tombaker17@gmail.com> writes:
>
> > I wrote this because I have a history of setting one command goin= g,
> > then going off to do something else, and then remembering an hour=
> > later "is that command done yet?" and looking to see th= at 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 t= he
same command was run from a shell prompt outside Emacs, would the
shell beep?=C2=A0 Or is the intent to make the Emacs shell mode do
something a shell doesn't?

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

So "the Emacs shell mode" does "somethin= g a shell doesn't" right there.=C2=A0

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

<= /div>
> would the shell beep?

Yes, whet= her 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 a= nd mutter "gee, I forgot", and enter the "echo bell" co= mmand any time after that -- the shell mode will execute followup lines of = commands afterwards seamlessly.

So that's anot= her "the Emacs shell mode" does "something a shell doesn'= ;t".

There are lots more -- I've relied o= n the basic Emacs shell-mode since the 1980's. It's incredibly prod= uctive.

(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'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-- From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 21652@debbugs.gnu.org Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15975942589000 (code B ref 21652); Sun, 16 Aug 2020 16:11:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:10:58 +0000 Received: from localhost ([127.0.0.1]:58250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7LFJ-0002L5-NL for submit@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 ) id 1k7LFG-0002Kq-4x for 21652@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@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: In-Reply-To: From: Tom Baker Date: Sun, 16 Aug 2020 12:11:43 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a5f6ec05ad00e56b" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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
The "shelisp" package is one of the "p= ackages" that emacs can use. (I refer you to the manual about
"packages" to find it.)=C2=A0 It sits on the shell-mode and wat= ches for a certain escape sequence being written to the screen.
<= br>
When the escape sequence shows up, immediately following shou= ld be some elisp code, followed by a terminating sequence.

My example would be that I enter

=C2=A0= =C2=A0=C2=A0=C2=A0 $ longrunningcommand.exe ; mydinger.sh

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

That is enough to make the emacs ring a bell and ge= t my attention.

[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't
need it. Thanks.]

--000000000000a5f6ec05ad00e56b-- From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org, Eli Zaretskii , Stefan Kangas Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159759567619721 (code B ref 21652); Sun, 16 Aug 2020 16:35:02 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:34:36 +0000 Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7LcC-000581-D8 for submit@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 ) id 1k7Lc9-00057c-2n for 21652@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 References: <837dtyiqq0.fsf@gnu.org> X-Yow: Here we are in America... when do we collect unemployment? Date: Sun, 16 Aug 2020 18:34:29 +0200 In-Reply-To: (Tom Baker's message of "Sun, 16 Aug 2020 11:55:01 -0400") Message-ID: <87d03qy2ga.fsf@igel.home> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org, stefan@marxist.se Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159759601920288 (code B ref 21652); Sun, 16 Aug 2020 16:41:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 16:40:19 +0000 Received: from localhost ([127.0.0.1]:58300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Lhj-0005HA-82 for submit@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 ) id 1k7Lhg-0005Gu-EP for 21652@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tom Baker on Sun, 16 Aug 2020 11:55:01 -0400) References: <837dtyiqq0.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tom Baker > Date: Sun, 16 Aug 2020 11:55:01 -0400 > Cc: Stefan Kangas , 21652@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. From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21652@debbugs.gnu.org, stefan@marxist.se Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15975978507787 (code B ref 21652); Sun, 16 Aug 2020 17:11:02 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:10:50 +0000 Received: from localhost ([127.0.0.1]:58358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7MBF-00021W-Tl for submit@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 ) id 1k7MBD-00021I-5D for 21652@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@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@gnu.org> References: <837dtyiqq0.fsf@gnu.org> <834kp2ilyi.fsf@gnu.org> From: Tom Baker Date: Sun, 16 Aug 2020 13:10:40 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On 8/16/20, Eli Zaretskii wrote: >> From: Tom Baker >> Date: Sun, 16 Aug 2020 11:55:01 -0400 >> Cc: Stefan Kangas , 21652@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. From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Tom Baker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 17:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: 21652@debbugs.gnu.org, Eli Zaretskii , Stefan Kangas Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159759839417103 (code B ref 21652); Sun, 16 Aug 2020 17:20:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:19:54 +0000 Received: from localhost ([127.0.0.1]:58368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7MK2-0004Rn-50 for submit@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 ) id 1k7MK0-0004RY-Jw for 21652@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@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@igel.home> References: <837dtyiqq0.fsf@gnu.org> <87d03qy2ga.fsf@igel.home> From: Tom Baker Date: Sun, 16 Aug 2020 13:19:45 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On 8/16/20, Andreas Schwab 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. From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org, stefan@marxist.se Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159759903218138 (code B ref 21652); Sun, 16 Aug 2020 17:31:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:30:32 +0000 Received: from localhost ([127.0.0.1]:58383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7MUJ-0004iT-MV for submit@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 ) id 1k7MUE-0004hu-Fc for 21652@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tom Baker on Sun, 16 Aug 2020 13:10:40 -0400) References: <837dtyiqq0.fsf@gnu.org> <834kp2ilyi.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tom Baker > Date: Sun, 16 Aug 2020 13:10:40 -0400 > Cc: stefan@marxist.se, 21652@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? From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tom Baker Cc: 21652@debbugs.gnu.org Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159759910118255 (code B ref 21652); Sun, 16 Aug 2020 17:32:02 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:31:41 +0000 Received: from localhost ([127.0.0.1]:58389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7MVR-0004kL-2D for submit@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 ) id 1k7MVP-0004k3-JC for 21652@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@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 In-Reply-To: References: MIME-Version: 1.0 Date: Sun, 16 Aug 2020 10:31:33 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Tom Baker 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 From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 17:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21652@debbugs.gnu.org, stefan@marxist.se, Tom Baker Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.159760029828592 (code B ref 21652); Sun, 16 Aug 2020 17:52:01 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 17:51:38 +0000 Received: from localhost ([127.0.0.1]:58421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Moh-0007R2-SO for submit@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 ) id 1k7MoV-0007Qj-7h for 21652@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 References: <837dtyiqq0.fsf@gnu.org> <834kp2ilyi.fsf@gnu.org> <83y2meh52g.fsf@gnu.org> X-Yow: Am I in GRADUATE SCHOOL yet? Date: Sun, 16 Aug 2020 19:51:20 +0200 In-Reply-To: <83y2meh52g.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Aug 2020 20:29:59 +0300") Message-ID: <874kp2xyw7.fsf@igel.home> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Aug 16 2020, Eli Zaretskii wrote: >> From: Tom Baker >> Date: Sun, 16 Aug 2020 13:10:40 -0400 >> Cc: stefan@marxist.se, 21652@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@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: 21652@debbugs.gnu.org, stefan@marxist.se, tombaker17@gmail.com Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.15976015146561 (code B ref 21652); Sun, 16 Aug 2020 18:12:02 +0000 Received: (at 21652) by debbugs.gnu.org; 16 Aug 2020 18:11:54 +0000 Received: from localhost ([127.0.0.1]:58441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7N8M-0001hj-GH for submit@debbugs.gnu.org; Sun, 16 Aug 2020 14:11:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7N8I-0001hN-9S for 21652@debbugs.gnu.org; Sun, 16 Aug 2020 14:11:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42330) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7N8C-0004In-5z; Sun, 16 Aug 2020 14:11:44 -0400 Received: from [176.228.60.248] (port=3318 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k7N8B-0004TR-MQ; Sun, 16 Aug 2020 14:11:44 -0400 Date: Sun, 16 Aug 2020 21:11:27 +0300 Message-Id: <83wo1yh35c.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <874kp2xyw7.fsf@igel.home> (message from Andreas Schwab on Sun, 16 Aug 2020 19:51:20 +0200) References: <837dtyiqq0.fsf@gnu.org> <834kp2ilyi.fsf@gnu.org> <83y2meh52g.fsf@gnu.org> <874kp2xyw7.fsf@igel.home> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Cc: Tom Baker , 21652@debbugs.gnu.org, > stefan@marxist.se > Date: Sun, 16 Aug 2020 19:51:20 +0200 > > > 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. Right, so maybe we could have a function to handle the bell, and then users who want it could customize comint-output-filter-functions to include that function. From unknown Sun Jun 22 00:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21652: bell chars Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Mar 2022 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21652@debbugs.gnu.org, stefan@marxist.se, Andreas Schwab , tombaker17@gmail.com Received: via spool by 21652-submit@debbugs.gnu.org id=B21652.16479729601907 (code B ref 21652); Tue, 22 Mar 2022 18:16:02 +0000 Received: (at 21652) by debbugs.gnu.org; 22 Mar 2022 18:16:00 +0000 Received: from localhost ([127.0.0.1]:41795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj32-0000Uh-6o for submit@debbugs.gnu.org; Tue, 22 Mar 2022 14:16:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj31-0000UT-8Z for 21652@debbugs.gnu.org; Tue, 22 Mar 2022 14:15:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=35Mx9qoVVMwv0eUZcOBOz5Wdz+jKali6os0fFiUzFyk=; b=pKv05A3T/PnSVphFCRis39wOxB 5JGW4SSs/dvvDcTUhHMFKFvPkckZDxb6DoAUgG220fnBaQ7CAcoFmeMp19aqSYqq7s1ozKHiQ07cI ekanQ6tW5kxacexwYLk6V7ZymMc2dP7gUq4SEu8C+VWc2devywSyGoKH2or+pQAKuIDg=; Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWj2q-0000cK-LJ; Tue, 22 Mar 2022 19:15:51 +0100 From: Lars Ingebrigtsen References: <837dtyiqq0.fsf@gnu.org> <834kp2ilyi.fsf@gnu.org> <83y2meh52g.fsf@gnu.org> <874kp2xyw7.fsf@igel.home> <83wo1yh35c.fsf@gnu.org> Date: Tue, 22 Mar 2022 19:15:47 +0100 In-Reply-To: <83wo1yh35c.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Aug 2020 21:11:27 +0300") Message-ID: <87r16tc0q4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Right, so maybe we could have a function to handle the bell, and then > users who want it could customize comint-output-filter-functions to > include that function. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Right, so maybe we could have a function to handle the bell, and then > users who want it could customize comint-output-filter-functions to > include that function. I've now done this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 22 14:16:03 2022 Received: (at control) by debbugs.gnu.org; 22 Mar 2022 18:16:03 +0000 Received: from localhost ([127.0.0.1]:41799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj35-0000VR-DZ for submit@debbugs.gnu.org; Tue, 22 Mar 2022 14:16:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj33-0000UY-Sm for control@debbugs.gnu.org; Tue, 22 Mar 2022 14:16:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VXU9P+2H0i4vWJafRNmXNYcd/KFo3xcVVBpEqX0DEAI=; b=J/Uo1gdweMRbKwU2DfsJiqVTNv y6/chTHzRgdWx31kMlC2Aqlo6Ty/EvGA0sdDGtV6DDXx9hD6cMQ1mvbc0bT6maopRY8gH3N49LW0v jbMzw4NRDNSC0YT++Xdc1mccdhTcloElowYPKDtZPdWyEofoFSsclu1jVhkC6g8pI1ck=; Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWj2w-0000cT-CQ for control@debbugs.gnu.org; Tue, 22 Mar 2022 19:15:56 +0100 Date: Tue, 22 Mar 2022 19:15:53 +0100 Message-Id: <87pmmdc0py.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21652 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 21652 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 21652 29.1 quit