unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Prefix in defgroup
@ 2022-07-21 14:41 carlmarcos--- via Users list for the GNU Emacs text editor
  2022-07-21 15:55 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: carlmarcos--- via Users list for the GNU Emacs text editor @ 2022-07-21 14:41 UTC (permalink / raw)
  To: Help Gnu Emacs

What is prefix in defgroup used for?


(defgroup richer nil
  "DOCSTRING"
  :prefix "richer-"
  :group 'applications)



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

* Re: Prefix in defgroup
  2022-07-21 14:41 Prefix in defgroup carlmarcos--- via Users list for the GNU Emacs text editor
@ 2022-07-21 15:55 ` Eli Zaretskii
  2022-07-21 16:26   ` carlmarcos--- via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-07-21 15:55 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Thu, 21 Jul 2022 16:41:53 +0200 (CEST)
> From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> 
> What is prefix in defgroup used for?
> 
> 
> (defgroup richer nil
>   "DOCSTRING"
>   :prefix "richer-"
>   :group 'applications)

It's clearly documented in the ELisp manual, suggest to read there.



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

* Re: Prefix in defgroup
  2022-07-21 15:55 ` Eli Zaretskii
@ 2022-07-21 16:26   ` carlmarcos--- via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 3+ messages in thread
From: carlmarcos--- via Users list for the GNU Emacs text editor @ 2022-07-21 16:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


Jul 21, 2022, 15:55 by eliz@gnu.org:

>> Date: Thu, 21 Jul 2022 16:41:53 +0200 (CEST)
>> From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
>>
>> What is prefix in defgroup used for?
>>
>>
>> (defgroup richer nil
>>   "DOCSTRING"
>>   :prefix "richer-"
>>   :group 'applications)
>>
>
> It's clearly documented in the ELisp manual, suggest to read there.
>
There,s not much about it 15.2 Defining Customization Groups

:prefix prefix  <https://www.gnu.org/software/emacs/manual/html_mono/elisp.html#index-prefix_002c-defgroup-keyword>

If the name of an item in the group starts with prefix, and thecustomizable variable custom-unlispify-remove-prefixes isnon-nil, the item’s tag will omit prefix.

Rather a generic description




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

end of thread, other threads:[~2022-07-21 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 14:41 Prefix in defgroup carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-21 15:55 ` Eli Zaretskii
2022-07-21 16:26   ` carlmarcos--- via Users list for the GNU Emacs text editor

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