all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Yates <john@yates-sheets.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Emacs as word processor
Date: Mon, 25 Nov 2013 12:51:13 -0500	[thread overview]
Message-ID: <CAJnXXojpELRof9FN6q9zJKMVOYBibn_aBbvz4m2w5h0TVgMzkg@mail.gmail.com> (raw)
In-Reply-To: <8361rjcf9u.fsf@gnu.org>

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

On Sat, Nov 23, 2013 at 10:24 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > On Fri, 22 Nov 2013 4:47:05 PM, John Yates <john@yates-sheets.org>
wrote:
> >
> > I want to be able to say "This is a chapter title" or "This is a step in
a
> > recipe" or - most commonly - "This is a top level paragraph with no
> > particular distinctive property".
>

> > On Sat, 23 Nov 2013 10:13:38 AM, John Yates <john@yates-sheets.org>
> wrote:
> >

> Are you saying that I can customize an emacs face to specify
> > inter-paragraph space? a bullet glyph or numbering style? first line and
> > subsequent line indentation?  That is definitely not the case with my
> > emacs, current as of Nov 8th.
>
> That's unfair: you said nothing about those features in the text to
> which I responded.  You just talked about the difference between
> imperative and declarative approaches to specifying attributes.  Now
> you've changed the subject, so I no longer understand what are we
> discussing.
>

This is a thread regarding adding a WYSIWYG capability to emacs.   I guess
I am guilty of silently assuming a vague shared sense of what a generic
contemporary WYSIWYG editor does in these sorts of situations:

Chapter title: probably force a new page, possibly number, larger possibly
bolded font, possibly centered, extra trailing vertical space.

Step in a recipe: increase indentation slightly, call out a list using
bullets or numbering

Top level paragraph with no particular distinctive property: revert to
defaults

If you are saying that these features don't exist in Emacs, I agree:
> they don't.  But I don't see the significance of that fact, since
> everybody agrees that Emacs is not a WYSIWYG word processor at this
> time.
>

I understood this thread to be - at least in part - about developing a
vision of how one _might_ move emacs from its current state to one offering
some kind of WYSIWYG capability.

If you are saying that these features could never be part of a face
> spec, then I don't think I agree; please explain why you think so.
>

I did not say that.  Quite the contrary.  In saying I would give the idea
thought I would have hoped that it was clear I felt the suggestion could
not be dismissed out of hand.

I now have given it a bit more thought.  Bottom line, I agree that one
probably _could_ implement paragraph styles using faces but I believe that
to do so would be a poor design.

A better design would provide s separate, easily navigable representation
of a document's (largely hierarchical) structural elements.  Such
structural element objects provides obvious sites to hang per element
"paragraph-oriented" formatting directives as well as a natural framework
for property inheritance.  Properties (many new) would be attached to these
elements  (e.g. indentation, inter-element vertical spacing, list
properties, face).  Then, just as a collection of text properties bundled
into a face and attached to a span of text does a good job of implementing
what some WYSIWYG editors call "character styles", so too a collection of
properties bundled into a face-like object and attached to a structural
element could do a good job of implementing "paragraph styles".  With such
bundles of properties attached to structural elements instead of spans of
text calling them simply "faces" would surely be confusing.  We might call
them "paragraph faces" or "structural faces" or "structural styles" or
whatever...

Finally a new text property would be needed to bind a span of text to the
most deeply nested structural element to which it belongs.  (Though I see
no technical difficulty including that property in a face I can see no
virtue in doing so.)

/john

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

  parent reply	other threads:[~2013-11-25 17:51 UTC|newest]

Thread overview: 239+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-17  7:28 Emacs as word processor Richard Stallman
2013-11-17  8:18 ` Jambunathan K
2013-11-18 18:44   ` Richard Stallman
2013-11-18 22:12     ` Rasmus
2013-11-19  6:02       ` Richard Stallman
2013-11-19  8:01         ` joakim
2013-11-19 23:42           ` Richard Stallman
2013-11-20  6:54             ` joakim
2013-11-20 18:01               ` Lennart Borgman
2013-11-23  6:07               ` Richard Stallman
2013-11-19 10:57         ` Jambunathan K
2013-11-19 12:20           ` Thorsten Jolitz
2013-11-19 14:35             ` Jambunathan K
2013-11-19 13:28         ` Sivaram Neelakantan
2013-11-20 18:35           ` Richard Stallman
2013-11-26  8:38     ` Tom
2013-11-26 15:58       ` Richard Stallman
2013-11-26 23:08         ` Bastien
2013-11-26 23:26           ` Lennart Borgman
2013-12-15 16:16         ` Steinar Bang
2013-11-17 11:16 ` Daniel Colascione
2013-11-17 13:02   ` Nic Ferrier
2013-11-17 13:55     ` Lennart Borgman
2013-11-17 14:15       ` Juergen Fenn
2013-11-17 18:57         ` chad
2013-11-18  4:20   ` Richard Stallman
2013-11-18  5:06     ` Stephen J. Turnbull
     [not found]       ` <l6dsng$6h4$1"@ger.gmane.org>
     [not found]         ` <87mwl04w3k.fsf"@zigzag.favinet>
     [not found]       ` <"<l6dsng$6h4$1"@ger.gmane.org>
     [not found]         ` <"<87mwl04w3k.fsf"@zigzag.favinet>
