GNU bug report logs - #24513
25.1; bad server-socket-dir

Previous Next

Package: emacs;

Reported by: Trevor Jim <tjim <at> mac.com>

Date: Thu, 22 Sep 2016 19:39:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 18658

Found in versions 24.3, 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 24513 in the body.
You can then email your comments to 24513 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 bug-gnu-emacs <at> gnu.org:
bug#24513; Package emacs. (Thu, 22 Sep 2016 19:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Trevor Jim <tjim <at> mac.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 22 Sep 2016 19:39:02 GMT) Full text and rfc822 format available.

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

From: Trevor Jim <tjim <at> mac.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; bad server-socket-dir
Date: Thu, 22 Sep 2016 15:38:05 -0400
-------

In server.el the definition of server-socket-dir is

    (defvar server-socket-dir
      (and (featurep 'make-network-process '(:family local))
           (format "%s/emacs%d" (or (getenv "TMPDIR") "/tmp") (user-uid)))
      "The directory in which to place the server socket.
    If local sockets are not supported, this is nil.")

Now on my system TMPDIR is a string ending in /,
therefore server-socket-dir ends up being a string containing //:

    (getenv "TMPDIR")
    "/var/folders/bd/4n090_dd5xq6g4yrf5pf0vjm0000gn/T/"
    server-socket-dir
    "/var/folders/bd/4n090_dd5xq6g4yrf5pf0vjm0000gn/T//emacs501"

Correct value for server-socket-dir would be

    "/var/folders/bd/4n090_dd5xq6g4yrf5pf0vjm0000gn/T/emacs501"

The incorrect value is confusing emacsclient.

-------




In GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
 of 2016-09-17 built on builder10-9.porkrind.org
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp''

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Quit
Saving file /Users/trevor/tmp/setup/org/journal.org...
Wrote /Users/trevor/tmp/setup/org/journal.org
Type "q" to restore previous buffer.
Making completion list... [3 times]

command-execute: Command attempted to use minibuffer while in minibuffer
s is undefined
e is undefined
user-error: No next help buffer
Quit [6 times]

Load-path shadows:
/Users/trevor/.emacs.d/elpa/helm-20160723.2238/helm-multi-match hides /Users/trevor/.emacs.d/elpa/helm-core-20160723.944/helm-multi-match

Features:
(shadow sort company-oddmuse company-keywords company-etags
company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-css company-nxml company-bbdb
mail-extr emacsbug sendmail bookmark org-capture novice tramp-cache
eieio-opt speedbar sb-image ezimage dframe rect org-element org-rmail
org-mhe org-irc org-info org-gnus org-docview doc-view subr-x jka-compr
image-mode org-bibtex bibtex org-bbdb org-w3m org-agenda vc-dispatcher
debug tabify man misearch multi-isearch vc-git pp caml-font org
org-macro org-footnote org-pcomplete org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat
org-macs org-loaddefs find-func ag vc-svn find-dired s go-mode url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util find-file ffap url-parse url-vars etags xref project
lockstep js sgml-mode json map imenu cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs magit-blame
magit-stash magit-bisect magit-remote magit-commit magit-sequence magit
magit-apply magit-wip magit-log magit-diff smerge-mode magit-core
magit-autorevert autorevert filenotify magit-process magit-popup
magit-mode magit-git magit-section magit-utils git-commit log-edit
pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp
tramp-compat auth-source cl-seq eieio eieio-core tramp-loaddefs trampver
shell pcomplete dash caml warnings compile comint ansi-color ring
nm-company nm nm-dateparse peg cl-macs notmuch hl-line notmuch-message
notmuch-maildir-fcc notmuch-hello wid-edit notmuch-tree notmuch-show
notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company
notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr
thingatpt icalendar diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs notmuch-tag crm notmuch-lib advice cl message dired
format-spec rfc822 mml mailabbrev mail-utils gmm-utils mailheader
mm-view mml-smime mml-sec epg gnus-util smime password-cache dig
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr company edmacro kmacro server
use-package diminish bind-key easy-mmode finder-inf go-mode-autoloads
info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 534257 40809)
 (symbols 48 43667 0)
 (miscs 40 23871 11966)
 (strings 32 99483 11652)
 (string-bytes 1 3120543)
 (vectors 16 68631)
 (vector-slots 8 1828608 240711)
 (floats 8 437 766)
 (intervals 56 6840 79)
 (buffers 976 36))




Forcibly Merged 18658 24513. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Sep 2016 19:44:01 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 12 Aug 2020 17:07:03 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 13 Aug 2020 10:02:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 18658 <at> debbugs.gnu.org and Devon Sean McCullough <Emacs-Hacker2014 <at> jovi.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 13 Aug 2020 10:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Sep 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 227 days ago.

Previous Next


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