From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: arthur miller Newsgroups: gmane.emacs.devel Subject: RE: "Adobe Brackets like" editing in emacs Date: Thu, 20 Mar 2014 18:25:36 +0100 Message-ID: References: , <87txav5jnz.fsf@lifelogs.com>, <87d2hi5p6n.fsf@lifelogs.com>, <87wqfp4cck.fsf@lifelogs.com>, <837g7o96mb.fsf@gnu.org>, <87a9ckerg9.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_1bda15ed-a8b6-4428-9081-bf7d93225177_" X-Trace: ger.gmane.org 1395336343 6726 80.91.229.3 (20 Mar 2014 17:25:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2014 17:25:43 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 18:25:52 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 1WQgj1-0006Sb-HI for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 18:25:51 +0100 Original-Received: from localhost ([::1]:48465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQgj1-0006ro-3N for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 13:25:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQgit-0006ke-CT for emacs-devel@gnu.org; Thu, 20 Mar 2014 13:25:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQgio-0005Kf-0d for emacs-devel@gnu.org; Thu, 20 Mar 2014 13:25:43 -0400 Original-Received: from dub0-omc2-s10.dub0.hotmail.com ([157.55.1.149]:51722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQgin-0005KZ-Nb for emacs-devel@gnu.org; Thu, 20 Mar 2014 13:25:37 -0400 Original-Received: from DUB111-W2 ([157.55.1.137]) by dub0-omc2-s10.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 20 Mar 2014 10:25:36 -0700 X-TMN: [cV2Vf3FN4yLiAkPusO8fNQdwWH+nqtFK] X-Originating-Email: [arthur.miller@live.com] Importance: Normal In-Reply-To: <87a9ckerg9.fsf@engster.org> X-OriginalArrivalTime: 20 Mar 2014 17:25:36.0566 (UTC) FILETIME=[68138560:01CF4461] X-detected-operating-system: by eggs.gnu.org: Windows XP X-Received-From: 157.55.1.149 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:170637 Archived-At: --_1bda15ed-a8b6-4428-9081-bf7d93225177_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to test the demo=2C but it asks me about Emacs C sources? Does = it mean=20 I have to download source code to check this demo out? I also get error if window is too small: Debugger entered--Lisp error: (error "Window # too small for splitting") signal(error ("Window # too small for spl= itting")) error("Window %s too small for splitting" #) byte-code("=08\204\222 Would be cool to test it :). > From: deng@randomsample.de > To: eliz@gnu.org > Subject: Re: "Adobe Brackets like" editing in emacs > Date: Thu=2C 20 Mar 2014 17:59:50 +0100 > CC: emacs-devel@gnu.org >=20 > Eli Zaretskii writes: > > I suggested to have this feature first based on the existing > > infrastructure=2C i.e. in another window. This should be easy to > > implement=2C and will allow collecting user experience which we > > currently lack. Then decision of whether we need a new UI=2C and which > > one=2C will be based on something=2C rather than on thin air. >=20 > OK=2C I've hacked up a little demonstrator. Load the attached file and > eval-buffer it (preferably with 'emacs -Q'=2C that's how I tested it). > Then move point over an Emacs function=3B hitting 'C-c e' will open the > quick-edit window with the function's definition=2C and 'C-c c' will clos= e > it. >=20 > Problems I've noticed so far: >=20 > - mode-line-format is buffer-local=2C so you cannot deactivate it only fo= r > the upper window. That means=2C while in quick-edit=2C you will have no > mode-line at all. >=20 > - You cannot set a different background color for a complete window. You > can only do that with an overlay=2C but that will only cover the parts > with text. >=20 > - Of course=2C you can easily mess things up be leaving/closing the windo= w > otherwise. >=20 > In a nutshell=2C it'd be nice to have something like 'window-local' > variables for this. >=20 > -David >=20 = --_1bda15ed-a8b6-4428-9081-bf7d93225177_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to test the demo=2C = but it asks me about Emacs C sources? Does it mean
I have to download s= ource code to check this demo out?

I also get error if window is too= small:

Debugger entered--Lisp error: (error "Window #<=3Bwindow 7= on quick-edit-demo.el>=3B too small for splitting")
 =3B signal(e= rror ("Window #<=3Bwindow 7 on quick-edit-demo.el>=3B too small for spl= itting"))
 =3B error("Window %s too small for splitting" #<=3Bwind= ow 7 on quick-edit-demo.el>=3B)
 =3B byte-code("=08\204\222
Would be cool to test it :).

>=3B From: deng@randomsample.de=
>=3B To: eliz@gnu.org
>=3B Subject: Re: "Adobe Brackets like" ed= iting in emacs
>=3B Date: Thu=2C 20 Mar 2014 17:59:50 +0100
>=3B = CC: emacs-devel@gnu.org
>=3B
>=3B Eli Zaretskii writes:
>= =3B >=3B I suggested to have this feature first based on the existing
= >=3B >=3B infrastructure=2C i.e. in another window. This should be eas= y to
>=3B >=3B implement=2C and will allow collecting user experienc= e which we
>=3B >=3B currently lack. Then decision of whether we ne= ed a new UI=2C and which
>=3B >=3B one=2C will be based on something= =2C rather than on thin air.
>=3B
>=3B OK=2C I've hacked up a li= ttle demonstrator. Load the attached file and
>=3B eval-buffer it (pre= ferably with 'emacs -Q'=2C that's how I tested it).
>=3B Then move poi= nt over an Emacs function=3B hitting 'C-c e' will open the
>=3B quick-= edit window with the function's definition=2C and 'C-c c' will close
>= =3B it.
>=3B
>=3B Problems I've noticed so far:
>=3B
&g= t=3B - mode-line-format is buffer-local=2C so you cannot deactivate it only= for
>=3B the upper window. That means=2C while in quick-edit=2C you= will have no
>=3B mode-line at all.
>=3B
>=3B - You cann= ot set a different background color for a complete window. You
>=3B = can only do that with an overlay=2C but that will only cover the parts
&= gt=3B with text.
>=3B
>=3B - Of course=2C you can easily mess = things up be leaving/closing the window
>=3B otherwise.
>=3B >=3B In a nutshell=2C it'd be nice to have something like 'window-local= '
>=3B variables for this.
>=3B
>=3B -David
>=3B
<= /div>
= --_1bda15ed-a8b6-4428-9081-bf7d93225177_--