From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: "Adobe Brackets like" editing in emacs Date: Wed, 19 Mar 2014 23:38:07 +0900 Message-ID: <8761najltc.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87txav5jnz.fsf@lifelogs.com> <87d2hi5p6n.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1395239925 8189 80.91.229.3 (19 Mar 2014 14:38:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 14:38:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 15:38:54 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 1WQHds-0000ZU-O7 for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 15:38:52 +0100 Original-Received: from localhost ([::1]:41808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQHds-00020p-Cr for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 10:38:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQHdZ-0001tX-RJ for emacs-devel@gnu.org; Wed, 19 Mar 2014 10:38:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQHdD-0004Nt-8b for emacs-devel@gnu.org; Wed, 19 Mar 2014 10:38:33 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:45747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQHdC-0004MO-Ut for emacs-devel@gnu.org; Wed, 19 Mar 2014 10:38:11 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 1435C9708AF for ; Wed, 19 Mar 2014 23:38:08 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 00E211A28DC; Wed, 19 Mar 2014 23:38:07 +0900 (JST) In-Reply-To: <87d2hi5p6n.fsf@lifelogs.com> X-Mailer: VM undefined under 21.5 (beta34) "kale" 2a0f42961ed4 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 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:170528 Archived-At: Ted Zlatanov writes: > So you don't have to switch buffers (and mental context). Most of the > time in C I'm flipping between a .h and a .c file. This feature would > work well for *short* includes, IMO. With long includes you lose > context and nothing is gained. I don't think that need be true. It could be designed so lYou don't get the whole include, you get the relevant snippet. Eg, in C int add (float x, float y) <- decide to change prototype, type C-c M-p [int add_ints (int addend1, int addend1);] where the [] indicate either an undecorated popup (frame, window, tooltip) or a transient insert in the buffer with point "trapped" inside until you type C-c C-c). > I would make an analogy here to Literate Programming, where you > interweave documentation within the code. We're talking about > interweaving included snippets to build a dynamic whole. That may be useful but I don't think that's what the OP has in mind (it's called "quick edit", after all, not "interleaved edit"). I'm pretty sure the snippet is not supposed to stay around. > It's definitely not going to look like anything we have today. Customize, except less heavyweight compared to a popup customize buffer. Other recursive edits (minibuffer-at-point, anyone?)