GNU bug report logs - #63662
30.0.50; ERC 5.6: Document how to connect over SOCKS

Previous Next

Package: emacs;

Reported by: "J.P." <jp <at> neverwas.me>

Date: Tue, 23 May 2023 13:45:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63662 in the body.
You can then email your comments to 63662 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to emacs-erc <at> gnu.org, bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Tue, 23 May 2023 13:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "J.P." <jp <at> neverwas.me>:
New bug report received and forwarded. Copy sent to emacs-erc <at> gnu.org, bug-gnu-emacs <at> gnu.org. (Tue, 23 May 2023 13:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Tue, 23 May 2023 06:44:13 -0700
[Message part 1 (text/plain, inline)]
Tags: patch

For whatever reason, new and would-be users come around seeking guidance
on this particular topic with some regularity. The belated proposal
before you is intended to help stem this tide and hopefully reduce the
many man-hours spent fielding such questions on IRC.


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.37, cairo version 1.17.6) of 2023-05-23 built on localhost
Repository revision: d4ff1d74209e97730c52ddd50c4d643c79087a33
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: Fedora Linux 37 (Workstation Edition)

Configured using:
 'configure --enable-check-lisp-object-type --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3'
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils erc derived auth-source eieio
eieio-core password-cache json map format-spec erc-backend erc-networks
easy-mmode byte-opt bytecomp byte-compile erc-common inline erc-compat
cl-seq cl-macs gv pcase rx subr-x cl-loaddefs cl-lib erc-loaddefs rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process emacs)

Memory information:
((conses 16 117635 9315)
 (symbols 48 9931 0)
 (strings 32 24344 2099)
 (string-bytes 1 808855)
 (vectors 16 13426)
 (vector-slots 8 195576 8096)
 (floats 8 24 23)
 (intervals 56 228 0)
 (buffers 976 10))

[0001-5.6-Document-recommended-way-to-use-ERC-over-Tor.patch (text/x-patch, attachment)]

Reply sent to "J.P." <jp <at> neverwas.me>:
You have taken responsibility. (Tue, 30 May 2023 14:19:01 GMT) Full text and rfc822 format available.

Notification sent to "J.P." <jp <at> neverwas.me>:
bug acknowledged by developer. (Tue, 30 May 2023 14:19:01 GMT) Full text and rfc822 format available.

Message #10 received at 63662-done <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: 63662-done <at> debbugs.gnu.org
Cc: emacs-erc <at> gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Tue, 30 May 2023 07:18:07 -0700
A version of this has been added as:

  commit 7563bf5704c9288ad79263d97b929a5b53279d44

I've also taken the liberty of adding a command to view etc/ERC-NEWS
because its existence appears to be largely unknown to non-contributors.
As an aside, it's also probably worth linking to from the official ERC
web page (along with the GNU ELPA package). We might also mention its
existence in the Info manual, perhaps under "Getting Help and Reporting
Bugs".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Tue, 30 May 2023 15:25:02 GMT) Full text and rfc822 format available.

Message #13 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 63662 <at> debbugs.gnu.org
Cc: jp <at> neverwas.me
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Tue, 30 May 2023 17:23:46 +0200
"J.P." <jp <at> neverwas.me> writes:

Hi,

> I've also taken the liberty of adding a command to view etc/ERC-NEWS

Shouldn't this file be in `emacs-news-mode' (or in `emacs-news-view-mode'
when being viewed), like etc/NEWS?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Wed, 31 May 2023 01:54:01 GMT) Full text and rfc822 format available.

Message #16 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Tue, 30 May 2023 18:53:39 -0700
Hi Michael,

Michael Albinus <michael.albinus <at> gmx.de> writes:

> "J.P." <jp <at> neverwas.me> writes:
>
> Hi,
>
>> I've also taken the liberty of adding a command to view etc/ERC-NEWS
>
> Shouldn't this file be in `emacs-news-mode' (or in `emacs-news-view-mode'
> when being viewed), like etc/NEWS?
>
> Best regards, Michael.

