zzkt
  • Member for 3 years
  • Last seen more than a week ago
Enable OS X keys in Emacs
Accepted answer
3 votes

You could add any (or all) of the following key bindings to your init.el to have most of the ⌘ key commands working as a macOS user would expect... (setq mac-option-modifier 'meta mac-...

View answer
How to use a specific latex template in org-mode
Accepted answer
3 votes

As mentioned in the comments above, the latex commands need to be escaped. so this should work as expected.... (add-to-list 'org-latex-classes '("koma-article" "\...

View answer
How this guy do glow(neon) text
Accepted answer
2 votes

you could have a look at the emacs-live config used in the video, or more generally use a terminal emulator with graphic effects like cool-retro-term and run emacs from a shell.

View answer
Override the default font for emoji characters
2 votes

You can define the Unicode ranges used for each font if you want more control over how particular glyphs or blocks are displayed. Rather than setting the default-frame-alist you could try setting a ...

View answer
How to resize images when exporting to Markdown format?
Accepted answer
2 votes

The markdown exporter doesn't appear to export image sizes defined by #+attr_html: or #+attr_org: (the ox-gfm exporter doesn't either) so, you could either include raw html in the org file, which does ...

View answer
Variable font height according to Org header
Accepted answer
2 votes

The TODO keywords in a heading use both the org-todo and org-level- faces. Does it work as expected if you don't set the :height attribute of the org-todo face? If you are looking to customize how the ...

View answer
How can I send a desktop notification via Emacs?
1 votes

you can use notifications.el as described in Michael Albinus' answer or the alert package from melpa which can be simpler in many cases and works cross-platform. e.g. (alert "This is an alert&...

View answer
How can I live-preview org-mode for readme files?
Accepted answer
1 votes

You can try exporting README.org as html and view it in a browser. Simplest is C-c C-e h h (bound to org-html-export-to-html) which produces a basic html file. If you need more than this for testing, ...

View answer
quick way to restore backups
1 votes

Try recover-file for one specific file. If you call it with a filename it will prompt if the auto-save data exists e.g. (recover-file "note-xyz") otherwise, you could use recover-session if ...

View answer
Is there a better way of writing this with use-package?
1 votes

The keybindings created with :bind expect a function name (not sure how lambdas are expanded) so you can define a named function in the :init clause of use-package which should work as expected... (...

View answer
Is there a more convenient way to find out what keys do in org-agenda than looking it up or just pressing them?
1 votes

When you're in the agenda buffer try C-h m which should give an overview of the current mode, show which commands are available and list their keybindings. There are a few other ways to access the ...

View answer
How can I handle unfound ELPA packages?
Accepted answer
0 votes

You could try the MELPA search interface or M-x list-packages to search from within Emacs. If you are searching the package collection in Emacs, ensure you have updated with M-x package-refresh-...

View answer
How can I automatically rename buffers created with `async-shell-command` to the shell command that was called?
0 votes

something like this could work... (defun async-shell-to-buffer (cmd) (interactive "sCall command: ") (let ((output-buffer (generate-new-buffer (format "*async:%s*" cmd))) ...

View answer
how to extract options I saved with customize and insert it inside use-package lines?
0 votes

It's a matter of preference (or aesthetics) but if you are making frequent changes you'll appreciate having all the settings in one place. Using use-package can be helpful for keeping similar configs ...

View answer
FiraCode font not rendering italics
0 votes

The Fira Sans typeface contains an italic, so you could use that for faces which require it and keep Fira Code as default... (set-face-attribute 'org-agenda-date nil :slant italic :weight bold :family ...

View answer
How to add a new input method for Syriac script in Emacs?
0 votes

If your system keyboard inserts unicode characters for Syriac and you have fonts that cover the required codepoints you might not need a dedicated input method in emacs. Try defining the relevant ...

View answer
how to make emacs follow links to files outside of org mode?
0 votes

You could try going in the other direction and embed your python code in an org file. There's a good introduction to Literate Programming with Org-mode and if you need further details the section on ...

View answer