emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filladapt mode stops filling after lengthy amount of emacs uptime


From: Stefan Monnier
Subject: Re: filladapt mode stops filling after lengthy amount of emacs uptime
Date: Thu, 29 Mar 2007 20:43:35 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]