From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: "Adobe Brackets like" editing in emacs Date: Wed, 19 Mar 2014 08:49:04 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d2hi5p6n.fsf@lifelogs.com> References: <87txav5jnz.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395233311 17145 80.91.229.3 (19 Mar 2014 12:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 12:48:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 13:48:38 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 1WQFvA-0006wu-2S for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 13:48:36 +0100 Original-Received: from localhost ([::1]:41007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQFv9-0006tW-NP for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 08:48:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQFv0-0006lz-JL for emacs-devel@gnu.org; Wed, 19 Mar 2014 08:48:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQFuu-0003jc-OV for emacs-devel@gnu.org; Wed, 19 Mar 2014 08:48:26 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQFuu-0003jX-HS for emacs-devel@gnu.org; Wed, 19 Mar 2014 08:48:20 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WQFus-0006Xe-VD for emacs-devel@gnu.org; Wed, 19 Mar 2014 13:48:18 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Mar 2014 13:48:18 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Mar 2014 13:48:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:X3mvs2t/4nOuCUFWlJcJcoVhDn8= 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:170523 Archived-At: On Wed, 19 Mar 2014 00:00:56 -0400 Richard Stallman wrote: TZ> A quick peek+edit in a #include in C, or "use My::Module" in Perl (where TZ> you can say `perldoc -l My::Module' to find the module file), etc. would TZ> be handy. RS> We already have such features, but they display the other file in RS> another buffer. Why is it useful to put them in one buffer? 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 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. RS> What does it look like, to have multiple files in one buffer? That's a UI design question and could be up to the implementation, not in Emacs. I personally would like something akin to a folding editor with clear delineation (maybe statically indented N spaces, like your quotations) but would have to experiment to find the best interface. It's definitely not going to look like anything we have today. Ted