unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Change colour alternatively, by paragraph
@ 2022-09-05  0:41 wilnerthomas--- via Users list for the GNU Emacs text editor
  2022-09-05  3:46 ` Jean Louis
       [not found] ` <YxVw+gsPZmmHaaq6@protected.localdomain-NBAmdn8----2>
  0 siblings, 2 replies; 5+ messages in thread
From: wilnerthomas--- via Users list for the GNU Emacs text editor @ 2022-09-05  0:41 UTC (permalink / raw)
  To: Help Gnu Emacs


Is it possible to have the text alternatively change colour, to separate one paragraph from the next?



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

* Re: Change colour alternatively, by paragraph
  2022-09-05  0:41 Change colour alternatively, by paragraph wilnerthomas--- via Users list for the GNU Emacs text editor
@ 2022-09-05  3:46 ` Jean Louis
       [not found] ` <YxVw+gsPZmmHaaq6@protected.localdomain-NBAmdn8----2>
  1 sibling, 0 replies; 5+ messages in thread
From: Jean Louis @ 2022-09-05  3:46 UTC (permalink / raw)
  To: wilnerthomas; +Cc: Help Gnu Emacs

* wilnerthomas--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2022-09-05 03:42]:
> 
> Is it possible to have the text alternatively change colour, to separate one paragraph from the next?

A starting point could be:
https://www.emacswiki.org/emacs/StripesMode

That is line by line, but not paragraph by paragrah.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



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

* Re: Change colour alternatively, by paragraph
       [not found] ` <YxVw+gsPZmmHaaq6@protected.localdomain-NBAmdn8----2>
@ 2022-09-05 12:24   ` wilnerthomas--- via Users list for the GNU Emacs text editor
  2022-09-05 16:17     ` Jean Louis
  0 siblings, 1 reply; 5+ messages in thread
From: wilnerthomas--- via Users list for the GNU Emacs text editor @ 2022-09-05 12:24 UTC (permalink / raw)
  To: Jean Louis; +Cc: Help Gnu Emacs


Sep 5, 2022, 03:46 by bugs@gnu.support:

> * wilnerthomas--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2022-09-05 03:42]:
>
>>
>> Is it possible to have the text alternatively change colour, to separate one paragraph from the next?
>>
>
> A starting point could be:
> https://www.emacswiki.org/emacs/StripesMode
>
> That is line by line, but not paragraph by paragrah.
>
How can I change both the background and background colour in `stripes' ?  The following
highlights the foreground but not the background.

(defface stripes-face
  `((t (:background "ff0000" :foreground "#ffff00")))
  "Face for alternate lines."
  :group 'stripes)







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

* Re: Change colour alternatively, by paragraph
  2022-09-05 12:24   ` wilnerthomas--- via Users list for the GNU Emacs text editor
@ 2022-09-05 16:17     ` Jean Louis
  2022-09-05 19:06       ` wilnerthomas--- via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Louis @ 2022-09-05 16:17 UTC (permalink / raw)
  To: wilnerthomas; +Cc: Help Gnu Emacs

* wilnerthomas@tutanota.com <wilnerthomas@tutanota.com> [2022-09-05 15:24]:
> How can I change both the background and background colour in `stripes' ?  The following
> highlights the foreground but not the background.
> 
> (defface stripes-face
>   `((t (:background "ff0000" :foreground "#ffff00")))
>   "Face for alternate lines."
>   :group 'stripes)

I suggest choosing colors by {M-x list-colors-display RET}

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



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

* Re: Change colour alternatively, by paragraph
  2022-09-05 16:17     ` Jean Louis
@ 2022-09-05 19:06       ` wilnerthomas--- via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 5+ messages in thread
From: wilnerthomas--- via Users list for the GNU Emacs text editor @ 2022-09-05 19:06 UTC (permalink / raw)
  To: Jean Louis; +Cc: Help Gnu Emacs


Sep 5, 2022, 16:17 by bugs@gnu.support:

> * wilnerthomas@tutanota.com <wilnerthomas@tutanota.com> [2022-09-05 15:24]:
>
>> How can I change both the background and background colour in `stripes' ?  The following
>> highlights the foreground but not the background.
>>
>> (defface stripes-face
>>   `((t (:background "ff0000" :foreground "#ffff00")))
>>   "Face for alternate lines."
>>   :group 'stripes)
>>
>
> I suggest choosing colors by {M-x list-colors-display RET}
>
I would rather do it from the code itself.




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

end of thread, other threads:[~2022-09-05 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05  0:41 Change colour alternatively, by paragraph wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-05  3:46 ` Jean Louis
     [not found] ` <YxVw+gsPZmmHaaq6@protected.localdomain-NBAmdn8----2>
2022-09-05 12:24   ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-05 16:17     ` Jean Louis
2022-09-05 19:06       ` wilnerthomas--- 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).