emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brian van den Broek <brian.van.den.broek@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-list-demote-modify-bullet and alphabetic/numerical bullets
Date: Thu, 19 Apr 2012 01:01:19 +0200	[thread overview]
Message-ID: <CAF6Daj+A8tnLEEu6iSHghzaoPo6_iMTPZvjRbFZMTNN2Wcc2xw@mail.gmail.com> (raw)
In-Reply-To: <CAF6DajK6MW8JpUpgF1qBay2P1v5Y2V6czHc3xQ0tdJRKAU6qPQ@mail.gmail.com>

On 19 April 2012 00:57, Brian van den Broek
<brian.van.den.broek@gmail.com> wrote:
> On 18 April 2012 13:03, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>> Hello,
>>
>> Brian van den Broek <brian.van.den.broek@gmail.com> writes:
>>
>>> I have (setq org-alphabetical-lists t) in my .emacs. I am trying to
>>> set org-list-demote-modify-bullet to cycle on demoting between bullets
>>> of the form  -/+ and 1./A.
>>>
>>> (setq org-list-demote-modify-bullet
>>>        '(("+" . "-") ("-" . "+") ))
>>> accomplishes the -/+ cycling just fine.
>>>
>>> (setq org-list-demote-modify-bullet
>>>        '(("+" . "-") ("-" . "+") ("1." . "A.") ("A." . "1.")))
>>> has, however, no effect on numerical nor alphabetic bullets, nor do either of
>
> <snip>
>
>> This should be fixed in master now.  Could you confirm this?
>>
>> Thanks for reporting the problem.
>>
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>
>
> Thanks for your attention to this, Nicholas.
>
> The situation is improved, though not entirely fixed. However, the
> problem may well be on my end. I tried a few settings and wasn't able
> to get quite the expected behaviour; I may simply not understand the
> required syntax for org-list-demote-modify-bullet.


Gah! It *was* operator error. I must have read it through 10 times
before sending. Just as the gmail "Undo" window closed, I saw it.

I was missing the '.' seperating the bullets. I had

       '(("+" . "-") ("-" . "+") ("1." . "A.") ("A."  "1.") )

when I needed

       '(("+" . "-") ("-" . "+") ("1." . "A.") ("A." . "1.") )

Sorry for the noise and thanks for the fix!

Sheepishly,

Brian vdB

      reply	other threads:[~2012-04-18 23:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 13:55 org-list-demote-modify-bullet and alphabetic/numerical bullets Brian van den Broek
2012-04-18 11:03 ` Nicolas Goaziou
2012-04-18 22:57   ` Brian van den Broek
2012-04-18 23:01     ` Brian van den Broek [this message]

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=CAF6Daj+A8tnLEEu6iSHghzaoPo6_iMTPZvjRbFZMTNN2Wcc2xw@mail.gmail.com \
    --to=brian.van.den.broek@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).