all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alex Branham <alex.branham@gmail.com>
Cc: Marco Wahl <marcowahlsoft@gmail.com>,
	Noam Postavsky <npostavs@gmail.com>,
	26328@debbugs.gnu.org
Subject: bug#26328: 26.0.50; checkdoc action for join lines drops final "
Date: Thu, 15 Aug 2019 16:18:30 -0700	[thread overview]
Message-ID: <87wofet3uh.fsf@mouse.gnus.org> (raw)
In-Reply-To: <877e7eowe2.fsf@gmail.com> (Alex Branham's message of "Thu, 15 Aug 2019 18:13:09 -0500")

Alex Branham <alex.branham@gmail.com> writes:

>>> AFAICT, both proposed patches will do the wrong thing for this case:
>>>
>>>     (defun foo ()
>>>       "Bla bla
>>>     bla bla.  More words
>>>     bla bla bla.")

[...]

> +		   (when (checkdoc-autofix-ask-replace
> +		          p (1+ p)
> +		          "1st line not a complete sentence.  Join these lines? "
> +		          " " t)
> +		     ;; They said yes.  We have more fill work to do...
> +		     (delete-indentation nil p (1+ p))
> +		     (setq msg nil)))))

This looks like the right thing for the original use case, but will it
fix the example above?

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





  reply	other threads:[~2019-08-15 23:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  8:51 bug#26328: 26.0.50; checkdoc action for join lines drops final " Marco Wahl
2019-07-26 10:51 ` Lars Ingebrigtsen
2019-07-28 14:05   ` Noam Postavsky
2019-07-29 11:09     ` Lars Ingebrigtsen
2019-08-15 23:13       ` Alex Branham
2019-08-15 23:18         ` Lars Ingebrigtsen [this message]
2019-08-16  0:11         ` Noam Postavsky
2019-08-16 13:24           ` Alex Branham
2019-08-16 13:42             ` Noam Postavsky
2019-08-16 13:55               ` Alex Branham
2019-08-16 14:01                 ` Noam Postavsky
2019-08-16 20:54             ` 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=87wofet3uh.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=26328@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    --cc=marcowahlsoft@gmail.com \
    --cc=npostavs@gmail.com \
    /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.