From: David Engster <deng@randomsample.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: "Adobe Brackets like" editing in emacs
Date: Thu, 20 Mar 2014 17:59:50 +0100 [thread overview]
Message-ID: <87a9ckerg9.fsf@engster.org> (raw)
In-Reply-To: <837g7o96mb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Mar 2014 18:28:44 +0200")
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
Eli Zaretskii writes:
> I suggested to have this feature first based on the existing
> infrastructure, i.e. in another window. This should be easy to
> implement, and will allow collecting user experience which we
> currently lack. Then decision of whether we need a new UI, and which
> one, will be based on something, rather than on thin air.
OK, I've hacked up a little demonstrator. Load the attached file and
eval-buffer it (preferably with 'emacs -Q', that's how I tested it).
Then move point over an Emacs function; hitting 'C-c e' will open the
quick-edit window with the function's definition, and 'C-c c' will close
it.
Problems I've noticed so far:
- mode-line-format is buffer-local, so you cannot deactivate it only for
the upper window. That means, while in quick-edit, you will have no
mode-line at all.
- You cannot set a different background color for a complete window. You
can only do that with an overlay, but that will only cover the parts
with text.
- Of course, you can easily mess things up be leaving/closing the window
otherwise.
In a nutshell, it'd be nice to have something like 'window-local'
variables for this.
-David
[-- Attachment #2: quick-edit-demo.el --]
[-- Type: application/emacs-lisp, Size: 1571 bytes --]
next prev parent reply other threads:[~2014-03-20 16:59 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9ckerg9.fsf@engster.org \
--to=deng@randomsample.de \
--cc=eliz@gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.