sachac / .emacs.d Goto Github PK
View Code? Open in Web Editor NEWEmacs configuration
Emacs configuration
Trying to open your file in org-mode caused a super slow org-mode buffer for me. This was not the case when opening with emacs -q
Adding this line to your file fixed the lag issue, allowing me to brows your file without needing to open with emacs -q
:
#+STARTUP: showeverything
Any ideas for a better solution? I don't use org-bullets, the disabling of which was suggested as a solution here: https://stackoverflow.com/questions/40793325/emacs-diagnosis-org-mode-unbearably-slow-and-often-stalls
Removing (setq org-hide-leading-stars t)
from my config also had no impact. I do use org-pomodoro
Here is the org related section of my init.el:
(use-package org
:load-path "~/.emacs.d/packages/org-mode/lisp"
:config
(setq org-hide-leading-stars t)
(setq org-default-notes-file "/Users/andrew/org/notes.org")
(setq org-capture-templates
'(
("t" "TODO" entry (file+headline "/Users/andrew/org/gtd.org" "Tasks")
"* TODO %? \n%U\n" :empty-lines 1)
("j" "Journal" entry (file+datetree "/Users/andrew/org/journal.org")
"* %?\nEntered on %U\n")
("n" "Note" entry (file+headline "/Users/andrew/org/notes.org" "Notes")
"* %i\n")))
(setq org-refile-targets '((nil :maxlevel . 3)
(org-agenda-files :maxlevel . 3)))
(setq org-outline-path-complete-in-steps nil)
(setq org-refile-allow-creating-parent-nodes 'confirm)
(setq org-src-fontify-natively t)
(setq org-agenda-files '("/Users/andrew/org/gtd.org"))
(setq org-agenda-custom-commands
'(("w" "work" tags-todo "TODO=\"TODO\"+category=\"pmi\"")))
Just a reminder that sic transit gloria webstuff, so when you link to something from your .org
(like your link to this at line#=121 of Sacha.org), you should
robots.txt
on the site to archive.Hi Sacha,
Your css style sheet looks really good and I want to set it as default for exported html. But I have a problem with src R
block, it will shows nothing, it takes me a while to figure out that src r
works fine.
I am not sure how the css works or how much effort to change from r to R in your style sheet, but shall we stick to the official language identifier?
Yi
This is a somewhat unusual issue, since I'm not yet an actual user. But it seems like a legitimate concern (YMMV), and I don't know of a better channel to raise it (feel free to point me elsewhere), so here goes: 3 questions about upgrading Org from your Emacs configuration.
I'm looking to adopt a new Emacs configuration (for complicated reasons that I'm still writing out) and yours is one I'm considering. I like the idea of using Org to literate-program Emacs-config files (et lots cetera), as you do. Accordingly another public Emacs configuration at which I'm looking is Eric Schulte's Emacs Starter Kit, which also keeps its config in .org
files. Given his reliance on Org, I noticed this open issue on ESK.
The problem appears to be (as described in more detail in this link from the above issue), one can't update Org when it's in use ... which is obviously problematic if one's Emacs config, and therefore Emacs session, depends fundamentally on Org. So my questions are
Is this an obsolete problem? The ESK issue is almost a year old now (Nov 2015), and the article to which it points is almost 2 years old. So perhaps this problem has just gone away? If not, ...
Is this not a problem for your config? I notice ESK has a normal elisp init.el
stub which uses org-babel-load-file
to load the rest of his configuration, so an ESK-configured Emacs session is always running Org. By contrast, you are using Org offline to write your config to a Sacha.el
, which is the target for the symlink that is your init.el
.
That being said, (a) I'm guessing that this problem has not gone away, and (b) I notice that you start running Org fairly soon (relatively speaking--you have one seriously BFIS**[1]** :-) If so, I'd like to know,
org-mode
rs keep some alternate configuration or emacs -q
one-liner available for this purpose, but since I'm not yet assimilated into the Org I really don't know.[1]: big f@#$%^&
init script
How do you call/execute a code block with the function to compare shopping with Emacs? Also, this link doesn't work:
https://github.com/sachac/.emacs.d/blob/gh-pages/home/sacha/recordings/2022-12-26_11-26-35.png
Thanks
Sorry, I messed up. @robertsgareth, @xashes, @peterpolidoro, @hobbes38111, @jonathan-willis, @keremvatandas, @KrokodileGlue, and @mik-d, could you please rebase or delete your forks? =|
Thank you for your shared configuration.
Excuse me, do you have any configuration of emacs based on spacemacs mainly used for python development?
Thanks~
I'm looking to adopt a new Emacs configuration (for complicated reasons that I'm still writing out) and yours is one I'm considering. Basically I'm looking at various public .emacs.d
to see how they're assembled, what functionality they bring in "for free" (to adopters), how active they are, etc. I kinda like yours, but was getting frustrated browsing Sacha.org because
Eventually I noticed I was in branch=gh-pages
, dopeslapped myself, and found my way to http://pages.sachachua.com/.emacs.d/Sacha.html . But perhaps you could make a readme.org
for your project, and add text pointing to that page? That should prevent slow folks like me from wasting time, and even slower folks (or at least, folks with less GH experience) from just giving up.
Thanks for your beautifully written configuration! I wonder if there is a typo in the second line from the bottom of this excerpt (see following). Is the letter 't' not supposed to be outside of the parentheses? Thank you!
(setq org-agenda-files
(delq nil
(mapcar (lambda (x) (and (file-exists-p x) x))
'("~/personal/organizer.org"
"~/personal/sewing.org"
"~/personal/people.org"
"~/Dropbox/wsmef/trip.txt"
"~/personal/business.org"
"~/personal/calendar.org"
"~/Dropbox/wsmef/puppy.txt"
"~/Dropbox/tasker/summary.txt"
"~/Dropbox/public/sharing/index.org"
"~/dropbox/public/sharing/learning.org"
"~/code/emacs-notes/tasks.org"
"~/sachac.github.io/evil-plans/index.org"
"~/personal/cooking.org"
"~/personal/routines.org"))))t
(add-to-list 'auto-mode-alist '("\\.txt$" . org-mode))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.