Other articles

  1. emacs: standard input is not a TTY

    Did you ever tried something like :

    $ find -name '*.c' | xargs emacs
    $ grep -rl snmp . | xargs emacs

    and got the error "emacs: standard input is not a tty" ? That's normal, as the stdin for emacs is here the pipe, not your tty, you need a workaround to leave the ...

    read more
  2. Automating GNU screen startup

    At work I use GNU screen with one window per server (ssh connection), and when I loose my screen, it takes minutes to rebuild the naming and the ssh connections ... So I searched and found a PHP version on Jon's blog but I don't like PHP and don ...

    read more
  3. Emacs: replace tabs with spaces

    When you want to replace tab with spaces or vice versa don't use M-% (query-replace) but M-x tabify or M-x untabify. They work on the current selection so if you want it to be applied to a whole buffer, try C-x h (mark-whole-buffer) before to select the whole buffer.

    read more
  4. Searching and replacing in emacs

    Day two of my serie about emacs, about searching and replacing.

    • Function name: isearch-forward
    • Typical Key binding: C-s
    • How to get help: C-h f isearch-forward

    isearch-forward let you type a string to be searched incrementally in the current buffer, successive following C-s will jump to the next match.

    • Function name ...
    read more
  5. Numeric arguments in emacs

    I'm starting an 'emacs trick of the day' sequence with:

    • Function name: universal-argument
    • Typical Key binding: C-u
    • How to get help: C-h f universal-argument
    • Usage: C-u

    Receive a numeric argument that is given to the next called function, when no numeric argument is typed, the value defaults to 4 ...

    read more

Page 1 / 3 »