comment with triple braces ;;}}} ;;{{{ section ...
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
comment with triple braces ;;}}} ;;{{{ section ...         


Author: Xah
Date: Sep 3, 2008 01:47

i have a elisp package such that the commends has triple braces to
mark sections, like this:

;;}}}
;;{{{ Recording

...

;;}}}
;;{{{ Internal functions returning statistics

Is this used by some outline mode or something?

I'm maitaining the mode and have the urge to remove these braces.

Xah
http://xahlee.org/

4 Comments
Re: comment with triple braces ;;}}} ;;{{{ section ...         


Author: Tim X
Date: Sep 3, 2008 02:42

Xah gmail.com> writes:
> i have a elisp package such that the commends has triple braces to
> mark sections, like this:
>
> ;;}}}
> ;;{{{ Recording
>
> ...
>
> ;;}}}
> ;;{{{ Internal functions returning statistics
>
> Is this used by some outline mode or something?
>
> I'm maitaining the mode and have the urge to remove these braces.
>

Yep, that looks like folding-mode.
Show full article (0.95Kb)
no comments
Re: comment with triple braces ;;}}} ;;{{{ section ...         


Author: Alan Mackenzie
Date: Sep 3, 2008 03:27

Hi, Xah!

On Wed, Sep 03, 2008 at 01:47:12AM -0700, Xah wrote:
> i have a elisp package such that the commends has triple braces to
> mark sections, like this:
> ;;}}}
> ;;{{{ Recording
> ...
> ;;}}}
> ;;{{{ Internal functions returning statistics
> Is this used by some outline mode or something?

It is surely used for something. Or was. Or was intended to be.

One possibility, probably wrong, is that they are an autoload token.
(The standard one is ";;;### autoload"). See if there's a local
variables section at the end of the file(s). If so, is there a
declaration for `generate-autoload-cookie'?
> I'm maitaining the mode and have the urge to remove these braces.

Check the repository to see if these comments were added for a
particular reason. That's if you have access to the repository. But
you've probably tried this already.
Show full article (0.93Kb)
no comments
Re: comment with triple braces ;;}}} ;;{{{ section ...         


Author: Tassilo Horn
Date: Sep 3, 2008 03:27

Xah gmail.com> writes:
> i have a elisp package such that the commends has triple braces to
> mark sections, like this:
>
> ;;}}}
> ;;{{{ Recording
>
> ...
>
> ;;}}}
> ;;{{{ Internal functions returning statistics
>
> Is this used by some outline mode or something?

Yeah, that's folding.el. See

http://www.emacswiki.org/cgi-bin/wiki/FoldingMode

Bye,
Tassilo
--
GNU Emacs is a text editor for Über-Geeks.
no comments
Re: comment with triple braces ;;}}} ;;{{{ section ...         


Author: Evans Winner
Date: Sep 3, 2008 12:58

Xah gmail.com> writes:

i have a elisp package such that the commends has triple braces to
mark sections, like this:

;;}}}
;;{{{ Recording

...

;;}}}
;;{{{ Internal functions returning statistics

As others said, folding mode. Maybe it's a sign that some
of the content ought to be moved out to separate files. Or
maybe not. Just a thought.
no comments