Opened 15 years ago

Closed 13 years ago

#81 closed defect (fixed)

M-q messes with end-of-sentence spacing when period is in quotes

Reported by: zev@MIT.EDU Owned by: nelhage@mit.edu
Priority: minor Milestone:
Component: internals Keywords:
Cc:

Description

running M-q on "foo. bar" changes nothing. However, if the period is inside quotes, M-q will eat one of the spaces:

running M-q on q{"foo." bar} changes the text to q{"foo." bar}.

Change History (6)

comment:1 Changed 15 years ago by zev@MIT.EDU

::sigh:: the text box ate my spaces. The original strings have 2 spaces after the period.

comment:2 Changed 14 years ago by davidben@mit.edu

  • Summary changed from M-q sometime messes with end-of-sentence spacing to M-q messes with end-of-sentence spacing when period is in quotes

comment:3 Changed 13 years ago by jgross@mit.edu

I have a fix for this at https://github.com/JasonGross/barnowl/tree/edit_fill-paragraph-eos (commit e736dcbe0f115b53809df6d099b183a245c540d8, right now). I'm not sure that this is actually the best way to go about fixing this bug. *shrug*

comment:4 Changed 13 years ago by davidben@mit.edu

Seems pretty reasonable.

comment:5 Changed 13 years ago by jgross@mit.edu

comment:6 Changed 13 years ago by jgross@mit.edu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.