emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] parsing bug on org (accented characters not displayed) [9.7-pre (release_9.6.10-835-gf3de4c @ /home/juliend/.config/emacs/straight/build/org/)]
@ 2023-10-18 10:02 Julien
  2023-10-20 10:35 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Julien @ 2023-10-18 10:02 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

In some files, accented characters are not displayed correctly (encoding
with utf-8 is not enabled by default, I must specify it manually each time)

Strangely enough, this bug seems to be NOT RELATED with my personal
emacs settings.
Looking for the origin of the bug, I deleted my init.el file and
reinstalled emacs: the problem still occurs on vanilla emacs.

Hence, I guess it really is an internal bug, could not find anyone else
who add the same though ...

Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)
Package: Org mode version 9.7-pre (release_9.6.10-835-gf3de4c @ /home/juliend/.config/emacs/straight/build/org/)

current state:
==============
(setq
org-noter--doc-goto-location-hook '(org-noter-djvu--goto-location org-noter-nov--goto-location org-noter-pdf--goto-location)
org-link-elisp-confirm-function 'yes-or-no-p
org-hide-emphasis-markers t
org-bibtex-headline-format-function 'org-bibtex-headline-format-default
org-pdftools-get-desc-function 'org-pdftools-get-desc-default
org-startup-folded "overview"
org-agenda-files '("~/Dropbox/org-roam")
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-export-before-parsing-hook '(org-attach-expand-links)
org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h org-roam--register-completion-functions-h org-roam--replace-roam-links-on-save-h
org-roam-db-autosync--setup-update-on-save-h)
org-archive-hook '(org-attach-archive-delete-maybe)
org-noter--pretty-print-location-for-title-hook '(org-noter-djvu--pretty-print-location org-noter-nov--pretty-print-location
org-noter-pdf--pretty-print-location-for-title)
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images)
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-font-lock-set-keywords-hook '(org-drill-add-cloze-fontification)
org-noter--pretty-print-highlight-location-hook '(org-noter-pdf--pretty-print-highlight)
org-mode-hook '(dw/org-mode-visual-fill (lambda nil (display-line-numbers-mode -1)) org-pdftools-setup-link
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] (lambda nil (org-indent-mode 1)) (lambda nil (org-bullets-mode 1))
org-auto-tangle-mode (lambda nil evil-org-mode) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-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-babel-load-languages '((emacs-lisp . t) (latex . t) (shell . t) (python . t) (julia . t) (C . t) (haskell . t))
org-fc-index-function 'org-fc-awk-index
org-src-window-setup 'other-frame
org-roam-ref-annotation-function 'org-roam-ref-read--annotation
org-roam-directory "/home/juliend/Dropbox/org-roam"
org-noter--pretty-print-location-hook '(org-noter-djvu--pretty-print-location org-noter-nov--pretty-print-location org-noter-pdf--pretty-print-location)
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-roam-db-node-include-function #[0 "\300\207" [t] 1]
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-roam-capture-preface-hook '(org-roam-capture--try-capture-to-ref-h)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-capture-prepare-finalize-hook '(org-roam-capture--install-finalize-h)
org-roam-preview-function 'org-roam-preview-default-function
org-babel-tangle-lang-exts '(("haskell" . "hs") ("D" . "d") ("C++" . "cpp") ("julia" . "jl") ("python" . "py") ("latex" . "tex") ("emacs-lisp" . "el")
("elisp" . "el"))
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-roam-db-autosync-mode t
org-confirm-elisp-link-function 'yes-or-no-p
org-log-buffer-setup-hook '(org-roam-log--setup)
org-roam-capture-new-node-hook '(org-roam-capture--insert-captured-ref-h)
org-noter--show-arrow-hook '(org-noter-pdf--show-arrow)
org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-noter--add-highlight-hook '(org-noter-pdf--highlight-location)
org-noter--get-current-view-hook '(org-noter-djvu--get-current-view org-noter-nov--get-current-view org-noter-pdf--get-current-view)
org-noter-set-up-document-hook '(org-noter-djvu--setup-handler org-noter-nov--setup-handler org-noter-pdf--doc-view-setup-handler
org-noter-pdf--pdf-view-setup-handler)
org-confirm-babel-evaluate nil
org-noter--get-containing-element-hook '(org-noter--get-containing-heading org-noter--get-containing-property-drawer)
org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
org-pdftools-markup-pointer-function 'pdf-annot-add-underline-markup-annotation
org-noter--convert-to-location-cons-hook '(org-noter-pdf--convert-to-location-cons)
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-fc-directories '("~/Dropbox/org-roam/")
org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-link-shell-confirm-function 'yes-or-no-p
org-babel-pre-tangle-hook '(save-buffer)
org-agenda-loop-over-headlines-in-active-region nil
org-noter--get-precise-info-hook '(org-noter-djvu--get-precise-info org-noter-nov--get-precise-info org-noter-pdf--doc-view-get-precise-info
org-noter-pdf--pdf-view-get-precise-info)
org-noter--get-highlight-location-hook '(org-noter-pdf--get-highlight)
org-occur-hook '(org-first-headline-recenter)
org-roam-log-setup-hook '(org-roam--register-completion-functions-h)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-noter--doc-approx-location-hook '(org-noter-djvu--approx-location-cons org-noter-nov--approx-location-cons org-noter-pdf--approx-location-cons)
org-roam-node-annotation-function 'org-roam-node-read--annotation
org-link-parameters '(("pdf" :follow org-pdftools-open :complete org-pdftools-complete-link :store org-pdftools-store-link :export org-pdftools-export)
("mu4e" :follow mu4e-org-open :store mu4e-org-store-link) ("eww" :follow org-eww-open :store org-eww-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 :export org-irc-export)
("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command)
("gnus" :follow org-gnus-open :store org-gnus-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)
("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("roam" :follow org-roam-link-follow-link)
("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-roam-id-open) ("file+sys") ("file+emacs")
("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file)
("elisp" :follow org-link--open-elisp))
org-noter-get-buffer-file-name-hook '(org-noter-nov--get-buffer-file-name org-noter-pdf--get-buffer-file-name)
org-html-format-headline-function 'org-html-format-headline-default-function
org-roam-capture-templates '(("d" "default" plain "%?" :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+startup: overview\n") :unnarrowed t))
org-metaup-hook '(org-babel-load-in-session-maybe)
org-noter-get-selected-text-hook '(org-noter-djvu--get-selected-text org-noter-nov--get-selected-text org-noter-pdf--get-selected-text)
org-noter-create-session-from-document-hook '(org-noter--create-session-from-document-file-default)
org-fold-core-style 'overlays
org-link-frame-setup '((vm . vm-visit-folder-other-frame) (vm-imap . vm-visit-imap-folder-other-frame) (gnus . org-gnus-no-new-news) (file . find-file-other-frame)
(wl . wl-other-frame))
org-return-follows-link t
org-roam-indirect-buffer-hook '(org-roam--register-completion-functions-h)
org-noter-create-skeleton-functions '(org-noter-djvu--create-skeleton org-noter-nov--create-skeleton-epub org-noter-pdf--create-skeleton)
)

Envoyé avec la messagerie sécurisée [Proton Mail.](https://proton.me/)

[-- Attachment #2: Type: text/html, Size: 14168 bytes --]

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

* Re: [BUG] parsing bug on org (accented characters not displayed) [9.7-pre (release_9.6.10-835-gf3de4c @ /home/juliend/.config/emacs/straight/build/org/)]
  2023-10-18 10:02 [BUG] parsing bug on org (accented characters not displayed) [9.7-pre (release_9.6.10-835-gf3de4c @ /home/juliend/.config/emacs/straight/build/org/)] Julien
@ 2023-10-20 10:35 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-10-20 10:35 UTC (permalink / raw)
  To: Julien; +Cc: emacs-orgmode@gnu.org

Julien <judafa@protonmail.com> writes:

> In some files, accented characters are not displayed correctly (encoding
> with utf-8 is not enabled by default, I must specify it manually each time)
>
> Strangely enough, this bug seems to be NOT RELATED with my personal
> emacs settings.
> Looking for the origin of the bug, I deleted my init.el file and
> reinstalled emacs: the problem still occurs on vanilla emacs.
>
> Hence, I guess it really is an internal bug, could not find anyone else
> who add the same though ...

May you please describe how to reproduce the bug starting from emacs -Q?
See https://orgmode.org/manual/Feedback.html#Feedback

-- 
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] 2+ messages in thread

end of thread, other threads:[~2023-10-20 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 10:02 [BUG] parsing bug on org (accented characters not displayed) [9.7-pre (release_9.6.10-835-gf3de4c @ /home/juliend/.config/emacs/straight/build/org/)] Julien
2023-10-20 10:35 ` 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).