Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 28 Dec 2022 17:51:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 28 12:51:35 2022 Received: from localhost ([127.0.0.1]:58570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pAaaU-00042w-CD for submit <at> debbugs.gnu.org; Wed, 28 Dec 2022 12:51:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:37160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bobodeangelis@HIDDEN>) id 1pAYZT-0006OT-Kk for submit <at> debbugs.gnu.org; Wed, 28 Dec 2022 10:42:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bobodeangelis@HIDDEN>) id 1pAYZT-00059h-Fd for bug-gnu-emacs@HIDDEN; Wed, 28 Dec 2022 10:42:23 -0500 Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <bobodeangelis@HIDDEN>) id 1pAYZR-0008QI-Q3 for bug-gnu-emacs@HIDDEN; Wed, 28 Dec 2022 10:42:22 -0500 Received: by mail-vk1-xa36.google.com with SMTP id i84so674054vke.7 for <bug-gnu-emacs@HIDDEN>; Wed, 28 Dec 2022 07:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=lFGYcLpIcfGeJdg6koZb/nlVZJrxrd9uZsKAoi8k8G8=; b=mFcVIBQzzc/XOIQx0V9BzxVTui4OploQjD5Tbj+7qo7pZXx6bHGwama9UlO58bjg2G wtmwpvRsZ9jgXtVRLppcE2NK0Y5EpNdS018RsY+v8K6WvyRL1hX8YniIOcwDa+OPdRJc fLEyoA5mE7dAklXgrXPKywaTYTTIU/sY4FD0PUjgl76uDZ8Z91qzVZjzjVstLFVSAZlr LwEka6xmxJCSdcFVlfaZzpJhdraU0lrqDMKNpAINxlvZXQIbdPxSEigfJ9zvuskGQ5QU K8+T7UkhBXSG3zaYHfIWVCzloSxCFsAi9Arkap1r1S85a0USFW8D+L4soQq/HeKHKgAa I4JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lFGYcLpIcfGeJdg6koZb/nlVZJrxrd9uZsKAoi8k8G8=; b=IHGBDT3+9aAqMTKpbYEhJPFtzS7E/dUu6ZDFhjopKsf99qQ4JJ6ZSX9fHBr2HRbWZu RdP7cvwqSQdGMoN1UjbgYnAsz0W+0OIXyh2jbBP51zXh/EEk5ecfmQjRP21X9e7M+9+l LSjEqySo5XfOAgIElPv3Z0x7obNHG+/vNxFfCUeq0Bem+xupsd3sTTYLG560DCzarANh BAdM+ofuFq/fXA7XwBL/cRXfhHsu0NwPDoMV0pRz48m0kp09947rUPmwFaLZ0uLQmV4d NyGCEVuSfOHvIqRZbTcUirDMv4PQ25u/bOa8QXvAAwtT/5OGg2oGJ1hXGbIfHj8o1pi1 72cA== X-Gm-Message-State: AFqh2krYhx7uYLxjzrsKPLVzwf0XKzQys099aP+ky0Ce+uPhXyVyLHjT EXG6PL5XaUrd0MYHvjB0eNfjOyEy6o+b8fDZm/WJtw9Q+Us= X-Google-Smtp-Source: AMrXdXueCzJQVInhRu+BV88kmAHH/emCkg/rT6T8Qn1LxesPDRrF/T7ErS80VEXkpBTE73C7JXJr/3WNUPfPdHWz+FA= X-Received: by 2002:a1f:2696:0:b0:3ab:52b4:8c08 with SMTP id m144-20020a1f2696000000b003ab52b48c08mr2977934vkm.9.1672242140379; Wed, 28 Dec 2022 07:42:20 -0800 (PST) MIME-Version: 1.0 From: Andrew De Angelis <bobodeangelis@HIDDEN> Date: Wed, 28 Dec 2022 10:42:09 -0500 Message-ID: <CAP5CrM20YvPJnWpa52w_ffL154ATPWvie0uqrbozcZwnEmBhQQ@HIDDEN> Subject: patch to shell.el: sticky-shell-mode To: bug-gnu-emacs@HIDDEN Content-Type: multipart/mixed; boundary="000000000000c27b0405f0e53649" Received-SPF: pass client-ip=2607:f8b0:4864:20::a36; envelope-from=bobodeangelis@HIDDEN; helo=mail-vk1-xa36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 28 Dec 2022 12:51:32 -0500 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: -2.3 (--) --000000000000c27b0405f0e53649 Content-Type: multipart/alternative; boundary="000000000000c27b0105f0e53647" --000000000000c27b0105f0e53647 Content-Type: text/plain; charset="UTF-8" I wrote a minor mode to allow shells to always show the previous prompt in a "sticky" header. This makes it easy to keep track of which commands have been run (even when the commands trigger many lines of output). I originally intended to publish this as a package. I emailed emacs-devel@HIDDEN with this intent (check the thread "New Package: sticky-shell"). It was pointed out that this could just be added to shell.el: it's just a few lines and the utility could be useful. Let me know your thoughts, and if you'd like me to make any changes to the code. Best, Andrew --000000000000c27b0105f0e53647 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I wrote a minor mode to allow shells to always show t= he previous prompt in a "sticky" header.</div><div>This makes it = easy to keep track of which commands have been run (even when the commands = trigger many lines of output).</div><div>I originally intended to publish t= his as a package. I emailed <a href=3D"mailto:emacs-devel@HIDDEN">emacs-de= vel@HIDDEN</a> with this intent (check the thread "New Package: stick= y-shell"). It was pointed out that this could just be added to shell.e= l: it's just a few lines and the utility could be useful.</div><div><br= ></div><div>Let me know your thoughts, and if you'd like me to make any= changes to the code. <br></div><div><br></div><div>Best,</div><div>Andrew<= br></div></div> --000000000000c27b0105f0e53647-- --000000000000c27b0405f0e53649 Content-Type: application/octet-stream; name="0001-sticky-shell-mode.patch" Content-Disposition: attachment; filename="0001-sticky-shell-mode.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lc7tr0eb0> X-Attachment-Id: f_lc7tr0eb0 RnJvbSBhMGExNzk4ZjgxOGZhNzMzOTMwMWMxZDY5NWJkMDBmMGU4ZjYzMGI0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBhbmR5amRhIDxib2JvZGVhbmdlbGlzQGdtYWlsLmNvbT4KRG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IHByb21wdCBh Ym92ZSB0aGUgY3Vyc29yJ3MgY3VycmVudCBsaW5lLiIKKyAgKGludGVyYWN0aXZlKQorICAoc2F2 ZS1leGN1cnNpb24KKyAgICAobW92ZS1iZWdpbm5pbmctb2YtbGluZSAxKQorICAgIChzaGVsbC1w cmV2aW91cy1wcm9tcHQgMSkKKyAgICAoc3RpY2t5LXNoZWxsLWN1cnJlbnQtbGluZS10cmltbWVk KSkpCisKKzs7OyMjI2F1dG9sb2FkCisoZGVmaW5lLW1pbm9yLW1vZGUgc3RpY2t5LXNoZWxsLW1v ZGUKKyAgIk1pbm9yIG1vZGUgdG8gc2hvdyB0aGUgcHJldmlvdXMgcHJvbXB0IGFzIGEgc3RpY2t5 IGhlYWRlci4KK1doaWNoIHByb21wdCB0byBwaWNrIGRlcGVuZHMgb24gdGhlIHZhbHVlIG9mIGBz dGlja3ktc2hlbGwtZ2V0LXByb21wdCcuIgorICA6Z3JvdXAgJ2NvbWludAorICA6Z2xvYmFsIG5p bAorICA6bGlnaHRlciBuaWwKKyAgKGlmIHN0aWNreS1zaGVsbC1tb2RlCisgICAgICAoc2V0cS1s b2NhbCBoZWFkZXItbGluZS1mb3JtYXQKKyAgICAgICAgICAgICAgICAgIChsaXN0ICcoOmV2YWwK KyAgICAgICAgICAgICAgICAgICAgICAgICAgKGZ1bmNhbGwgc3RpY2t5LXNoZWxsLWdldC1wcm9t cHQpKSkpCisgICAgKHNldHEtbG9jYWwgaGVhZGVyLWxpbmUtZm9ybWF0IG5pbCkpKQorCiAocHJv dmlkZSAnc2hlbGwpCiAKIDs7OyBzaGVsbC5lbCBlbmRzIGhlcmUKLS0gCjIuMzcuMSAoQXBwbGUg R2l0LTEzNy4xKQoK --000000000000c27b0405f0e53649--
Andrew De Angelis <bobodeangelis@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#60385
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.