From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [RFC] Creole-style / Support for **emphasis**__within__**a word** Date: Tue, 04 Mar 2014 18:41:23 +0530 Message-ID: <87zjl6ktu2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKp6y-00049g-Qn for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 08:10:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKp6r-0005sI-B5 for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 08:10:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:57191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKp6q-0005rn-Ta for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 08:10:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WKp6p-0006uH-7F for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 14:10:11 +0100 Received: from 115.241.44.33 ([115.241.44.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Mar 2014 14:10:11 +0100 Received: from kjambunathan by 115.241.44.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Mar 2014 14:10:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Nicolas (Sorry for multiple posts. `customize-save-variable' in the attached minimal emacs -- which I foolishly added to the top of my .emacs -- wiped out all my customizations including IMAP and SMTP settings) [RFC] Creole-style / Support for **emphasis**__within__**a word** The attached files should speak for themselves. Such an arrangement a) Does not change the status quo AT ALL. b) Provide more rope. The patch is in the spirit of "show and tell". I will not provide a formal patch. What about formalizing such an arrangement... --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=emphasis.org #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:nil c:nil creator:comment d:(not "LOGBOOK") date:nil #+OPTIONS: e:t email:nil f:t inline:t num:nil p:nil pri:nil prop:nil #+OPTIONS: stat:t tags:t tasks:t tex:t timestamp:t toc:nil todo:t |:t #+TITLE: a #+DATE: <2014-03-04 Tue> #+AUTHOR: Jambunathan K #+EMAIL: kjambunathan@debian-6.05 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+SELECT_TAGS: export #+EXCLUDE_TAGS: noexport #+CREATOR: Emacs 24.3.50.33 (Org mode 8.2.5h) Support for **emphasis**__within__**a word**. ==A proposal==. * Headline 1 **bold**and**bold**//italic// __underline__==and==++strike-through++ plain text --=-=-= Content-Type: application/vnd.oasis.opendocument.text Content-Disposition: attachment; filename=emphasis.odt Content-Transfer-Encoding: base64 UEsDBAoAAAAAAKeQZERexjIMJwAAACcAAAAIAAAAbWltZXR5cGVhcHBsaWNhdGlvbi92bmQub2Fz aXMub3BlbmRvY3VtZW50LnRleHRQSwMEFAAAAAgAp5BkRKZSUNuxGQAAOx0BAAoAHABzdHlsZXMu eG1sVVQJAAOCyBVTgcgVU3V4CwABBOgDAAAE6AMAAO1d6ZLbSHL+P08Bc2Id6wiDN7vJtlobo2Nm FNZI42mt94fDsVEEiiRWIIAogGJzfvlZ/Gh+EtcJFMACULh4TWsiRiLqyswvs46srKpXf3neusY3 iELH9x57o/6wZ0DP8m3HWz/2/vrlR3Pe+8vr7179k2kaTxAaMLIGPloPfnv/w7tf3hsrHxmWHxyQ s95EhuPh31sQ4aoM08Sl/NXKseCD7Vu7LfQiM4wOLgwN3KQXPrDEx94OeQ8+CJ3wwQN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TdXgLAAEE6AMAAAToAwAAUEsBAh4DFAAAAAgAp5BkRCPO sE3IAAAANQIAABUAGAAAAAAAAQAAAKSBhRoAAE1FVEEtSU5GL21hbmlmZXN0LnhtbFVUBQADgsgV U3V4CwABBOgDAAAE6AMAAFBLAQIeAxQAAAAIAKeQZETCOhmgHwEAAKACAAAIABgAAAAAAAEAAACk gZwbAABtZXRhLnhtbFVUBQADgcgVU3V4CwABBOgDAAAE6AMAAFBLAQIeAxQAAAAIAKeQZEQvvciB BwkAADZWAAALABgAAAAAAAEAAACkgf0cAABjb250ZW50LnhtbFVUBQADgsgVU3V4CwABBOgDAAAE 6AMAAFBLBQYAAAAABgAGAM8BAABJJgAAAAA= --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=.emacs.minimal.el Content-Transfer-Encoding: quoted-printable (add-to-list 'load-path "~/src/org-mode/lisp/") (require 'org-loaddefs) (setq org-odt-data-dir "~/src/org-mode/etc/") (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(org-emphasis-alist (quote (("**" bold) ("//" italic) ("__" underline) ("=3D=3D" org-code verbatim) ("~~" org-verbatim verbatim) ("++" (:strike-through t))))) '(org-export-backends (quote (ascii html icalendar latex odt)))) (with-eval-after-load 'org (setcar org-emphasis-regexp-components "^\\n") (setcar (cdr org-emphasis-regexp-components) "^\\n") (customize-save-variable 'org-emphasis-alist org-emphasis-alist)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=org-emphasis.diff diff --git a/lisp/org-element.el b/lisp/org-element.el index 0faf1fd..131b442 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -2612,6 +2612,11 @@ Assume point is at the first star marker." CONTENTS is the contents of the object." (format "*%s*" contents)) +(defvar org-element--marker->type + (loop for markers in (mapcar 'car org-emphasis-alist) + for element-type in '(bold italic underline verbatim code strike-through) + collect (cons markers element-type))) + (defun org-element-text-markup-successor () "Search for the next text-markup object. @@ -2622,15 +2627,10 @@ and CDR is beginning position." (unless (bolp) (backward-char)) (when (re-search-forward org-emph-re nil t) (let ((marker (match-string 3))) - (cons (cond - ((equal marker "*") 'bold) - ((equal marker "/") 'italic) - ((equal marker "_") 'underline) - ((equal marker "+") 'strike-through) - ((equal marker "~") 'code) - ((equal marker "=") 'verbatim) - (t (error "Unknown marker at %d" (match-beginning 3)))) - (match-beginning 2)))))) + (cons + (or (assoc-default marker org-element--marker->type) + (error "Unknown marker at %d" (match-beginning 3))) + (match-beginning 2)))))) ;;;; Code diff --git a/lisp/org.el b/lisp/org.el index f2bb99f..24f07f9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4191,10 +4191,14 @@ After a match, the match groups contain these elements: (body (nth 3 e)) (nl (nth 4 e)) (body1 (concat body "*?")) - (markers (mapconcat 'car org-emphasis-alist "")) + (markers (mapconcat (lambda (em) + (regexp-quote (car em)) + ) + org-emphasis-alist "\\|")) (vmarkers (mapconcat - (lambda (x) (if (eq (nth 2 x) 'verbatim) (car x) "")) - org-emphasis-alist ""))) + (lambda (x) + (regexp-quote (if (eq (nth 2 x) 'verbatim) (car x) ""))) + org-emphasis-alist "\\|"))) ;; make sure special characters appear at the right position in the class (if (string-match "\\^" markers) (setq markers (concat (replace-match "" t t markers) "^"))) @@ -4211,7 +4215,7 @@ After a match, the match groups contain these elements: (setq org-emph-re (concat "\\([" pre "]\\|^\\)" "\\(" - "\\([" markers "]\\)" + "\\(" markers "\\)" "\\(" "[^" border "]\\|" "[^" border "]" @@ -4223,7 +4227,7 @@ After a match, the match groups contain these elements: (setq org-verbatim-re (concat "\\([" pre "]\\|^\\)" "\\(" - "\\([" vmarkers "]\\)" + "\\(" vmarkers "\\)" "\\(" "[^" border "]\\|" "[^" border "]" --=-=-=--