emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: cezar <cezar@mixandgo.ro>
To: emacs-orgmode@gnu.org
Subject: Re: list indentation
Date: Sun, 10 Feb 2008 00:00:54 -0800	[thread overview]
Message-ID: <87zlu99r61.fsf@mixandgo.ro> (raw)
In-Reply-To: 8876EF42-3A2C-4BA7-A06A-E3087EFDFE4D@science.uva.nl


Personally I do like:

- this way of indenting a long line
  that extends to more than one line

So an idea that comes to mind is, how about disabling indentation for
lists and have a special way of editing a list item like so:

- have your list content here up to a point where you press <C-M-TAB>
  and that indents your next line (or pointer)

So pressing just TAB in a list content won't have any effect.

Hope that helps.

Regards,
Cezar

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi Everyone,
>
> I am personally not fond of separators, and we must be sure what
> their purpose is.  As a means of terminating a list for export
> and folding, you can use empty lines when setting the variable
> `org-empty-line-terminates-plain-lists' discovered by Will.
> Or any text that is no linger indented behind the bullet marker.
>
> But if I understand correctly, this is really about indentation and
> about M-q paragraph wrapping.
>
> I have thought about how to make aragraph wrapping to respect the
> indentation of a line after a plain list item and failed.  I cannot
> figure it out.
>
> For paragraph wrapping we would really need a separator, and then we
> would need to add this separator to the regular expressions in
> `paragraph-start' and `paragraph-separate', obscure pieces of the
> Emacs formatting which do not work really consistent between different
> commands fill-paragraph and fill-region).  EIther that, or I am not
> really able to comprehend how this works.
>
> About indentation, there are other possible conventions one could use.
> Right now, TAB will indent a line under a plain list item to beyond
> the item bullet.  Independent of the current indentation.  So it will
> indent lines with low indentation, and outdent lines with too large
> indentations.
>
> One could have different conventions.  For example, we could do this:
> In the line after a plain list item:
> - when the indentation is 0 or when the line is empty, make TAB indent
>   to under the line before, as if you intended to continue the item.
> - when the line is not empty and already indented, keep that
> indentation.
>
> I am not sure if that would be seen as more consistent and stable, up
> for discussion.
>
> - Carsten
>
> On Feb 10, 2008, at 6:05 AM, Eddward DeVilla wrote:
>
>> On Feb 9, 2008 10:47 PM, William Henney <whenney@gmail.com> wrote:
>>> On Feb 9, 2008 9:55 PM, Eddward DeVilla <eddward@gmail.com> wrote:
>>>> In any case, I'm just trying to come up with something  that does
>>>> the
>>>> job but is not an eye sore in the org buffer.  I'm looking for
>>>> something that visually looks like a natural footer or terminator in
>>>> plain text.  (And a footer ought to be able to be preceeded by a
>>>> header.)  I know the significance of the '/' in xml, but visually,
>>>> it
>>>> doesn't look right to my eyes.  Aside from the meaning in xml
>>>> code, it
>>>> does say end-of-list to me.  If anything, it seems to connect the
>>>> preceeding and proceeding text, like this/that.  The dashes draw a
>>>> dividing line.
>>>
>>> How about "-." ?
>>
>> Better.  Still kind of cryptic, but more subtle.  Actually, since
>> that's all that's on the line, it really doesn't matter what it is.
>> Font lock can hide it or gray it out.  It could look like a blank line
>> without the ambiguity.
>>
>> Edd
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-02-10  8:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 18:58 list indentation cezar
2008-02-07 23:31 ` Hugo Schmitt
2008-02-08  9:24 ` Carsten Dominik
2008-02-09  0:29   ` cezar
2008-02-09  7:17     ` Carsten Dominik
2008-02-09  7:26       ` cezar
2008-02-09 17:02         ` Eddward DeVilla
2008-02-09 21:45           ` William Henney
2008-02-09 22:17             ` cezar
2008-02-09 22:50               ` William Henney
2008-02-09 23:26                 ` Eddward DeVilla
2008-02-10  1:09                   ` William Henney
2008-02-10  3:55                     ` Eddward DeVilla
2008-02-10  4:47                       ` William Henney
2008-02-10  5:05                         ` Eddward DeVilla
2008-02-10  7:29                           ` Carsten Dominik
2008-02-10  8:00                             ` cezar [this message]
2008-02-10 10:58                               ` Carsten Dominik
2008-02-10 19:26                                 ` cezar
2008-02-09 23:41                 ` cezar
2008-02-10  1:28                   ` William Henney
2008-02-10  1:33                     ` Cezar Halmagean
2008-02-10  1:35                       ` William Henney
2008-02-10 20:42                   ` Bastien Guerry

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87zlu99r61.fsf@mixandgo.ro \
    --to=cezar@mixandgo.ro \
    --cc=emacs-orgmode@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/org-mode.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).