emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Rename headline to heading


From: André A . Gomes
Subject: Re: [PATCH] Rename headline to heading
Date: Fri, 15 Oct 2021 11:52:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Bastien <bzg@gnu.org> writes:

> [...] plan I suggested: 1) only documentation-fixes then 2) internals
> with no impact on the user then 3) internals with impact on the user.

Hi Bastien and All,

This is a first attempt towards the goal.

Point number 1 has been achieved.  My only question is if etc/ORG-NEWS
should also have all the references renamed from headline to heading.

Point number 2 has also been achieved.  All symbols containing headline
have been deprecated.

While working towards goal number 3, I started to get confused.  My
strategy was the following: make changes in such a way that NOTHING will
impact the user.  Meaning that for both headline and heading would be
synonyms (symbolically).  This would then be eventually deprecated.

So, before rewriting the tests, I'd change the internals and make sure
that all pass.  That assures me that the old (headline) way of doing
things works.  Then, I'd rewrite the tests and make sure everything
works.  That assures me that the new (heading) way of doing things also
works.

But this was frustrated due to org-element-heading-parser, since it
returns a list whose car is 'headline.

What are your thoughts?

Patch 76 is the only that breaks the tests.  I'm sending it so that you
can check where I stand now.  The tests pass for all previous commits.

Thank you.


--
André A. Gomes
"Free Thought, Free World"

Attachment: 0076-Unfinished-work.patch
Description: Text Data

Attachment: 0075-Deprecate-org-bibtex-headline.patch
Description: Text Data

Attachment: 0074-Deprecate-org-texinfo-headline.patch
Description: Text Data

Attachment: 0072-Deprecate-org-texinfo-format-headline-default-functi.patch
Description: Text Data

Attachment: 0073-Deprecate-org-texinfo-format-headline-function.patch
Description: Text Data

Attachment: 0071-Deprecate-org-texinfo-normalize-headlines.patch
Description: Text Data

Attachment: 0069-Deprecate-org-point-at-end-of-empty-headline.patch
Description: Text Data

Attachment: 0070-Deprecate-org-remember-default-headline.patch
Description: Text Data

Attachment: 0067-Fix-comment.patch
Description: Text Data

Attachment: 0068-Deprecate-org-org-headline.patch
Description: Text Data

Attachment: 0066-Deprecate-org-odt-headline.patch
Description: Text Data

Attachment: 0065-Deprecate-org-odt-format-toc-headline.patch
Description: Text Data

Attachment: 0064-Deprecate-org-odt-format-headline-function.patch
Description: Text Data

Attachment: 0063-Deprecate-org-odt-format-headline-default-function.patch
Description: Text Data

Attachment: 0062-Deprecate-org-odt-format-headline-wrap.patch
Description: Text Data

Attachment: 0060-Deprecate-org-mouse-show-headlines.patch
Description: Text Data

Attachment: 0061-Deprecate-org-num-headline-regexp.patch
Description: Text Data

Attachment: 0059-Deprecate-org-mouse-end-headline.patch
Description: Text Data

Attachment: 0057-Deprecate-org-md-headline.patch
Description: Text Data

Attachment: 0058-Deprecate-org-md-headline-style.patch
Description: Text Data

Attachment: 0054-Deprecate-org-man-headline.patch
Description: Text Data

Attachment: 0055-Deprecate-org-md-headline-referred-p.patch
Description: Text Data

Attachment: 0056-Deprecate-org-md-headline-title.patch
Description: Text Data

Attachment: 0053-Deprecate-org-loop-over-headlines-in-active-region.patch
Description: Text Data

Attachment: 0052-Deprecate-org-link-search-must-match-exact-headline.patch
Description: Text Data

Attachment: 0051-Deprecate-org-latex-headline.patch
Description: Text Data

Attachment: 0050-Deprecate-org-latex-format-headline-function.patch
Description: Text Data

Attachment: 0049-Deprecate-org-latex-format-headline-default-function.patch
Description: Text Data

Attachment: 0047-Deprecate-org-koma-letter-headline.patch
Description: Text Data

Attachment: 0048-Deprecate-org-koma-letter-headline-is-opening-maybe.patch
Description: Text Data

Attachment: 0045-Deprecate-org-indent-notify-modified-headline.patch
Description: Text Data

