emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Does wip-cite work with master or 9.4.5 release?
@ 2021-04-08 13:50 Ramesh Nedunchezian
  2021-04-08 15:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Ramesh Nedunchezian @ 2021-04-08 13:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]


I tried checking out wip-cite like so.  

    git reset --hard release_9.4.5
    git merge wip-cite
    git diff > conflict.diff


I am seeing merge conflicts.  See attached diff. 

Does wip-cite doesn't work with master or 9.4.5?  Am I doing something
wrong?



[-- Attachment #2: conflict.diff --]
[-- Type: text/x-patch, Size: 2833 bytes --]

diff --cc lisp/org-element.el
index 0f0e01e8a,2f1f972de..000000000
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@@ -329,11 -295,14 +339,21 @@@ match group 2
  Don't modify it, set `org-element-affiliated-keywords' instead.")
  
  (defconst org-element-object-restrictions
++<<<<<<< HEAD
 +  (let* ((minimal-set '(bold code entity italic latex-fragment strike-through
 +			     subscript superscript underline verbatim))
 +	 (standard-set (remq 'table-cell org-element-all-objects))
 +	 (standard-set-no-line-break (remq 'line-break standard-set)))
++=======
+   (let* ((standard-set
+ 	  (remq 'citation-reference (remq 'table-cell org-element-all-objects)))
+ 	 (standard-set-no-line-break (remq 'line-break standard-set))
+ 	 (minimal-set '(bold code entity italic latex-fragment strike-through
+ 			     subscript superscript underline verbatim)))
++>>>>>>> origin/wip-cite
      `((bold ,@standard-set)
+       (citation citation-reference)
+       (citation-reference ,@(cons 'line-break minimal-set))
        (footnote-reference ,@standard-set)
        (headline ,@standard-set-no-line-break)
        (inlinetask ,@standard-set-no-line-break)
@@@ -4516,21 -4610,21 +4700,39 @@@ to an appropriate container (e.g., a pa
  			     (and (memq 'latex-fragment restriction)
  				  (org-element-latex-fragment-parser)))))
  		      (?\[
++<<<<<<< HEAD
 +		       (pcase (aref result 1)
 +			 ((and ?\[
 +			       (guard (memq 'link restriction)))
 +			  (org-element-link-parser))
 +			 ((and ?f
 +			       (guard (memq 'footnote-reference restriction)))
 +			  (org-element-footnote-reference-parser))
 +			 ((and (or ?% ?/)
 +			       (guard (memq 'statistics-cookie restriction)))
 +			  (org-element-statistics-cookie-parser))
 +			 (_
 +			  (or (and (memq 'timestamp restriction)
 +				   (org-element-timestamp-parser))
 +			      (and (memq 'statistics-cookie restriction)
 +				   (org-element-statistics-cookie-parser))))))
++=======
+ 		       (cl-case (aref result 1)
+ 			 (?\[ (and (memq 'link restriction)
+ 				   (org-element-link-parser)))
+ 			 ((?@ ?c ?\() (and (memq 'citation restriction)
+ 					   (org-element-citation-parser)))
+ 			 (?f (and (memq 'footnote-reference restriction)
+ 				  (org-element-footnote-reference-parser)))
+ 			 ((?% ?/) (and (memq 'statistics-cookie restriction)
+ 				       (org-element-statistics-cookie-parser)))
+ 			 (t (or (and (memq 'footnote-reference restriction)
+ 				     (org-element-footnote-reference-parser))
+ 				(and (memq 'timestamp restriction)
+ 				     (org-element-timestamp-parser))
+ 				(and (memq 'statistics-cookie restriction)
+ 				     (org-element-statistics-cookie-parser))))))
++>>>>>>> origin/wip-cite
  		      ;; This is probably a plain link.
  		      (_ (and (memq 'link restriction)
  			      (org-element-link-parser)))))))

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

end of thread, other threads:[~2021-04-09 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 13:50 Does wip-cite work with master or 9.4.5 release? Ramesh Nedunchezian
2021-04-08 15:07 ` Nicolas Goaziou
2021-04-09 10:42   ` Ramesh Nedunchezian

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).