emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-open-line inconsistent treatment of marking characters '#' a


From: Nicolas Goaziou
Subject: Re: [O] org-open-line inconsistent treatment of marking characters '#' and '*'
Date: Sat, 12 Jan 2019 11:42:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Tony E. Bennett <address@hidden> writes:

> org-open-line replicates the table marking character '#' (if present) into
> the new table line but does not do the same for '*'.
>
> Since the semantics of '#' and '*' are so similar I expect them to be
> treated identically when opening a new table line.
>
> Within defun org-table-insert-row, changing this line:
>
>          ;; Fix the first field if necessary
>          (when (string-match "^[ \t]*| *[#$] *|" line)
>
> to:
>
>          ;; Fix the first field if necessary
>          (when (string-match "^[ \t]*| *[#*$] *|" line)
>
> gives the expected behavior.
>
> Can this be fixed?

OK, I applied the change in maint. However, I tend to think we should
not copy any special marker at all, since we don't check if we're in
a special column anyway.

Regards,

-- 
Nicolas Goaziou



reply via email to

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