home.social

Search

40 results for “yugaego”

  1. Small reminder: #Emacs #keybinding `C-u 29 C-h n` opens info on #Emacs29 changes.

    It is bound to the function `view-emacs-news`.

  2. :

    "
    This command makes it easy for fish scripts and functions to handle arguments.
    "

    Example from docs:
    ```
    function mybetterfunction
    argparse h/help s/second -- $argv
    or return

    if set -ql _flag_help
    echo "mybetterfunction [-h|--help] [-s|--second] [ARGUMENT ...]"
    return 0
    end

    if set -ql _flag_second
    echo $argv[2]
    else
    echo $argv[1]
    echo $argv[3]
    end
    end
    ```

    fishshell.com/docs/current/cmd

  3. One of the additions:

    ```
    *** New command 'recentf-open'.
    This command prompts for a recently opened file in the minibuffer, and
    visits it.
    ```

    git.savannah.gnu.org/cgit/emac

  4. includes a number of new cool features, including for built-in package:

    - With prefix argument, 'project-find-file' (`C-x p f`) and 'project-or-external-find-file' (`C-x p F`) include all files.

    - New command 'project-list-buffers' bound to 'C-x p C-b'.

    - 'project-kill-buffers' (now bound to `C-x p k`) can display the list of buffers to kill.

    - New user option 'project-vc-extra-root-markers' can be enabled for detection of nested projects.

    git.savannah.gnu.org/cgit/emac

  5. In a similar spirit of un-doing things, now allows to undelete frames:

    ```
    The 16 most recently deleted frames can be undeleted with 'C-x 5 u' when
    'undelete-frame-mode' is enabled. Without a prefix argument, undelete
    the most recently deleted frame. With a numerical prefix argument
    between 1 and 16, where 1 is the most recently deleted frame, undelete
    the corresponding deleted frame.
    ```

    git.savannah.gnu.org/cgit/emac

  6. ** New key binding after 'M-x' or 'M-X': 'M-X'.
    Emacs allows different completion predicates to be used with 'M-x'
    (i.e., 'execute-extended-command') via the
    'read-extended-command-predicate' user option. Emacs also has the
    'M-X' (note upper case X) command, which only displays commands
    especially relevant to the current buffer. Emacs now allows toggling
    between these modes while the user is inputting a command by hitting
    'M-X' while in the minibuffer.

    git.savannah.gnu.org/cgit/emac

  7. Quick fix / fallback for an error returned by .
    It's fine enough for local installs, when a client doesn't support `caching_sha2_password` plugin.

    "SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client"

    1. Add to `my.cnf`

    [mysqld]
    default_authentication_plugin=mysql_native_password

    2.

    ALTER USER 'root'@'localhost'
    IDENTIFIED WITH mysql_native_password
    BY 'password';

    Sources:

    dev.mysql.com/blog-archive/upg

    dev.mysql.com/doc/refman/8.0/e

  8. Sometimes I forget has for almost everything.

    "With just a few keystrokes, it is possible to insert empty structural blocks, such as ‘#+BEGIN_SRC’ … ‘#+END_SRC’, or to wrap existing text in such a block.

    C-c C-, (org-insert-structure-template)"

    orgmode.org/manual/Structure-T

  9. If you've ever dreamt of using more of (or other custom for that matter) in , just save

    github.com/jrus/cocoa-text-sys

    as

    ~/Library/KeyBindings/DefaultKeyBinding.dict

    For more information, read

    github.com/jrus/cocoa-text-sys

    and look around the repo.

    Many thanks to Irreal for the enlightenment 👏

    irreal.org/blog/?p=11357