* [BUG] org-refile doesn't work when target is immediately above
@ 2023-10-01 21:32 Jingcheng Xu
2023-10-02 13:02 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Jingcheng Xu @ 2023-10-01 21:32 UTC (permalink / raw)
To: emacs-orgmode
with emacs -Q, and the following org file
================
* heading
* TODO task
================
When the point is at the second *, running org-refile to "heading"
doesn't do anything. If the point is at other places, e.g. end of the
line, the third line, then org-refile works.
In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.17.8)
System Description: Arch Linux
Configured using:
'configure --with-pgtk --with-native-compilation=aot --sysconfdir=/etc
--prefix=/usr --libexecdir=/usr/lib --with-tree-sitter
--localstatedir=/var --with-cairo --disable-build-details
--with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=x86-64
-mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2
-Wformat -Werror=format-security -fstack-clash-protection
-fcf-protection -g
-ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'
'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g
-ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB
Important settings:
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Org
Minor modes in effect:
server-mode: t
pdf-occur-global-minor-mode: t
shell-dirtrack-mode: t
dired-async-mode: t
save-place-mode: t
recentf-mode: t
global-corfu-mode: t
corfu-mode: t
marginalia-mode: t
vertico-mode: t
savehist-mode: t
repeat-mode: t
override-global-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
line-number-mode: t
auto-fill-function: org-auto-fill-function
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
/usr/local/share/emacs/site-lisp/mu4e/mu4e-actions hides /usr/share/emacs/site-lisp/mu4e/mu4e-actions
/usr/local/share/emacs/site-lisp/mu4e/mu4e-contrib hides /usr/share/emacs/site-lisp/mu4e/mu4e-contrib
/usr/local/share/emacs/site-lisp/mu4e/mu4e-mark hides /usr/share/emacs/site-lisp/mu4e/mu4e-mark
/usr/local/share/emacs/site-lisp/mu4e/mu4e-server hides /usr/share/emacs/site-lisp/mu4e/mu4e-server
/usr/local/share/emacs/site-lisp/mu4e/mu4e-icalendar hides /usr/share/emacs/site-lisp/mu4e/mu4e-icalendar
/usr/local/share/emacs/site-lisp/mu4e/mu4e-headers hides /usr/share/emacs/site-lisp/mu4e/mu4e-headers
/usr/local/share/emacs/site-lisp/mu4e/mu4e-helpers hides /usr/share/emacs/site-lisp/mu4e/mu4e-helpers
/usr/local/share/emacs/site-lisp/mu4e/mu4e-view hides /usr/share/emacs/site-lisp/mu4e/mu4e-view
/usr/local/share/emacs/site-lisp/mu4e/mu4e-context hides /usr/share/emacs/site-lisp/mu4e/mu4e-context
/usr/local/share/emacs/site-lisp/mu4e/mu4e-vars hides /usr/share/emacs/site-lisp/mu4e/mu4e-vars
/usr/local/share/emacs/site-lisp/mu4e/mu4e-main hides /usr/share/emacs/site-lisp/mu4e/mu4e-main
/usr/local/share/emacs/site-lisp/mu4e/mu4e-config hides /usr/share/emacs/site-lisp/mu4e/mu4e-config
/usr/local/share/emacs/site-lisp/mu4e/mu4e-speedbar hides /usr/share/emacs/site-lisp/mu4e/mu4e-speedbar
/usr/local/share/emacs/site-lisp/mu4e/mu4e-contacts hides /usr/share/emacs/site-lisp/mu4e/mu4e-contacts
/usr/local/share/emacs/site-lisp/mu4e/mu4e hides /usr/share/emacs/site-lisp/mu4e/mu4e
/usr/local/share/emacs/site-lisp/mu4e/mu4e-update hides /usr/share/emacs/site-lisp/mu4e/mu4e-update
/usr/local/share/emacs/site-lisp/mu4e/mu4e-draft hides /usr/share/emacs/site-lisp/mu4e/mu4e-draft
/usr/local/share/emacs/site-lisp/mu4e/mu4e-bookmarks hides /usr/share/emacs/site-lisp/mu4e/mu4e-bookmarks
/usr/local/share/emacs/site-lisp/mu4e/mu4e-compose hides /usr/share/emacs/site-lisp/mu4e/mu4e-compose
/usr/local/share/emacs/site-lisp/mu4e/mu4e-message hides /usr/share/emacs/site-lisp/mu4e/mu4e-message
/usr/local/share/emacs/site-lisp/mu4e/mu4e-folders hides /usr/share/emacs/site-lisp/mu4e/mu4e-folders
/usr/local/share/emacs/site-lisp/mu4e/mu4e-search hides /usr/share/emacs/site-lisp/mu4e/mu4e-search
/usr/local/share/emacs/site-lisp/mu4e/mu4e-lists hides /usr/share/emacs/site-lisp/mu4e/mu4e-lists
/usr/local/share/emacs/site-lisp/mu4e/mu4e-org hides /usr/share/emacs/site-lisp/mu4e/mu4e-org
/home/xjc/.emacs.d/elpa/transient-20230919.2146/transient hides /usr/share/emacs/29.1/lisp/transient
/home/xjc/.emacs.d/elpa/seq-2.24/seq hides /usr/share/emacs/29.1/lisp/emacs-lisp/seq
Features:
(shadow emacsbug cl-print debug backtrace ob-ditaa ob-plantuml
org-colview org-crypt org-ctags org-mouse org-plot org-protocol
org-ref-natbib-bbl-citeproc org-duration org-clock shr-color qp flyspell
sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check emojify apropos tar-mode arc-mode
archive-mode mm-archive network-stream url-cache display-line-numbers
tabify misearch multi-isearch shortdoc help-fns radix-tree vc-git
vc-dispatcher consult diary-lib diary-loaddefs cal-iso server oc-basic
ol-eww eww mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
ol-docview doc-view ol-bbdb ol-w3m ol-doi org-link-doi pdfgrep pdf-occur
ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent pdf-isearch
pdf-misc pdf-tools cus-edit cus-load pdf-view jka-compr pdf-cache
pdf-info pdf-util pdf-macs image-mode exif mu4e mu4e-org mu4e-main
mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig
gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap
nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range mu4e-headers mule-util org-mu4e mu4e-compose mu4e-draft
mu4e-actions mu4e-search mu4e-mark mu4e-folders mu4e-context mu4e-lists
mu4e-bookmarks mu4e-message flow-fill mu4e-contacts mu4e-update
mu4e-vars mu4e-server mu4e-helpers mu4e-config smtpmail poly-R
poly-markdown markdown-mode poly-noweb ess-r-mode ess-r-flymake
flymake-proc flymake ess-r-xref ess-trns ess-r-package ess-r-completion
ess-roxy ess-r-syntax ess-rd ess-s-lang ess-help ess-mode ess-inf
ess-tracebug comp comp-cstr warnings polymode poly-lock polymode-base
polymode-weave polymode-export polymode-compat polymode-methods
polymode-core polymode-classes eieio-custom eieio-base org-ref
org-ref-core org-ref-glossary org-ref-bibtex doi-utils url-http url-auth
url-gw nsm message sendmail yank-media rfc822 mml mml-sec epa derived
epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr
mailabbrev mail-utils gmm-utils mailheader org-ref-utils org-ref-export
citeproc citeproc-itemgetters citeproc-biblatex citeproc-bibtex
ol-bibtex citeproc-cite citeproc-subbibs citeproc-sort citeproc-name
citeproc-formatters citeproc-number rst citeproc-proc citeproc-disamb
citeproc-itemdata citeproc-generic-elements citeproc-macro
citeproc-choose citeproc-date citeproc-context citeproc-prange
citeproc-style citeproc-locale citeproc-term citeproc-rt citeproc-lib
citeproc-s ox-pandoc ht ox-org ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox
org-ref-misc-links org-ref-label-link org-ref-ref-links
org-ref-citation-links org-ref-bibliography-links hydra lv
bibtex-completion org-capture biblio biblio-download biblio-dissemin
biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone
biblio-doi biblio-core let-alist url-queue ido hl-line parsebib bibtex f
f-shortdoc nov bookmark esxml-query re-builder racket-mode
racket-bug-report racket-collection tq racket-repl-buffer-name
racket-stepper racket-shell term disp-table ehelp racket-logger
racket-profile racket-smart-open racket-xp racket-xp-complete
racket-imenu imenu racket-edit hideshow racket-repl semantic/symref/grep
grep semantic/symref semantic/util-modes semantic/util semantic pp
semantic/tag semantic/lex semantic/fw mode-local cedet compile
racket-show face-remap racket-eldoc racket-company-doc racket-describe
racket-scribble racket-visit shr text-property-search pixel-fill kinsoku
url-file puny svg dom racket-complete racket-common racket-parens
racket-indent racket-font-lock racket-ppss color
racket-keywords-and-builtins thingatpt racket-doc racket-browse-url
racket-cmd racket-back-end tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell parse-time iso8601
racket-util filenotify racket-custom sh-script smie treesit executable
ess lisp-mnt ess-utils ess-custom dumb-jump popup dash s xref project
whitespace-cleanup-mode advice whitespace org-habit org-agenda
org-element org-persist xdg org-id avl-tree generator org-refile org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint
org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote
org-faces org-entities time-date noutline outline icons ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys
oc org-loaddefs find-func org-version org-compat org-macs format-spec
modus-operandi-theme cal-julian circadian solar cal-dst cal-menu
calendar cal-loaddefs zenburn-theme modus-themes dired-du find-dired
dired-async dired-aux dired dired-loaddefs async alert log4e rx
notifications dbus xml gntp undo-tree queue ace-window smerge-mode
diff-mode diff ace-link avy ring diminish saveplace recentf tree-widget
wid-edit rainbow-delimiters corfu orderless marginalia vertico compat
savehist edmacro kmacro ispell cl-extra help-mode repeat use-package
use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core finder-inf
ace-link-autoloads ace-window-autoloads alert-autoloads
anaconda-mode-autoloads async-autoloads auctex-autoloads tex-site
circadian-autoloads consult-org-roam-autoloads corfu-autoloads
csv-mode-autoloads diminish-autoloads dired-du-autoloads
dired-narrow-autoloads dired-open-autoloads dired-hacks-utils-autoloads
dumb-jump-autoloads embark-consult-autoloads consult-autoloads
embark-autoloads emojify-autoloads ess-autoloads gntp-autoloads
hl-todo-autoloads ivy-bibtex-autoloads ivy-autoloads
julia-mode-autoloads julia-repl-autoloads log4e-autoloads
lsp-ui-autoloads lsp-mode-autoloads magit-autoloads pcase
git-commit-autoloads marginalia-autoloads modus-themes-autoloads
nov-autoloads esxml-autoloads kv-autoloads orderless-autoloads
org-ref-autoloads citeproc-autoloads bibtex-completion-autoloads
biblio-autoloads biblio-core-autoloads avy-autoloads hydra-autoloads
lv-autoloads htmlize-autoloads org-roam-autoloads
magit-section-autoloads emacsql-autoloads ox-pandoc-autoloads
ht-autoloads parsebib-autoloads pdf-tools-autoloads pdfgrep-autoloads
poly-R-autoloads poly-markdown-autoloads markdown-mode-autoloads
poly-noweb-autoloads polymode-autoloads popup-autoloads
python-x-autoloads folding-autoloads pythonic-autoloads f-autoloads
dash-autoloads quelpa-use-package-autoloads quelpa-autoloads
racket-mode-autoloads rainbow-delimiters-autoloads s-autoloads
spinner-autoloads string-inflection-autoloads tablist-autoloads
transient-autoloads undo-tree-autoloads queue-autoloads
vertico-autoloads whitespace-cleanup-mode-autoloads
with-editor-autoloads info compat-autoloads seq-autoloads
yaml-mode-autoloads zenburn-theme-autoloads package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 2583939 199607)
(symbols 48 57896 61)
(strings 32 486006 15977)
(string-bytes 1 16079296)
(vectors 16 175733)
(vector-slots 8 4762918 273155)
(floats 8 1172 626)
(intervals 56 191506 2454)
(buffers 984 46))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] org-refile doesn't work when target is immediately above
2023-10-01 21:32 [BUG] org-refile doesn't work when target is immediately above Jingcheng Xu
@ 2023-10-02 13:02 ` Ihor Radchenko
2023-10-02 13:48 ` Rens Oliemans
0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-10-02 13:02 UTC (permalink / raw)
To: Jingcheng Xu; +Cc: emacs-orgmode
Jingcheng Xu <jingchengxu@outlook.com> writes:
> with emacs -Q, and the following org file
>
> ================
> * heading
> * TODO task
>
> ================
>
> When the point is at the second *, running org-refile to "heading"
> doesn't do anything. If the point is at other places, e.g. end of the
> line, the third line, then org-refile works.
I cannot reproduce on the latest main.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] org-refile doesn't work when target is immediately above
2023-10-02 13:02 ` Ihor Radchenko
@ 2023-10-02 13:48 ` Rens Oliemans
2023-10-02 13:52 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Rens Oliemans @ 2023-10-02 13:48 UTC (permalink / raw)
To: Ihor Radchenko, Jingcheng Xu; +Cc: emacs-orgmode
Ihor Radchenko <yantar92@posteo.net> writes:
> I cannot reproduce on the latest main.
Me neither, it seems that commit 0d5951a9b02d9ce71af154612d0fa3a3381856ec fixed the issue.
--
Rens
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] org-refile doesn't work when target is immediately above
2023-10-02 13:48 ` Rens Oliemans
@ 2023-10-02 13:52 ` Ihor Radchenko
0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2023-10-02 13:52 UTC (permalink / raw)
To: Rens Oliemans; +Cc: Jingcheng Xu, emacs-orgmode
Rens Oliemans <hallo@rensoliemans.nl> writes:
> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> I cannot reproduce on the latest main.
>
> Me neither, it seems that commit 0d5951a9b02d9ce71af154612d0fa3a3381856ec fixed the issue.
Thanks for confirming!
Canceled.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-02 13:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01 21:32 [BUG] org-refile doesn't work when target is immediately above Jingcheng Xu
2023-10-02 13:02 ` Ihor Radchenko
2023-10-02 13:48 ` Rens Oliemans
2023-10-02 13:52 ` Ihor Radchenko
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).