Hi,

Below is an attached org mode file where I have some strange behaviour in column
view, I expect it to be a bug. The problem: if the entire headline consists of a
link, you cannot properly move through all columns, some columns are skipped.

To reproduce:
1. Open attached test.org
2. Enter column view (org-columns)
3. Set point to =** Org Mode= heading
4. Press <RIGHT> three times, you are now in column 'Two'
5. Press <RIGHT> once more.

Expected behaviour: We have moved one column to the right, to column 'Three'.

Actual behaviour: We skip columns 'Three' and 'Four' and go straight to the text
of the headline.

To contrast, I have a headline =** [#A] Emacs= that has non-link text (=[#A]=).
For this heading, all works well: pressing <RIGHT> when in column 'Two' moves
point one column to the right, to 'Three'.

Asciinema recording that might make it more clear:
https://asciinema.org/a/teyMes9QxrKc2SdeVq1pz9QK0

    Org mode version 9.7.11 (release_9.7.11 @ /usr/share/emacs/30.2/lisp/org/)
    GNU Emacs 30.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.50, cairo 
version 1.18.4)

but it also happens on latest main,

    Org mode version 9.8-pre (release_9.7.35-222-gdf5628 @ 
/home/rens/Projects/org/org-mode/lisp/)

Am I doing something wrong? The issue is reasonably fixed by just adding
priorities, so it is not a big deal. However, it took me a while to find out
what was going wrong and it seems like a bug.

#+title: Column view

When you are in column view and a headline consists solely of a link,
moving through the column view does not work as expected: it skips
some fields.

* Elements
:PROPERTIES:
:COLUMNS:  %40ITEM %PRIORITY(P) %One %Two %Three %Four
:END:
** [[https://orgmode.org/][Org Mode]]
This entire headline is a link. This means that you cannot select the
column =Three= using =<RIGHT>=, point goes from =Two= to the
text of the heading.
** [#A] [[https://www.gnu.org/software/emacs/][Emacs]]
This headline has some non-link text (=[#A]=). This means that you
/can/ go to all properties in column view. This is as expected.

Reply via email to