all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: David Reitter <david.reitter@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: longlines-mode and comments
Date: Mon, 17 Dec 2007 23:11:56 +0100	[thread overview]
Message-ID: <4766F42C.1030903@gmx.at> (raw)
In-Reply-To: <35DB6480-F9E8-47C3-843F-0FA6BB4B5A94@gmail.com>

 > It seems like `longlines-wrap-line' has a provision for the case, but
 > it doesn't work (I don't understand that code). What does work is to
 > not comment wrap lines at all until a better solution is found.

For some reason my Emacs hangs with your patch.

 > !     (unless (nth 4 (syntax-ppss (point)))

I think this should be tested iff a comment syntax has been defined by
the current major mode.  Moreover, the line should be wrapped when the
actual comment is not terminated by a newline.





      reply	other threads:[~2007-12-17 22:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 16:02 longlines-mode and comments David Reitter
2007-11-29 10:34 ` martin rudalics
2007-11-30  7:22   ` David Reitter
2007-11-30 16:48     ` Richard Stallman
2007-12-17 18:40   ` David Reitter
2007-12-17 22:11     ` martin rudalics [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=4766F42C.1030903@gmx.at \
    --to=rudalics@gmx.at \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=david.reitter@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 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.