all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Arash Esbati <arash@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 8163e0b20c9: Improve 'refill-mode' in Org buffers
Date: Sat, 27 Jan 2024 13:29:06 +0200	[thread overview]
Message-ID: <868r4b816l.fsf@gnu.org> (raw)
In-Reply-To: <m2v87fdsvj.fsf@macmutant.fritz.box> (message from Arash Esbati on Sat, 27 Jan 2024 10:32:00 +0100)

> From: Arash Esbati <arash@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Sat, 27 Jan 2024 10:32:00 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > branch: master
> > commit 8163e0b20c97a8394225a7165a8ab361af09ec29
> > Author: Eli Zaretskii <eliz@gnu.org>
> > Commit: Eli Zaretskii <eliz@gnu.org>
> >
> >     Improve 'refill-mode' in Org buffers
> >     
> >     * lisp/textmodes/refill.el (refill-fill-paragraph-at): Use
> >     'fill-forward-paragraph' instead of 'forward/backward-paragraph',
> >     so that modes could customize the behavior.  (Bug#68418)
> > ---
> >  lisp/textmodes/refill.el | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el
> > index bb6b6ebda0f..244c96b60df 100644
> > --- a/lisp/textmodes/refill.el
> > +++ b/lisp/textmodes/refill.el
> > @@ -106,10 +106,10 @@ This is used to optimize refilling.")
> >      ;; FIXME: forward-paragraph seems to disregard `use-hard-newlines',
> >      ;; leading to excessive refilling and wrong choice of fill-prefix.
> >      ;; might be a bug in my paragraphs.el.
> > -    (forward-paragraph)
> > +    (fill-forward-paragraph)
> 
> The compiler says:
> 
>   In refill-fill-paragraph-at:
>   textmodes/refill.el:109:6: Warning: ‘fill-forward-paragraph’ called
>   with 0 arguments, but requires 1

Thanks, should be fixed now.



      reply	other threads:[~2024-01-27 11:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <170634561249.8419.14120799276160131850@vcs2.savannah.gnu.org>
     [not found] ` <20240127085332.C6466C4068B@vcs2.savannah.gnu.org>
2024-01-27  9:32   ` master 8163e0b20c9: Improve 'refill-mode' in Org buffers Arash Esbati
2024-01-27 11:29     ` Eli Zaretskii [this message]

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=868r4b816l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arash@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.