emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [feature-suggestion] Lock region
@ 2009-11-10 19:47 Marcelo de Moraes Serpa
  2009-11-12 10:14 ` Renzo Been :-)
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-11-10 19:47 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 532 bytes --]

Hello list,

It would be great if we could "lock a region" of text in an org-mode buffer,
meaning it gets read-only, and inside it you can't modify anything besides
applying org commands such as expanding/retracting/sparse tree etc. I'm
suggesting this because I have a section on the top of my gtd file that has
an introduction to the system, link to related files etc, and often I find
myself accidentally writing characters or inserting line breaks and other
things. Not essential, but a nice-to-have feature.

Thanks,

Marcelo.

[-- Attachment #1.2: Type: text/html, Size: 575 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [feature-suggestion] Lock region
  2009-11-10 19:47 [feature-suggestion] Lock region Marcelo de Moraes Serpa
@ 2009-11-12 10:14 ` Renzo Been :-)
  2009-11-12 17:27   ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 5+ messages in thread
From: Renzo Been :-) @ 2009-11-12 10:14 UTC (permalink / raw)
  To: emacs-orgmode

Marcelo de Moraes Serpa <celoserpa <at> gmail.com> writes:

> 
> Hello list,It would be great if we could "lock a region" of text in an
org-mode buffer, meaning it gets read-only, and inside it you can't modify
anything besides applying org commands such as expanding/retracting/sparse tree
etc. I'm suggesting this because I have a section on the top of my gtd file that
has an introduction to the system, link to related files etc, and often I find
myself accidentally writing characters or inserting line breaks and other
things. Not essential, but a nice-to-have feature.Thanks,Marcelo.
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 

Hi Marcelo,

Maybe an idea. To prevent accidental changes to your introduction text.

You could try and put the introduction into a separate org-file and then include
it into your gtd org-file using:

#+include foo.org

Hope this helps,
Renzo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: [feature-suggestion] Lock region
  2009-11-12 10:14 ` Renzo Been :-)
@ 2009-11-12 17:27   ` Marcelo de Moraes Serpa
  2009-11-13  9:09     ` Renzo Been :-)
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-11-12 17:27 UTC (permalink / raw)
  To: Renzo Been :-); +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1641 bytes --]

Hi Renzo, thanks for the reply.

Isn't the include feature meant only for exporting? I mean, will the file
get included in the org buffer or is it going to be included only when
exporting the org file?

Thanks,

Marcelo.

On Thu, Nov 12, 2009 at 4:14 AM, Renzo Been :-) <swangdoodles@gmail.com>wrote:

> Marcelo de Moraes Serpa <celoserpa <at> gmail.com> writes:
>
> >
> > Hello list,It would be great if we could "lock a region" of text in an
> org-mode buffer, meaning it gets read-only, and inside it you can't modify
> anything besides applying org commands such as expanding/retracting/sparse
> tree
> etc. I'm suggesting this because I have a section on the top of my gtd file
> that
> has an introduction to the system, link to related files etc, and often I
> find
> myself accidentally writing characters or inserting line breaks and other
> things. Not essential, but a nice-to-have feature.Thanks,Marcelo.
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Remember: use `Reply All' to send replies to the list.
> > Emacs-orgmode <at> gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
>
> Hi Marcelo,
>
> Maybe an idea. To prevent accidental changes to your introduction text.
>
> You could try and put the introduction into a separate org-file and then
> include
> it into your gtd org-file using:
>
> #+include foo.org
>
> Hope this helps,
> Renzo
>
>
>
> _______________________________________________
> 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: 2614 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [feature-suggestion] Lock region
  2009-11-12 17:27   ` Marcelo de Moraes Serpa
@ 2009-11-13  9:09     ` Renzo Been :-)
  2009-11-13 16:24       ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 5+ messages in thread
From: Renzo Been :-) @ 2009-11-13  9:09 UTC (permalink / raw)
  To: emacs-orgmode

Marcelo de Moraes Serpa <celoserpa <at> gmail.com> writes:

> Hi Renzo, thanks for the reply.Isn't the include feature meant only for
exporting? I mean, will the file get included in the org buffer or is it going
to be included only when exporting the org file?Thanks,Marcelo.

Yes, that is correct.

The file from the include feature will only be visible after exporting.

Sorry, maybe I've misunderstood your first mail...

Maybe you could use something like this?

#+include foo.org
#[[file:foo.org][Introduction]]

Then there would still be a way to view the text, via the link...

Ciao,
Renzo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: [feature-suggestion] Lock region
  2009-11-13  9:09     ` Renzo Been :-)
@ 2009-11-13 16:24       ` Marcelo de Moraes Serpa
  0 siblings, 0 replies; 5+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-11-13 16:24 UTC (permalink / raw)
  To: Renzo Been :-); +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]

Thanks, this might work, even though not really what I was looking for.

As a feature suggestion for the org developers: If we could lock "live"
regions of the file, it would be great. If we could include files or part
(items) of other files dynamically, it would be great too :)

Cheers and keep the great work!

Marcelo.

On Fri, Nov 13, 2009 at 3:09 AM, Renzo Been :-) <swangdoodles@gmail.com>wrote:

> Marcelo de Moraes Serpa <celoserpa <at> gmail.com> writes:
>
> > Hi Renzo, thanks for the reply.Isn't the include feature meant only for
> exporting? I mean, will the file get included in the org buffer or is it
> going
> to be included only when exporting the org file?Thanks,Marcelo.
>
> Yes, that is correct.
>
> The file from the include feature will only be visible after exporting.
>
> Sorry, maybe I've misunderstood your first mail...
>
> Maybe you could use something like this?
>
> #+include foo.org
> #[[file:foo.org][Introduction]]
>
> Then there would still be a way to view the text, via the link...
>
> Ciao,
> Renzo
>
>
>
> _______________________________________________
> 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: 2026 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-13 16:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10 19:47 [feature-suggestion] Lock region Marcelo de Moraes Serpa
2009-11-12 10:14 ` Renzo Been :-)
2009-11-12 17:27   ` Marcelo de Moraes Serpa
2009-11-13  9:09     ` Renzo Been :-)
2009-11-13 16:24       ` Marcelo de Moraes Serpa

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).