[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Adobe Brackets like" editing in emacs
From: |
Ted Zlatanov |
Subject: |
Re: "Adobe Brackets like" editing in emacs |
Date: |
Wed, 19 Mar 2014 08:49:04 -0400 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
On Wed, 19 Mar 2014 00:00:56 -0400 Richard Stallman <address@hidden> 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
- Re: "Adobe Brackets like" editing in emacs, (continued)
- Re: "Adobe Brackets like" editing in emacs, Eli Zaretskii, 2014/03/19
- RE: "Adobe Brackets like" editing in emacs, arthur miller, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Phillip Lord, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Richard Stallman, 2014/03/19
- RE: "Adobe Brackets like" editing in emacs, arthur miller, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Richard Stallman, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs,
Ted Zlatanov <=
- RE: "Adobe Brackets like" editing in emacs, arthur miller, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Stephen J. Turnbull, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Eli Zaretskii, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Richard Stallman, 2014/03/19
- Re: "Adobe Brackets like" editing in emacs, Ted Zlatanov, 2014/03/20
- Re: "Adobe Brackets like" editing in emacs, Eli Zaretskii, 2014/03/20
- Re: "Adobe Brackets like" editing in emacs, David Kastrup, 2014/03/20
- RE: "Adobe Brackets like" editing in emacs, arthur miller, 2014/03/20
- Re: "Adobe Brackets like" editing in emacs, David Engster, 2014/03/20
- RE: "Adobe Brackets like" editing in emacs, arthur miller, 2014/03/20