[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debbugs-tracker] bug#30862: closed (25.3; Need variant of `make-process
From: |
GNU bug Tracking System |
Subject: |
[debbugs-tracker] bug#30862: closed (25.3; Need variant of `make-process' that uses file name handlers) |
Date: |
Sat, 22 Dec 2018 22:27:02 +0000 |
Your message dated Sat, 22 Dec 2018 23:26:11 +0100
with message-id <address@hidden>
and subject line Re: bug#28691: [PATCH] Add file name handler support for
'make-process' (Bug#28691)
has caused the debbugs.gnu.org bug report #28691,
regarding 25.3; Need variant of `make-process' that uses file name handlers
to be marked as done.
(If you believe you have received this mail in error, please contact
address@hidden)
--
28691: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28691
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message ---
Subject: |
25.3; Need variant of `make-process' that uses file name handlers |
Date: |
Mon, 19 Mar 2018 20:46:31 +0100 |
Most fundamental process-related functions (call-process, start-process)
have variants that take file name handlers into account, except
make-process. Since make-process is more powerful than start-process,
it should also have a variant that honors file name handlers. For
example, it could accept another keyword argument ‘:file-handlers’
which, if non-nil, would invoke file name handlers based on
‘default-directory’.
In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version
10.12.6 (Build 16G29))
of 2017-09-15 built on p
Windowing system distributor 'Apple', version 10.3.1561
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/25.3/share/info/emacs
--prefix=/usr/local/Cellar/emacs/25.3 --without-x --with-xml2
--without-dbus --without-gnutls --without-imagemagick --with-modules
--with-ns --disable-ns-self-contained'
Configured features:
JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: C/l
Minor modes in effect:
global-git-commit-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
diff-auto-refine-mode: t
global-company-mode: t
global-flycheck-mode: t
flyspell-mode: t
yas-global-mode: t
TeX-PDF-mode: t
TeX-source-correlate-mode: t
save-place-mode: t
xterm-mouse-mode: t
which-function-mode: t
show-paren-mode: t
server-mode: t
ido-ubiquitous-mode: t
global-hl-line-mode: t
global-auto-revert-mode: t
electric-pair-mode: t
display-battery-mode: t
desktop-save-mode: t
auto-insert-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-quote-mode: t
electric-layout-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
global-prettify-symbols-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
size-indication-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent messages:
Git finished [2 times]
[C-t] show common commands, [?] describe events, [C-h i] show manual
Composing main Info directory...done
Mark saved where search started
Type C-x 1 to delete the help window.
[2 times]
scroll-down-command: Beginning of buffer
Load-path shadows:
/Users/p/.emacs.d/elpa/25.3/s-20171102.227/s hides
/usr/local/share/emacs/site-lisp/s-emacs/s
/usr/local/share/emacs/site-lisp/seq/seq hides
/usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/seq
/usr/local/share/emacs/site-lisp/let-alist/let-alist hides
/usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/let-alist
/usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/cl-lib hides
/usr/local/share/emacs/site-lisp/cl-lib/cl-lib
Features:
(shadow mail-extr emacsbug sendmail info pcmpl-unix pcmpl-gnu dired-aux
rect wdired pp bug-reference magit-version magit-obsolete magit-blame
magit-stash magit-bisect magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-branch magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
magit-diff smerge-mode magit-core magit-autorevert magit-process
magit-margin magit-mode magit-git magit-section magit-popup git-commit
magit-utils log-edit message rfc822 mml mml-sec epg mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader pcvs-util with-editor
async-bytecomp async jka-compr url-http tls url-auth mail-parse rfc2231
rfc2047 rfc2045 ietf-drums url-gw make-mode cap-words superword subword
debug pulse misearch multi-isearch add-log eieio-opt speedbar sb-image
ezimage dframe sh-script executable python tramp-sh tramp tramp-compat
tramp-loaddefs trampver format-spec lua-mode plain-tex tex-mode shell
pcomplete view nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph
nxml-enc xmltok conf-mode dired 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 tex-buf latex tex-ispell tex-style tex-info texinfo vc-git
diff-mode term disp-table ehelp closure-template-html-mode derived
sgml-mode apropos align markdown-mode color go-mode url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap find-file company flycheck json map find-func
haskell-mode haskell-cabal haskell-utils haskell-font-lock
haskell-indentation haskell-string haskell-sort-imports haskell-lexeme
haskell-align-imports haskell-compat haskell-complete-module
haskell-ghc-support noutline outline flymake etags xref project dabbrev
haskell-customize easy-mmode paredit edmacro kmacro flyspell ispell
whitespace yasnippet golint protobuf-mode cc-langs cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
clang-format xml phst ffap thingatpt url-parse auth-source eieio
eieio-core password-cache url-vars subr-x gnutls font-latex tex crm
advice tex-site auto-loads ruby-mode smie yaml-mode rx browse-url misc f
dash saveplace solarized-theme solarized-definitions cl-macs xt-mouse
which-func imenu paren server ido-completing-read+ cl-seq memoize s
cus-edit minibuf-eldef ido grep compile comint ansi-color ring gnus
gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr
wid-edit hl-line autorevert filenotify elec-pair battery desktop
frameset autoinsert cus-start cus-load sort finder-inf package
epg-config seq seq-25 byte-opt bytecomp byte-compile cl-extra help-mode
easymenu cconv cl gv 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 970150 139179)
(symbols 48 53138 0)
(miscs 40 18356 7061)
(strings 32 193524 21151)
(string-bytes 1 6335115)
(vectors 16 82337)
(vector-slots 8 1995260 121894)
(floats 8 734 754)
(intervals 56 64528 2311)
(buffers 976 150))
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#28691: [PATCH] Add file name handler support for 'make-process' (Bug#28691) |
Date: |
Sat, 22 Dec 2018 23:26:11 +0100 |
Am Sa., 22. Dez. 2018 um 10:09 Uhr schrieb Eli Zaretskii <address@hidden>:
>
> > From: Philipp Stephani <address@hidden>
> > Cc: address@hidden,
> > Philipp Stephani <address@hidden>
> > Date: Mon, 17 Dec 2018 21:47:46 +0100
> >
> > * src/process.c (Fmake_process): Add new keyword argument
> > ':file-handler'.
> > (syms_of_process) <make-process, :file-handler>: Define new symbols.
> >
> > * lisp/files.el (file-name-non-special): Add support for
> > 'make-process'.
> >
> > * test/src/process-tests.el (make-process/file-handler/found)
> > (make-process/file-handler/not-found)
> > (make-process/file-handler/disable): New unit tests.
> > (process-tests--file-handler): New helper function.
> >
> > * test/lisp/files-tests.el
> > (files-tests-file-name-non-special-make-process): New unit test.
> >
> > * doc/lispref/files.texi (Magic File Names): Document that
> > 'make-process' can invoke file name handlers.
> >
> > * doc/lispref/processes.texi (Asynchronous Processes): Document
> > ':file-handlers' argument to 'make-process'.
>
> Thanks, this LGTM, but some of the tests use the Emacs binary, while
> others still use /bin/true for some reason. What am I missing?
The one that uses /bin/true never invokes it, but only tests whether
the full argument list is passed to the handler. I've changed this now
to /some/binary to clarify that the actual string doesn't matter.
>
> Please also include etc/NEWS change in the log message.
>
Done and pushed as 039be4e025. Thanks!
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [debbugs-tracker] bug#30862: closed (25.3; Need variant of `make-process' that uses file name handlers),
GNU bug Tracking System <=