[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:41604] Re: emacs-wiki (patch)
- From: Sacha Chua <sacha@xxxxxxxxxxx>
- Subject: [debian-users:41604] Re: emacs-wiki (patch)
- Date: Thu, 7 Oct 2004 18:46:53 +0900
- Cancel-lock: sha1:i4ZmqHCFXYTMjXYO9IQGKaWS00U=
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
- List-id: debian-users.debian.or.jp
- List-owner: <mailto:debian-users-admin@debian.or.jp>
- List-post: <mailto:debian-users@debian.or.jp>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
- X-complaints-to: usenet@xxxxxxxxxxxxx
- X-gmane-nntp-posting-host: s01060050ba83dd3f.cg.shawcable.net
- X-injected-via-gmane: http://gmane.org/
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
- X-original-to: debian-users@debian.or.jp
- X-sender: news <news@xxxxxxxxxxxxx>
- X-spam-level: ******
- X-spam-status: No, hits=6.1 required=10.0 tests=EIGHTBIT_BODY,EMAIL_ATTRIBUTION,NO_MX_FOR_FROM, PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,RCVD_IN_ORBS, RCVD_IN_OSIRUSOFT_COM,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_GNUS_UA, X_OSIRU_OPEN_RELAY version=2.44
- References: <20041004.210954.108742420.yoriyuki@xxxxxxxxxxxxx> <87pt3y4bam.wl@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Message-id: <87r7oan9pv.fsf_-_@xxxxxxxxxxxxxxxxxxxx>
- X-mail-count: 41604
- User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
Shin-ichi Tominaga <tomi_shin@xxxxxxxxx> writes:
> 全く同じ状態です。emacs-wiki での Font-Lock が egg のフェンスモードと
> 干渉しているようです。emacs-wiki mode で C-c C-l として Font-Lock mode
わかりました。
patchは以下です。試みました。大丈夫と思います。
patchはよければ、私はすぐMichael Olsonに連絡します。
--- orig/emacs-wiki-colors.el
+++ mod/emacs-wiki-colors.el
@@ -500,14 +500,11 @@
`(nil t nil nil 'beginning-of-line
(font-lock-fontify-buffer-function . emacs-wiki-highlight-buffer)
(font-lock-fontify-region-function . emacs-wiki-highlight-region)
- (font-lock-unfontify-region-function
- . emacs-wiki-unhighlight-region)))
+ ))
(set (make-local-variable 'font-lock-fontify-buffer-function)
'emacs-wiki-highlight-buffer)
(set (make-local-variable 'font-lock-fontify-region-function)
'emacs-wiki-highlight-region)
- (set (make-local-variable 'font-lock-unfontify-region-function)
- 'emacs-wiki-unhighlight-region)
(font-lock-mode t))
(defun emacs-wiki-mode-flyspell-verify ()
@@ -613,21 +610,6 @@
(if verbose (message "Highlighting buffer...done")))))
(set-buffer-modified-p modified-p))))
-(defun emacs-wiki-unhighlight-region (begin end &optional verbose)
- "Remove all visual highlights in the buffer (except font-lock)."
- (let ((buffer-undo-list t)
- (inhibit-read-only t)
- (inhibit-point-motion-hooks t)
- (inhibit-modification-hooks t)
- (modified-p (buffer-modified-p))
- deactivate-mark)
- (unwind-protect
- (remove-text-properties
- begin end '(face nil font-lock-multiline nil
- invisible nil intangible nil display nil
- mouse-face nil keymap nil help-echo nil))
- (set-buffer-modified-p modified-p))))
-
(defvar emacs-wiki-keymap-property
(if (or (featurep 'xemacs)
(>= emacs-major-version 21))
--
Sacha Chua <sacha@xxxxxxxxxxx> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C