all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-open-line inconsistent treatment of marking characters '#' and '*'
@ 2019-01-10 16:37 Tony E. Bennett
  2019-01-12 10:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Tony E. Bennett @ 2019-01-10 16:37 UTC (permalink / raw)
  To: emacs-orgmode

Hello

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?

thanks


-- 

--tony

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

end of thread, other threads:[~2019-01-13 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 16:37 org-open-line inconsistent treatment of marking characters '#' and '*' Tony E. Bennett
2019-01-12 10:42 ` Nicolas Goaziou
2019-01-13  1:48   ` Tony E. Bennett
2019-01-13 11:11     ` Nicolas Goaziou
2019-01-13 15:12       ` Tony E. Bennett

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.