From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: "Adobe Brackets like" editing in emacs Date: Wed, 19 Mar 2014 16:40:04 +0100 Message-ID: References: <87txaukeia.fsf@uwakimon.sk.tsukuba.ac.jp> <95BBC5A0-61E9-43CC-8B4D-563A7873EB32@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb03d38cc4a4c04f4f779fb X-Trace: ger.gmane.org 1395243652 26405 80.91.229.3 (19 Mar 2014 15:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 15:40:52 +0000 (UTC) Cc: "Stephen J. Turnbull" , "rms@gnu.org" , arthur miller , "emacs-devel@gnu.org" To: Ivan Andrus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 16:41:01 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 1WQIbs-00010w-SG for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 16:40:53 +0100 Original-Received: from localhost ([::1]:42110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQIbs-0001jZ-G5 for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2014 11:40:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQIbo-0001fa-OP for emacs-devel@gnu.org; Wed, 19 Mar 2014 11:40:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQIbn-0006Mg-A1 for emacs-devel@gnu.org; Wed, 19 Mar 2014 11:40:48 -0400 Original-Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:52335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQIbl-0006MK-BC; Wed, 19 Mar 2014 11:40:45 -0400 Original-Received: by mail-ie0-f181.google.com with SMTP id tp5so9120495ieb.12 for ; Wed, 19 Mar 2014 08:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mWLs/hQrq3cMRKvoz4xfWmk/EcMAI14xL9Ho+k1EsiE=; b=GJUnWx5xRQy4vj6YH7m1s++8HHzkDQgovEFL4TqlVUL7Vtsf6yRDCGrAlU6d4lbvKi lohMx8ZGD33/S3auQBA7Apg4W5iFLuKFVZ57XDY2vRGvGNEfgFYOz7fsWgvhWQ3gWD1S hF2Ggx0e7Yjd5sbaZ1ZGVJGYEwpPSJdfVtIT/dvSiH3FDf5mQRinIhFrom1X2CfLbGmq Lj1usSk0vo7SY8JNKyuVun07E4YDHgYAk0+NvAMgIiXGjKskjKFUVyM/5qYmitow8ruT 0Zwglk9mQws4Hui+RAKtBYRVencfwaKVVLtUmvwI6EfR0OgCusU4c5Rs8a7BrpvRfBKE ryRQ== X-Received: by 10.50.66.203 with SMTP id h11mr25632081igt.49.1395243644371; Wed, 19 Mar 2014 08:40:44 -0700 (PDT) Original-Received: by 10.42.229.1 with HTTP; Wed, 19 Mar 2014 08:40:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::235 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:170536 Archived-At: --047d7bb03d38cc4a4c04f4f779fb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Mar 19, 2014 at 4:31 PM, Ivan Andrus wrote: > On Mar 19, 2014, at 9:03 AM, Lennart Borgman > wrote: > > On Wed, Mar 19, 2014 at 3:01 PM, Ivan Andrus wrote= : > >> On Mar 18, 2014, at 10:18 PM, Stephen J. Turnbull >> wrote: >> >> >> For example while editing html, if one clicks on an element, code >> >> for css-style property for that element is displayed direclty below >> >> under the lineof the code for that tag and one can edit that >> >> particular piece of css. >> > >> > Which CSS property? The "C" in CSS stands for "cascading". That is, >> > there may be a style attribute on the current element, there may be a >> > style element in the document, and there may be multiple rel=3Dstyle >> > links in the document, any of which might be what you're editing. Or >> > you might actually be creating a style attribute on the element. >> >> I haven=E2=80=99t used it, but I think it grabs _all_ relevant styles. = Gathering >> them from across several files, and putting them in a single editable pl= ace. >> >> -Ivan >> > > Is not that a very difficult part? It requires tight integration with the > webbrowser (or a framework within Emacs for CSS+HTML). > > > I definitely think that is hard, but also the _useful_ part. Having it i= n > the same buffer is eye candy, but doesn=E2=80=99t seem that much better t= han a > separate buffer IMHO (not to discourage anyone). Something along the lin= es > of wgrep.el, but bringing in the correct portions of buffers intelligentl= y > would be awesome. Brackets does it for html/css, but I would like it for > C++, elisp, and other modes as well. e.g. I think it would be really nic= e > to have a buffer with every occurrence of some function/object to be able > to edit them all in a single place. But finding everything is non-trivia= l, > see for example the recent clang vs gcc vs CEDET thread. :-) > > -Ivan > Then I think Emacs must move in the direction of much tighter integration with compilers and environments. Tighter integration with the environments probably means allowing Emacs to be used as a plugin (in the browser in this case). --047d7bb03d38cc4a4c04f4f779fb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Mar 19, 2014 at 4:31 PM, Ivan Andrus <darthandrus@gmail.com> wrote:
On Mar 19, 2014, at 9:03 AM, L= ennart Borgman <lennart.borgman@= gmail.com> wrote:

On W= ed, Mar 19, 2014 at 3:01 PM, Ivan Andrus <darthandrus@gmail.com> wrote:
On Mar 18, 2014, at 10:18 PM, Stephen J. Turnbull <= ;stephen@xemacs.org> wrote:

>> For example while editing html, if one clicks on an element, code<= br> >> for css-style property for that element is displayed direclty belo= w
>> under the lineof the code for that tag and one can edit that
>> particular piece of css.
>
> Which CSS property? =C2=A0The "C" in CSS stands for "ca= scading". =C2=A0That is,
> there may be a style attribute on the current element, there may be a<= br> > style element in the document, and there may be multiple rel=3Dstyle > links in the document, any of which might be what you're editing. = =C2=A0Or
> you might actually be creating a style attribute on the element.

I haven=E2=80=99t used it, but I think it grabs _all_ relevant styles= . =C2=A0Gathering them from across several files, and putting them in a sin= gle editable place.

-Ivan

Is not that a very difficult part? It = requires tight integration with the webbrowser (or a framework within Emacs= for CSS+HTML).

I definitely think that is hard, bu= t also the _useful_ part. =C2=A0Having it in the same buffer is eye candy, = but doesn=E2=80=99t seem that much better than a separate buffer IMHO (not = to discourage anyone). =C2=A0Something along the lines of wgrep.el, but bri= nging in the correct portions of buffers intelligently would be awesome. = =C2=A0Brackets does it for html/css, but I would like it for C++, elisp, an= d other modes as well. =C2=A0e.g. I think it would be really nice to have a= buffer with every occurrence of some function/object to be able to edit th= em all in a single place. =C2=A0But finding everything is non-trivial, see = for example the recent clang vs gcc vs CEDET thread. :-)

-Ivan

Then I think Emacs must move in the direction of muc= h tighter integration with compilers and environments. Tighter integration = with the environments probably means allowing Emacs to be used as a plugin = (in the browser in this case).
--047d7bb03d38cc4a4c04f4f779fb--