The command I've added tries to activate `emacs-news-view-mode' if
defined, but I'm not sure we can change the actual prop line because
older Emacs versions we support (27+) don't seem to have the file
emacs-news-mode.el.

J.P.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Wed, 31 May 2023 12:06:02 GMT) Full text and rfc822 format available.

Message #19 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "J.P." <jp <at> neverwas.me>
Cc: 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Wed, 31 May 2023 14:05:38 +0200
"J.P." <jp <at> neverwas.me> writes:

> Hi Michael,

Hi,

>>> I've also taken the liberty of adding a command to view etc/ERC-NEWS
>>
>> Shouldn't this file be in `emacs-news-mode' (or in `emacs-news-view-mode'
>> when being viewed), like etc/NEWS?
>>
>> Best regards, Michael.
>
> The command I've added tries to activate `emacs-news-view-mode' if
> defined, but I'm not sure we can change the actual prop line because
> older Emacs versions we support (27+) don't seem to have the file
> emacs-news-mode.el.

So we might release it on GNU ELPA? In its current version, it compiles
only with Emacs 29+, but it shouldn't be too hard to make it compatible
with older Emacs versions.

> J.P.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Wed, 31 May 2023 12:48:02 GMT) Full text and rfc822 format available.

Message #22 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 63662 <at> debbugs.gnu.org, "J.P." <jp <at> neverwas.me>
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Wed, 31 May 2023 07:47:26 -0500
On Wed, May 31, 2023 at 7:05 AM Michael Albinus <michael.albinus <at> gmx.de> wrote:
>
> "J.P." <jp <at> neverwas.me> writes:
>
> > The command I've added tries to activate `emacs-news-view-mode' if
> > defined, but I'm not sure we can change the actual prop line because
> > older Emacs versions we support (27+) don't seem to have the file
> > emacs-news-mode.el.
>
> So we might release it on GNU ELPA? In its current version, it compiles
> only with Emacs 29+, but it shouldn't be too hard to make it compatible
> with older Emacs versions.

Is your idea that e-n-v-m would become part of compact?

Otherwise, I think ERC would use it only when it is already installed
(which is much the same situation as now).  AFAIK we do not install
things (even from GNU ELPA) automatically when desired by some core
package.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Wed, 31 May 2023 14:16:03 GMT) Full text and rfc822 format available.

Message #25 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Wed, 31 May 2023 07:15:11 -0700
Michael Albinus <michael.albinus <at> gmx.de> writes:

> "J.P." <jp <at> neverwas.me> writes:
>
>> Hi Michael,
>
> Hi,
>
>>>> I've also taken the liberty of adding a command to view etc/ERC-NEWS
>>>
>>> Shouldn't this file be in `emacs-news-mode' (or in `emacs-news-view-mode'
>>> when being viewed), like etc/NEWS?
>>>
>>> Best regards, Michael.
>>
>> The command I've added tries to activate `emacs-news-view-mode' if
>> defined, but I'm not sure we can change the actual prop line because
>> older Emacs versions we support (27+) don't seem to have the file
>> emacs-news-mode.el.
>
> So we might release it on GNU ELPA?

You mean convert emacs-news-mode.el into a :core package? No clue about
that, I'm afraid. Apologies if I left you with a different impression.

> In its current version, it compiles only with Emacs 29+, but it
> shouldn't be too hard to make it compatible with older Emacs versions.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Thu, 01 Jun 2023 10:46:02 GMT) Full text and rfc822 format available.

Message #28 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Corwin Brust <corwin <at> bru.st>
Cc: 63662 <at> debbugs.gnu.org, "J.P." <jp <at> neverwas.me>
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Thu, 01 Jun 2023 12:44:46 +0200
Corwin Brust <corwin <at> bru.st> writes:

Hi Corwin,

>> > The command I've added tries to activate `emacs-news-view-mode' if
>> > defined, but I'm not sure we can change the actual prop line because
>> > older Emacs versions we support (27+) don't seem to have the file
>> > emacs-news-mode.el.
>>
>> So we might release it on GNU ELPA? In its current version, it compiles
>> only with Emacs 29+, but it shouldn't be too hard to make it compatible
>> with older Emacs versions.
>
> Is your idea that e-n-v-m would become part of compact?

No.

> Otherwise, I think ERC would use it only when it is already installed
> (which is much the same situation as now).  AFAIK we do not install
> things (even from GNU ELPA) automatically when desired by some core
> package.

It depends. You could use it when installed (either in vanilla Emacs or
as GNU ELPA package), w/o requiring it.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Thu, 01 Jun 2023 11:02:02 GMT) Full text and rfc822 format available.

