Wood_Work16666

joined 1 year ago
[–] Wood_Work16666@alien.top 1 points 11 months ago

Having both Shift keys toggle Caps Lock feels right in X11. The issue on NetBSD console in wscons.conf is

encoding us.swapctrlcaps
#encoding us.metaesc

in the above you either have Caps Lock behave as Control or Alt is Meta in that commented out line. If you want both, howto is not obvious.

[–] Wood_Work16666@alien.top 1 points 11 months ago

Do those individual codepoints and ranges belong to a category?

 

I'd like to use the fonts in the following order for East Asia text.

  1. AR PL UKai HK
  2. BabelStone Han
  3. UnGungseo
  4. Noto Sans CJK KR

The lines that follow are the settings I've gathered to enlarge the text for easier reading.

 1 (dolist (charset '(han symbol cjk-misc bopomofo))
 2   (set-fontset-font t charset (font-spec :family "AR PL UKai HK" :size 28 :registry "big5")))
 3 
 4 (set-fontset-font t '(#x2ff0 . #x2fff) (font-spec :family "AR PL UKai HK" :size 28))
 5 
 6 (set-fontset-font t '(#x4dc0 . #x4dff) (font-spec :family "BabelStone Han" :size 28))
 7 
 8 (set-fontset-font t #x21fea (font-spec :family "BabelStone Han" :size 28))
 9 
10 (dolist (x '( #x377f #x456c
11 	      #x53d3 #x53d5 #x5926 #x5b52 #x5f1c #x5387
12 	      #x6056 #x6abf #x6e70 #x6598 #x659a #x6752 #x67bc
13 	      #x7683 #x7a41 #x7c36 #x7e85
14 	      #x887a #x8c38 #x8a9d #x8a9f
15 	      #x9aea #x9af0 #x9f04 #x9f05
16 	      #xfe47 #xfe48))
17   (set-fontset-font t x (font-spec :family "Noto Sans CJK KR" :size 28)))
18 
19 (dolist (x '(#x7232 #x654e #x7d76)) (set-fontset-font t x (font-spec :family "UnGungseo" :size 28)))
20 
21 (dolist (x '(#x37a2
22 						 #x41c2 #x4b6b
23 	     #x5928
24 	     #x7680 #x8c59
25 	     #x2002c #x20447 #x27141 #x22992 #x22994
26 	     #x23a95 #x268fb #x27bab
27 	     #x294a8))
28   (set-fontset-font t x (font-spec :family "BabelStone Han" :size 28)))

Is there a better way to do that?

[–] Wood_Work16666@alien.top 1 points 1 year ago

If the elisp intro doesn't suit your prefered style of learning two alternatives are to search the index in the emacs or elisp reference manual you access by

  1. f1 r

  2. f1 R elisp

then you followup in the case of elisp with "I excursion" to list the index topic on that keyword excursion as an example; better to look for blogs on the web as a first step to find the solution to your immediate need

[–] Wood_Work16666@alien.top 1 points 1 year ago

Outside of the org box you can use gemini-mode, Gemini Protocol an evolution in between gopher and the web, and the elpher Gemini browser.

[–] Wood_Work16666@alien.top 1 points 1 year ago

Have a look at the GNU Texinfo manual

https://www.gnu.org/software/texinfo/manual/texinfo/

at the moment I use GNU Emacs and Plan 9 User Space with that, oh, and Git.

There's an article on osnews saying content farms are writing for search engine optimization leading to bots training bots and the human touch in writing is becoming unsustainable financially. I was concerned recommending a search on the words "texinfo manual" might not get you to the source text.

[–] Wood_Work16666@alien.top 1 points 1 year ago

To the OP, use M-x customize-group RET backup

There you'll find options for keeping number of backups and where they store.

git is the tool to rely on for version tracking at any granularity you decide, keep committing and logging your changes and you can go back to any point with the builtin vc tool, for example, C-x v l, for logs, C-x v =, for changes, C-x v v, for next step, see the manual f1-r

[–] Wood_Work16666@alien.top 1 points 1 year ago

Should I worry that the utf-8 file I start editing becomes a text-raw-unix file on save and git commit over tramp/scp as indicated by the initial character on the modeline changing from U to t?

The messages buffer mentions tramp encoding/decoding using

Saving file /scp:s:/ftp/pub/users/x/index.gmi... Tramp: Encoding local file ‘/tmp/tramp.x.gmi’ using ‘(lambda (beg end) (let ((coding-system-for-write 'binary) (coding-system-for-read 'binary)) (apply #'tramp-call-process-region '(tramp-file-name scp nil nil s nil /ftp/pub/users/x/index.gmi nil) beg end (car (split-string env GZIP= gzip)) t t nil (cdr (split-string env GZIP= gzip)))) (base64-encode-region (point-min) (point-max)))’...done Tramp: Decoding remote file ‘/scp:s:/ftp/pub/users/x/index.gmi’ using ‘(base64 -d -i | env GZIP= gzip -d >%s)’...done Wrote /scp:s:/ftp/pub/users/x/index.gmi