emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* change the default items for enumerated lists
@ 2022-07-19  8:08 Uwe Brauer
  2022-07-20  3:10 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2022-07-19  8:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi

When I want to add a plain list, I usually use 

   + C-c -
   + M-<return> 

Now, I would like to have the 1) item as default not -, moreover, when I
use org-metaright to make a sublist I would like to start this list with 
a).

Howe can this be achieved?

Thanks

Uwe Brauer 

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: change the default items for enumerated lists
  2022-07-19  8:08 change the default items for enumerated lists Uwe Brauer
@ 2022-07-20  3:10 ` Ihor Radchenko
  2022-07-20  5:50   ` Uwe Brauer
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2022-07-20  3:10 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> When I want to add a plain list, I usually use 
>
>    + C-c -
>    + M-<return> 
>
> Now, I would like to have the 1) item as default not -, moreover, when I
> use org-metaright to make a sublist I would like to start this list with 
> a).
>
> Howe can this be achieved?

1) "-" is hard-coded in org-toggle-item (patches are welcome)
2) See org-list-demote-modify-bullet

Best,
Ihor


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: change the default items for enumerated lists
  2022-07-20  3:10 ` Ihor Radchenko
@ 2022-07-20  5:50   ` Uwe Brauer
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2022-07-20  5:50 UTC (permalink / raw)
  To: emacs-orgmode

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

>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> When I want to add a plain list, I usually use 
>> 
>> + C-c -
>> + M-<return> 
>> 
>> Now, I would like to have the 1) item as default not -, moreover, when I
>> use org-metaright to make a sublist I would like to start this list with 
>> a).
>> 
>> Howe can this be achieved?

> 1) "-" is hard-coded in org-toggle-item (patches are welcome)
I see so most likely it is the magic line 
	 (let* ((bul (org-list-bullet-string "-"))

Hm, I could boldy change that but maybe it would be wise to define a new
variable that control this behavior...


> 2) See org-list-demote-modify-bullet

Ok I see, thanks

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-20  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19  8:08 change the default items for enumerated lists Uwe Brauer
2022-07-20  3:10 ` Ihor Radchenko
2022-07-20  5:50   ` Uwe Brauer

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).