Message #31 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "J.P." <jp <at> neverwas.me>
Cc: 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Thu, 01 Jun 2023 13:01:00 +0200
"J.P." <jp <at> neverwas.me> writes:

Hi,

>>> The command I've added tries to activate `emacs-news-view-mode' if
>>> defined, but I'm not sure we can change the actual prop line because
>>> older Emacs versions we support (27+) don't seem to have the file
>>> emacs-news-mode.el.
>>
>> So we might release it on GNU ELPA?
>
> You mean convert emacs-news-mode.el into a :core package? No clue about
> that, I'm afraid. Apologies if I left you with a different impression.

Yes. It wouldn't be useful not only for ERC-NEWS, but for all other
packages providing a *-NEWS file. If they are willing to follow the
conventions.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Fri, 02 Jun 2023 14:03:02 GMT) Full text and rfc822 format available.

Message #34 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: emacs-erc <at> gnu.org, 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Fri, 02 Jun 2023 07:02:46 -0700
Michael Albinus <michael.albinus <at> gmx.de> writes:

>>> "J.P." <jp <at> neverwas.me> writes:
>>>>
>>>>>> I've also taken the liberty of adding a command to view etc/ERC-NEWS
>>>>>
>>>>> Shouldn't this file be in `emacs-news-mode' (or in `emacs-news-view-mode'
>>>>> when being viewed), like etc/NEWS?
>>>>
>>>> The command I've added tries to activate `emacs-news-view-mode' if
>>>> defined, but I'm not sure we can change the actual prop line because
>>>> older Emacs versions we support (27+) don't seem to have the file
>>>> emacs-news-mode.el.

It sure took me long enough, but I think I finally understand what you
meant about changing the mode declared in the file. I guess I didn't
realize Emacs gracefully falls back to trying other listed major modes
(despite that being clearly explained in "(emacs) Specifying File
Variables"). So, unless anyone has a problem with my doing so, I'll go
ahead and update etc/ERC-NEWS accordingly. Thanks!

>>> So we might release it on GNU ELPA?
>>
>> You mean convert emacs-news-mode.el into a :core package? No clue about
>> that, I'm afraid. Apologies if I left you with a different impression.
>
> Yes. It wouldn't be useful not only for ERC-NEWS, but for all other
> packages providing a *-NEWS file. If they are willing to follow the
> conventions.

If emacs-news-mode.el does become another :core package, I suppose ERC,
eglot, and co. would be expected to add it to our ";; Package-Requires:"
headers? Another option might be to print a message upon failing to load
`emacs-news-view-mode' that informs people of its availability on GNU
ELPA.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63662; Package emacs. (Fri, 02 Jun 2023 14:32:02 GMT) Full text and rfc822 format available.

Message #37 received at 63662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "J.P." <jp <at> neverwas.me>
Cc: emacs-erc <at> gnu.org, 63662 <at> debbugs.gnu.org
Subject: Re: bug#63662: 30.0.50; ERC 5.6: Document how to connect over SOCKS
Date: Fri, 02 Jun 2023 16:31:04 +0200
"J.P." <jp <at> neverwas.me> writes:

Hi,

> If emacs-news-mode.el does become another :core package, I suppose ERC,
> eglot, and co. would be expected to add it to our ";; Package-Requires:"
> headers? Another option might be to print a message upon failing to load
> `emacs-news-view-mode' that informs people of its availability on GNU
> ELPA.

The former.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jul 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.