From mboxrd@z Thu Jan 1 00:00:00 1970 From: Livin Stephen Sharma Subject: Re: --RESOLVED-- unordered list feature request: new sub-lists automatically switch to different list-character Date: Mon, 24 May 2010 00:52:18 +0530 Message-ID: <12EDFFA9-D1B9-45BE-8C9C-D695FD611F0E@gmail.com> References: <5FA5F8DA-901B-40AF-A35D-DB7FE8580B78@gmail.com> <433B3BC8-32FC-48EA-9657-3913A1153467@gmail.com> <91E58053-BE22-4E22-9E0B-F0BB4BDF6969@gmail.com> <23A9E1C8-83D7-4263-B700-05E7A243FDD4@gmail.com> <2E226CFB-75FE-4B8C-84B0-8BD25D85965C@gmail.com> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/mixed; boundary="===============0188439954==" Return-path: Received: from [140.186.70.92] (port=45526 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGGkl-0007xw-Ra for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:22:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGGkj-0000cl-VT for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:22:27 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:37524) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGGkj-0000cf-Hi for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:22:25 -0400 Received: by pxi12 with SMTP id 12so3178572pxi.0 for ; Sun, 23 May 2010 12:22:24 -0700 (PDT) In-Reply-To: <2E226CFB-75FE-4B8C-84B0-8BD25D85965C@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik , emacs-org-mode-help gnu --===============0188439954== Content-Type: multipart/alternative; boundary=Apple-Mail-3--17405165 --Apple-Mail-3--17405165 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Carsten, thanks for accepting it. It sure feels **good** to have contributed a *little*! :) Livin Stephen Sharma On May 23, 2010, at 10:41:50 , Carsten Dominik wrote: > Hi Livin, >=20 > I have made the change to the manual much shorter, but moved the rest = of this into the docstring of the variable. >=20 > Thanks! >=20 > - Carsten >=20 > On May 23, 2010, at 12:26 AM, Livin Stephen Sharma wrote: >=20 >>=20 >> Livin Stephen Sharma >>=20 >>=20 >>=20 >> On May 22, 2010, at 11:12:38 , Carsten Dominik wrote: >>=20 >>>=20 >>> On May 21, 2010, at 9:14 PM, Livin Stephen Sharma wrote: >>>=20 >>>> Scott, Juri, >>>> thank you for your replies. >>>>=20 >>>> 'org-list-demote-modify-bullet' is exactly what I was missing. >>>>=20 >>>> JohnW, BerntH, Carsten, >>>> AFAICT, the manual does not mention it? >>>=20 >>> Maybe you could suggest a place in the manual where you would have = liked to find this information? Maybe even a patch? >>=20 >> Section "2.7 Plain lists". >> That was where I went looking for this information. >>=20 >> Perhaps between >> a. the description of 'org-empty-line-terminates-plain-lists', and >> b. "The following commands act on items when the cursor is in the = first line of an item (the line with the bullet or number)" >>=20 >> I can't submit a patch, >> but this is what I might have liked to see (the = documentation-addition that I might have submitted): >>=20 >> begin >> = --------------------------------------------------------------------------= ------------------------------------ >> If you find that using a different bullet for a sub-list (than that = used for the current list-level) improves readability, customize the = variable 'org-list-demote-modify-bullet'. For example, this lisp in your = '.emacs' >>> (setq org-list-demote-modify-bullet >>> (quote ( >>> ("+" . "-") ; sub-list uses '-' if cu >>> ("-" . "+") >>> ("*" . "+")))) >>=20 >> would result in such a 2-level list (which uses only '+'): >>=20 >>> **** Take 5! >>> + Movies >>> + Silence of the Lambs >>> + My Cousin Vinny >>> + Books >>> + The Hunt for Red October >>> + The Road to Omaha >>=20 >> instead looking like this (using '-' for sub-list) >>=20 >>> **** Take 5! >>> + Movies >>> - Silence of the Lambs >>> - My Cousin Vinny >>> + Books >>> - The Hunt for Red October >>> - The Road to Omaha >> = --------------------------------------------------------------------------= ------------------------------------ >> end >>=20 >>=20 >>=20 >>=20 >>>=20 >>> Thanks. >>>=20 >>> - Carsten >>>=20 >>=20 >>=20 >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >=20 > - Carsten >=20 >=20 >=20 --Apple-Mail-3--17405165 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Livin Stephen = Sharma


=
On May 23, 2010, at 10:41:50 , Carsten Dominik = wrote:

Hi Livin,

I have made the change to the manual = much shorter, but moved the rest of this into the docstring of the = variable.

Thanks!

- Carsten

On May 23, 2010, at = 12:26 AM, Livin Stephen Sharma wrote:


Livin Stephen = Sharma



On May 22, = 2010, at 11:12:38 , Carsten Dominik wrote:


On May 21, 2010, at 9:14 PM, = Livin Stephen Sharma wrote:

Scott, = Juri,
thank = you for your = replies.

'org-list-demote-modify-bullet' is exactly what I was = missing.

JohnW, = BerntH, Carsten,
AFAICT, = the manual does not mention = it?

Maybe you could suggest a place = in the manual where you would have liked to find this information? =  Maybe even a patch?

Section "2.7 = Plain lists".
That was where I = went looking for this information.

Perhaps = between
a. the description of = 'org-empty-line-terminates-plain-lists', and
b. "The following commands act on items when the cursor is = in the first line of an item (the line with the bullet or = number)"

I can't submit = a patch,
but this is what I = might have liked to see (the documentation-addition that I might have = submitted):

begin
------------------------------------------------------------= --------------------------------------------------
If you find that using a different bullet for a = sub-list (than that used for the current list-level) improves = readability,  customize the variable = 'org-list-demote-modify-bullet'. For example, this lisp in your = '.emacs'
(setq = org-list-demote-modify-bullet
 (quote = (
= = =  ("+" . "-") ; sub-list uses '-' if = cu
= = =  ("-" . "+")
 ("*" . = "+"))))

would result in = such a 2-level list (which uses only '+'):

**** Take 5!
+ = Movies
=   + Silence of the = Lambs
=   + My Cousin = Vinny
= + Books
  + The Hunt for Red = October
=   + The Road to = Omaha

instead looking = like this (using '-' for sub-list)

**** Take 5!
+ = Movies
=   - Silence of the = Lambs
=   - My Cousin = Vinny
= + Books
  - The Hunt for Red = October
=   - The Road to = Omaha
------------------------------------------------------------= --------------------------------------------------
end





Thanks.

- = Carsten



_______________________________________________
Emacs-orgmode mailing = list
Please use `Reply All' to = send replies to the list.
Emacs-orgmode@gnu.org
http://lists.= gnu.org/mailman/listinfo/emacs-orgmode

- = Carsten




= --Apple-Mail-3--17405165-- --===============0188439954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0188439954==--