Download and use the latest org version

The org version on my current v29 build of Emacs seems to be broken,
so I'm now downloading the latest org version.
This commit is contained in:
Howard Abrams 2023-05-25 10:26:34 -07:00
parent b853cc5d13
commit 134dbcbb08
3 changed files with 15 additions and 6 deletions

View file

@ -48,7 +48,8 @@ Oh, and as I indent lists, they should change the /bulleting/ in a particular se
The =org-indent-indentation-per-level=, which defaults to =2= doesnt really work well with variable-width fonts, so lets make the spaces at the beginning of the line fixed: The =org-indent-indentation-per-level=, which defaults to =2= doesnt really work well with variable-width fonts, so lets make the spaces at the beginning of the line fixed:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org (use-package org
:straight (:type built-in) ;; TODO: Using the latest org-mode
;; :straight (:type built-in)
:custom-face (org-indent ((t (:inherit fixed-pitch))))) :custom-face (org-indent ((t (:inherit fixed-pitch)))))
#+end_src #+end_src
** Typographic Quotes ** Typographic Quotes
@ -268,7 +269,8 @@ And decrease the prominence of the property drawers:
This process allows us to use =variable-pitch= mode for all org documents. This process allows us to use =variable-pitch= mode for all org documents.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org (use-package org
:straight (:type built-in) ;; TODO: Using the latest org-mode
;; :straight (:type built-in)
:hook (org-mode . variable-pitch-mode)) :hook (org-mode . variable-pitch-mode))
#+end_src #+end_src
* Org Modern * Org Modern

View file

@ -28,7 +28,8 @@ A literate programming file for configuring org-mode and those files.
Org is a /large/ complex beast with a gazillion settings, so I discuss these later in this document. Org is a /large/ complex beast with a gazillion settings, so I discuss these later in this document.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org (use-package org
:straight (:type built-in) ;; TODO: Using the latest org-mode
;; :straight (:type built-in)
:mode ("\\.org" . org-mode) ; Addresses an odd warning :mode ("\\.org" . org-mode) ; Addresses an odd warning
:init :init
<<variables>> <<variables>>

View file

@ -6,12 +6,14 @@
HAMACS_DIR=$(cd "$(dirname "$0")"; pwd) HAMACS_DIR=$(cd "$(dirname "$0")"; pwd)
HAMACS_DEST=$HOME/.emacs.d HAMACS_DEST=$HOME/.emacs.d
cd $HAMACS_DIR
mkdir -p $HAMACS_DEST mkdir -p $HAMACS_DEST
for LINK in snippets templates elisp for LINK in snippets templates elisp
do do
echo Symlinking $HAMACS_DEST/$LINK to $HAMACS_DIR/$LINK ...
rm -rf $HAMACS_DEST/$LINK rm -rf $HAMACS_DEST/$LINK
ln -s --force $HAMACS_DIR/$LINK $HAMACS_DEST ln -s $HAMACS_DIR/$LINK $HAMACS_DEST
done done
cat > $HAMACS_DEST/early-init.el <<EOF cat > $HAMACS_DEST/early-init.el <<EOF
@ -94,9 +96,13 @@ cat > $HAMACS_DEST/init.el <<EOF
;; See the details in https://dev.to/jkreeftmeijer/emacs-package-management-with-straight-el-and-use-package-3oc8 ;; See the details in https://dev.to/jkreeftmeijer/emacs-package-management-with-straight-el-and-use-package-3oc8
;; Bug fixes for ORG (there always seems to be something):
(defvar native-comp-deferred-compilation-deny-list nil)
;; Download and use the latest version of org: (use-package org
;; (use-package org) ; We'll configure this in ernest later. ;; TODO: Using the latest org-mode
;; :straight (:type built-in)
)
;; Let's rock: ;; Let's rock:
(org-babel-load-file "$HAMACS_DIR/bootstrap.org") (org-babel-load-file "$HAMACS_DIR/bootstrap.org")