Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Emphasizing text when composing mails?
@ 2023-12-15 11:58 Tim Landscheidt
  2023-12-15 12:40 ` Eric S Fraga
  2023-12-17 17:15 ` Emanuel Berg
  0 siblings, 2 replies; 4+ messages in thread
From: Tim Landscheidt @ 2023-12-15 11:58 UTC (permalink / raw)
  To: info-gnus-english

Hi,

Gnus has the feature to display some words with a different
face if they are bracketed with certain characters (*bold*,
/italic/, _underline_).

Is there a command for the opposite direction when composing
mails, i. e. I write a paragraph, I want to mark up "for
example" as bold, so I select those words as a region, M-x
some-gnus-or-emacs-command, and the text changes to "*for*
*example*"?

Org does not appear to have a function for this, and
markdown-insert-bold of markdown-mode
(https://jblevins.org/projects/markdown-mode/) uses doubled
characters ("**bold**").

TIA,
Tim


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

* Re: Emphasizing text when composing mails?
  2023-12-15 11:58 Emphasizing text when composing mails? Tim Landscheidt
@ 2023-12-15 12:40 ` Eric S Fraga
  2023-12-15 13:17   ` Tim Landscheidt
  2023-12-17 17:15 ` Emanuel Berg
  1 sibling, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2023-12-15 12:40 UTC (permalink / raw)
  To: info-gnus-english

Untested but maybe M-x org-emphasize?

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-09-14) on Debian 12.2



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

* Re: Emphasizing text when composing mails?
  2023-12-15 12:40 ` Eric S Fraga
@ 2023-12-15 13:17   ` Tim Landscheidt
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Landscheidt @ 2023-12-15 13:17 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: info-gnus-english

Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Untested but maybe M-x org-emphasize?

That looks suitable, thanks!  (I had only searched Org func-
tions for "bold".)

Tim


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

* Re: Emphasizing text when composing mails?
  2023-12-15 11:58 Emphasizing text when composing mails? Tim Landscheidt
  2023-12-15 12:40 ` Eric S Fraga
@ 2023-12-17 17:15 ` Emanuel Berg
  1 sibling, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2023-12-17 17:15 UTC (permalink / raw)
  To: info-gnus-english

Tim Landscheidt wrote:

> Gnus has the feature to display some words with a different
> face if they are bracketed with certain characters (*bold*,
> /italic/, _underline_).

Yes, those are `gnus-emphasis-bold', `gnus-emphasis-italic'
and `gnus-emphasis-underline'.

If one feels the need to use them it can be a sign that the
discussion is getting too emotional.

-- 
underground experts united
https://dataswamp.org/~incal



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

end of thread, other threads:[~2023-12-18 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-15 11:58 Emphasizing text when composing mails? Tim Landscheidt
2023-12-15 12:40 ` Eric S Fraga
2023-12-15 13:17   ` Tim Landscheidt
2023-12-17 17:15 ` Emanuel Berg

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 NNTP newsgroup(s).