Questions tagged [networking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Emacs hangs the network when C-g or M-x keyboard-quit, what does keyboard-quit do behind the scenes?

Working with emacs on a new RH8 network accessed from a remote windows machine using VNC. Emacs is running on RH8. Starting from emacs -Q when I perform C-g or M-x keyboard-quit emacs hangs and the ...
Mikef's user avatar
  • 175
0 votes
1 answer
47 views

How to search regex in a url-retrieve buffer?

I'm trying to implement a login system with emacs lisp, the login system has a hidden input field that's initially empty and is filled by a piece of javascript code when submitting. I'm currently ...
ygy's user avatar
  • 103
1 vote
1 answer
64 views

Find the IPv4 address of the host

I'm configuring simple-httpd so I can access my elfeed remotely and would like to automatically detect the IP address of the host (since I use the config across machines and want to set it dynamically)...
slackline's user avatar
  • 335
0 votes
0 answers
73 views

Understanding certificate security warning

I'm encountering the below warning about a change in the fingerprint for a server I regularly connect to: Certificate information Issued by: R3 Issued to: CN=sms.erjoalgo.com ...
erjoalgo's user avatar
  • 863
1 vote
1 answer
34 views

Why this magit process happens after pushing some changes to a remote repository? How to avoid it?

After pushing some changes to a remote repository using magit, Emacs shows this process running: git-credenti... 72390 run *git-creden... /dev/pts/1 git credential-cache--daemon /home/pedro/....
Pedro Delfino's user avatar
1 vote
1 answer
646 views

Different folder for .emacs (not HOME)

My company's I.T. department has assigned our HOME directory to a network server. With the COVID-19 pandemic we are now using VPN to connect to the company's network. Having to to go through VPN to ...
Thomas Matthews's user avatar
1 vote
1 answer
61 views

Lexical binding in a process filter

The code constantly prints server-process: nil instead of the server process name: -*- lexical-binding: t; -*- (let* ((port 1234) (server-process 'something)) (setq server-process (...
Damien Cassou's user avatar
1 vote
1 answer
363 views

How to use skewer mode beyond localhost?

I'd like to write the code for a website on one pc and see the results in a browser on another pc in my local network. For calling the skewer script in html, I replaced localhost with the local ip of ...
kai-dj's user avatar
  • 427
10 votes
2 answers
4k views

How do I retrieve the machine's hostname?

I'm currently hacking on an elisp IRC bot and have a section of code that I want to enable only when it's run on a remote machine with a specific hostname. However, I couldn't find any premade ...
wasamasa's user avatar
  • 22.1k
2 votes
1 answer
747 views

How to get the IP address of a host in Elisp?

I need something like get-host-by-name or getent-hosts but I can not find any. Do they exist?
ceving's user avatar
  • 1,348
2 votes
0 answers
346 views

make-network-process fails in Emacs 25

make-network-process fails on Emacs25 (25.1.50.2 2016-07-03) when loaded with -q and -Q and trying to eval the following example: (make-network-process :name "*server2*" :type nil ; stream :server ...
Joe's user avatar
  • 1,322
3 votes
0 answers
88 views

Display all internet connections during startup

How can I display all Internet connections that are used during startup? Sometimes I work in a low speed Internet environment and I would like to remove all the Internet connection code during startup....
xuhdev's user avatar
  • 1,899
4 votes
1 answer
202 views

Find IPv6 address of network interface

I want to find the IP addresses of all network interfaces in an elisp program. I tried this: (mapcar (lambda (if) (cons (car if) (network-interface-info (car if)))) (network-interface-...
legoscia's user avatar
  • 6,052
4 votes
2 answers
3k views

Tramp method for Docker

I want to add a Tramp method for opening files from Docker containers. Here's what I've got so far (but it doesn't work): (add-to-list 'tramp-methods '("docker" (...
wvxvw's user avatar
  • 11.3k
3 votes
2 answers
476 views

Local host's FQDN in Emacs 25?

In Emacs 24, the function system-name returns an FQDN. In Emacs 25, system-name returns just the host name, and there doesn't seem to be a good way to get the FQDN. How do I get an FQDN portably ...
jch's user avatar
  • 5,720
14 votes
7 answers
3k views

Elisp code to check for internet connection

When I open Emacs, it evaluates my init file, which includes refreshing my package archives via internet connection. This is problematic when I don't have an internet connection, thus I need to ...
modulitos's user avatar
  • 2,472
8 votes
3 answers
3k views

Emacs on Windows 7 very slow when computer is outside company network

I'm using GNU Emacs 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness. I'm launching Emacs with runemacs.exe However, when I am travelling and try to connect to my ...
MostlyHarmless's user avatar
2 votes
3 answers
118 views

Why is emacs attempting to connect to remote bookmarks after I deleted them?

I had bookmarks to some files on windows servers for quick and easy access. Well, I lost access to the server (the account's password changed), so I 1) removed those entries from my bookmarks list and ...
willwillis's user avatar
8 votes
3 answers
3k views

How do I connect to IRC using Emacs?

I want to get onto the #Emacs channel on Freenode. How do I do it?
nixeagle's user avatar
  • 2,457
55 votes
3 answers
37k views

How do I use emacsclient to connect to a remote emacs instance?

I'd like to be able to run emacs on one computer: server $ emacs --daemon And then connect to it from another: local $ emacsclient -c server Is this possible? If so, how?
liszt's user avatar
  • 735
10 votes
2 answers
591 views

How can I download a web page's source from Emacs?

I want to use Emacs as an enhanced way to view the source of a page (say http://example.com). Is there some easy way to download the page directly from Emacs, maybe even through C-x C-f? I remember ...
Tikhon Jelvis's user avatar