unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string
@ 2013-09-03  1:26 Dmitry Gutov
  2013-09-29  3:59 ` Dmitry Gutov
  0 siblings, 1 reply; 17+ messages in thread
From: Dmitry Gutov @ 2013-09-03  1:26 UTC (permalink / raw)
  To: 15251

In certain conditions, if I press SPC, and a string on the current line
contains text matching `comment-start-skip', the filling is performed,
and the newly created line starts with a comment.

Examples (point is at |, fill-column is 70):

ruby-mode:

aa = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa#{}a" a|

press SPC =>

aa = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa#{}a"
                                #a

js-mode:

aa = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa//a" aa|

press SPC =>

aa = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa//a"
//aa 





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

end of thread, other threads:[~2013-10-04  2:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03  1:26 bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string Dmitry Gutov
2013-09-29  3:59 ` Dmitry Gutov
2013-09-29 13:12   ` Andreas Röhler
2013-09-29 15:16     ` Dmitry Gutov
2013-09-30 18:27       ` Stefan Monnier
2013-10-01  1:18         ` Dmitry Gutov
2013-10-01 14:11           ` Stefan Monnier
2013-10-01 15:40             ` Dmitry Gutov
2013-10-02  0:32               ` Stefan Monnier
2013-10-02  0:50                 ` Dmitry Gutov
2013-10-02  7:22         ` Andreas Röhler
2013-10-02 11:19           ` Dmitry Gutov
2013-10-02 12:24             ` Andreas Röhler
2013-10-02 12:25               ` Dmitry Gutov
2013-10-02 14:08                 ` Andreas Röhler
2013-10-04  2:09                   ` Dmitry Gutov
2013-09-30 18:26   ` Stefan Monnier

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