Emacs
-
hexl-note.el: Annotate hexl-mode buffers
github.com GitHub - nick4f42/hexl-note: Emacs library for annotations in hexl-mode.Emacs library for annotations in hexl-mode. Contribute to nick4f42/hexl-note development by creating an account on GitHub.
I was surprised to not find any packages for displaying the equivalent integer or float of a sequence of bytes in a
hexl-mode
buffer, so I coded it as my first elisp package. -
Is there a file extension (and major mode) for monospaced unicode "art" ?
I derive a lot of benefit from mind-mapping in the style shown below. I usually do this in .txt files. But is there some generally accepted text file extension specifically for monospace art?
``` ┌──────────────────┐ ┌┤ Current Projects ├─────────┐ ┌─────────────────────────────────────────────────────────────────────┐ │└──────────────────┘ ├─┘ ┌──────────────────┐ │ │ │ │ Possessions List │────────────┐ │ │ □ Forever Park │ └──────────────────┘ │ ┌──────────────┐ │ │ └────────────── │ │ │ ┌┤ Forever Park ├────────────┐ │ │ │ │ ░ Some reboxing would be │ │└──────────────┘ │ │ │ □ Possessions List │ │ ░ nice │ │ │ │ │ └─────────────────── │ │ │ │ ░ Not much. Just keep │ │ │ │ └──────────────────────────────┘ │ ░ plugging away at that │ │ │ □ Healthcare Application │ ┌────────────────────────┐ │ ░ outline. │ │ │ └───────────────────────── │ │ Healthcare Application │───────┐ │ │ │ │ │ └────────────────────────┘ │ └────────────────────────────┘ │ │ □ Tapstry Map │ │ │ │ │ └────────────── │ │ ░ Previous healthcare expires │ │ │ │ │ ░ Sunday, April 30th │ │ └┬────────────────────────────┘ │ │ │ ┌┘ └───────────────────────────────┘ │ │ │ │ ┌─────────────┐ │ │ ┌┤ Tapstry Map ├─────────────────────────────────────────┐ │ │ │└─────────────┘ │ │ │ │ │ │ │ │ Explore: │ │ │ │ │ │ │ │ ░ line endpoints │ │ │ │ ░ text box wrapping │ │ │ │ ░ google sheets and csv files with real datasets │ │ │ │ ░ d3 pointer events so I can see mouse coordinates │ │ │ │ │ │ │ └────────────────────────────────────────────────────────┘ │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────┘
```
-
save-place-mode in emacs 29 not working
I put (save-place-mode 1) in my config file, but it doesn't seem to be working. I'm using emacs 29 for native wayland support. Also tried some of the older commands but had no luck. Has anyone been able to use save-place-mode in 29? I tried enabling it via the dropdown in the toolbar too, but after restarting emacs the setting was unchecked.
-
Build your own TweetDeck with Emacs and mastodon.el
emacs.ch oatmeal 🐧 (@[email protected])Attached: 3 images Build your own #TweetDeck with #Emacs... as a split frame, where every window has a buffer with one of #mastodonel's timelines, or toots, notifications, tags etc. Leveraging Emacs' ability to further split a window whichever way one might prefer. I set this as a separate tab, ...
Drafting and researching in #Emacs, while tooting or searching from the same UI, is incredibly efficient.
-
Please Help Collect Statistics to Make Emacs Garbage Collection Better
TL;DR: Please install https://elpa.gnu.org/packages/emacs-gc-stats.html and send the generated statistics via email to [email protected] after several weeks.
UPDATE: New version 1.3. Added more control over what data is collected (can now disable command name logging); Added reminder functionality.
---
Many of us know that Emacs defaults for garbage collection are rather ancient and often cause significant slowdowns. However, it is hard to know which alternative defaults will be better.
Emacs devs need help from users to obtain real-world data about Emacs garbage collection. See the discussion in https://yhetil.org/emacs-devel/87v8j6t3i9.fsf@localhost/
I wrote a small package https://elpa.gnu.org/packages/emacs-gc-stats.html that will collect garbage collection stats during Emacs sessions. Please, install it and later (after few weeks) submit the results to [email protected]
---
Usage:
Add
``` (require 'emacs-gc-stats) ;; Optionally reset Emacs GC settings to default values (recommended) (setq emacs-gc-stats-gc-defaults 'emacs-defaults) ;; Optionally set reminder to upload the stats after 3 weeks. (setq emacs-gc-stats-remind t) ; can also be a number of days ;; Optionally disable logging the command names ;; (setq emacs-gc-stats-inhibit-command-name-logging t) (emacs-gc-stats-mode +1)
```
to your init file to enable the statistics acquiring.
When you are ready to share the results, run
M-x emacs-gc-stats-save-session
and then share the savedemacs-gc-stats-file
(defaults to~/.emacs.d/emacs-gc-stats.eld
) by sending an email attachment to mailto:[email protected].Configure
emacs-gc-stats-remind
to make Emacs display a reminder about sharing the results.---
This package does not upload anything automatically. You will need to upload the data manually, by sending email attachment. If necessary, you can review
emacs-gc-stats-file
(defaults to~/.emacs.d/emacs-gc-stats.eld
) before uploading–it is just a text file.The following data is being collected after every command:
- GC settings
gc-cons-threshold
andgc-cons-percentage
- Emacs version and whether Emacs framework (Doom, Prelude, etc) is used
- Whether
gcmh-mode
is used - Idle time and Emacs uptime
- Available OS memory (see
memory-info
) - Emacs memory allocation/GC stats
- Current command name (potentially sensitive data, can be disabled)
- Timestamp when every GC is finished
Logging the command names can be disabled by setting
emacs-gc-stats-inhibit-command-name-logging
customization.What exactly is being logger is controlled by
emacs-gc-stats-setting-vars
,emacs-gc-stats-command-vars
, andemacs-gc-stats-summary-vars
.You can use
M-x emacs-gc-stats-clear
to clear the currently collected session data.You can pause the logging any time by disabling
emacs-gc-stats-mode
(M-x emacs-gc-stats-mode
). - GC settings