From: Katsumi Yamaoka <yamaoka@jpl.org>
To: 11189@debbugs.gnu.org
Subject: bug#11189: 24.0.95; texinfmt deletes " and \ at bol
Date: Fri, 06 Apr 2012 16:03:29 +0900 [thread overview]
Message-ID: <b4m1uo1uyta.fsf@jpl.org> (raw)
Hi,
Please try `M-x texinfo-format-buffer' in a buffer filled with
this text:
--8<---------------cut here---------------start------------->8---
@setfilename /tmp/test
111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 @dfn{FOO}
222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 ``BAR''
333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 \BAZ/
--8<---------------cut here---------------end--------------->8---
@dfn{FOO} and ``BAR'' should be formatted into "FOO" and "BAR"
respectively, but you will see the leftmost " and \ disappear.
This happens with not only Emacs 24 but also at least Emacs 23.
`back-to-indentation' does it in this way
texinfo-format-refill
-> fill-paragraph
-> fill-indent-to-left-margin
-> indent-line-to
-> back-to-indentation
because `texinfo-format-syntax-table' sets the character syntax
of " and \ to " ". Though I'm not sure whether that is the root
cause, modifying those syntax to "w" seems to work around it.
Note that texinfmt.el is still indispensable for formatting non-
English texinfo files.
Regards,
next reply other threads:[~2012-04-06 7:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 7:03 Katsumi Yamaoka [this message]
2012-04-06 10:53 ` bug#11189: 24.0.95; texinfmt deletes " and \ at bol Andreas Schwab
2021-06-02 6:58 ` Lars Ingebrigtsen
2021-06-02 23:34 ` Katsumi Yamaoka
2021-06-03 7:52 ` Lars Ingebrigtsen
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=b4m1uo1uyta.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=11189@debbugs.gnu.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.