From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Modifying a variable from describe-variable Date: Sun, 12 Jan 2014 02:34:09 +0000 Message-ID: <87fvouormm.fsf@gmail.com> References: <40518EF2-01D7-4F2B-B3BE-9B0686D3DE3D@gmail.com> <87fvouzv1l.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389494195 23425 80.91.229.3 (12 Jan 2014 02:36:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 02:36:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 12 03:36:41 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 1W2Aun-0005rV-FY for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 03:36:41 +0100 Original-Received: from localhost ([::1]:36181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Aui-0004gN-KH for ged-emacs-devel@m.gmane.org; Sat, 11 Jan 2014 21:36:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2AuX-0004ea-HN for emacs-devel@gnu.org; Sat, 11 Jan 2014 21:36:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2AuP-00033R-3q for emacs-devel@gnu.org; Sat, 11 Jan 2014 21:36:25 -0500 Original-Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:35062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2AuO-000322-TP for emacs-devel@gnu.org; Sat, 11 Jan 2014 21:36:17 -0500 Original-Received: by mail-wi0-f174.google.com with SMTP id z2so992389wiv.1 for ; Sat, 11 Jan 2014 18:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=IuoJOfthGGGT0tGzNyc88YXDkMT90vmpcWtbVPLuh04=; b=sJvDF6K4NIn5AAf2GYE0Xt95/+XgzwIgr8QN+6YU9wIaXncNcaoeH3mNrPPyApd0sn z7p8dSDVHUCPant2yY0VwRO7O+baVbWTvTaMUqu65euwqProczZc8CDkYyVFibljZxmx rNLIb0Tk6OMJKkob7IVt+rXsq9pqNZz/dMz0lw1vBX5yo1M1vGbCXzg9azkhlOPtbi0q ihfTmFbgUwgDCrohzuQCerCWhCmNKoTzczf06glcvyl2kM30GxMddxyJHs4txncdXcbb 0cpiL1M9Nxthz3EOB+7pDXS/nFlNyTILP3yeAKJTAI/S3lfz9HQKqFm8mgtbG6Q3olQe K5rw== X-Received: by 10.180.189.69 with SMTP id gg5mr9393518wic.40.1389494175940; Sat, 11 Jan 2014 18:36:15 -0800 (PST) Original-Received: from kitaj.yourcompany.com (66.207.108.93.rev.vodafone.pt. [93.108.207.66]) by mx.google.com with ESMTPSA id ay6sm6594795wjb.23.2014.01.11.18.36.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 11 Jan 2014 18:36:15 -0800 (PST) In-Reply-To: (Tom's message of "Sat, 11 Jan 2014 16:45:11 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22e 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:168143 Archived-At: Tom writes: >> This is so good I've already hacked it for me. No idea if I'm doing it >> correctly though... >> >> Thanks a lot for the idea. > > If I understand correctly your solution does not provide the current > value of the variable by default, though this is the point. > and I want to change a some minor thing it then I don't want to > type whe whole thing. I'd like to have the current value displayed > in a buffer, modify it then simply apply it. I see, I see. Then I think you want "c" keybinding that someone suggested that takes you to a customize buffer. I think that would be the solution most integrated with emacs's solution. I didn't implement that. > Your solution can be useful for primitive types, but handling > more complex values in the echo area would not be really convenient. On the other hand, the minibuffer can do multi-line-editing, I don't find that inconvenient.