unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32842: sgml / html mode vs. <strong>, <em>
@ 2018-09-26  6:47 積丹尼 Dan Jacobson
  2018-09-27 11:56 ` Noam Postavsky
  0 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-09-26  6:47 UTC (permalink / raw)
  To: 32842

sgml-mode.el says

   <p>Paragraphs only need an opening tag.  Line breaks and multiple spaces are
   ignored unless the text is <pre>preformatted.</pre>  Text can be marked as
   <b>bold</b>, <i>italic</i> or <u>underlined</u> using the normal M-o or
   Edit/Text Properties/Face commands.

OK but what about newer <strong>, <em> ?





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

* bug#32842: sgml / html mode vs. <strong>, <em>
  2018-09-26  6:47 bug#32842: sgml / html mode vs. <strong>, <em> 積丹尼 Dan Jacobson
@ 2018-09-27 11:56 ` Noam Postavsky
  2018-09-27 12:04   ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 6+ messages in thread
From: Noam Postavsky @ 2018-09-27 11:56 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 32842

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> sgml-mode.el says
>
>    <p>Paragraphs only need an opening tag.  Line breaks and multiple spaces are
>    ignored unless the text is <pre>preformatted.</pre>  Text can be marked as
>    <b>bold</b>, <i>italic</i> or <u>underlined</u> using the normal M-o or
>    Edit/Text Properties/Face commands.
>
> OK but what about newer <strong>, <em> ?

What about them?

(describe-face 'strong) ;=> "Face: strong   undefined face.

"
(describe-face 'em) ;=> "Face: em   undefined face.

"





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

* bug#32842: sgml / html mode vs. <strong>, <em>
  2018-09-27 11:56 ` Noam Postavsky
@ 2018-09-27 12:04   ` 積丹尼 Dan Jacobson
  2018-09-27 12:39     ` Noam Postavsky
  0 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-09-27 12:04 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 32842

All I know is the user does C-h m while editing a .html file,
and cannot find what keys will make <strong></strong>,
nor <b></b> for that matter, and ends up having to type them in by hand.





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

* bug#32842: sgml / html mode vs. <strong>, <em>
  2018-09-27 12:04   ` 積丹尼 Dan Jacobson
@ 2018-09-27 12:39     ` Noam Postavsky
  2018-09-27 12:49       ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 6+ messages in thread
From: Noam Postavsky @ 2018-09-27 12:39 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 32842

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> All I know is the user does C-h m while editing a .html file,
> and cannot find what keys will make <strong></strong>,
> nor <b></b> for that matter, and ends up having to type them in by hand.

C-c C-o strong RET seems okay (the "strong" can be completed with TAB).





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

* bug#32842: sgml / html mode vs. <strong>, <em>
  2018-09-27 12:39     ` Noam Postavsky
@ 2018-09-27 12:49       ` 積丹尼 Dan Jacobson
  2019-10-14 20:40         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-09-27 12:49 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 32842

>>>>> "NP" == Noam Postavsky <npostavs@gmail.com> writes:

NP> C-c C-o strong RET seems okay (the "strong" can be completed with TAB).

OK. Sure wish that was mentioned in C-h m text, with a (dynamically
generated) full list of what can be completed.

That way doing C-s strong etc. when looking at the C-h m output will
find what the user is looking for.





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

* bug#32842: sgml / html mode vs. <strong>, <em>
  2018-09-27 12:49       ` 積丹尼 Dan Jacobson
@ 2019-10-14 20:40         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 20:40 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 32842, Noam Postavsky

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

>>>>>> "NP" == Noam Postavsky <npostavs@gmail.com> writes:
>
> NP> C-c C-o strong RET seems okay (the "strong" can be completed with TAB).
>
> OK. Sure wish that was mentioned in C-h m text, with a (dynamically
> generated) full list of what can be completed.
>
> That way doing C-s strong etc. when looking at the C-h m output will
> find what the user is looking for.

Mentioning all HTML elements in the mode description doesn't sound very
useful to me.  As `C-c C-o' is the way to insert elements, and it
autocompletes, I don't see anything to fix here, and I'm closing this
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2019-10-14 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26  6:47 bug#32842: sgml / html mode vs. <strong>, <em> 積丹尼 Dan Jacobson
2018-09-27 11:56 ` Noam Postavsky
2018-09-27 12:04   ` 積丹尼 Dan Jacobson
2018-09-27 12:39     ` Noam Postavsky
2018-09-27 12:49       ` 積丹尼 Dan Jacobson
2019-10-14 20:40         ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).