Exploring the IDE side of Emacs.
Table of Contents
Set of common developers use cases and how to solve them in Emacs.
The correct way to add a keystroke combination is:
<kbd><kbd>M</kbd>+<kbd>s</kbd> <kbd>o</kbd></kbd>
for M+s o
.
Source: w3 kbd element.
For an Emacs command with its keystrokes and description we use the Bootstrap 4 alert classes:
**next-error-follow-minor-mode** <kbd><kbd>C</kbd>-<kbd>c</kbd> <kbd>C</kbd>-<kbd>f</kbd></kbd>
: Minor mode for compilation, occur and diff modes.
{: class="alert alert-info"}
New categories should be added to _data/nav.yml
in the
categories/subcategories
section, e.g. for adding the navigation
section:
documents:
...
subcategories:
url: /navigation
name: Navigation
Then add to the folder /_documents
/_documents/navigation.html
---
layout: document_category
---
/_documents/navigation
.You can add your specific solution to any article
Then add also your personal information and it will be credited to you in the article as the author owner.
_data/people.yml
._documents
directory
inside the folder of the same article name.Videos are in playlist mode in the main article and each particular video has a special page.
$ emacs --name="EmacSide.com"
More: Emacs window size
Select the Emacs window and resize.
Video size: 16:9 original aspect ratio (1280x720 recommended).
wmctrl -r EmacSide.com -e 0,1,1,1280,720
wmctrl -r EmacSide.com -e 0,1,1,1000,562.5
sudo apt-get install dconf-tools
$ dconf-editor
#### or directly
$ dconf write /org/gnome/desktop/interface/cursor-size 48
Open screenkey.
$ screenkey
Select Emacs window.
List windows names
$ wmctrl -l
And insert the Emacs window id like 0xFFFFFFF
.
$ recordmydesktop --output=out.ogv --windowid 0xFFFFFFF
Automatically:
$ recordmydesktop --windowid `wmctrl -l | grep "EmacSide.com" | col1
or
$ gtk-recordmydesktop
Generates ~/out.ogv
file.
ogv
to avi
$ avconv -i writeroom-mode.ogv -b:v 1000K -q:v 1 -c:v libx264 out.avi
If you don't specify a bitrate for the video, it will choose the mpeg4 video encoder for the MKV container. It uses a default of 200 kBit/s, which is low, hence the visual artifacts. If you want to increase the quality, you have three options: Choose a higher bitrate (e.g. -b:v 1000K) Choose variable quality (e.g. -q:v 1). Lower means better. Good values are between 1 and 4. Choose a higher quality video codec, e.g. H.264 (-c:v libx264) and set the CRF for quality (e.g. -crf 23). Lower means better, and sane values are between 18 and 28.
ffmpeg -i input.wmv -ss 00:00:30.0 -c copy -t 00:00:10.0 output.wmv
May use them while recording:
;;Highlight current line only in this buffer
;;(hl-line-mode)
Youtube cut titles at 53 char approx. and the recommended title length is 70. Try to keep the titles length below the 53 chars mark.
sudo apt-get install gromit gromit-mpx
Press Pause
button and start drawing.
Project homepage.
$ gromit-mpx
Show the mouse pointer with locate-pointer.
Current keybinding: Super+M
.
Generated with jp2a - JPEG to ASCII image converter.
Pause: toggle painting Shift-Pause: clear screen CTRL-Pause: toggle visibility
ALT-F9: Quit Gromit-MPX. F10: undo last stroke SHIFT-F10: redo last undone stroke
Any contribution is very welcome.