help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: (Help) Understanding the folding-mode


From: Tim X
Subject: Re: (Help) Understanding the folding-mode
Date: Sat, 09 Jun 2007 14:13:36 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Anne Kaeppes <address@hidden> writes:

> I like the emacs, but the folding-mode: I don't understand...
>
> I have installed folding.el, it works...
>
> I have added to my .emacs to
>
> (load "folding" 'nomessage 'noerror)
> (folding-mode-add-find-file-hook)
> (folding-add-to-marks-list 'php-mode                "//{"  "//}"  nil t)
> (folding-add-to-marks-list 'prolog-mode             "%{{{" "%}}}" nil t)
> (folding-add-to-marks-list 'html-mode               "<!-- {{{ " "<!-- 
> }}} -->" " -->" nil t)
> (folding-add-to-marks-list 'latex-mode               "%{{{"  "%}}}" nil t)
> (folding-add-to-marks-list 'javascript-mode          "//{"  "//}" nil t)
> (folding-add-to-marks-list 'java-mode                "//{"  "//}" nil t)
> (folding-add-to-marks-list 'c-mode                "//{"  "//}" nil t)
>
> But it all don't works. Only in the latex-mode I can change mit ESC-X 
> folding-mode (hide or show all)
>
> The key combination C-u 2 C-x $ (horrible combination) doesn't work, always
> reporting me a "selective-display already in use for marked lines"
>
>
> I don't understand the .emacs file exactly, but i didn't notive any errors in
> the *Message* buffer..
>
> So, how can I bring the folding-mode to work, and, more important,
> how can I change the key-combination to somethink others like function keys...
>
> I use the EMacs Version 21.3.
>

There are a few different folding packages out there, some use overlays and
some don't. Which one are you using? 

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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