GNU bug report logs - #10734
Proposal: comint-history-read-only

Previous Next

Package: emacs;

Reported by: Zachary Kanfer <zkanfer <at> gmail.com>

Date: Mon, 6 Feb 2012 07:34:02 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10734 in the body.
You can then email your comments to 10734 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10734; Package emacs. (Mon, 06 Feb 2012 07:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zachary Kanfer <zkanfer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 Feb 2012 07:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zachary Kanfer <zkanfer <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Proposal: comint-history-read-only
Date: Mon, 6 Feb 2012 02:31:59 -0500
[Message part 1 (text/plain, inline)]
This patch proposes a new feature in comint mode. Currently, setting
comint-prompt-read-only to some non-nil value makes the prompt read-only,
but this only makes the prompt read-only. I don't find it useful to insert
text into the middle of a historical buffer, so I added a new variable
comint-history-read-only. If set to non-nil, this variable makes the entire
history read-only.

-Zachary Kanfer
[Message part 2 (text/html, inline)]
[comint-history-read-only-2012-02-06.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10734; Package emacs. (Wed, 24 Feb 2016 06:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 10734 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Zachary Kanfer <zkanfer <at> gmail.com>
Cc: 10734 <at> debbugs.gnu.org
Subject: Re: bug#10734: Proposal: comint-history-read-only
Date: Wed, 24 Feb 2016 17:44:51 +1100
Zachary Kanfer <zkanfer <at> gmail.com> writes:

> This patch proposes a new feature in comint mode. Currently, setting
> comint-prompt-read-only to some non-nil value makes the prompt
> read-only, but this only makes the prompt read-only. I don't find it
> useful to insert text into the middle of a historical buffer, so I
> added a new variable comint-history-read-only. If set to non-nil, this
> variable makes the entire history read-only.

I think this probably makes sense...  Most process oriented mode are
quite read-only, except for the line you're typing on.

> + (defcustom comint-history-read-only nil
> +   "If non-nil, all comint history is read only."
> +   :type 'boolean
> +   :group 'comint)

This might even default to t?

It needs updating in the Emacs manual and an etc/NEWS entry, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10734; Package emacs. (Thu, 27 Jun 2019 15:33:01 GMT) Full text and rfc822 format available.

Message #11 received at 10734 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Zachary Kanfer <zkanfer <at> gmail.com>
Cc: 10734 <at> debbugs.gnu.org
Subject: Re: bug#10734: Proposal: comint-history-read-only
Date: Thu, 27 Jun 2019 17:32:12 +0200
Zachary Kanfer <zkanfer <at> gmail.com> writes:

> + (defcustom comint-history-read-only nil
> +   "If non-nil, all comint history is read only."
> +   :type 'boolean
> +   :group 'comint)

Nobody had any opinion about this when I brought this up three years
ago, so I think the feeling may be that this isn't worth adding a new
variable for, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 15:33:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 10734 <at> debbugs.gnu.org and Zachary Kanfer <zkanfer <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 15:33:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 26 Jul 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 248 days ago.

Previous Next


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