From: Carsten Dominik <dominik@uva.nl>
To: Felipe Csaszar <fcsaszar@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: outline-cycle and AUCTeX
Date: Fri, 25 Jul 2008 09:23:41 -0700 [thread overview]
Message-ID: <329C3C6A-197D-4E63-A059-4B3B850F5299@uva.nl> (raw)
In-Reply-To: <f6eb7d540807231353v40c81743j8c5a1fa2ebef0862@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1333 bytes --]
On Jul 23, 2008, at 1:53 PM, Felipe Csaszar wrote:
> Hi,
>
> Using the old outline-magic.el it was possible to do visibility
> cycling of a LaTeX file, as it recognized \section, \subsection,
> etc... as headings.
>
> Is it possible to accomplish the same using the orgstruct minor mode?
> As far as I can see, orgstruct continues to think that asterisks
> represent headings, even in LaTeX.
>
> To edit LaTeX files I use AUCTeX + CDLaTeX.
>
> Many thanks!
>
> Felipe
Hi Felipe
As long as you are only after the outline cycling functionality,
you can simply call org-cycle in any mode that runs
outline-minor-mode. I have this in my customization:
(add-hook 'outline-minor-mode-hook
(lambda ()
(define-key outline-minor-mode-map [(control tab)] 'org-cycle)
(define-key outline-minor-mode-map [(shift tab)] 'org-global-
cycle)))
(add-hook 'outline-mode-hook
(lambda ()
(define-key outline-mode-map [(tab)] 'org-cycle)
(define-key outline-mode-map [(shift tab)] 'org-global-cycle)))
When you want to do structure editing, you can use reftex, or outline-
magic.el
- Carsten
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 2046 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-07-25 16:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-23 20:53 outline-cycle and AUCTeX Felipe Csaszar
2008-07-25 16:23 ` Carsten Dominik [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=329C3C6A-197D-4E63-A059-4B3B850F5299@uva.nl \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=fcsaszar@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).