emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Mauger <michael.mauger@protonmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: 31.0.50; Org Persist file formatting
Date: Thu, 25 Jul 2024 03:28:28 +0000	[thread overview]
Message-ID: <hQTJV2qJNUt3Xy52r2Utjx_gvN1ekQaLstntyEWm9brZ5jNFtOLIFIcpJcQ0GUA6ZhbfiPZ2dm4SOQaeoh-qT5swVtegLdvfx_Nqf-FCr6g=@protonmail.com> (raw)
In-Reply-To: <87bk37zsrg.fsf@localhost>

Sorry for not getting back to you sooner. This change has seemed to work, but I haven't been playing with my Org Babel config much lately. I'll let you know if I see it again.

Thanks for your help.

--
MICHAEL@MAUGER.COM // FSF and SFConservancy member // GNU Emacs sql.el maintainer


On Monday, July 8th, 2024 at 1:39 PM, Ihor Radchenko <yantar92@posteo.net> wrote:

> Michael Mauger michael.mauger@protonmail.com writes:
> 
> > > > (Note: the "..." in the last entry; sometimes it showed up as "\...".)
> > > 
> > > This is curious. May it be that you have non-default value of
> > > `pp-default-function'?
> > 
> > I don't touch `pp-default-function' and I've confirmed that it is set to` pp-fill' in my instance.
> 
> 
> Then, what if you re-define `org-persist-write:index' to
> 
> (defun org-persist-write:index (container _)
> "Write index CONTAINER."
> (org-persist--get-collection container)
> (unless (file-exists-p org-persist-directory)
> (condition-case nil
> (make-directory org-persist-directory 'parent)
> (t
> (warn "Failed to create org-persist storage in %s."
> org-persist-directory)
> (org-persist--check-write-access org-persist-directory))))
> (when (file-exists-p org-persist-directory)
> (let ((index-file
> (org-file-name-concat org-persist-directory org-persist-index-file)))
> (org-persist--merge-index-with-disk)
> ;; CHANGED: disable pretty-printing
> (org-persist--write-elisp-file index-file org-persist--index t nil)
> (setq org-persist--index-age
> (file-attribute-modification-time (file-attributes index-file)))
> index-file)))
> 
> --
> 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


  reply	other threads:[~2024-07-25  3:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01  1:18 31.0.50; Org Persist file formatting Michael Mauger
2024-07-08 15:46 ` Ihor Radchenko
2024-07-08 17:29   ` Michael Mauger
2024-07-08 17:40     ` Ihor Radchenko
2024-07-25  3:28       ` Michael Mauger [this message]
2024-08-25  7:32         ` Ihor Radchenko
2024-08-30  3:08           ` Michael Mauger
2024-08-31 14:44             ` Ihor Radchenko
2024-08-31 14:58               ` Michael Mauger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hQTJV2qJNUt3Xy52r2Utjx_gvN1ekQaLstntyEWm9brZ5jNFtOLIFIcpJcQ0GUA6ZhbfiPZ2dm4SOQaeoh-qT5swVtegLdvfx_Nqf-FCr6g=@protonmail.com' \
    --to=michael.mauger@protonmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).