emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11189: closed (24.0.95; texinfmt deletes " and \ at bol)


From: GNU bug Tracking System
Subject: bug#11189: closed (24.0.95; texinfmt deletes " and \ at bol)
Date: Wed, 02 Jun 2021 23:35:01 +0000

Your message dated Thu, 03 Jun 2021 08:34:17 +0900
with message-id <b4mzgw77see.fsf@jpl.org>
and subject line Re: bug#11189: 24.0.95; texinfmt deletes " and \ at bol
has caused the debbugs.gnu.org bug report #11189,
regarding 24.0.95; texinfmt deletes " and \ at bol
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
11189: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11189
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 24.0.95; texinfmt deletes " and \ at bol Date: Fri, 06 Apr 2012 16:03:29 +0900 User-agent: Gnus/5.130004 (真 Gnus v0.4) Emacs/24.0.95 (i686-pc-cygwin)
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,



--- End Message ---
--- Begin Message --- Subject: Re: bug#11189: 24.0.95; texinfmt deletes " and \ at bol Date: Thu, 03 Jun 2021 08:34:17 +0900 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-cygwin)
On Wed, 02 Jun 2021 08:58:56 +0200, Lars Ingebrigtsen wrote:
> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>> Please try `M-x texinfo-format-buffer' in a buffer filled with
>> this text:
[...]
> I'm unable to reproduce this with Emacs 28.  Are you still seeing this
> issue?

I don't see it.  Such a problem seems to have gone away from
Emacs at least through 27.1 to 28.0.50.  Thanks.

;; 9 years ago, oh.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]