From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: auto-fill bug
Date: Sat, 01 Sep 2012 22:05:47 +0200 [thread overview]
Message-ID: <87a9x9cxus.fsf@gmail.com> (raw)
In-Reply-To: <CAJcAo8tTLNXjpUDZ4zEzvGzoeZ6TTTVrU=2pTPMdnebAdM4PQA@mail.gmail.com> (Samuel Wales's message of "Sat, 1 Sep 2012 11:44:06 -0700")
Hello,
Samuel Wales <samologist@gmail.com> writes:
> I expect "I can't reproduce this" but wanted to document it.
#+BEGIN_SRC emacs-lisp
(defun ngz-handle-bug-reports ()
(when (save-excursion (message-goto-to)
(beginning-of-line)
(looking-at ".*Samuel Wales"))
(insert "I can't reproduce this\n")
(message-send-and-exit)))
#+END_SRC
> Often when I press SPC beyond fill-column, the new Org filling mechanism
> inserts " " at bol. fill-paragraph works fine.
>
> A buggy fill-prefix is returned by org-adaptive-fill-function on this line:
>
> ((looking-at "[ \t]*") (match-string 0))
>
> That's all I know.
Indeed. This regexp is obviously wrong. I've pushed a fix. Hopefully, it
should solve the problem at hand. Pleas tell me if it doesn't.
Thank you for the report.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2012-09-01 20:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-01 18:44 auto-fill bug Samuel Wales
2012-09-01 20:05 ` Nicolas Goaziou [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-11 12:32 Adam Spiers
2008-02-11 20:01 ` Carsten Dominik
2008-02-11 23:16 ` Adam Spiers
2008-03-19 0:32 ` Jonathan Moore
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9x9cxus.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).