[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: Multiple Links on same line causes parsing problems [9.3.8 (9.3.8-e
From: |
David Masterson |
Subject: |
Bug: Multiple Links on same line causes parsing problems [9.3.8 (9.3.8-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.3.8/)] |
Date: |
Sat, 12 Sep 2020 20:38:21 -0700 |
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
When working on an Org file, I use [[#AB][A B name]] as a link. I find
that, if I put two (or more) links on a line, editing them becomes more
difficult. Sometimes, if I begin to put a new link at the beginning of a
line that has other links like this "[[#AB", the editor will assume that
the link is completed by the close brackets of the next link, thus,
combining the two links into one. I have to carefully delete the
beginning brackets or ending brackets to allow me to fix things.
This appears to be a bug in the regexp that processes the link, but
finding it is beyond me.
Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll
bars)
of 2020-08-27
Package: Org mode version 9.3.8 (9.3.8-elpa @
/home/dsmasterson/.emacs.d/elpa/org-9.3.8/)
current state:
==============
(setq
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-link-shell-confirm-function 'yes-or-no-p
org-blank-before-new-entry '((heading) (plain-list-item . auto))
org-texinfo-format-headline-function
'org-texinfo-format-headline-default-function
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 2)
(org-agenda-files :tag . "RFL"))
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-use-property-inheritance '("DOCTOR")
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-agenda-files '("/home/dsmasterson/DSM/MyOrg/BigPicture.org"
"/home/dsmasterson/DSM/MyOrg/Cars.org"
"/home/dsmasterson/DSM/MyOrg/Chiffon.org"
"/home/dsmasterson/DSM/MyOrg/Computers.org"
"/home/dsmasterson/DSM/MyOrg/DavidMasterson.org"
"/home/dsmasterson/DSM/MyOrg/Family.org"
"/home/dsmasterson/DSM/MyOrg/Finances.org"
"/home/dsmasterson/DSM/MyOrg/HouseIssues.org"
"/home/dsmasterson/DSM/MyOrg/IssuesList.org"
"/home/dsmasterson/DSM/MyOrg/ListOfDoctors.org"
"/home/dsmasterson/DSM/MyOrg/SanahMasterson.org"
"/home/dsmasterson/DSM/MyOrg/SetupMyOrg.org"
"/home/dsmasterson/DSM/MyOrg/SusanMasterson.org"
"/home/dsmasterson/DSM/MyOrg/TODOs.org"
"/home/dsmasterson/DSM/MyOrg/Travel.org"
"/home/dsmasterson/DSM/MyOrg/VistaWayPlan.org"
"/home/dsmasterson/DSM/MyOrg/WhatIBelieve.org"
"/home/dsmasterson/DSM/MyOrg/contacts.org"
"/home/dsmasterson/DSM/MyOrg/csf_leak_plan.org"
"/home/dsmasterson/DSM/MyOrg/inbox.org"
"/home/dsmasterson/DSM/MyOrg/init.org"
"/home/dsmasterson/DSM/MyOrg/journal.org"
"/home/dsmasterson/DSM/MyOrg/notes.org"
"/home/dsmasterson/DSM/MyOrg/sitemap.org"
"/home/dsmasterson/DSM/MyOrg/tasks.org"
"/home/dsmasterson/DSM/MyOrg/theindex.org")
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-tag-alist '(("RFL") ("TBD") ("NEXT") ("CONSIDER") (:startgroup) ("Context")
(:grouptags) ("@Bank") ("@Car") ("@Computer") ("@Dentist")
("@Doctor")
("@EyeDoc") ("@Grocery") ("@Hardware") ("@Home") ("@Internet")
("@Lawyer") ("@Library") ("@MedLab") ("@Meeting") ("@PetStore")
("@Pharmacy") ("@Phone") ("@Retail") ("@School") ("@Transit")
("@TV")
("@Work") (:endgroup) (:startgrouptag) ("People") (:grouptags)
("DAVID")
("SUSAN") ("SANAH") ("FAMILY") ("David") ("Susan") ("Sanah")
("Chiffon")
("Mom") ("Rob") ("Val") ("Brenda") ("Behrouz") ("Ashi")
("Nayer")
(:endgrouptag))
org-reveal-start-hook '(org-decrypt-entry)
org-modules '(org-bbdb org-bibtex org-crypt org-docview org-eww org-gnus
org-habit org-id
org-info org-inlinetask org-irc org-mhe org-mouse org-protocol
org-rmail
org-tempo org-w3m org-eshell)
org-blocker-hook '(org-edna-blocker-function)
org-super-agenda-mode t
org-mode-hook '(#[0 "\301\211.\207" [imenu-create-index-function
org-imenu-get-tree] 2]
org-tempo-setup
#[0
"\305.\306 >\203.\307\n\310\311#\210\307
\312\313#\210\307\314\315#\210\306
>\203,.\307\n\316\317#\210\307\n\320\321#\210\322 >\203>.\307
\323\324#\210\307\325\324#\210\326
>\203P.\307\n\327\317#\210\307\n\330\321#\210\331
>\203_.\332\311\f\333BC\334#\210\335 >\203k.\332\311\336\334#\210\337
>\203w.\332\311\340\334#\210\341\342\343\344\311$\210\345\342\311\"\210\342\207"
[org-mouse-context-menu-function
org-mouse-features
org-mouse-map
org-mode-map
org-outline-regexp
org-mouse-context-menu
context-menu
org-defkey
[mouse-3]
nil
[mouse-3]
org-mouse-show-context-menu
[down-mouse-1]
org-mouse-down-mouse
[C-drag-mouse-1]
org-mouse-move-tree
[C-down-mouse-1]
org-mouse-move-tree-start
yank-link
[S-mouse-2]
org-mouse-yank-link
[drag-mouse-3]
move-tree
[drag-mouse-3]
[down-mouse-3]
activate-stars
font-lock-add-keywords
(0
(\`
(face
org-link
mouse-face
highlight
keymap
(\, org-mouse-map)
)
)
(quote prepend)
)
t
activate-bullets
(("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +"
(1
(\`
(face
org-link
keymap
(\, org-mouse-map)
mouse-face highlight)
)
(quote prepend)
)
)
)
activate-checkboxes
(("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +\\(\\[[ X]\\]\\)"
(2
(\`
(face
bold
keymap
(\, org-mouse-map)
mouse-face highlight)
)
t)
)
)
ad-add-advice
org-open-at-point
(org-mouse-open-at-point
nil
t
(advice
lambda
nil
(let
((context
(org-context)
)
)
(cond
((assq :headline-stars context)
(org-cycle)
)
((assq :checkbox context)
(org-toggle-checkbox)
)
((assq :item-bullet context)
(let
((org-cycle-include-plain-lists t)
)
(org-cycle)
)
)
((org-footnote-at-reference-p)
nil)
(t ad-do-it)
)
)
)
)
around ad-activate]
5]
#[0 "\300\301\302\303\304$\207"
[add-hook before-save-hook org-encrypt-entries nil t] 5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-all append local]
5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-babel-show-result-all
append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes
org-ac/setup-current-buffer
(lambda nil (org-defkey org-mode-map ".[" (quote undefined))
(org-defkey org-mode-map ".]" (quote undefined))
(org-defkey org-mode-map ".;" (quote undefined))
(org-defkey org-mode-map ".." (quote undefined)))
)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-outline-path-complete-in-steps nil
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-agenda-finalize-hook '(org-agenda-property-add-properties)
org-journal-mode-hook '((lambda nil
(add-hook org-journal-encrypt-on
(quote org-journal-encryption-hook) nil t)
)
)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 "\n\n(fn
ENTRY)"]
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-crypt-key nil
org-export-with-planning t
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-agenda-timegrid-use-ampm t
org-export-backends '(texinfo org odt latex icalendar html ascii)
org-font-lock-hook '(org-inlinetask-fontify)
org-ascii-format-drawer-function #[771 ".\207" [] 4 "\n\n(fn NAME CONTENTS
WIDTH)"]
org-agenda-add-entry-text-maxlines 5
org-trigger-hook '(org-edna-trigger-function)
org-occur-hook '(org-first-headline-recenter)
org-agenda-mode-hook '(#[0
"\302.\303 \304\305#\210\303
\306\307#\210\303 \310\311#\210\303 \312\313#\210\303
\314\315#\207"
[org-mouse-context-menu-function
org-agenda-mode-map
org-mouse-agenda-context-menu
org-defkey
[mouse-3]
org-mouse-show-context-menu
[down-mouse-3]
org-mouse-move-tree-start
[C-mouse-4]
org-agenda-earlier
[C-mouse-5]
org-agenda-later
[drag-mouse-3]
#[257
"\300.!\301.\302\"\203.\303\304!\202.\301.\305\"\205.\306\304!\207"
[org-mouse-get-gesture eql :left
org-agenda-earlier 1 :right org-agenda-later]
5 "\n\n(fn EVENT)" "e"]
]
4]
)
outline-minor-mode-hook '((lambda nil (make-local-variable (quote
smart-outline-cut))
(setq smart-outline-cut nil))
)
org-lowest-priority 69
org-agenda-include-diary t
org-indirect-buffer-display 'current-window
org-cycle-hook '(org-inlinetask-hide-tasks org-cycle-hide-archived-subtrees
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO(t)" "TODAY(y)" "NEXT(n)" "PHONE(p!)"
"MEETING(m!)"
"|" "CANCELLED(c@/!)")
(sequence "WAITING(w@/!)" "HOLD(h@/!)" "SOMEDAY(s)" "|"
"DONE(d!)"))
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-capture-before-finalize-hook '(org-gcal--capture-post)
org-gcal-client-id
"71875757514-2u08m0f4jss87l89kbhc2rrt7l1k0kqb.apps.googleusercontent.com"
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-default-priority 69
org-return-follows-link t
org-metareturn-hook '(hsys-org-hbut-activate-p)
org-refile-allow-creating-parent-nodes 'confirm
org-refile-use-outline-path t
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-open-link :export
org-attach-export-link :complete
org-attach-complete-link)
("eshell" :follow org-eshell-open :store
org-eshell-store-link)
("w3m" :store org-w3m-store-link)
("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link)
("info" :follow org-info-open :export org-info-export
:store
org-info-store-link)
("gnus" :follow org-gnus-open :store org-gnus-store-link)
("eww" :follow eww :store org-eww-store-link)
("docview" :follow org-docview-open :export
org-docview-export
:store org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete
org-bbdb-complete-link :store org-bbdb-store-link)
("id" :follow org-id-open) ("file+sys") ("file+emacs")
("shell" :follow org-link--open-shell)
("news" :follow
#[257 "\301\300\302.Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"]
)
("mailto" :follow
#[257 "\301\300\302.Q!\207" ["mailto" browse-url ":"] 5
"\n\n(fn URL)"]
)
("https" :follow
#[257 "\301\300\302.Q!\207" ["https" browse-url ":"] 5
"\n\n(fn URL)"]
)
("http" :follow
#[257 "\301\300\302.Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"]
)
("ftp" :follow
#[257 "\301\300\302.Q!\207" ["ftp" browse-url ":"] 5
"\n\n(fn URL)"]
)
("help" :follow org-link--open-help)
("file" :complete org-link-complete-file)
("elisp" :follow org-link--open-elisp)
("doi" :follow org-link--open-doi))
org-agenda-skip-scheduled-if-done t
org-agenda-property-list '("DOCTOR")
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-link-elisp-confirm-function 'yes-or-no-p
org-texinfo-format-inlinetask-function
'org-texinfo-format-inlinetask-default-function
org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
("TODAY" :foreground "purple" :weight bold)
("NEXT" :foreground "skyblue" :weight bold)
("DONE" :foreground "green" :weight bold)
("WAITING" :foreground "orange" :weight bold)
("HOLD" :foreground "green" :weight bold)
("CANCELLED" :foreground "green" :weight bold)
("SOMEDAY" :foreground "orange" :weight bold)
("MEETING" :foreground "green" :weight bold)
("PHONE" :foreground "green" :weight bold))
org-export-with-properties '("DOCTOR")
org-texinfo-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
outline-mode-hook '((lambda nil (make-local-variable (quote smart-outline-cut))
(setq smart-outline-cut nil))
)
org-agenda-compact-blocks t
org-html-format-headline-function 'org-html-format-headline-default-function
org-edna-mode t
org-agenda-custom-commands '(("y" tags "+CONSIDER"
((org-agenda-sorting-strategy
(quote (category-up priority-down)))
(org-agenda-with-colors nil)
(org-agenda-remove-tags t))
("consider.txt"))
("z" "Super View"
((agenda "a"
((org-agenda-span (quote week))
(org-super-agenda-groups
(quote
((:name "" :time-grid t :order 1)
(:name "Trivial" :discard (:anything t)
:order 90))
)
)
)
)
(alltodo "b"
((org-agenda-overriding-header "\nGroupings")
(org-super-agenda-groups
(quote
((:name "Next to do" :todo "NEXT" :tag
"NEXT" :order 1)
(:name "Important" :tag "IMPORTANT"
:priority "A"
:order 5)
(:name "Due Today" :todo "TODAY"
:scheduled today
:deadline today :order 6)
(:name "Consider" :tag "CONSIDER" :order 7)
(:name "Overdue" :deadline past :order 8)
(:name "Due Soon" :deadline future :order
10)
(:name "Trivial" :discard (:anything t)
:order 90))
)
)
)
)
(alltodo "x"
((org-agenda-overriding-header "\nSpecial")
(org-super-agenda-groups
(quote
((:name "Phone" :todo "PHONE" :order 13)
(:name "Meetings" :todo "MEETING" :order
15)
(:name "Hold" :todo "HOLD" :order 17)
(:name "Waiting" :todo "WAITING" :order 20)
(:name "Trivial" :discard (:anything t)
:order 90))
)
)
)
)
(alltodo "c"
((org-agenda-overriding-header "\nCategories")
(org-super-agenda-groups
(quote ((:name "Others" :auto-category 1
:order 25))))
)
)
)
)
)
org-directory "~/DSM/MyOrg/"
org-link-from-user-regexp "\\<dsmasterson@penguin\\>\\|\\<dsmasterson\\>"
org-agenda-sorting-strategy '((agenda habit-down time-up priority-down
category-keep)
(todo priority-down deadline-up category-up)
(tags priority-down category-keep) (search
category-keep))
org-publish-project-alist '(("orgfiles" :base-directory "~/DSM/MyOrg/"
:base-extension
"org" :publishing-directory "~/Publish/html/"
:publishing-function org-html-publish-to-html
:headline-levels 6 :section-numbers t :makeindex t
:auto-sitemap t :exclude "init.org" :with-toc nil)
("beamers" :base-directory "~/DSM/MyOrg/"
:base-extension
"org" :exclude ".*" :include "TBD"
:publishing-directory
"~/Publish/pdfDrop" :publishing-function
org-beamer-export-to-pdf)
("orgDrop" :base-directory "~/DSM/MyOrg/"
:base-extension
"org" :htmlized-source t :exclude "init.org"
:publishing-directory "~/Publish/orgDrop/"
:publishing-function org-org-publish-to-org)
("pdfDrop" :base-directory "~/DSM/MyOrg/"
:base-extension
"org" :exclude "init.org" :publishing-directory
"~/Publish/pdfDrop/" :publishing-function
org-latex-publish-to-pdf)
("images" :base-directory "~/DSM/images/"
:base-extension
"jpg\\|gif\\|png" :publishing-directory
"~/Publish/images/"
:publishing-function org-publish-attachment)
("other" :base-directory "~/DSM/other/"
:base-extension
"css\\|el" :publishing-directory
"~/Publish/other/"
:publishing-function org-publish-attachment)
("website" :components
("orgfiles" "images" "orgDrop" "pdfDrop" "other"))
)
org-link-search-must-match-exact-headline nil
org-tags-exclude-from-inheritance '("RFL")
org-agenda-skip-deadline-if-done t
org-default-notes-file "~/DSM/MyOrg/notes.org"
)
--
David Masterson
- Bug: Multiple Links on same line causes parsing problems [9.3.8 (9.3.8-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.3.8/)],
David Masterson <=