Attachment: 0046-Deprecate-org-koma-letter-keyword-or-headline.patch
Description: Text Data

Attachment: 0043-Deprecate-org-icalendar-blocked-headline-p.patch
Description: Text Data

Attachment: 0044-Deprecate-org-indent-modified-headline-flag.patch
Description: Text Data

Attachment: 0042-Deprecate-org-html-self-link-headlines.patch
Description: Text Data

Attachment: 0041-Deprecate-org-html-headline.patch
Description: Text Data

Attachment: 0040-Deprecate-org-html-format-headline-function.patch
Description: Text Data

Attachment: 0039-Deprecate-org-html-format-headline-default-function.patch
Description: Text Data

Attachment: 0038-Deprecate-org-html-format-toc-headline.patch
Description: Text Data

Attachment: 0037-Deprecate-org-headline-todo.patch
Description: Text Data

Attachment: 0036-Deprecate-org-headline-done.patch
Description: Text Data

Attachment: 0035-Deprecate-org-fontify-todo-headline.patch
Description: Text Data

Attachment: 0034-Deprecate-org-fontify-done-headline.patch
Description: Text Data

Attachment: 0033-Deprecate-org-first-headline-recenter.patch
Description: Text Data

Attachment: 0032-Deprecate-org-find-top-headline.patch
Description: Text Data

Attachment: 0031-Deprecate-org-find-exact-headline-in-buffer.patch
Description: Text Data

Attachment: 0030-Deprecate-org-export-numbered-headline-p.patch
Description: Text Data

Attachment: 0029-Deprecate-org-export-headline-levels.patch
Description: Text Data

Attachment: 0028-Deprecate-org-export-get-parent-headline.patch
Description: Text Data

Attachment: 0027-Deprecate-org-export-get-headline-number.patch
Description: Text Data

Attachment: 0026-Deprecate-org-export-filter-headline-functions.patch
Description: Text Data

Attachment: 0025-Deprecate-org-export-collect-headlines.patch
Description: Text Data

Attachment: 0024-Deprecate-org-export-collect-headline-numbering.patch
Description: Text Data

Attachment: 0023-Deprecate-org-element-headline-parser.patch
Description: Text Data

Attachment: 0022-Deprecate-org-element-headline-interpreter.patch
Description: Text Data

Attachment: 0021-Deprecate-org-edit-headline.patch
Description: Text Data

Attachment: 0019-Deprecate-org-bibtex-headline-format-function.patch
Description: Text Data

Attachment: 0020-Deprecate-org-bibtex-treat-headline-as-title.patch
Description: Text Data

Attachment: 0018-Deprecate-org-beamer-headline.patch
Description: Text Data

Attachment: 0017-Deprecate-org-babel-ref-headline-body.patch
Description: Text Data

Attachment: 0016-Deprecate-org-babel-ref-goto-headline-id.patch
Description: Text Data

Attachment: 0015-Deprecate-org-ascii-headline-spacing.patch
Description: Text Data

Attachment: 0013-Deprecate-org-ascii-filter-headline-blank-lines.patch
Description: Text Data

Attachment: 0014-Deprecate-org-ascii-headline.patch
Description: Text Data

Attachment: 0012-Deprecate-org-agenda-top-headline-filter.patch
Description: Text Data

Attachment: 0011-Deprecate-org-agenda-search-headline-for-time.patch
Description: Text Data

Attachment: 0010-Deprecate-org-agenda-loop-over-headlines-in-active-r.patch
Description: Text Data

Attachment: 0009-Deprecate-org-agenda-headline-snapshot-before-repeat.patch
Description: Text Data

Attachment: 0008-Deprecate-org-agenda-filtered-by-top-headline.patch
Description: Text Data

Attachment: 0007-Deprecate-org-agenda-filter-top-headline-apply.patch
Description: Text Data

Attachment: 0006-Deprecate-org-agenda-filter-by-top-headline.patch
Description: Text Data

Attachment: 0005-Deprecate-org-add-log-current-headline.patch
Description: Text Data

Attachment: 0004-Fix-internals-with-no-impact-on-the-user.patch
Description: Text Data

Attachment: 0003-Fix-docstrings.patch
Description: Text Data

Attachment: 0002-Fix-comments.patch
Description: Text Data

Attachment: 0001-Fix-documentation-manuals-and-card.patch
Description: Text Data


reply via email to

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