unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2777: refill-mode: Does not understand bullets
@ 2009-03-25 13:06 Jari Aalto
  2009-03-26  3:44 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Jari Aalto @ 2009-03-25 13:06 UTC (permalink / raw)
  To: Emacs bug BTS


The refill-mode in its current implementation is only of limited use.
The problem is that it does:

- not
- understand
- bullets

Those above lines are smashed to a single paragraph after M-x
refill-mode is turned on and text is edited inside it.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2777: refill-mode: Does not understand bullets
  2009-03-25 13:06 bug#2777: refill-mode: Does not understand bullets Jari Aalto
@ 2009-03-26  3:44 ` Kevin Rodgers
  2021-07-19 14:44   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2009-03-26  3:44 UTC (permalink / raw)
  To: bug-gnu-emacs

Jari Aalto wrote:
> The refill-mode in its current implementation is only of limited use.
> The problem is that it does:
> 
> - not
> - understand
> - bullets
> 
> Those above lines are smashed to a single paragraph after M-x
> refill-mode is turned on and text is edited inside it.

I think this may just be a matter of customizing paragraph-start.  This
seems to work for me:

(setq paragraph-start
       (concat paragraph-start "\\|[-]"))

Besides - (dash), other potential bullet characters are:

• \u2022 (bullet)
‣ \u2023 (triangular bullet)
* (asterisk)
. (period)
o (lowercase letter o)

according to http://en.wikipedia.org/wiki/Bullet_(typography)

-- 
Kevin Rodgers
Denver, Colorado, USA








^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2777: refill-mode: Does not understand bullets
  2009-03-26  3:44 ` Kevin Rodgers
@ 2021-07-19 14:44   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-19 14:44 UTC (permalink / raw)
  To: Kevin Rodgers; +Cc: 2777

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> Jari Aalto wrote:
>> The refill-mode in its current implementation is only of limited use.
>> The problem is that it does:
>> - not
>> - understand
>> - bullets
>> Those above lines are smashed to a single paragraph after M-x
>> refill-mode is turned on and text is edited inside it.
>
> I think this may just be a matter of customizing paragraph-start.  This
> seems to work for me:
>
> (setq paragraph-start
>       (concat paragraph-start "\\|[-]"))
>
> Besides - (dash), other potential bullet characters are:
>
> • \u2022 (bullet)
> ‣ \u2023 (triangular bullet)
> * (asterisk)
> . (period)
> o (lowercase letter o)
>
> according to http://en.wikipedia.org/wiki/Bullet_(typography)

Yup.  It's up to the major mode to set up these things -- refill-mode by
itself can't do this.  So I'm closing this bug report.  If there are
major modes that don't do filling correctly, that should be reported as
separate bugs.

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-19 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25 13:06 bug#2777: refill-mode: Does not understand bullets Jari Aalto
2009-03-26  3:44 ` Kevin Rodgers
2021-07-19 14:44   ` Lars Ingebrigtsen

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).