all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: John Owens <john_owens@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: filladapt mode stops filling after lengthy amount of	emacs	uptime
Date: Thu, 29 Mar 2007 20:43:35 -0400	[thread overview]
Message-ID: <jwv648j8swv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <loom.20070329T190902-688@post.gmane.org> (John Owens's message of "Thu\, 29 Mar 2007 17\:13\:25 +0000 \(UTC\)")

> In erc.el (an IRC client, I could totally get rid of this), I have

> (defun erc-mode ()
>   ...
>   (make-variable-buffer-local 'paragraph-start)
>   ...
>   (setq paragraph-start (concat "\\(" (regexp-quote (erc-prompt)) "\\)"))

Please tell the ERC developer that they're confusing make-local-variable
with make-variable-buffer-local.

> (defun turn-on-mime-edit ()
>     ...
>     (setq paragraph-start
> 	  (regexp-or mime-edit-single-part-tag-regexp
> 		     paragraph-start))

> Here's that regexp. 

> (defconst mime-edit-single-part-tag-regexp
>   "--[[][[]\\([^]]*\\)]\\([[]\\([^]]*\\)]\\|\\)]"
>   "*Regexp of MIME tag in the form of [[CONTENT-TYPE][ENCODING]].")

Obviously, that's it.  Please tell them about the problem and about the fact
that they should call make-local-variable on paragraph-start.


        Stefan

  parent reply	other threads:[~2007-03-30  0:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22  5:22 filladapt mode stops filling after lengthy amount of emacs uptime John Owens
2007-03-22 14:49 ` Chong Yidong
2007-03-29  5:03   ` John Owens
2007-03-29 13:53     ` Stefan Monnier
2007-03-29 15:57       ` Chong Yidong
2007-03-29 17:13         ` John Owens
2007-03-29 17:35           ` Davis Herring
2007-03-29 17:45           ` Chong Yidong
2007-03-30  0:43           ` Stefan Monnier [this message]
2007-03-30 11:02             ` Andreas Schwab
2007-03-30 16:10               ` Stefan Monnier
2007-03-31 19:05                 ` Michael Olson
2007-03-29 14:21     ` Davis Herring
2007-03-29 18:00       ` Richard Stallman
2007-03-29 18:05         ` Davis Herring
2007-03-29 18:29           ` David Kastrup
2007-03-29 20:35             ` Davis Herring
2007-03-30 12:42           ` Richard Stallman
2007-03-29 18:16         ` John Owens
2007-03-22 22:50 ` Richard Stallman
2007-04-06 17:36 ` John Owens
2007-04-06 18:18   ` Stefan Monnier

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=jwv648j8swv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=john_owens@yahoo.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.