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.

Full log


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




This bug report was last modified 6 years and 26 days ago.

Previous Next


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