• 1 Post
  • 8 Comments
Joined 1 year ago
cake
Cake day: October 12th, 2023

help-circle
  • 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.





  • 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




  • 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


  • 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