2013-11-18 18:44       ` Richard Stallman
2013-11-18 19:42         ` Sean Sieger
2013-11-18 19:46           ` Sean Sieger
2013-11-19  6:01           ` Richard Stallman
2013-11-19  7:08             ` Andreas Röhler
2013-11-18 20:19         ` Allen S. Rout
2013-11-19  6:02           ` Richard Stallman
2013-11-19  8:46             ` Thien-Thi Nguyen
2013-11-19  9:39               ` Jambunathan K
2013-11-19 11:21               ` Jambunathan K
2013-11-19 14:35               ` Allen S. Rout
2013-11-19 15:54                 ` Thien-Thi Nguyen
2013-11-20 18:35                   ` Richard Stallman
2013-11-21 15:25                     ` Thien-Thi Nguyen
2013-11-21 16:18                       ` Eli Zaretskii
2013-11-21 21:27                       ` Richard Stallman
2013-11-21 22:03                         ` Lennart Borgman
2013-11-22  0:51                         ` Pascal J. Bourguignon
2013-11-22  6:37                           ` Stephen J. Turnbull
2013-11-22 21:06                             ` Pascal J. Bourguignon
2013-11-22 15:04                           ` Eli Zaretskii
2013-11-22 15:26                             ` Davis Herring
2013-11-22 16:06                               ` Lennart Borgman
2013-11-22 17:56                               ` Eli Zaretskii
2013-11-22 19:01                                 ` John Yates
2013-11-22 21:17                                   ` Eli Zaretskii
     [not found]                                     ` <CAJnXXoi2biZ0uOAB9s-0Y5=9EujpCV4a=CemR-K+wHeJVSB51A@mail.gmail.com>
     [not found]                                       ` <83a9gvcyq3.fsf@gnu.org>
