From: Lars Ingebrigtsen <larsi@gnus.org>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: 17757@debbugs.gnu.org, James Cloos <cloos@jhcloos.com>
Subject: bug#17757: 24.4.50; Whitespace changes break signature mark
Date: Sun, 29 Sep 2019 16:06:13 +0200 [thread overview]
Message-ID: <87a7anjiy2.fsf@gnus.org> (raw)
In-Reply-To: <87mvr77fb2.fsf@mbork.pl> (Marcin Borkowski's message of "Thu, 11 Feb 2016 10:43:29 +0100")
Marcin Borkowski <mbork@mbork.pl> writes:
> I confirm that this is still a problem in GNU Emacs 25.1.50.2 (Git
> commit 4ccd2688).
>
> Steps to reproduce in emacs -Q:
>
> C-x m (compose-mail)
> M-> (end-of-buffer)
> "-- " (i.e., dash - dash - space)
> RET
>
> Now the space after the sigdashes disappears.
It's still present in Emacs 27.
> Running Edebug on `newline' reveals that this happens during evaluation
> of this form:
>
> (unwind-protect
> (progn
> (add-hook 'post-self-insert-hook postproc nil t)
> (self-insert-command (prefix-numeric-value arg)))
> ;; We first used let-binding to protect the hook, but that was naive
> ;; since add-hook affects the symbol-default value of the variable,
> ;; whereas the let-binding might only protect the buffer-local value.
> (remove-hook 'post-self-insert-hook postproc t))
Hm... that's odd. If I set that hook to nil, then the space at the end
of the line still disappears, so I don't see how that could be the
problem.
Or do you mean that it happens in `self-insert-command' itself?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-09-29 14:06 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7anjiy2.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=17757@debbugs.gnu.org \
--cc=cloos@jhcloos.com \
--cc=mbork@mbork.pl \
/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.