Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:37:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 12:37:03 2020 Received: from localhost ([127.0.0.1]:59555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmgv9-0003uM-Mw for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:37:03 -0500 Received: from mail-lj1-f169.google.com ([209.85.208.169]:37232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dklein0@HIDDEN>) id 1kmgv7-0003tS-RY for 45116 <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:37:02 -0500 Received: by mail-lj1-f169.google.com with SMTP id s11so12119608ljp.4 for <45116 <at> debbugs.gnu.org>; Tue, 08 Dec 2020 09:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hBEelO/PiDqJVpumuaIY5N3GxuwiEHE+FROXz+tf5Jg=; b=e/mVrqf+Vrx6AknHL26GGqFRUvvfnL7JG0eRYYd52Stk2bhl3xykcXbfb37rUOVkdh ZcAfbM2znxPC9Isq09knV4HKJ3sKGpCimbdTDqB6hTWlMZZIgc8/i1nYj3RPCkHYuaeM ZAopAD4YBZ8KDIYDSg/J8dEeIU9yWe3L0Z0lJym8quwz9Wj9ZIRWQSar2t4y1xMA/9E8 EbPagAS36yBxSWeY/olgdCP/djZJnI+UXDkNVfXBXm35uvBZKoTul3bFhuZ31Y2tlSaO ua1ub7Eb/agrH3KVfGWg5nqtef0OXMRwKzVZMf0wVFY3klC/a+BWFuSqAzYiUh4BgSHc yDcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hBEelO/PiDqJVpumuaIY5N3GxuwiEHE+FROXz+tf5Jg=; b=Y4bNUU7U+12VVLzwQAWVAOYKHMstiVbS4JshbSbDP1xD3g0fF38qUOCejA8H3y0fWJ P9uUwhON96x9W4eyMq4Npfaybqn1Y9W9gnvKoj+f5aQ1RQI95QLfPmDe5H1A02VRESGk 2r1rV3eACXOa7DxHLt1BCYZ3sNQ44MFm1VOyz4ugxSUG6jYpMY1VMvHiE/iU178+DOcE Ovsut56NQ8G30Nms6MOgij7Q0wn5QxJxLQAeTfO+teh1/YAG0VoXR4GtxVxND2+RKrKE QMsFlw2H2UMVkbRQvMfG6UPixN76ujDS1J7ifos4NKNnZyBy8//P+8OHZm+6DOQaa3hs NEUg== X-Gm-Message-State: AOAM532NHPoSJZcbdjwzMvZkwTsmvzLzttiR/q1GYCcHpwSMfVFlG3Vt R1KFBy6OIu7PxnvfLJOb8ZaPlyR5wKtAM9Vu0MgrXavNd5c= X-Google-Smtp-Source: ABdhPJzdWvRP2qstJHSi3smYTCRRe5fm+FrF/oDswnal6I9bi3V3DxcNSW0n5FpI8eSfikRtdGGZeJ8ZV7trMLNd21Q= X-Received: by 2002:a2e:164b:: with SMTP id 11mr11242525ljw.34.1607449015665; Tue, 08 Dec 2020 09:36:55 -0800 (PST) MIME-Version: 1.0 References: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> <83r1o0727y.fsf@HIDDEN> <CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@HIDDEN> <83wnxs5hwx.fsf@HIDDEN> In-Reply-To: <83wnxs5hwx.fsf@HIDDEN> From: David Klein <dklein0@HIDDEN> Date: Tue, 8 Dec 2020 19:36:43 +0200 Message-ID: <CALoTaHCbkWQxRO0ziTaVHsnZuWXdWuUiZ+H6VbahZ5mYseVvBQ@HIDDEN> Subject: Re: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000092c9d905b5f7631d" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 45116 Cc: 45116 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --00000000000092c9d905b5f7631d Content-Type: text/plain; charset="UTF-8" For example, set a flag when user inserts a space character after a non-space character. If he subsequently inserts a non space character, insert a single space into the buffer. Did you try it out in an emacs buffer? Really, give it a shot. The current behavior is so counterintuitive as to make it useless. On Tue, 8 Dec 2020, 19:25 Eli Zaretskii, <eliz@HIDDEN> wrote: > > From: David Klein <dklein0@HIDDEN> > > Date: Tue, 8 Dec 2020 19:13:33 +0200 > > Cc: 45116 <at> debbugs.gnu.org > > > > If I typed in the text > > > > "The quick brown > > > > jumped > > > > over > > " > > > > and then went up to the end of the first line and type the characters > > '[space]' 'H' 'e' 'l' 'l' 'o' > > > > I get > > > > "The quick brownHello" > > > > instead of > > > > "The quick brown Hello" > > > > i.e. zero spaces instead of one. Only excess whitespace should be removed > > and the first space isn't excess. > > What logic would you suggest to implement to decide that this space is > it not excess? > --00000000000092c9d905b5f7631d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">For example, set a flag when user inserts a space charact= er after a non-space character. If he subsequently inserts a non space char= acter, insert a single space into the buffer.<div dir=3D"auto"><br></div><d= iv dir=3D"auto">Did you try it out in an emacs buffer? Really, give it a sh= ot. The current behavior is so counterintuitive as to make it useless.=C2= =A0</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma= il_attr">On Tue, 8 Dec 2020, 19:25 Eli Zaretskii, <<a href=3D"mailto:eli= z@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1= ex">> From: David Klein <<a href=3D"mailto:dklein0@HIDDEN" target= =3D"_blank" rel=3D"noreferrer">dklein0@HIDDEN</a>><br> > Date: Tue, 8 Dec 2020 19:13:33 +0200<br> > Cc: <a href=3D"mailto:45116 <at> debbugs.gnu.org" target=3D"_blank" rel=3D"= noreferrer">45116 <at> debbugs.gnu.org</a><br> > <br> > If I typed in the text<br> > <br> > "The quick brown<br> > <br> > jumped<br> > <br> > over<br> > "<br> > <br> > and then went up to the end of the first line and type the characters<= br> > '[space]' 'H' 'e' 'l' 'l' '= ;o'<br> > <br> > I get<br> > <br> > "The quick brownHello"<br> > <br> > instead of<br> > <br> > "The quick brown Hello"<br> > <br> > i.e. zero spaces instead of one. Only excess whitespace should be remo= ved<br> > and the first space isn't excess.<br> <br> What logic would you suggest to implement to decide that this space is<br> it not excess?<br> </blockquote></div> --00000000000092c9d905b5f7631d--
bug-gnu-emacs@HIDDEN
:bug#45116
; Package emacs
.
Full text available.Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:34:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 12:34:22 2020 Received: from localhost ([127.0.0.1]:59536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmgsY-0003od-0y for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:34:22 -0500 Received: from mail-lj1-f171.google.com ([209.85.208.171]:44506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dklein0@HIDDEN>) id 1kmgYh-0007V2-UU for 45116 <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:13:54 -0500 Received: by mail-lj1-f171.google.com with SMTP id m13so4540181ljo.11 for <45116 <at> debbugs.gnu.org>; Tue, 08 Dec 2020 09:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9ZTCJnD9B6bxWymsjrvOGm8Ow+FUh2KiHqkmUgaZ7Nk=; b=aTbch29LswOxqd0YkXmFnQj2ApESKUgVhMnOjkOZHTEoyR5tEFPHiz8gI6g46HeB+U +SGH2tfkHGZ4Xdhc/Olc4clbXbphGZ2jTrUOeqchjLjOsNU4G+1o79hitj72kNrpQlR/ JGs7VA6+XlB/75o97f9j4E5kgICiPIUCx8Ed3QvdXiVk5XFPFXvYdGV+J3qqMNPhBK2o kMelZ7NRl2sdl0SDN890lrGDCDyv94oC6rCshOWm0NIaI7Eo5artwT0X+NUJ/AFtrZaO sun/wiQh5J4+Z8fAnIxUQoDw1Xjij664ZHLpi91eSyLXZSXs1p+AAxWemka7ylIaNs6S DZYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9ZTCJnD9B6bxWymsjrvOGm8Ow+FUh2KiHqkmUgaZ7Nk=; b=pKBn/viAGirOm2pM33fr0o91dKVMjJME1CHAhopLfQBIudFsoaJTOt6ziuSDUluGQO PZa+YOAy5U46Gxlo8o92WoL3wkVhS4nty/boJIXHFTduE+ARyPlQ6UIjeJpT8jGBAnb0 Uk8Wfqove4Fmu9IEX2jql/grgm3azHwjFW+PQqucKJocvLjB6bv5C56WtuKP3maOmgkS W3v+McKgsOtptHUZA4F7vQN4D7j3q1pdadCCzBEgE+LKUoDmtOtrrQlWQyrypxraHKgJ nwgKfoz77Ebf9lnnmk8I+l8A96h9IpE25GTQN1kYxIGAOPA7BovWcwTQqiU0IDQMMi6A YNqQ== X-Gm-Message-State: AOAM532lgXUmS7+dLJnDFW2itAymPCkbAc0hYlEuFjZwbTVChHgbJJv4 VDpDxMYg/jcZxEeYsA8xA6C23Ynutrl1jan6HQg= X-Google-Smtp-Source: ABdhPJxNBQw1oynJR4Zafel4ysB7RCZVz8eoFqpX7msveZufAmX+BNssaZPSijvPxOc/bDPe1emx0I45x/QjZtE/VpQ= X-Received: by 2002:a2e:b8d0:: with SMTP id s16mr11032079ljp.423.1607447625887; Tue, 08 Dec 2020 09:13:45 -0800 (PST) MIME-Version: 1.0 References: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> <83r1o0727y.fsf@HIDDEN> In-Reply-To: <83r1o0727y.fsf@HIDDEN> From: David Klein <dklein0@HIDDEN> Date: Tue, 8 Dec 2020 19:13:33 +0200 Message-ID: <CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@HIDDEN> Subject: Re: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000bc731505b5f71061" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 45116 X-Mailman-Approved-At: Tue, 08 Dec 2020 12:34:21 -0500 Cc: 45116 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --000000000000bc731505b5f71061 Content-Type: text/plain; charset="UTF-8" Apologies. I didn't make myself sufficiently clear. If I typed in the text "The quick brown jumped over " and then went up to the end of the first line and type the characters '[space]' 'H' 'e' 'l' 'l' 'o' I get "The quick brownHello" instead of "The quick brown Hello" i.e. zero spaces instead of one. Only excess whitespace should be removed and the first space isn't excess. On Tue, Dec 8, 2020 at 5:21 PM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: David Klein <dklein0@HIDDEN> > > Date: Tue, 8 Dec 2020 10:16:40 +0200 > > > > runemacs.exe -Q > > (setq auto-mode-alist > > (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E > > (add-hook 'latex-mode-hook 'refill-mode)^X^E > > ^X^F junk.latex > > Type in a few random lines interspersed with empty lines > > Go back to the end of a line that is followed by an empty line and type > > a space (or several). No space gets inserted. Non whitespace inserts > correctly. > > Isn't that expected,, given that the doc string of this mode says: > > When enabled, the > current paragraph is refilled as you edit. Self-inserting > characters only cause refilling if they would cause > auto-filling. > > "Refilled as you edit means excess whitespace is removed, no? > --000000000000bc731505b5f71061 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Apologies. I didn't make myself sufficiently clear.<di= v><br></div><div>If I typed in the text=C2=A0</div><div><br></div><div>&quo= t;The quick brown</div><div><br></div><div>jumped=C2=A0</div><div><br></div= ><div>over</div><div>"</div><div><br></div><div>and then went up to th= e end of the first line and type the characters '[space]' 'H= 9; 'e' 'l' 'l' 'o'</div><div><br></div><div= >I get</div><div><div><br></div><div>"The quick brownHello"</div>= <div><br></div><div>instead of=C2=A0</div><div><br></div><div><div>"Th= e quick brown Hello"</div><div><br></div><div>i.e. zero spaces instead= of one. Only excess whitespace should be removed and the first space isn&#= 39;t excess.</div><div></div></div><div><br></div><div></div></div><div><br= ></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Tue, Dec 8, 2020 at 5:21 PM Eli Zaretskii <<a href=3D"mailto:e= liz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">> From: David Klein <<a href=3D"mailto:dklei= n0@HIDDEN" target=3D"_blank">dklein0@HIDDEN</a>><br> > Date: Tue, 8 Dec 2020 10:16:40 +0200<br> > <br> > runemacs.exe -Q<br> > (setq auto-mode-alist<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0(cons '("\\.latex$" . latex-mo= de) auto-mode-alist))^X^E<br> > (add-hook 'latex-mode-hook 'refill-mode)^X^E<br> > ^X^F junk.latex<br> > Type in a few random lines interspersed with empty lines<br> > Go back to the end of a line that is followed by an empty line and typ= e<br> > a space (or several). No space gets inserted. Non whitespace inserts c= orrectly.<br> <br> Isn't that expected,, given that the doc string of this mode says:<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0When enabled, the<br> =C2=A0 current paragraph is refilled as you edit.=C2=A0 Self-inserting<br> =C2=A0 characters only cause refilling if they would cause<br> =C2=A0 auto-filling.<br> <br> "Refilled as you edit means excess whitespace is removed, no?<br> </blockquote></div> --000000000000bc731505b5f71061--
bug-gnu-emacs@HIDDEN
:bug#45116
; Package emacs
.
Full text available.Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:25:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 12:25:54 2020 Received: from localhost ([127.0.0.1]:59518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmgkL-0001UM-UB for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:25:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmgkK-0001Tu-4O for 45116 <at> debbugs.gnu.org; Tue, 08 Dec 2020 12:25:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55049) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmgkE-0000n5-So; Tue, 08 Dec 2020 12:25:46 -0500 Received: from [176.228.60.248] (port=4592 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmgk9-00087u-5d; Tue, 08 Dec 2020 12:25:45 -0500 Date: Tue, 08 Dec 2020 19:25:34 +0200 Message-Id: <83wnxs5hwx.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: David Klein <dklein0@HIDDEN> In-Reply-To: <CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@HIDDEN> (message from David Klein on Tue, 8 Dec 2020 19:13:33 +0200) Subject: Re: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph References: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> <83r1o0727y.fsf@HIDDEN> <CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45116 Cc: 45116 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: David Klein <dklein0@HIDDEN> > Date: Tue, 8 Dec 2020 19:13:33 +0200 > Cc: 45116 <at> debbugs.gnu.org > > If I typed in the text > > "The quick brown > > jumped > > over > " > > and then went up to the end of the first line and type the characters > '[space]' 'H' 'e' 'l' 'l' 'o' > > I get > > "The quick brownHello" > > instead of > > "The quick brown Hello" > > i.e. zero spaces instead of one. Only excess whitespace should be removed > and the first space isn't excess. What logic would you suggest to implement to decide that this space is it not excess?
bug-gnu-emacs@HIDDEN
:bug#45116
; Package emacs
.
Full text available.Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 15:21:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 10:21:51 2020 Received: from localhost ([127.0.0.1]:59202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmeoJ-0002KU-0P for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 10:21:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmeoH-0002KF-Do for 45116 <at> debbugs.gnu.org; Tue, 08 Dec 2020 10:21:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmeoC-0001xr-7B; Tue, 08 Dec 2020 10:21:44 -0500 Received: from [176.228.60.248] (port=4870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmeoB-00067P-Mg; Tue, 08 Dec 2020 10:21:44 -0500 Date: Tue, 08 Dec 2020 17:21:37 +0200 Message-Id: <83r1o0727y.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: David Klein <dklein0@HIDDEN> In-Reply-To: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> (message from David Klein on Tue, 8 Dec 2020 10:16:40 +0200) Subject: Re: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph References: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45116 Cc: 45116 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: David Klein <dklein0@HIDDEN> > Date: Tue, 8 Dec 2020 10:16:40 +0200 > > runemacs.exe -Q > (setq auto-mode-alist > (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E > (add-hook 'latex-mode-hook 'refill-mode)^X^E > ^X^F junk.latex > Type in a few random lines interspersed with empty lines > Go back to the end of a line that is followed by an empty line and type > a space (or several). No space gets inserted. Non whitespace inserts correctly. Isn't that expected,, given that the doc string of this mode says: When enabled, the current paragraph is refilled as you edit. Self-inserting characters only cause refilling if they would cause auto-filling. "Refilled as you edit means excess whitespace is removed, no?
bug-gnu-emacs@HIDDEN
:bug#45116
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Dec 2020 08:24:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 03:24:20 2020 Received: from localhost ([127.0.0.1]:56491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmYIF-0004CP-KO for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 03:24:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:53344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dklein0@HIDDEN>) id 1kmYB6-000413-M2 for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 03:16:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dklein0@HIDDEN>) id 1kmYB6-0002AN-Ef for bug-gnu-emacs@HIDDEN; Tue, 08 Dec 2020 03:16:56 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:41977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <dklein0@HIDDEN>) id 1kmYB4-0001KP-Ff for bug-gnu-emacs@HIDDEN; Tue, 08 Dec 2020 03:16:56 -0500 Received: by mail-lf1-x12e.google.com with SMTP id r24so21841156lfm.8 for <bug-gnu-emacs@HIDDEN>; Tue, 08 Dec 2020 00:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JrgfPuqd4DMeBcajMa7N9/wwnGqfaUCM4Shs9idzkiw=; b=K7Y+Z3jj+7QKmrKW9K4itE1GzOW3uz6aXaZHnStM/XiEgKQiHZRT58diGVb4UlvP9O LUAngaUiMI7w2lWc/hy/jUt5gliXsKmFZPprALlDcphlmZySE9NLRPjuwuy84y9KUdM4 1HtcVZ5pff/asUGUKQ8Ecy1al1AAmEi1nWVjgmoSAYvAFyTw7OUKezCXxTPZxFCYqAqa VlK7p3k2Ddylx11o4PIcsIcPcZp3tH4IsrJKnWRykVkzw4B5a7pl3aWfrf+v+JEZAz60 OBxRgSNG5hyqg0WstS2rAcIqpK9rcIOCPJIBMxke7pf4l+pWJUsCsAacNx78XKs50/4r EVHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JrgfPuqd4DMeBcajMa7N9/wwnGqfaUCM4Shs9idzkiw=; b=B61hYrZmz7fAmH4qD0zPjO7LyVlczxcmb3/1u2F2yHCoseBKdoeIBXazI1QSwfCKSj nvNUfMYIREAFBdSO5ehU0DYAk5FuXPvMapNMFuGeIi+Fr0iiLlOnaf7z/kEHX2x94S6t mG0rAl1yf5sBOf5rhuw39qYG/aoMuPZAGkDn3CUJTNGBqGuCVBxS8wCkW3+QGOForaqv n14gT0shLpO6y3ekfrDxIfvA1ASI8ZGJ5enLL02x1bv8faSeuAneuRW7Q270OLfNBrxb mpHGZ9uSuzTf8kWo1vqB1JeLgjaiAM5XSiwjCrDSEsJo04fsv00lpIB85jLDBPM/HKfh 3u/A== X-Gm-Message-State: AOAM53082+HzrLhgQ4aLsSY6cZAtaN85yJaQIJEmihUR8S6SW219bTW+ x67xCCEGfJYObNDrHEoeWn9B19+lGNDEADqBMFrS37IQc7ZE7g== X-Google-Smtp-Source: ABdhPJx2LZfyaw/O1tNhZlppvHJSLpYxopnHCCzN5QVjwFokUI1ACDwM45oaAuMRleOpqzS3m4Yui7jJ05DREgE3g3k= X-Received: by 2002:a05:6512:1092:: with SMTP id j18mr3881535lfg.337.1607415411447; Tue, 08 Dec 2020 00:16:51 -0800 (PST) MIME-Version: 1.0 From: David Klein <dklein0@HIDDEN> Date: Tue, 8 Dec 2020 10:16:40 +0200 Message-ID: <CALoTaHB4nZ2KWihO=n_z1bKqZM+5B8faEsHMT9nePrF_AAYU0g@HIDDEN> Subject: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="0000000000009b1af105b5ef9020" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=dklein0@HIDDEN; helo=mail-lf1-x12e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Dec 2020 03:24:18 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --0000000000009b1af105b5ef9020 Content-Type: text/plain; charset="UTF-8" --text follows this line-- runemacs.exe -Q (setq auto-mode-alist (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E (add-hook 'latex-mode-hook 'refill-mode)^X^E ^X^F junk.latex Type in a few random lines interspersed with empty lines Go back to the end of a line that is followed by an empty line and type a space (or several). No space gets inserted. Non whitespace inserts correctly. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 10.0.19041 Recent messages: Checking 34 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emulation... Checking 176 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emacs-lisp... Checking 24 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/cedet... Checking 57 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/calendar... Checking 87 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/calc... Checking 105 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/obsolete... Checking for load-path shadows...done Mark set Saved text from "From: david@HIDDEN" Making completion list... Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: LaTeX Minor modes in effect: refill-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils refill easy-mmode tex-mode compile shell pcomplete comint ansi-color ring elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 111645 12010) (symbols 48 21266 1) (miscs 40 65 262) (strings 32 33582 1324) (string-bytes 1 893823) (vectors 16 16065) (vector-slots 8 514669 13810) (floats 8 61 267) (intervals 56 379 30) (buffers 992 14)) --0000000000009b1af105b5ef9020 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">--text follows this line--<br><br>runemacs.exe -Q<br>(setq= auto-mode-alist<br>=C2=A0 =C2=A0 =C2=A0 (cons '("\\.latex$" = . latex-mode) auto-mode-alist))^X^E<br>(add-hook 'latex-mode-hook '= refill-mode)^X^E<br>^X^F junk.latex<br>Type in a few random lines intersper= sed with empty lines<br>Go back to the end of a line that is followed by an= empty line and type<br>a space (or several). No space gets inserted. Non w= hitespace inserts correctly.<br><br><br><br>In GNU Emacs 26.3 (build 1, x86= _64-w64-mingw32)<br>=C2=A0of 2019-08-29 built on CIRROCUMULUS<br>Repository= revision: 96dd0196c28bc36779584e47fffcca433c9309cd<br>Windowing system dis= tributor 'Microsoft Corp.', version 10.0.19041<br>Recent messages:<= br>Checking 34 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emulatio= n...<br>Checking 176 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/em= acs-lisp...<br>Checking 24 files in c:/emacs-26.3-x86_64/share/emacs/26.3/l= isp/cedet...<br>Checking 57 files in c:/emacs-26.3-x86_64/share/emacs/26.3/= lisp/calendar...<br>Checking 87 files in c:/emacs-26.3-x86_64/share/emacs/2= 6.3/lisp/calc...<br>Checking 105 files in c:/emacs-26.3-x86_64/share/emacs/= 26.3/lisp/obsolete...<br>Checking for load-path shadows...done<br>Mark set<= br>Saved text from "From: david@HIDDEN"<br>= Making completion list...<br><br>Configured using:<br>=C2=A0'configure = --without-dbus --host=3Dx86_64-w64-mingw32<br>=C2=A0--without-compress-inst= all 'CFLAGS=3D-O2 -static -g3''<br><br>Configured features:<br>= XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB<br>TOOLKIT_= SCROLL_BARS THREADS LCMS2<br><br>Important settings:<br>=C2=A0 value of $LA= NG: ENU<br>=C2=A0 locale-coding-system: cp1252<br><br>Major mode: LaTeX<br>= <br>Minor modes in effect:<br>=C2=A0 refill-mode: t<br>=C2=A0 shell-dirtrac= k-mode: t<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2= =A0 electric-indent-mode: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-ba= r-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>= =C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink= -cursor-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-encryptio= n-mode: t<br>=C2=A0 auto-compression-mode: t<br>=C2=A0 line-number-mode: t<= br>=C2=A0 transient-mark-mode: t<br><br>Load-path shadows:<br>None found.<b= r><br>Features:<br>(help-mode pp shadow sort mail-extr emacsbug message rmc= puny seq<br>byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dir= ed<br>dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache= <br>epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode<br>= mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader<br>s= endmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils refill<br>= easy-mmode tex-mode compile shell pcomplete comint ansi-color ring<br>elec-= pair time-date mule-util tooltip eldoc electric uniquify ediff-hook<br>vc-h= ooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win<br>w32-= win w32-vars term/common-win tool-bar dnd fontset image regexp-opt<br>fring= e tabulated-list replace newcomment text-mode elisp-mode lisp-mode<br>prog-= mode register page menu-bar rfn-eshadow isearch timer select<br>scroll-bar = mouse jit-lock font-lock syntax facemenu font-core<br>term/tty-colors frame= cl-generic cham georgian utf-8-lang misc-lang<br>vietnamese tibetan thai t= ai-viet lao korean japanese eucjp-ms cp51932<br>hebrew greek romanian slova= k czech european ethiopic indian cyrillic<br>chinese composite charscript c= harprop case-table epa-hook jka-cmpr-hook<br>help simple abbrev obarray min= ibuffer cl-preloaded nadvice loaddefs<br>button faces cus-face macroexp fil= es text-properties overlay sha1 md5<br>base64 format env code-pages mule cu= stom widget hashtable-print-readable<br>backquote threads w32notify w32 lcm= s2 multi-tty make-network-process<br>emacs)<br><br>Memory information:<br>(= (conses 16 111645 12010)<br>=C2=A0(symbols 48 21266 1)<br>=C2=A0(miscs 40 6= 5 262)<br>=C2=A0(strings 32 33582 1324)<br>=C2=A0(string-bytes 1 893823)<br= >=C2=A0(vectors 16 16065)<br>=C2=A0(vector-slots 8 514669 13810)<br>=C2=A0(= floats 8 61 267)<br>=C2=A0(intervals 56 379 30)<br>=C2=A0(buffers 992 14))<= br></div> --0000000000009b1af105b5ef9020--
David Klein <dklein0@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#45116
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.