emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [rows?]


From: Nicolas Goaziou
Subject: Re: [O] [rows?]
Date: Sat, 01 Jul 2017 11:57:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Uwe Brauer <address@hidden> writes:

> I tested it quite a bit yesterday. There was only one problem concerning
> pabbrev mode which scans the buffer periodically and this scanning did
> widen the columns at some point. One can try this out by running
> (pabbrev-scavenge-buffer) in an org buffer with columns being narrowed:
> the columns will widen. But I am not sure whether this is a bug of your
> implementation. I am happy with turning pabbrev mode off in org buffers
> with large table where I need to narrow.

I could not reproduce it. Columns are automatically expanded whenever
contents change in a field (and change is not wrapped within
`org-table-with-shrunk-columns'). AFAICT, `pabbrev-scavenge-buffer' uses
`with-silent-modifications' so that shouldn't happen.

> BTW what's about hiding rows? For very long tables (~100 and more rows)
> hiding can be convenient. I do that by running hide-region (a third
> package found in elpa). But maybe that feature could be included in org
> mode as well?

Hiding rows is a different beast. For example, it doesn't make sense to
have a feature to hide current row since Org rows are already
1 character high. So, we would only want to hide contiguous rows.

But then, the problem is that hlines may disappear and the formulas
could be more difficult to write (without using
`org-table-toggle-coordinate-overlays'). Perhaps we could only allow to
hide columns between 2 hlines. 

Do you have any idea about the interface of such functionality?

Regards,

-- 
Nicolas Goaziou



reply via email to

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