From: Juri Linkov <juri@linkov.net>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 52864@debbugs.gnu.org
Subject: bug#52864: sgml-tag inserts newlines
Date: Wed, 29 Dec 2021 10:38:59 +0200 [thread overview]
Message-ID: <86k0fn3if8.fsf@mail.linkov.net> (raw)
In-Reply-To: <875yr8412e.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Wed, 29 Dec 2021 10:06:17 +0800")
> C-c C-t runs the command sgml-tag (found in mhtml-mode-map)
>
> Problem is that it inserts newlines.
Indeed, it's a problem, so I have such customization:
(add-hook 'sgml-mode-hook
(lambda ()
;; Don't insert newlines after <tag></tag>
(setq-local skeleton-end-newline nil)))
Then maybe 'skeleton-end-newline' should be mentioned
in the docstring of 'sgml-tag', or maybe even 'sgml-mode'.
next prev parent reply other threads:[~2021-12-29 8:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-29 2:06 bug#52864: sgml-tag inserts newlines 積丹尼 Dan Jacobson
2021-12-29 8:38 ` Juri Linkov [this message]
2021-12-29 8:53 ` Juri Linkov
2021-12-29 15:32 ` Lars Ingebrigtsen
2021-12-29 17:58 ` Juri Linkov
2021-12-29 18:06 ` Lars Ingebrigtsen
2021-12-29 18:52 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86k0fn3if8.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=52864@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.