gnu emacs for all
play

GNU Emacs for All Sachin Patil (psachin) Red Hat EmacsConf 2019 - PowerPoint PPT Presentation

GNU Emacs for All Sachin Patil (psachin) Red Hat EmacsConf 2019 Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 1 / 32 ERC config: User configuration (setq erc-user-full-name user-full-name erc-nick user-login-name


  1. GNU Emacs for All Sachin Patil (psachin) Red Hat EmacsConf 2019 Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 1 / 32

  2. ERC config: User configuration (setq erc-user-full-name user-full-name erc-nick user-login-name erc-keywords (quote("training" "swift" "emacs")) erc-current-nick-highlight-type 'all erc-notify-list erc-pals erc-autojoin-enable t erc-autojoin-channels-alist Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 2 / 32

  3. ERC config: Channels ... erc-autojoin-enable t erc-autojoin-channels-alist (quote (("oftc" "#tor" "#kernelnewbies" "#kernel-outreachy") ("freenode.net" "#emacs" "#emacs-beginners" "#linuxjournal") ("GIMPNet" "#outreachy"))) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 3 / 32

  4. ERC config: Modules erc-modules (quote (autojoin smiley notify)) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 4 / 32

  5. ERC config: Logging ;; Logging erc-enable-logging t erc-log-mode t erc-log-channels-directory "~/.erc/logs/" ;; Timestamp position erc-insert-timestamp-function 'erc-insert-timestamp-left ;; Show channel name in the notification. ;; Please apply: https://gitlab.com/snippets/1790218 erc-notifications-show-channel t) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 5 / 32

  6. ERC config: Extra config ;; Turn off linum for ERC buffer (defun psachin/turn-off-linum () "Turn off linum for ERC buffers." (interactive) (display-line-numbers-mode 0)) (add-hook 'erc-mode-hook 'psachin/turn-off-linum) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 6 / 32

  7. ERC config: Start server (defun erc-start() "Start ERC." (interactive) (erc :server "irc.freenode.net") (erc :server "irc.oftc.net") (erc :server "irc.gnome.org")) https://gitlab.com/psachin/emacs.d/blob/master/irc.org Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 7 / 32

  8. Documents: L A T EX Figure: L A T EX Document Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 8 / 32

  9. Documents: Image Figure: Logo Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 9 / 32

  10. Documents: Table Table: Swift Partition table Replica # 3 Replica # 2 Replica # 11 Partition # 1 D #2 D #3 D #4 Partition # 2 D #3 D #4 D #5 Partition # 3 D #4 D #5 D #6 Partition # 4 D #5 D #6 D #7 Partition # 5 D #6 D #7 D #8 Partition # 6 D #7 D #8 D #1 Partition # 7 D #8 D #1 D #2 Partition # 8 D #1 D #2 D #3 Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 10 / 32

  11. Documents: Source code #+BEGIN_SRC python -n import os def foo(os): pass #+END_SRC Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 11 / 32

  12. Documents: Flow diagram( ditaa ) . +--------+ +-------+ +-------+ . | | --+ ditaa +--> | | . | Text | +-------+ |diagram| . |Document| |!magic!| | | . | {d}| | cFF3 | | cGRE | . +---+----+ +-------+ +-------+ . : ^ . | Lots of work | . +-------------------------+ Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 12 / 32

  13. Documents: Flow diagram( ditaa ) Figure: Image imported using ditaa Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 13 / 32

  14. Trello Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 14 / 32

  15. org-trello http://org-trello.github.io/trello-setup.html Example: ;; ~/.emacs.d/.trello/USERNAME.el (setq org-trello-consumer-key "abc..." org-trello-access-token "def...") Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 15 / 32

  16. Connect to the Trello board (use-package org-trello :ensure t :config (custom-set-variables '(org-trello-files '("~/trello/myboard.org")))) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 16 / 32

  17. Presentation: L A T EX Beamer Figure: Beamer Presentation https://opensource.com/article/18/4/ how-create-latex-documents-emacs Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 17 / 32

  18. Presentation: Reveal.js https://github.com/yjwen/org-reveal https://opensource.com/article/18/2/ how-create-slides-emacs-org-mode-and-revealjs Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 18 / 32

  19. Presentation: org-tree-slide https://github.com/takaxp/org-tree-slide Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 19 / 32

  20. Version control: magit https://magit.vc/ https://opensource.com/article/19/1/how-use-magit Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 20 / 32

  21. Version control: git-timemachine https://gitlab.com/pidu/git-timemachine Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 21 / 32

  22. Agenda: org-agenda (setq org-agenda-files '("~/agenda/work/work.org" "~/agenda/todo/read.org" "~/agenda/todo/todo.org")) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 22 / 32

  23. Agenda: org-agenda (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/agenda/todo/todo.org" "Tasks") "* TODO %i%?\n %U\n %a") ("n" "Notes" entry (file+headline "~/agenda/notes.org" "Notes") "* %A%?\n %U") ("i" "Insights" entry (file+headline "~/agenda/work/work.org" "Insights") "* %u%?"))) Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 23 / 32

  24. Agenda: org-agenda https: //gitlab.com/psachin/emacs.d/blob/master/mytime.org https://emacs.cafe/emacs/orgmode/gtd/2017/06/30/ orgmode-gtd.html Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 24 / 32

  25. The Diary file Friday 20:10 to 20:30 Meeting with Rey 21:30 to 24:30 FSF IRC meeting Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 25 / 32

  26. Desktop Notification https: //psachin.gitlab.io/emacs_diary_desktop_notification.html Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 26 / 32

  27. System Man pages: M-x man Terminal: M-x eshell File browser: Dired mode grep: M-x grep Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 27 / 32

  28. Blogging: org-jekyll https://orgmode.org/worg/org-tutorials/org-jekyll.html Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 28 / 32

  29. org-publish (require 'ox-publish) (setq org-publish-project-alist '( ;; ... add all the components here (see below)... )) https://orgmode.org/worg/org-tutorials/ org-publish-html-tutorial.html https://gitlab.com/psachin/psachin.gitlab.io/blob/ master/publish.el Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 29 / 32

  30. Games M-x snake M-x tetris M-x doctor . . . Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 30 / 32

  31. Programming? Support to all major programming languages Syntax coloring etc. Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 31 / 32

  32. Thank You Questions? https://psachin.gitlab.io psachin@redhat.com Made with Love, GNU Emacs & Orgmode Sachin Patil (psachin) (Red Hat) GNU Emacs for All EmacsConf 2019 32 / 32

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend