From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew De Angelis Newsgroups: gmane.emacs.devel Subject: Re: New Package: sticky-shell Date: Sun, 19 Feb 2023 15:56:49 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b2101805f513c9bc" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27164"; mail-complaints-to="usenet@ciao.gmane.io" To: Andrew De Angelis , emacs-devel@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 20 04:23:26 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTwlx-0006s3-Uf for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Feb 2023 04:23:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTwl4-0000bn-Lp; Sun, 19 Feb 2023 22:22:30 -0500 Original-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 ) id 1pTqk3-0004dm-QS for emacs-devel@gnu.org; Sun, 19 Feb 2023 15:57:03 -0500 Original-Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTqk2-0004HA-22 for emacs-devel@gnu.org; Sun, 19 Feb 2023 15:57:03 -0500 Original-Received: by mail-vs1-xe32.google.com with SMTP id z20so963900vsp.4 for ; Sun, 19 Feb 2023 12:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676840220; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=/YhfL1YgZb6pEth3m5jfqsaBnNAXAu3KOyks+fhMRH4=; b=RfhX+/Rg4BOMciSWUAiDsbgYQoMxiq32VXwUie586SbH14Cvhth+JJ7NWJfHd3E9oZ zqtuolff5daEaGRvDr2bbVbqwA4YEYw4E/PrLQgeg10pPp5EWts6gnzKzMafG53nM00l 4Kineg12Cy1PS317yl6RfIa53sVyHrUUasDoXCv4iGbTMj8hhYCe/Q7DNakQhuOt1nQD OVC9CKl4IvDgwjsQlvFV8nbDMGYG/Rd7m5nF8qrof3KBzl1i/5fI+Nsji2aToWlivtF7 AvQuWoZofeUCI7Ac0ji/O0lV1Y8xX1zxHZaV4Yi9EwywQm7RsPb2szQj/JxN9oPfs9PJ B78w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676840220; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/YhfL1YgZb6pEth3m5jfqsaBnNAXAu3KOyks+fhMRH4=; b=Qdg673ihECou4RnwfuYlaBSRlOU11wT7HYKPD72QJ1+MNGVB6tBdfDvrj277hXTJbc x5rhp3a84atHN5wHx109rYMuzuRmJVXE5YYThj3H2UIPWNEVs6zUedXEEJ6ozfyHZI37 ngiVaH7LhvRlqbOeELVYTcEpxp8wdhcOHzMD0gaQS/fP6Wg7nMUfkGn3OIxODzmAIHG6 AeBj6EVi+zJU1CGubGJ0ZNSA2B+9rkIJ3M6hCgV/3QREsVzqa59/f/tg6ym9yPgIHDlt ftx7nTHkzsFToOYwQuhZB+qS4N7qFzr6CdZyU4zs/XO3VEF1kFe8HAqZ6tHAnb4c3la2 O8sg== X-Gm-Message-State: AO0yUKUYzfPI0ewmQI+g6c+1m31xwNPwjMfyhVdpYPgW+ILDKmtZMOKA YBhFykAE38+avP0cs26RGXXLc8AWZj/ChYJcwTA= X-Google-Smtp-Source: AK7set/VpinSqMnFMsANjzHmvK+iBOX8qCJOvb7wgsK3OeUzhKyZmuSxM5+nx7yVhzdxJpev/e3Dq1Oqlu1HMh3+mgg= X-Received: by 2002:a05:6102:2261:b0:412:6a3:3e1d with SMTP id v1-20020a056102226100b0041206a33e1dmr377194vsd.25.1676840220624; Sun, 19 Feb 2023 12:57:00 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=bobodeangelis@gmail.com; helo=mail-vs1-xe32.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-Mailman-Approved-At: Sun, 19 Feb 2023 22:22:30 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303594 Archived-At: --000000000000b2101805f513c9bc Content-Type: text/plain; charset="UTF-8" Just wanted to let anyone interested in this package know: I've added it to MELPA. It can be installed as "sticky-shell". I've also improved its support of terminal modes and shell modes. You can find more info at the repo On Fri, Dec 30, 2022 at 9:58 AM Jean Louis wrote: > * Andrew De Angelis [2022-12-28 18:35]: > > @Jean Louis > > Thank you. I still can't reproduce the error, but I understand its > causes. > > Line 72: > > `(aset prompt (- (length prompt) 1) 0) ; remove the newline ending char` > > was intended to remove the newline char that showed up in my header as > > '^J'. There must be something different in your configuration that > already > > removes it from the header/prompt, so deleting it again caused the issue. > > I've replaced this line with the more explicit: > > `(string-trim-right prompt "[ \t\n\r]+"))) ; remove the newline ending > char` > > Please try out the latest code >and > > let me know your experience. > > Thank you. I do not see that problem anymore, though I tested it for > only short time. > > Here are matches for `shell''of my custom.el if you wish to test if > that fiddles with your package. > > 7 matches for "shell" in buffer: custom.el > 78: '(async-shell-command-buffer 'new-buffer) > 524: '(shell-command-prompt-show-cwd t) > 525: '(shell-completion-execonly nil) > > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > In support of Richard M. Stallman > https://stallmansupport.org/ > --000000000000b2101805f513c9bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just wanted to let anyone interested in this package = know: I've added it to MELPA. It can be installed as "sticky-shell= ".
I've also improved its support of terminal modes and = shell modes. You can find more info at the repo

=
On Fri, Dec 30, 2022 at 9:58 AM Jean = Louis <bugs@gnu.support> wrote:
* Andrew De Angelis <bobodeangelis@gmail.com> [2022-12-28= 18:35]:
> @Jean Louis
> Thank you. I still can't reproduce the error, but I understand its= causes.
> Line 72:
> `(aset prompt (- (length prompt) 1) 0) ; remove the newline ending cha= r`
> was intended to remove the newline char that showed up in my header as=
> '^J'. There must be something different in your configuration = that already
> removes it from the header/prompt, so deleting it again caused the iss= ue.
> I've replaced this line with the more explicit:
> `(string-trim-right prompt "[ \t\n\r]+"))) ; remove the newl= ine ending char`
> Please try out the latest code <https://github.com/an= dyjda/sticky-shell>and
> let me know your experience.

Thank you.=C2=A0 I do not see that problem anymore, though I tested it for<= br> only short time.

Here are matches for `shell''of my custom.el if you wish to test if=
that fiddles with your package.

7 matches for "shell" in buffer: custom.el
=C2=A0 =C2=A0 =C2=A078: '(async-shell-command-buffer 'new-buffer) =C2=A0 =C2=A0 524: '(shell-command-prompt-show-cwd t)
=C2=A0 =C2=A0 525: '(shell-completion-execonly nil)


--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/
--000000000000b2101805f513c9bc--