From 2bfa410cd8c61856d43c5b5c8d4cec6784fff87e Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 1 Jul 2021 18:34:24 -0400 Subject: [PATCH] automated update from build.py --- blog/20070522-emacs-tips.html | 73 +++++++++++++++++++++++++++++++++++ blog/20070522-latex-tips.html | 2 +- feed.atom | 42 +++++++++++++++++++- robots.txt | 0 sitemap.txt | 1 + 5 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 blog/20070522-emacs-tips.html create mode 100644 robots.txt diff --git a/blog/20070522-emacs-tips.html b/blog/20070522-emacs-tips.html new file mode 100644 index 0000000..f73a0be --- /dev/null +++ b/blog/20070522-emacs-tips.html @@ -0,0 +1,73 @@ + + + + + + + + + + +Emacs Tips | Colin McMillen + + + + + + + + + + +
+
+ + +
+

Emacs Tips

+

Posted 2007-05-22, updated 2021-07-01.

+

These are some emacs keybindings (and other functions) that I once found useful. I’ve mostly used Sublime Text for the last few years, however.

+

Editing

+

C-[SPC]: set mark
+C-x C-x: exchange point and mark
+C-w: kill (AKA “cut”)
+M-w: kill-ring-save (AKA “copy”)
+C-y: yank (AKA “paste”)
+M-h: Put region around current paragraph (mark-paragraph).
+C-x h: Put region around the entire buffer (mark-whole-buffer).
+C-u C-[SPC]: Move in mark ring
+M-d: Kill word
+M-[DEL]: Kill word backwards
+C-M-k: Kill the following balanced expression (kill-sexp)

+

Registers

+

C-x r r: Save position of point in register r (point-to-register).
+C-x r j r: Jump to the position saved in register r (jump-to-register).
+C-x r s r: Copy region into register r (copy-to-register).
+C-x r i r: Insert text from register r (insert-register).

+

Bookmarks

+

C-x r m [RET]: Set the bookmark for the visited file, at point.
+C-x r m bookmark [RET]: Set the bookmark named bookmark at point (bookmark-set).
+C-x r b bookmark [RET]: Jump to the bookmark named bookmark (bookmark-jump).
+C-x r l: List all bookmarks (list-bookmarks).
+M-x bookmark-save: Save all the current bookmark values in the default bookmark file.

+

Miscellaneous

+

M-` shows the menu.
+M-x highlight-changes-mode toggles showing the changes you’ve made to the file since the last save.

+
+
+ + +
+ + + diff --git a/blog/20070522-latex-tips.html b/blog/20070522-latex-tips.html index b8489c8..103d24b 100644 --- a/blog/20070522-latex-tips.html +++ b/blog/20070522-latex-tips.html @@ -32,7 +32,7 @@

LaTeX Tips

Posted 2007-05-22; updated 2021-07-01.

-

Note that these instructions are over a decade old. Some things may have changed since then. :)

+

Note that these instructions are over a decade old. Some documentation may be out of date. :)

Embedding fonts in PDFs

To check whether fonts are embedded, use pdffonts, which is included with xpdf. pdffonts gives output that looks like this:

$ pdffonts paper.pdf
diff --git a/feed.atom b/feed.atom
index 00a416e..72110ac 100644
--- a/feed.atom
+++ b/feed.atom
@@ -11,6 +11,46 @@
   https://www.mcmillen.dev/
 
   
+  
+    Emacs Tips
+    https://www.mcmillen.dev/blog/20070522-emacs-tips.html
+    
+    
+    Emacs Tips
+

Posted 2007-05-22, updated 2021-07-01.

+

These are some emacs keybindings (and other functions) that I once found useful. I’ve mostly used Sublime Text for the last few years, however.

+

Editing

+

C-[SPC]: set mark
+C-x C-x: exchange point and mark
+C-w: kill (AKA “cut”)
+M-w: kill-ring-save (AKA “copy”)
+C-y: yank (AKA “paste”)
+M-h: Put region around current paragraph (mark-paragraph).
+C-x h: Put region around the entire buffer (mark-whole-buffer).
+C-u C-[SPC]: Move in mark ring
+M-d: Kill word
+M-[DEL]: Kill word backwards
+C-M-k: Kill the following balanced expression (kill-sexp)

+

Registers

+

C-x r r: Save position of point in register r (point-to-register).
+C-x r j r: Jump to the position saved in register r (jump-to-register).
+C-x r s r: Copy region into register r (copy-to-register).
+C-x r i r: Insert text from register r (insert-register).

+

Bookmarks

+

C-x r m [RET]: Set the bookmark for the visited file, at point.
+C-x r m bookmark [RET]: Set the bookmark named bookmark at point (bookmark-set).
+C-x r b bookmark [RET]: Jump to the bookmark named bookmark (bookmark-jump).
+C-x r l: List all bookmarks (list-bookmarks).
+M-x bookmark-save: Save all the current bookmark values in the default bookmark file.

+

Miscellaneous

+

M-` shows the menu.
+M-x highlight-changes-mode toggles showing the changes you’ve made to the file since the last save.

+ ]]> +
+ 2007-05-22T12:00:00-04:00 +
+ LaTeX Tips https://www.mcmillen.dev/blog/20070522-latex-tips.html @@ -19,7 +59,7 @@ LaTeX Tips

Posted 2007-05-22; updated 2021-07-01.

-

Note that these instructions are over a decade old. Some things may have changed since then. :)

+

Note that these instructions are over a decade old. Some documentation may be out of date. :)

Embedding fonts in PDFs

To check whether fonts are embedded, use pdffonts, which is included with xpdf. pdffonts gives output that looks like this:

$ pdffonts paper.pdf
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 0000000..e69de29
diff --git a/sitemap.txt b/sitemap.txt
index 924986e..000cb3a 100644
--- a/sitemap.txt
+++ b/sitemap.txt
@@ -1,3 +1,4 @@
+https://www.mcmillen.dev/blog/20070522-emacs-tips.html
 https://www.mcmillen.dev/blog/20070522-latex-tips.html
 https://www.mcmillen.dev/blog/20190403-update.html
 https://www.mcmillen.dev/blog/20200209-sneak.html