emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Prevent auto-fill-mode from filling Property values in drawers


From: Kaushal Modi
Subject: Re: [O] Prevent auto-fill-mode from filling Property values in drawers
Date: Sun, 04 Feb 2018 15:52:36 +0000

On Sat, Feb 3, 2018 at 5:16 PM Nicolas Goaziou <address@hidden> wrote:

Wait... What?

Yes :) I had thought I couldn't get my point across correctly the first time.
 
Properties drawers do not contain blank lines. If you hit <RET>, this is
no longer a properties drawer, but a regular one, where auto-filling is
allowed.

Of course. But "the right thing" would be to prevent call to auto filling within `org-return` (somehow? I haven't yet dug deeper into that) if point is in a property drawer.

If you want to add a new property, use C-c C-x p, or, if you insist on
typing it manually, use C-q <RET> instead.

C-c C-x p is a bit unnatural and also longer to type than RET, especially if the point is already inside the property drawer. Yes, if my point is inside the subtree, and I think of adding a property, C-c C-x p is great!

C-q  RET is a good tip, but again, RET would be better.

I'll try hacking something around this, tweaking org-return should work using a simple advice. Would a patch be welcome for this?
--

Kaushal Modi


reply via email to

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