2013-11-23 15:13                                         ` John Yates
2013-11-23 15:24                                           ` Eli Zaretskii
2013-11-23 16:43                                             ` Lennart Borgman
2013-11-23 17:52                                               ` Eli Zaretskii
2013-11-23 21:12                                                 ` Lennart Borgman
2013-11-25 17:51                                             ` John Yates [this message]
2013-11-25 18:02                                               ` Lennart Borgman
2013-11-25 18:40                                                 ` Eli Zaretskii
2013-11-25 18:54                                                   ` Lennart Borgman
2013-11-25 18:52                                               ` Jambunathan K
2013-11-26  7:26                                                 ` Jambunathan K
2013-11-22 21:06                             ` Pascal J. Bourguignon
2013-11-22 21:38                               ` Eli Zaretskii
2013-11-22 22:01                                 ` John Yates
2013-11-22 22:56                                   ` Pascal J. Bourguignon
2013-11-23  7:55                                   ` Eli Zaretskii
2013-11-22 22:53                                 ` Pascal J. Bourguignon
2013-11-23  8:22                                   ` Eli Zaretskii
2013-11-23 13:42                                     ` Pascal J. Bourguignon
2013-11-24  8:13                                       ` PJ Weisberg
2013-11-24 17:44                                         ` Drew Adams
2013-11-25 20:42                                     ` Allen S. Rout
2013-11-25 21:15                                       ` Eli Zaretskii
2013-11-25 21:21                                         ` Allen S. Rout
2013-11-25 21:54                                         ` Pascal J. Bourguignon
     [not found]                     ` <<877gc14vzs.fsf@zigzag.favinet>
     [not found]                       ` <<E1Vjbn0-0005Bd-4Z@fencepost.gnu.org>
2013-11-21 22:12                         ` Drew Adams
2013-11-22  7:34                           ` Eli Zaretskii
2013-11-22 13:56                             ` Stefan Monnier
2013-11-22 14:48                               ` Eli Zaretskii
2013-11-22 14:50                                 ` Lennart Borgman
2013-11-22 15:39                                 ` Yuri Khan
2013-11-22 16:07                                   ` John Yates
2013-11-23  6:06                                     ` Richard Stallman
2013-11-23  8:07                                       ` Eli Zaretskii
2013-11-23 21:12                                         ` Richard Stallman
2013-11-24  4:53                                           ` Eli Zaretskii
2013-11-24 18:37                                             ` Richard Stallman
2013-11-24 20:21                                               ` Eli Zaretskii
2013-11-24 20:52                                                 ` Lennart Borgman
2013-11-24 21:06                                                 ` Thien-Thi Nguyen
2013-11-24 21:10                                                   ` Eli Zaretskii
2013-11-25  2:15                                                     ` Stephen J. Turnbull
2013-11-25  3:55                                                       ` Eli Zaretskii
2013-11-25  5:20                                                         ` Stephen J. Turnbull
2013-11-25 17:39                                                           ` Eli Zaretskii
2013-11-26  2:35                                                             ` Stephen J. Turnbull
2013-11-26  3:58                                                               ` Eli Zaretskii
2013-11-26  7:05                                                                 ` Stephen J. Turnbull
2013-11-26 15:34                                                                   ` John Yates
2013-11-26 16:57                                                                     ` Lennart Borgman
2013-11-26 18:47                                                                       ` John Yates
2013-11-26 15:04                                                               ` Drew Adams
2013-11-26 19:51                                                                 ` Pascal J. Bourguignon
2013-11-26 20:36                                                                   ` Drew Adams
2013-11-26 19:48                                                               ` Emacs as word processor / Text Properties Pascal J. Bourguignon
2013-11-27  2:35                                                                 ` Richard Stallman
2013-11-27 22:26                                                                 ` T.V. Raman
2013-11-27 23:01                                                                   ` Drew Adams
2013-11-27 23:06                                                                     ` T.V. Raman
2013-11-27 23:48                                                                       ` Drew Adams
2013-11-28  0:50                                                                         ` T.V. Raman
2013-11-28  1:27                                                                           ` Lennart Borgman
2013-11-28  4:04                                                                             ` Stephen J. Turnbull
2013-11-28  6:03                                                                               ` Drew Adams
2013-11-28  7:13                                                                                 ` Stephen J. Turnbull
2013-11-28  7:34                                                                                 ` Bastien
2013-11-28  8:53                                                                                   ` Andreas Röhler
2013-11-29  8:44                                                                           ` Jambunathan K
2013-11-29  8:49                                                                             ` Jambunathan K
2013-11-29  8:52                                                                               ` Bastien
2013-11-29  9:01                                                                                 ` Jambunathan K
2013-11-29  9:05                                                                                   ` Bastien
2013-11-29  9:10                                                                             ` Eli Zaretskii
2013-11-29  9:51                                                                               ` Jambunathan K
2013-11-29 11:43                                                                                 ` Eli Zaretskii
2013-11-29 13:42                                                                                   ` Jambunathan K
2013-11-29 14:25                                                                                     ` Eli Zaretskii
2013-11-29 16:47                                                                                       ` Jambunathan K
2013-11-29 19:38                                                                                         ` Eli Zaretskii
2013-11-29 14:18                                                                                   ` Jambunathan K
2013-11-29 15:22                                                                                     ` Eli Zaretskii
2013-11-29 10:06                                                                             ` Andreas Röhler
2013-11-29  6:50                                                                   ` Jambunathan K
2013-11-30  1:09                                                                     ` Richard Stallman
2013-12-02 20:04                                                               ` Emacs as word processor Hendrik Boom
2013-11-25  3:06                                                   ` Yuri Khan
2013-11-26  0:04                                                     ` Richard Stallman
2013-11-22 17:58                                   ` Eli Zaretskii
2013-11-23  0:00                                     ` Stefan Monnier
2013-11-23  6:06                               ` Richard Stallman
2013-11-23  6:05                             ` Richard Stallman
2013-11-23  6:05                           ` Richard Stallman
2013-12-15 16:39                     ` Steinar Bang
2013-12-16 17:19                       ` Richard Stallman
2013-12-16 18:02                         ` Jambunathan K
2013-12-16 18:38                         ` Allen S. Rout
2013-12-17 10:52                           ` Richard Stallman
2013-12-17 11:39                             ` Steinar Bang
2013-12-16 19:10                         ` Steinar Bang
2013-12-17 10:52                           ` Richard Stallman
2013-12-16 20:37                         ` Juan M. Gonzalez
2013-12-17 10:53                           ` Richard Stallman
2013-12-17 11:41                             ` Steinar Bang
2013-12-17 11:48                             ` Achim Gratz
2013-12-17 12:22                               ` Steinar Bang
2013-12-17 21:06                               ` Richard Stallman
2013-12-19  7:28                                 ` Bastien
2013-12-19 18:23                                   ` Richard Stallman
2013-12-19 18:45                                     ` Bastien
2013-12-19 23:24                                   ` Xue Fuqiao
2013-11-20 18:35                 ` Richard Stallman
2013-11-21  6:02                   ` Stephen J. Turnbull
2013-11-21 14:34                     ` Allen S. Rout
2013-11-21 21:16                       ` Tom
2013-11-22  6:54                         ` Richard Stallman
2013-11-22  7:22                           ` Ivan Andrus
2013-11-22 13:26                       ` Rüdiger Sonderfeld
2013-11-22  6:54                     ` Richard Stallman
2013-11-20 18:35               ` Richard Stallman
2013-11-20 18:53                 ` Eli Zaretskii
2013-11-21  8:00                   ` Andreas Röhler
2013-11-21 16:21                     ` Eli Zaretskii
2013-11-21 18:34                       ` Andreas Röhler
2013-11-21 19:06                         ` Eli Zaretskii
2013-11-22  7:28                           ` Andreas Röhler
2013-11-21  9:15                   ` Bastien
2013-11-21  9:22                     ` Bastien
2013-11-21 16:26                     ` Eli Zaretskii
2013-11-21 17:43                       ` Bastien
2013-11-22 10:18                         ` Eli Zaretskii
2013-11-22 20:44                         ` Thorsten Jolitz
2013-11-22  6:54                     ` Richard Stallman
2013-11-22  7:48                       ` Eli Zaretskii
2013-11-22  7:52                         ` Bastien
2013-11-22 11:36                       ` Rasmus
2013-11-19  8:04         ` Stephen J. Turnbull
2013-11-19 23:42           ` Richard Stallman
2013-11-19  9:02         ` Christoph
2013-11-19 19:22           ` chad
2013-11-20 18:35             ` Richard Stallman
2013-11-18 13:59     ` Rasmus
2013-11-17 15:27 ` Andreas Röhler
2013-11-18 17:26 ` Christopher Allan Webber
2013-11-18 17:31   ` Tom Tromey
2013-11-19  9:20     ` Jambunathan K
2013-11-19  6:01   ` Richard Stallman
2013-11-19  7:44     ` Andreas Röhler
2013-11-19 13:32     ` Jay Belanger
2013-11-19 15:16     ` Lennart Borgman
2013-11-20  1:50     ` Pascal J. Bourguignon
2013-11-20 18:35       ` Richard Stallman
2013-12-15 17:28     ` Steinar Bang
2013-12-15 18:18       ` Stephen J. Turnbull
2013-12-16  0:17         ` T.V. Raman
2013-12-16 10:20           ` Juan M. Gonzalez
2013-11-19  6:14   ` Stephen J. Turnbull
2013-11-22 16:19 ` Karl Voit
2013-11-22 18:18   ` Eli Zaretskii
2013-11-24 11:11     ` Emacs will never be a WYSIWYG-editor and should not try to (was: Emacs as word processor) Karl Voit
2013-11-24 15:01       ` Emacs will never be a WYSIWYG-editor and should not try to Thien-Thi Nguyen
2013-11-24 16:53       ` Eli Zaretskii
2013-11-24 17:27         ` Pascal J. Bourguignon
2013-11-25 12:24         ` Richard Stallman
2013-11-26  7:01           ` Bastien
2013-11-26  9:10             ` Andreas Röhler
2013-11-26  9:15               ` Bastien
2013-11-26  9:34                 ` Andreas Röhler
2013-11-26  9:34                   ` Bastien
2013-11-26 15:58               ` Richard Stallman
2013-11-26 18:28                 ` Andreas Röhler
2013-11-26 21:45                   ` Achim Gratz
2013-11-27  7:44                     ` Andreas Röhler
2013-11-26 15:58             ` Richard Stallman
2013-11-26 21:33               ` Achim Gratz
2013-11-24 18:36       ` Emacs will never be a WYSIWYG-editor and should not try to (was: Emacs as word processor) Richard Stallman
2013-11-23  6:06   ` Emacs as word processor Richard Stallman
2013-12-02 19:30 ` Hendrik Boom
2013-12-03  6:24   ` Thien-Thi Nguyen
2013-12-03  9:54   ` René Kyllingstad
2013-12-03 11:36     ` Jambunathan K
2013-12-03 16:32       ` T.V. Raman
2013-12-03 17:45         ` Eli Zaretskii
2013-12-08 17:08       ` Andreas Röhler
2013-12-13 22:28 ` Juan M. Gonzalez
  -- strict thread matches above, loose matches on Subject: below --
2013-11-23 21:03 Anas R.
2013-11-25 12:25 ` Richard Stallman
     [not found] <"<E1Vhwmp-0001x4-Pa"@fencepost.gnu.org>
     [not found] <E1Vhwmp-0001x4-Pa"@fencepost.gnu.org>

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=CAJnXXojpELRof9FN6q9zJKMVOYBibn_aBbvz4m2w5h0TVgMzkg@mail.gmail.com \
    --to=john@yates-sheets.org \
    --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.