From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Re: An easier way to edit variables Date: Wed, 14 Jan 2015 16:36:41 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1421253438 6502 80.91.229.3 (14 Jan 2015 16:37:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2015 16:37:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 14 17:37:12 2015 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 1YBQwO-0003oF-Jo for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2015 17:37:08 +0100 Original-Received: from localhost ([::1]:47054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQwN-0001S4-S6 for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2015 11:37:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQwF-0001Ju-Fx for emacs-devel@gnu.org; Wed, 14 Jan 2015 11:37:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBQwA-0008VX-Lx for emacs-devel@gnu.org; Wed, 14 Jan 2015 11:36:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQwA-0008VE-F9 for emacs-devel@gnu.org; Wed, 14 Jan 2015 11:36:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YBQw8-0003hc-DI for emacs-devel@gnu.org; Wed, 14 Jan 2015 17:36:52 +0100 Original-Received: from 94-21-240-1.pool.digikabel.hu ([94.21.240.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 17:36:52 +0100 Original-Received: from adatgyujto by 94-21-240-1.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 17:36:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 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.240.1 (Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0) 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:181258 Archived-At: João Távora gmail.com> writes: > > Still, can anyone test it and give me some feedback? The diff is against > emacs-24.4 sorry, I'm on windows and no git clone. I did a quick test. I tried it on auto-mode-alist as an example for a sufficiently complex variable, changed one character in it and it seemed to work well. Also tried a simple variable (history-length) and it worked correctly. BTW, why bind the key to the widget? It should be bound in the buffer, so I can press it anywhere and it jumps to the edit field. (And I'd use the binding e for edit. It's more mnemonic than v, the function is also called edit.)