From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Modifying a variable from describe-variable Date: Fri, 10 Jan 2014 20:16:19 +0000 (UTC) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389385017 1313 80.91.229.3 (10 Jan 2014 20:16:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 20:16:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 10 21:17:04 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1iVp-0000Eo-H1 for ged-emacs-devel@m.gmane.org; Fri, 10 Jan 2014 21:17:01 +0100 Original-Received: from localhost ([::1]:58872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1iVp-0001jv-2s for ged-emacs-devel@m.gmane.org; Fri, 10 Jan 2014 15:17:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1iVg-0001bm-0y for emacs-devel@gnu.org; Fri, 10 Jan 2014 15:16:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1iVY-0003j0-K4 for emacs-devel@gnu.org; Fri, 10 Jan 2014 15:16:51 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:36270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1iVY-0003iE-BG for emacs-devel@gnu.org; Fri, 10 Jan 2014 15:16:44 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W1iVW-000842-5U for emacs-devel@gnu.org; Fri, 10 Jan 2014 21:16:42 +0100 Original-Received: from 94-21-223-5.pool.digikabel.hu ([94.21.223.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 21:16:42 +0100 Original-Received: from adatgyujto by 94-21-223-5.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 21:16:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.223.5 (Opera/9.80 (Windows NT 6.1) Presto/2.12.388 Version/12.16) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168042 Archived-At: The other day I checked a variable with describe-variable (C-h v) and I wanted to do a minor change (like changing a character) in the value. It was a complicated variable with lots of sublists (e.g. font-lock-keywords), so it would have been natural and easy to change it on the spot in the *Help* buffer. E.g. the user presses e (for edit) in the *Help* buffer which either becomes writable or a new buffer pops up with the variable value. The user modifies the value, presses C-c C-c and the modifications are applied to the variable. It does not seem hard to implement and it would be quite convenient for quick experimenting with the value of some variable. I checked the bindings (surely someone has thought of this before), but I didn't find an existing function to do that.