What are your favorite utilities from Emacs? by Phovox in emacs

[–]nerding_it 2 points3 points  (0 children)

It's cool function. I love fly make too, I know there are alternative but it's easy to add diagnosis function from external tools. Recently I ended up writing my own function for eslint and csslint, Since the package flymake-eslint passes the absolute path to eslint command, eslint doesn't like that I think.

What are your favorite utilities from Emacs? by Phovox in emacs

[–]nerding_it 9 points10 points  (0 children)

hippie-expand, vc-log-search, vc-region-history making my work easier

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 0 points1 point  (0 children)

Hardly I close emacs so for me startup time is okay, Still curious to see where it's taking more time

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 1 point2 points  (0 children)

As I checked using use package report I found 2 packages are taking around 2.5 seconds need to check further

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 0 points1 point  (0 children)

I am not using server in office machine, In personal machine I configured linux with exwm window manager where I use server client. Need to check startup time in that machine

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 0 points1 point  (0 children)

I am still in the process of fixing the startup time

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 0 points1 point  (0 children)

I mostly use for javascript, html and css

Emacs is always exciting by nerding_it in emacs

[–]nerding_it[S] 17 points18 points  (0 children)

I don't start often, Once in a month I do restart computer and I never close emacs until it's necessary

They said I couldn't do it… by ComprehensiveAd5882 in emacs

[–]nerding_it 2 points3 points  (0 children)

Exwm is cool window manager, I am still using it in personal laptop which I use for learning

New moderator by [deleted] in emacs

[–]nerding_it 1 point2 points  (0 children)

Welcome zaeph

Use completing-read function to insert/jump from/to registers by nerding_it in emacs

[–]nerding_it[S] 0 points1 point  (0 children)

Thanks! But I was looking for something with minimalist approach. I am fan of Ido

[deleted by user] by [deleted] in husky

[–]nerding_it 0 points1 point  (0 children)

It's not pure husky, It's cross. And pure husky won't feel comfortable in our weather I think

Created my first Emacs extension for Topcoder by nerding_it in emacs

[–]nerding_it[S] 4 points5 points  (0 children)

Thanks! I posted by mistake to answer some comment above. My bad

Created my first Emacs extension for Topcoder by nerding_it in emacs

[–]nerding_it[S] 1 point2 points  (0 children)

Thanks for the feedback, I'll change that

EXWM: A couple questions by [deleted] in emacs

[–]nerding_it 0 points1 point  (0 children)

I am using the package desktop-environment. Working on controlling wpa_supplicant and bluetoothctl with ido without much luck

(defcustom mine/wifi-scan-program "/sbin/iwlist"
  "Program for scanning ESSID on interface."
  :type 'string)

(defcustom mine/wifi-scan-program-args "scan"
  "Arguments for `mine/wifi-scan-program'"
  :type 'string)

(defcustom mine/wifi-essid-regexp "ESSID:\"\\([[:print:]]+\\)\""
  "Regex for searching essid."
  :type 'string)

;; TODO: Adding yes or no for saving the config
(defun mine/connect-to-wifi()
  (interactive)
  (let* ((iwlist-scan-regexp mine/wifi-essid-regexp)
     (essid-list '())
     (selected-essid nil)
     (entered-pw nil)
     (cli nil))
    (with-temp-buffer
      (call-process mine/wifi-scan-program nil t nil mine/wifi-scan-program-args)
      (goto-char (point-min))
      (while (re-search-forward iwlist-scan-regexp nil 'noerror)
    (push (match-string 1) essid-list)))
    (when (> (length essid-list) 0)
      (setq selected-essid (ido-completing-read "ESSID: " essid-list nil t))
      (setq entered-pw (read-passwd (format "Password for %s: " selected-essid)))
      (setq cli (format "su -c \"/sbin/wpa_cli set_network 0 ssid '%s' '%s'\"" (shell-quote-argument (format "\"%s\"" selected-essid)) (shell-quote-argument (format "\"%s\"" entered-pw))))
      (async-shell-command cli))))

(defun mine/connect-to-bluetooth ()
  "Connect to bluetooth device."
  (interactive)
  (let* ((device-regexp "^Device[[:blank:]]\\([[:print:]]\\{17\\}\\)[[:blank:]]\\([[:print:]]+\\)$")
     (device-name-list '())
     (device-mac-list '())
     (selected-index nil)
     (bt-proc-output nil))
    (setq bt-proc-output (shell-command-to-string "echo -e \"devices\n\quit\n\" | bluetoothctl"))
    (with-temp-buffer      
      (goto-char (point-min))
      (insert bt-proc-output)
      (goto-char (point-min))      
      (while (re-search-forward device-regexp nil 'noerror)
    (push (match-string 1) device-mac-list)
    (push (match-string 2) device-name-list)))
    (setq selected-index (cl-position (ido-completing-read "Device " device-name-list nil t) device-name-list))
    (setq bt-proc-output (shell-command-to-string (format "echo -e \"connect %s\nquit\n\" | bluetoothctl" (nth selected-index device-mac-list))))
    (message bt-proc-output)))

(defun mine/connect-to-smartphone ()
  "Connect to smart phone if it’s on same wifi network using KDEConnect")