unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: arthur miller <arthur.miller@live.com>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: "Adobe Brackets like" editing in emacs
Date: Tue, 18 Mar 2014 22:42:16 +0100	[thread overview]
Message-ID: <DUB111-W4499715961C1DBFB11A58B967C0@phx.gbl> (raw)
In-Reply-To: <DUB111-W4468B0D4051AE6F0B217B2967C0@phx.gbl>

[-- Attachment #1: Type: text/plain, Size: 2305 bytes --]

I was thinking of the split-window as emacs already has it built in. It would be probably
possible to code something with semantic. Or opening in a pop-up window, like new emacs window.
Or maybe doing some connection between two buffers something similar with multiple cursors, probably
some other way as well.

But putting it below the line currently edited in same buffer, without any special borders is probably most user
friendly if one thinks in term of human-computer interaction. It is less eye and attention distracting. Editing in another
window requires one to split attention and to eventually close the window after (which probably could be automated too).
There are also borders, scrollbars etc to consider if opened in another buffer/window.

It is kind-of subtle, but quite relevant difference for the workflow if the content of another file is brought directly in the buffer
as if the content is part of same file. 

It might also be just my subjective feeling and perception at the moment :).


> From: alan.schmitt@polytechnique.org
> To: arthur.miller@live.com
> CC: rms@gnu.org; emacs-devel@gnu.org
> Subject: Re: "Adobe Brackets like" editing in emacs
> Date: Tue, 18 Mar 2014 22:29:17 +0100
> 
> Hello Arthur,
> 
> arthur miller <arthur.miller@live.com> writes:
> 
> > As I think more of it, I can see it as a folding of code. Emacs already
> > supports folding of code (with a minor mode) which
> > I don't use so much. "Quick edit" could be seen as code folding, from
> > different files; for example if we call a macro in .c file
> > defined in some .h file, one could invoke a "quick edit" to "fold-out" a
> > macro, edit it and continue on with coding .c file.
> >
> > Or if we call an elisp function, we could "unfold it" in place, edit it,
> > and continue on with the code where function was called.
> >
> > Hope it offers some more clarification and use-case scenario.
> 
> Does it have to be in the same buffer? In other words, if a command
> opened the definition of the current function/css class/tag in a new
> window, with the cursor positioned at the definition, would it be
> sufficient? I watched the video, and I don't see why the definition has
> to be unfolded in the current buffer.
> 
> Alan
 		 	   		   		 	   		  

[-- Attachment #2: Type: text/html, Size: 2781 bytes --]

  parent reply	other threads:[~2014-03-18 21:42 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 13:29 "Adobe Brackets like" editing in emacs arthur miller
2014-03-18 19:01 ` Richard Stallman
2014-03-18 19:24   ` arthur miller
2014-03-19  4:18     ` Stephen J. Turnbull
2014-03-19 14:01       ` Ivan Andrus
2014-03-19 15:03         ` Lennart Borgman
2014-03-19 15:16           ` arthur miller
2014-03-19 15:24             ` Lennart Borgman
2014-03-19 15:31           ` Ivan Andrus
2014-03-19 15:40             ` Lennart Borgman
2014-03-19 16:20               ` Stephen J. Turnbull
2014-03-19 16:37                 ` Lennart Borgman
2014-03-19 16:42                   ` Lennart Borgman
2014-03-19 18:18               ` Richard Stallman
2014-03-18 19:37   ` arthur miller
2014-03-18 21:29     ` Alan Schmitt
     [not found]       ` <DUB111-W4468B0D4051AE6F0B217B2967C0@phx.gbl>
2014-03-18 21:42         ` arthur miller [this message]
2014-03-19 16:01           ` Tom
2014-03-19 18:18             ` Richard Stallman
2014-03-20 11:04               ` Phillip Lord
2014-03-20 11:58                 ` arthur miller
2014-03-20 18:57                   ` Richard Stallman
2014-03-21 11:36                     ` Phillip Lord
2014-03-21 16:58                       ` chad
2014-03-21 18:58                         ` Richard Stallman
2014-03-20 12:50                 ` Stefan
2014-03-20 14:40                   ` Phillip Lord
2014-03-20 13:17                 ` Ted Zlatanov
2014-03-20 16:00                   ` Phillip Lord
2014-03-18 20:36   ` Ted Zlatanov
2014-03-19  4:00     ` Richard Stallman
2014-03-19  4:09       ` Vibhav Pant
2014-03-19  8:06         ` Tom
2014-03-19  9:15         ` Stephen J. Turnbull
2014-03-19 16:17           ` Eli Zaretskii
2014-03-19 16:01         ` Eli Zaretskii
2014-03-19  9:01       ` arthur miller
2014-03-19 10:18         ` Phillip Lord
2014-03-19 18:17         ` Richard Stallman
2014-03-19 20:41           ` arthur miller
2014-03-19 22:26             ` Richard Stallman
2014-03-19 12:49       ` Ted Zlatanov
2014-03-19 12:53         ` arthur miller
2014-03-19 14:38         ` Stephen J. Turnbull
2014-03-19 16:36         ` Eli Zaretskii
2014-03-19 18:18         ` Richard Stallman
2014-03-20  6:23           ` Ted Zlatanov
2014-03-20 16:28             ` Eli Zaretskii
2014-03-20 16:42               ` David Kastrup
2014-03-20 16:43               ` arthur miller
2014-03-20 16:59               ` David Engster
2014-03-20 17:25                 ` arthur miller
2014-03-20 17:41                   ` David Engster
2014-03-20 17:52                     ` arthur miller
2014-03-20 20:05                 ` Johan Bockgård
2014-03-20 20:08                   ` David Engster
2014-03-20 20:07               ` Ted Zlatanov
2014-03-20 17:04             ` Matthew Leach
2014-03-19 16:20       ` Josh
2014-03-26 21:21 ` Mathias Dahl
2014-03-26 21:35   ` Lennart Borgman
2014-03-28  4:37     ` Lennart Borgman
2014-03-28 15:26       ` Richard Stallman
2014-03-28 16:10         ` Lennart Borgman
2014-03-30  0:24           ` Richard Stallman
2014-03-30  1:01             ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB111-W4499715961C1DBFB11A58B967C0@phx.gbl \
    --to=arthur.miller@live.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).