Comments (6)
Hello,
I don't quite understand the problem yet. I have
(use-package journalctl-mode
:ensure
)
in my init.el and all functions are provided. Is that not the case with you? What version of Emacs are you running?
Please give a little more detail.
Thanks for your feedback
Sebastian
from journalctl-mode.
I'm on 27.1. I guess there is something in your config that is triggering the loading of the file because as soon as one calls journalct-mode
the functions are loaded. I reproduced it with the Emacs sandbox script here https://github.com/alphapapa/emacs-sandbox.sh which will start Emacs and install journalctl-mode
with a minimal configuration:
emacs-sandbox.sh -i journalctl-mode
Then try M-x journalctl-unit
, it won't work because the function is not marked with the ;;;###autoload
and so Emacs doesn't know about it until it has properly loaded the library. Have a look at https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload.html and https://www.gnu.org/software/emacs/manual/html_node/elisp/When-to-Autoload.html#When-to-Autoload if you are unsure what I'm talking about ;)
from journalctl-mode.
Hello,
I just uploaded the fix. I hope it works now as intended. Would appreciate your feedback.
from journalctl-mode.
Just had a look at the patch and it seems you just added journalctl-boot
. I tested and indeed now only the journalctl-boot
is known. You need to add the ;;;###autoload
in front of each interactive function you'd like to be available. so
;;;###autoload
(defun ...)
;;###autoload
(defun ...)
for each of journalctl-boot
, journalctl-unit
, journalctl-user-unit
and journalctl-mode
from journalctl-mode.
Okay, I hope that I got I now.
from journalctl-mode.
Yes, just tested I've got all the 4 functions available now! Thanks for taking the time to add this and for writing this package :)
from journalctl-mode.
Related Issues (20)
- tail/follow option HOT 2
- Show failed units when listing units HOT 1
- journalctl-user-unit broken HOT 1
- Please update license version in header, conflicts with LICENSE file HOT 8
- [transient] First chunk has only one line if choose unit filter HOT 8
- Slow "journalctl | wc -l" HOT 2
- please fix autoload
- --grep=... fails in journalctl-mode? HOT 2
- Feature request: allow the user to edit the `systemd.journal-fields`
- Is it possible to put --reverse flag by default? HOT 1
- describe-key on various journalctl-mode keys shows bytecodes HOT 2
- Bind journalctl-transient to a key HOT 2
- journalctl transient under Emacs 30 HOT 1
- *journalctl* buffer is not read-only
- Add funtions for "--since" and "--until"
- Reverse boot-list
- List all units
- journalctl-user-unit
- Add priority function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from journalctl-mode.