Emacs Elements ๋ ์ฌํด ๋์๊ฒ ๊ฐ์ฅ ๋์์ด ๋ง์ด ๋ Emacs ์ ํ๋ธ ์ฑ๋์ด๋ค. ๊ทธ ์ค์์๋ "Changes in Emacs 29" ๊ณผ PDF ํ์ฉ๋ฒ, Emacs ์ค์น ๋ฐฉ๋ฒ ๋ฑ์ ์์ฃผ ์ ์ฉํ ์ต์ ํ์ด๋ค.
๋ค์์ Emacs Elements ์ ๊ธ๊ณผ ์์์ ๋ฒ์ญํ ๊ฒ์ด๋ค.
Emacs Elements ์๊ฐ
Emacs Elements is a channel that focuses on getting Vanilla Emacs to work powerfully for you. How can I get things done in Emacs? Emacs is the world's most powerful text editor, and can be overwhelming for beginners. I show you how you can be up and running in a moment without too much difficulty.
Emacs Elements Youtube ๋ฅผ ๊ฐ๋ณด๋ฉด ๋ง์ ์์์ด ์๋คย ^fn:1. ์ด ๋ถ์ ์ฌํด ์ด๋ถํฐ Emacs ๊ด๋ จ ์์์ ์ฌ๋ฆฌ๋ ๋ถ์ด์ ๋ฐ ์ด๋งฅ์ค๋ฅผ ์์ฃผ ์ค๋ซ๋์ ์ฌ์ฉํด ์ค์ ํ์ ์ ์ ๋ค. ๋ด๊ฐ ํ์ ํ ๋ฐ๋ก๋ ํ ์๋ฒ์ง๋ค. ์ผ๋ง ์ ์ ๊ตฌ๋ ์ 1000 ๋ช ๋ํ ๊ธฐ๋ ์ผ๋ก ์ง์์ ์ฟตํธ๋ฅผ ์์ฐํ์ จ๋๋ฐ "์๋ตค์๋ตค~~" ํ๋ฉด์ ๋ฐ์ฐจ๊ธฐ์ ์ ๊ถ ์ง๋ฅด๊ธฐ๋ฅผ ๋ดค๋ ๊ธฐ์ต์ด ์๋ค. ์ง๊ธ ๋ณด๋ ์จ๊น ์ฒ๋ฆฌ๋ฅผ ํ์ ๊ฒ ๊ฐ๋ค.
์ด ๋ถ์ Emacs ๋ฟ๋ง ์๋๋ผ ํ ์คํธ ์๋ํฐ ์ญ์ฌ๋ฅผ ํจ๊ป ํ์ ๋ถ์ด๋ค. Teco ์ ๊ฐ์ ๊ณ ์ ์๋ํฐ ์ด์ผ๊ธฐ๋ ํ์๋ ๊ฒ์ ๋ณด๋ ์ฐ์ฆ์ธ์ด ์๋๊น ์ถ๋ค. ์ด ๋ถ์ Spacemacs, Doom ์ด๋ฐ ๋ฐฐํฌํ์ ์์ ์ฌ์ฉํ ์ ๋ ์์ผ์ค ๊ฑฐ๋ค. ๊ทธ๋ฅ Emacs ๋ค์ด ๋ฐ์์ ์ค์ ํ์ผ ์ด๊ณ "์ค๋์ Hydra ๋ฅผ ์ฌ์ฉํด ๋ณผ๊ฒ์!" ํ๊ณ ํค๋ณด๋ ๋๋๋ฆฐ๋ค. Holy-mode ์ฌ์ฉ์๋ก์ Evil-mode (Vim ๋ฐ์ธ๋ฉ)์ ์ด์ผ๊ธฐ๋ ๊ธฐ๋ ํ๋ฉด ์ ๋๋ค.
์ ๊ตฌ๋
ํด์ผ ํ๋๊ฐ? ์ด๋ฐ ๋ถ๋ค์ ๊ตฌ๋
ํ๋ค ๋ณด๋ฉด ์ ํ๋ธ์ ์จํต ํ
์คํธ ์๋ํฐ ๊ด๋ จ ์์๋ง ๋์จ๋ค. ์ ํ๋ธ๋ฅผ ์ ํ๊ฒ ๋๊ฑฐ๋ ์ผ์ทจ ์์ฅ์ ํ๊ฒ ๋ ๊ฒ์ด๋ค. ๋๋ด์ด๋ค. ์ด๋ฐ ๋ถ๋ค์ ๋ณด๋ฉด์ ์ด๋งฅ์ค๊ฐ ์ง๋ ๋ผ์ดํ ํดํน ๋๊ตฌ์ ๊ฐ์น๋ฅผ ๋ณด๊ฒ ๋๋ค. ์ด๋ ๊ฒ ๋๊ณ ์ถ๋ค. ๋ด๊ฐ ์ฃผ๋ชฉํ๋ ์ ์ ์ฟตํธ
์์ฐ์ด๋ค. ํค๋ณด๋ ์ฐ์๊ธฐ๋ฅผ ๋งค์ผ ์ฌ์ฉํ๋ ๊ฒ์ํด์ ๊ณ์ ์ฌ์ฉํ๋ค ๋ณด๋ฉด ์ ํ๋ณด์กด
์ด ์์ฐ์ค๋ฝ๋ค. ์ ์พํ ์ถ์ด๋ก๋ค!
caption="<span class="figure-number">Figure 1: modus-vivendi-tinted themes with org-clock (tab-bar)" width="80%" >
Changes in Emacs 29.1
================================
https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.29 Enhanced Image Features in Emacs 29 - YouTube
5000 line document
Ahead-of-time native compilation can now be requested using '--with-native-compilation=aot' during configuration. This option requests ahead-of-time (AOT) native compilation, which means that all the Lisp files in the Emacs tree will be compiled to native code during the build and installation process.
Support for the WebP image format has been added.
Emacs can be built with pure GTK, allowing it to work on any window system supported by GDK.
Emacs now supports Unicode Standard version 15.0.
New command to change the font size globally. To increase the font size, type 'C-x C-M-+' or 'C-x C-M-='; to decrease it, type 'C-x C-M--'; to restore the font size, type 'C-x C-M-0'.
New command 'find-sibling-file'. This command jumps to a file considered a "sibling file", which is determined according to the new user option 'find-sibling-rules'.
New command 'rename-visited-file'. This command renames the file visited by the current buffer by moving it to a new name or location, and also makes the buffer visit this new file.
'delete-process' is now a command.
'restart-emacs'
'count-words' will now report buffer totals if given a prefix. Without a prefix, it will only report the word count for the narrowed part of the buffer.
'count-words' will now report sentence count when used interactively.
'write-file' will now copy some file mode bits. If the current buffer is visiting a file that is executable, the 'C-x C-w' command will now make the new file executable, too.
Emacs now has several new methods for inserting Emoji.๐ The Emoji commands are under the new 'C-x 8 e' prefix. New command 'emoji-insert' (bound to 'C-x 8 e e' and 'C-x 8 e i'). New command 'emoji-recent' (bound to 'C-x 8 e r').
New command-line option '-r'/'--reuse-frame' for emacsclient. With this command-line option, Emacs reuses an existing graphical client frame if one exists; otherwise it creates a new frame.
'M-SPC' is now bound to 'cycle-spacing'. Formerly it invoked 'just-one-space'. The actions performed by 'cycle-spacing' and their order can now be customised via the user option 'cycle-spacing-actions'.
New user option 'copy-region-blink-predicate'. By default, when copying a region with 'kill-ring-save', Emacs only blinks point and mark when the region is not denoted visually, that is, when either the region is inactive, or the 'region' face is indistinguishable from the 'default' face.
New user option 'dired-free-space'. Dired will now, by default, include the free space in the first line instead of having it on a separate line.
doc-view can now generate SVG images when viewing PDF files. If Emacs is built with SVG support, doc-view can generate SVG files when using MuPDF as the converter for PDF files, which generally leads to sharper images.
New command 'package-update'. This command allows you to upgrade packages without using 'M-x list-packages'.
New command 'package-update-all'. This command allows updating all packages without any queries.
New commands 'package-recompile' and 'package-recompile-all'. These commands can be useful if the ".elc" files are out of date (invalid byte code and macros).
New command 'package-vc-install'. Packages can now be installed directly from source by cloning from their repository.
New command 'scratch-buffer'. This command switches to the "scratch" buffer. If "scratch" doesn't exist, the command creates it first. You can use this command if you inadvertently delete the "scratch" buffer. (global-set-key (kbd "<f8>") 'scratch-buffer)
New commands for navigating completions from the minibuffer. When the minibuffer is the current buffer, typing 'M-<up>' or 'M-<down>' selects a previous/next completion candidate from the "Completions" buffer and inserts it to the minibuffer.
'recentf-mode' now uses abbreviated file names by default. This means that e.g. "/home/foo/bar" is now displayed as "~/bar".
New command 'recentf-open'. This command prompts for a recently opened file in the minibuffer, and visits it.
use-package: Declarative package configuration. use-package is now shipped with Emacs.
New commands 'image-crop' and 'image-cut'.
New theme 'leuven-dark'.
Enhanced Image Features in Emacs 29
=================================
New commands 'image-crop' and 'image-cut'
i c i x
image-dired-slideshow-start
'S'
Image-Dired now displays thumbnails for PDF files
The command 'bookmark-set' (bound to 'C-x r m') is now supported in the thumbnail view
'image-dired-thumb-size' increased to 128
Navigation and marking commands now work in image display buffer.
The following new bindings have been added:
- 'n', 'SPC' => 'image-dired-display-next'
- 'p', 'DEL' => 'image-dired-display-previous'
- 'm' => 'image-dired-mark-thumb-original-file'
- 'd' => 'image-dired-flag-thumb-original-file'
- 'u' => 'image-dired-unmark-thumb-original-file'
New command 'image-dired-unmark-all-marks'.
It removes all marks from all files in the thumbnail and the associated Dired buffer, and is bound to 'U' in the thumbnail and display buffer.
New command 'image-dired-do-flagged-delete'.
It deletes all flagged files, and is bound to 'x' in the thumbnail buffer. It replaces the command 'image-dired-delete-marked', which is now an obsolete alias.
PDF support.
Image-Dired now displays thumbnails for PDF files. Type 'RET' on a PDF file in the thumbnail buffer to visit the corresponding PDF.
PDF Software in Linux
-
This video is only partly about Emacs
-
Review and a rant
-
PDF viewers aplenty:
evince
,okular
,Google Chrome
-
Okular
helpful for filling out forms and inserting signatures- (Create your signature in Gimp and make it transparent)
gimp
๋ฅผ ์ค์นํ๋ผ.
-
Okular
also is able to read text aloud easily. -
Another excellent option is
xournal++
, which also allows one to reorder pages in a pdf, something you cannot do in okular or evince. -
OCR
tesseract
. Command line tool. -
This script will convert all pdfs in a given folder to txt
-
gImageReader
also does this through a graphic user interface, and allows good control. -
pdfarranger
- rearranges pages -
The Emacs package
pdf-tools
can help view, annotate, and bookmark PDFs and teh built inimage-dired
can sort through PDFs. Its pdf editing capabilities are lacking. -
But there is a problem: some pdfs are not readable in ANY Linux application e.g.my IRP-5 file One has to use
Adobe Acrobat
to view the file The only other PDF viewer that will show the file isMaster PDF Editor
๋ค์ด๋ก๋ https://code-industry.net/free-pdf-editor/#get -
Installing a working version of Adobe Reader on Linux is near impossible. Much of the functionality has been removed. You cannot print an abnormal pdf to pdf.
-
Adobe Acrobat
will not install on Linux and that is by design of Adobe. It is not becausewine
cannot handle it. -
It is only available through a Virtual Machine
SHELL
How to insert pairs quickly without fancy packages
For this solution to work you must ensure that delete-selection-mode
is enabled.
SPC v
expand-region ์ผ๋ก ์ ํํ๋ค. evil ์ด ๋ณ๋ก ์ธ๊ฐ? ์ ๋นํ ์ปค๋งจ๋๋ฅผ ๋ชจ๋ฅด๋ ๊ฒ์ผ ๋ฟ์ด๋ค. ๋ค์ ๋ผ์ธ์ ๋ณต์ฌํ๋๊น ๋ฌธ์ฅ์ ๋ณต๋ถํ๊ณ ๋ณผ๋๋ก ๋ฐ๊พธ๋๊ฒ ์ฝ์ง ์๋ค. ์๋๋ฉด ๊ทธ๋ฅ org ์ปค๋งจ๋๋ก ํ๋ฉด ๋๋ค. ์ด๊ฒ ํธํ๋ค.
๊ธฐ๋ณธ M-w
kill-ring-save ์ด๋ค. ๋ณต์ฌํ๋ ๊ฒ์ด๋ค. ์ด๊ฒ ๊ธฐ๋ณธ ํค ํ๋๋ฅผ ์ก๊ณ ์๋ ๊ฒ์ ์์ฒญ๋ ์ผ์ด๋ค. ๊ทํ ํค๋ฐฐ์ด์ ๊ฐ์ง๊ณ ์๋ ๋งํผ ์ค์ํ๋ค๋ ๋ง์ผ๊ฑฐ๋ค.
kill-sentence kill- ์๋ฆฌ์ฆ๊ฐ ๋ง์ด ์๋ค. ๋ค์์ ํจ์๋ฅผ ๊ธฐ์กด ๊ฒ์ ๊ต์ฒดํ๋ผ๋ ๊ฒ์ด๋ค. ์ข์ ๊ฒ์ธ๊ฐ?! ์์ kill ์๋ฆฌ์ฆ๋ฅผ ๋ญํฑ์ด๋ก ๊ด๋ฆฌํ๋ ๊ฒ์ ์ด๋ค๊ฐ ์ถ๋ค. ์ฌํผ ๊ธฐ์กด ์ธํ ๋ณด๋ค๋ ํธํ๋ค. ๊ทผ๋ฐ ์ผ๋ง๋ ์ธ ์ง ๋ชจ๋ฅด๋ ์ผ.
Integer placerat tristique nisl. BOLD
Integer placerat tristique nisl. ITALICS
"Integer placerat tristique nisl." QUOTES
(global-set-key (kbd "M-w") 'my-kill-ring-save-keep-selection)
MARK AS CODE