unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Marcin Borkowski <mbork@mbork.pl>,
	17757@debbugs.gnu.org, James Cloos <cloos@jhcloos.com>
Subject: bug#17757: 24.4.50; Whitespace changes break signature mark
Date: Wed, 14 Jul 2021 16:50:17 +0200	[thread overview]
Message-ID: <878s29hrva.fsf@gnus.org> (raw)
In-Reply-To: <jwvfswht126.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 14 Jul 2021 10:43:43 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> E.g. I can see that we might want to preserve the space in the above
> case (tho it presumes that the user really intended it to be the sig
> separator, which seems quite unlikely nowadays because AFAICT most
> users have no idea that such a thing even exists).
> But what about:
>
>     M-> -- SPC hello world M-b M-b RET
>
> should this RET be interpreted as an intention to turn the "-- SPC" into
> a sig separator?

Probably not?  Message mode wouldn't have fontified that as a signature
separator, in any case.  (I think.)  So if we have the fontification add
some magical property to the space to make electric-mode leave it alone,
there'll be no change in behaviour in that case.

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





  reply	other threads:[~2021-07-14 14:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 17:10 bug#17757: 24.4.50; Whitespace changes break signature mark James Cloos
2016-02-11  9:43 ` Marcin Borkowski
2019-09-29 14:06   ` Lars Ingebrigtsen
2021-07-14 14:21   ` Lars Ingebrigtsen
2021-07-14 14:43     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-14 14:50       ` Lars Ingebrigtsen [this message]
2021-07-14 14:57         ` Lars Ingebrigtsen
2021-07-14 15:27           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-14 15:25         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-14 15:41           ` Lars Ingebrigtsen
2021-07-14 16:09             ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s29hrva.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17757@debbugs.gnu.org \
    --cc=cloos@jhcloos.com \
    --cc=mbork@mbork.pl \
    --cc=monnier@iro.umontreal.ca \
    /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 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).