Michael Albinus
ddff5d3d87
Some minor Tramp changes
...
* doc/lispref/os.texi (Timers): Speak about `remote-file-error'.
* doc/misc/tramp.texi (Frequently Asked Questions): Speak about
`remote-file-error'.
(External packages): New subsection "Timers".
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Adapt error
function. Handle coding.
* lisp/net/tramp.el (tramp-handle-make-process): Adapt error function.
2020-12-17 18:52:23 +01:00
Michael Albinus
c8aad8cc11
Revert last change in tramp-maybe-open-connection)
...
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Revert last change,
it causes trouble.
2020-12-15 12:50:50 +01:00
Michael Albinus
c0c6cd2d5d
Add 'remote-file-error' for Tramp
...
* doc/lispref/errors.texi (Standard Errors): Add 'remote-file-error'.
* etc/NEWS: Mention 'remote-file-error'.
* lisp/net/ange-ftp.el (ftp-error): Add error condition
`remote-file-error'.
* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Do not set
`tramp-locked'.
* lisp/net/tramp-compat.el (remote-file-error): Define if it
doesn't exist.
* lisp/net/tramp-sh.el (tramp-timeout-session): Check for "locked"
property.
(tramp-maybe-open-connection): Simplify.
* lisp/net/tramp.el (tramp-locked, tramp-locker): Remove them.
(tramp-file-name-handler): Do not set them.
(with-tramp-locked-connection): New defmacro.
(tramp-accept-process-output, tramp-send-string): Use it.
* src/fileio.c (Qremote_file_error): New error symbol.
* test/lisp/net/tramp-tests.el (tramp-test43-asynchronous-requests):
Adapt test. Remove :unstable tag.
2020-12-14 19:30:01 +01:00
Stefan Kangas
f1dae2551c
Prefer setq to set+quote
...
* lisp/cedet/semantic/senator.el (senator-lazy-highlight-update):
* lisp/emulation/edt.el (edt-find, edt-restore-key)
(edt-remember):
* lisp/eshell/em-ls.el (eshell-ls--insert-directory):
* lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* test/lisp/url/url-future-tests.el (url-future-tests): Prefer setq to
set+quote.
2020-12-14 15:11:05 +01:00
Torsten Hilbrich
c42965745d
Merge branch 'feature/integration-of-dictionary-el'
...
b6227446d9
Importing dictionary module
658ec3ccee
Renamed connection.el
e2ebffdd62
Renamed link.el
723906c444
Removed some compability parts in dictionary
5dc17d73b0
Add :version tag to defcustom statement
49c250b388
Dont't check coding-system-list for existence
99a7e918c8
Don't check for existence of defface
1773b9b687
Dictionary now uses button
329b6a0210
Adding details page for dictionary
837505075c
Fix dictionary tooltip mode
2f1e4fbc42
Support nil value for dictionary-server
91ff1c8f7c
Move placement of dictionary-tooltip-mouse-event
28fe134971
Remove text property from empty line
7ca331a4f9
Add history of search words to read-string
d5a4da25b0
* lisp/net/dictionary.el: Remove remnants of package
cc5f280378
* lisp/net/dictionary.el: Add lexical-binding:t
09952ce434
Removed useless check for popup-menu
81ebe86d8d
Show error message when asking to match for nothing
0044a2e888
* lisp/net/dictionary-connection.el: Add lexical-binding:t
f58443780c
* lisp/net/dictionary-connection.el: Remove obsolete Version
54a3964e29
Update GPL version
a557a103cc
* lisp/net/dictionary-connection.el: Prefer defsubst
ffa7d6671d
* lisp/net/dictionary.el: Prefer defsubst over defmacro
4deb8618e4
* lisp/net/dictionary.el (dictionary-mode): Use setq-local
d30618cbc1
* lisp/net/dictionary.el (dictionary-tooltip-mode): Use ...
a25a12ddaf
Use when where else case returns nil
89e9c1686e
* lisp/net/dictionary.el (dictionary-display-more-info): ...
d466231c3e
A number of docstring fixes
b18217eb87
A number of docstring fixes
ca0de4d1e0
* etc/NEWS: Add entry for dictionary.el
62d14e10f9
* lisp/net/dictionary.el (dictionary-pre-buffer): Unify casing
2020-12-14 12:09:41 +01:00
Torsten Hilbrich
62d14e10f9
* lisp/net/dictionary.el (dictionary-pre-buffer): Unify casing
...
Let all the buttons begins with an upper-case character and the rest of
the text is lower-case.
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
b18217eb87
A number of docstring fixes
...
* lisp/net/dictionary-connection.el (dictionary-connection-p,
dictionary-connection-read-point, dictionary-connection-process,
dictionary-connection-buffer, dictionary-connection-set-read-point,
dictionary-connection-set-process, dictionary-connection-set-buffer,
dictionary-connection-create-data, dictionary-connection-open,
dictionary-connection-status, dictionary-connection-close,
dictionary-connection-send, dictionary-connection-send-crlf,
dictionary-connection-read, dictionary-connection-read-crlf,
dictionary-connection-read-to-point): Fix docstring
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
d466231c3e
A number of docstring fixes
...
* lisp/net/dictionary.el (dictionary-set-server-var, dictionary-mode,
dictionary, dictionary-new-buffer, dictionary-reply-code,
dictionary-reply, dictionary-reply-list, dictionary-open-server,
dictionary-check-connection, dictionary-mode-p, dictionary-close,
dictionary-read-reply, dictionary-split-string,
dictionary-read-reply-and-split, dictionary-read-answer,
dictionary-check-reply, dictionary-coding-system,
dictionary-decode-charset, dictionary-encode-charset,
dictionary-check-initial-reply, dictionary-store-state,
dictionary-restore-state, dictionary-new-search,
dictionary-new-search-internal, dictionary-do-search,
dictionary-pre-buffer, dictionary-post-buffer,
dictionary-display-search-result, dictionary-display-word-entry,
dictionary-display-word-definition, dictionary-mark-reference,
dictionary-select-dictionary, dictionary-display-dictionarys,
dictionary-display-dictionary-line, dictionary-set-dictionary,
dictionary-special-dictionary, dictionary-display-more-info,
dictionary-select-strategy, dictionary-do-select-strategy,
dictionary-display-strategies, dictionary-display-strategy-line,
dictionary-set-strategy, dictionary-new-matching,
dictionary-do-matching, dictionary-display-only-match-result,
dictionary-display-match-result, dictionary-display-match-result,
dictionary-display-match-lines, dictionary-search,
dictionary-previous, dictionary-help, dictionary-match-words,
dictionary-mouse-popup-matching-words,
dictionary-popup-matching-words, dictionary-tooltip-mode,
dictionary-tooltip-mouse-event): Fix docstring
The following kind of changes were made:
- finish first line with a full stop (.)
- mention parameter in upper-case whenever possible (considering the
length constraints)
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
89e9c1686e
* lisp/net/dictionary.el (dictionary-display-more-info): Spelling fix
...
Fix the spelling in the error message for non-existing dictionary.
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
a25a12ddaf
Use when where else case returns nil
...
* lisp/net/dictionary-connection.el (dictionary-connection-status,
dictionary-connection-close): Instead of returning nil in the else case
of the if just use when.
Was suggested by Stefan Kangas.
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
d30618cbc1
* lisp/net/dictionary.el (dictionary-tooltip-mode): Use setq-local
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
4deb8618e4
* lisp/net/dictionary.el (dictionary-mode): Use setq-local
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
ffa7d6671d
* lisp/net/dictionary.el: Prefer defsubst over defmacro
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
a557a103cc
* lisp/net/dictionary-connection.el: Prefer defsubst
...
Use defsubst instead of defmacro here. It was suggested by Stefan
Kangas to replace the defmacro here and, looking at the lispref,
defsubst seems to be a suitable replacement providing the same
benefit of inlining functionality as the defmacro.
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
54a3964e29
Update GPL version
...
* lisp/net/dictionary.el: Use GPL version 3 or later
* lisp/net/dictionary-connection.el: Use GPL version 3 or later
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
f58443780c
* lisp/net/dictionary-connection.el: Remove obsolete Version
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
0044a2e888
* lisp/net/dictionary-connection.el: Add lexical-binding:t
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
81ebe86d8d
Show error message when asking to match for nothing
...
* lisp/net/dictionary.el (dictionary-popup-matching-words): Show error
if neither the parameter nor the word at point are defined
This avoids an error later on when the nil value is used as string
within dictionary-encode-charset.
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
09952ce434
Removed useless check for popup-menu
...
* lisp/net/dictionary.el (dictionary-popup-matching-words): No need to
check for popup-menu, the code is part of Emacs now and the function
should always be there
2020-12-14 11:45:24 +01:00
Torsten Hilbrich
cc5f280378
* lisp/net/dictionary.el: Add lexical-binding:t
...
Fixing all the issues found by this. A number of unused variables were
reported here.
2020-12-14 11:45:24 +01:00
F. Jason Park
abc8d6b946
Append incremental message segments in socks-filter
...
* lisp/net/socks.el (socks-filter): Preserve the order data arrive
instead of semi-reversing it (bug#45162).
Copyright-paperwork-exempt: yes
2020-12-11 16:36:02 +01:00
Michael Albinus
2782d1e1a1
Improve tests for gio file notifications
...
* .gitlab-ci.yml (test-filenotify-gio): Call "make -k".
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
Set connection property "gio-file-monitor".
* lisp/net/tramp-sh.el (tramp-get-remote-gio-file-monitor): New defun.
(tramp-sh-handle-file-notify-add-watch): Use it.
* test/lisp/filenotify-tests.el (file-notify--test-read-event): Simplify.
(file-notify--test-monitor): Handle also remote "gio monitor".
(file-notify-test03-events, file-notify-test04-autorevert)
(file-notify-test05-file-validity, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GKqueueFileMonitor.
2020-12-09 14:49:58 +01:00
Lars Ingebrigtsen
1fb099ceb0
Make rcirc nick renaming heed nickname max lengths
...
* lisp/net/rcirc.el (rcirc-server-parameters): New variable (bug#6795).
(rcirc-connect): Set it.
(rcirc-handler-433): Use the length from the server.
(rcirc-handler-005): Collect server data.
(rcirc-server-parameter-value): New utility function.
(rcirc--make-new-nick): New function.
2020-12-08 18:22:47 +01:00
Michael Albinus
09b040cb58
* lisp/net/tramp.el (tramp-read-passwd): Use connection-local `auth-sources'.
...
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
Move setting of connection-local variables up.
2020-12-07 10:38:24 +01:00
Michael Albinus
2bd76cc107
Make Tramp scripts more unique and robust
...
* lisp/net/tramp-sh.el (tramp-uudecode, tramp-perl-file-truename)
(tramp-perl-file-name-all-completions)
(tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes)
(tramp-perl-encode-with-module, tramp-perl-decode-with-module)
(tramp-perl-encode, tramp-perl-decode, tramp-perl-pack)
(tramp-perl-unpack, tramp-hexdump-encode, tramp-awk-encode)
(tramp-hexdump-awk-encode, tramp-od-encode, tramp-od-awk-encode)
(tramp-awk-decode): Use format specifiers supported by
`tramp-expand-script'. Adapt docstring.
(tramp-vc-registered-read-file-names): Adapt docstring.
(tramp-sh-handle-file-local-copy): Let-bind local `default-directory'.
(tramp-expand-script): New defun.
(tramp-maybe-send-script, tramp-find-inline-encoding): Use it.
(tramp-local-coding-commands): Simplify.
2020-12-06 14:24:13 +01:00
Stefan Kangas
f0db9ae213
Prefer setq-local in net/*.el
...
* lisp/net/ange-ftp.el (ange-ftp-process-handle-line):
(internal-ange-ftp-mode):
* lisp/net/imap.el (imap-fetch-safe):
* lisp/net/net-utils.el (net-utils-mode):
(nslookup-mode, network-connection-mode-setup):
* lisp/net/newst-plainview.el (newsticker-mode):
(newsticker-buffer-update):
* lisp/net/newst-treeview.el (newsticker--treeview-item-show):
(newsticker-treeview-mode):
* lisp/net/rlogin.el (rlogin):
* lisp/net/secrets.el (secrets-mode):
* lisp/net/sieve-mode.el (sieve-mode):
* lisp/net/sieve.el (sieve-setup-buffer, sieve-open-server):
* lisp/net/snmp-mode.el (snmp-common-mode, snmp-mode, snmpv2-mode):
* lisp/net/telnet.el (telnet-mode):
* lisp/net/tramp.el (tramp-get-debug-buffer): Prefer setq-local.
2020-12-04 18:43:06 +01:00
Stefan Kangas
4594d6f59a
Remove redundant requires of 'custom'
...
* lisp/emacs-lisp/eieio-custom.el:
* lisp/htmlfontify.el:
* lisp/mwheel.el:
* lisp/net/eudc-vars.el:
* lisp/net/ldap.el:
* lisp/net/tramp-ftp.el:
* lisp/net/tramp-gvfs.el:
* lisp/progmodes/cwarn.el:
* lisp/progmodes/sql.el:
* lisp/savehist.el:
* lisp/textmodes/reftex.el:
* lisp/wid-browse.el: Don't require 'custom'; it is preloaded since
version 20.1.
2020-12-03 09:50:58 +01:00
Glenn Morris
6c6d06c3ee
Merge from origin/emacs-27
...
9939c435c1
Return the correct suffix in eww-make-unique-file-name
17fa17be3d
Save bookmarks by using `write-file' (bug#12507)
2cdf1fd261
Fix filing messages when 'rmail-output-reset-deleted-flag'...
a72db8ab8b
Make file copying in tramp-gvfs more robust
f31cacd1ff
Revert "Fix incorrect handling of module runtime and envir...
cdc632fbe6
Fix incorrect handling of module runtime and environment p...
c9160bda78
CC Mode: Fix error in cache handling. This fixes bug #43481
2020-12-01 07:50:09 -08:00
Michael Albinus
ba692b790d
Allow Tramp to mirror traces to a file
...
* doc/misc/tramp.texi (Traces and Profiles): Add `tramp-debug-to-file'.
* lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
(tramp-adb-get-device):
* lisp/net/tramp-cmds.el (tramp-rename-files):
* lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter)
(tramp-gvfs-handler-volumeadded-volumeremoved)
(tramp-get-media-devices):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch)
(tramp-sh-gio-monitor-process-filter)
(tramp-sh-gvfs-monitor-dir-process-filter)
(tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
(tramp-find-inline-encoding):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl):
Use `tramp-compat-string-replace'.
* lisp/net/tramp-compat.el (tramp-compat-string-replace): New defalias.
* lisp/net/tramp.el (tramp-debug-to-file): New defcustom.
(tramp-get-debug-buffer): Simplify.
(tramp-get-debug-file-name): New defun.
(tramp-debug-message): Write debug file if indicated.
2020-12-01 13:37:03 +01:00
Michael Albinus
84a4dd1358
Adapt Tramp versions
...
* doc/misc/tramp.texi (Obtaining @value{tramp}):
(Remote shell setup, Remote processes, Archive file names):
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp versions.
2020-11-30 13:44:44 +01:00
Michael Albinus
9e0085064b
Adapt Tramp versions. Do not merge
...
* doc/misc/tramp.texi (Obtaining @value{tramp})
(Remote shell setup, Remote processes, Archive file names):
* doc/misc/trampver.texi:
* lisp/net/tramp.el:
* lisp/net/trampver.el (tramp-version)
(customize-package-emacs-version-alist): Adapt Tramp versions.
2020-11-30 13:19:19 +01:00
Akira Kyle
9939c435c1
Return the correct suffix in eww-make-unique-file-name
...
* lisp/net/eww.el (eww-make-unique-file-name): Return the correct
suffix (bug#44936).
2020-11-29 11:40:59 +01:00
Lars Ingebrigtsen
c8f3e95ae6
Tweak eww-use-browse-url doc string
...
* lisp/net/eww.el (eww-use-browse-url): Tweak doc string wording.
2020-11-29 10:54:58 +01:00
Michael Albinus
a72db8ab8b
Make file copying in tramp-gvfs more robust
...
* test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
(tramp-test12-rename-file): Do not skip for tramp-gvfs.el.
* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
Add sanity checks.
2020-11-28 12:31:43 +01:00
Stefan Kangas
affe9b225d
Make XEmacs compat aliases easy-menu-{add,remove} obsolete
...
* lisp/emacs-lisp/easymenu.el (easy-menu-remove, easy-menu-add):
Make XEmacs compat aliases obsolete.
* lisp/allout.el (allout-setup-menubar):
* lisp/cus-edit.el (Custom-mode):
* lisp/gnus/gnus-art.el (gnus-article-edit-mode):
* lisp/gnus/message.el (message-mode):
* lisp/net/sieve.el (sieve-manage-mode):
* lisp/org/org-agenda.el (org-agenda-mode):
* lisp/org/org-table.el (org-table-edit-formulas, orgtbl-mode):
* lisp/org/org.el:
* lisp/progmodes/cperl-mode.el (cperl-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/idlw-help.el (idlwave-help-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
* lisp/progmodes/idlwave.el (idlwave-mode):
* lisp/progmodes/meta-mode.el (meta-common-mode):
* lisp/progmodes/octave.el (octave-mode):
* lisp/progmodes/prolog.el (prolog-menu):
* lisp/progmodes/tcl.el (tcl-mode):
* lisp/speedbar.el (speedbar-reconfigure-keymaps):
* lisp/term.el (term-mode, term-char-mode, term-process-pager):
* lisp/textmodes/dns-mode.el (dns-mode):
* lisp/wid-browse.el (widget-browse-mode): Don't call above
obsolete aliases.
* lisp/cedet/semantic/grammar.el (semantic-grammar-setup-menu-xemacs):
* lisp/mh-e/mh-folder.el (mh-folder-mode):
* lisp/mh-e/mh-identity.el (mh-identity-add-menu):
* lisp/mh-e/mh-letter.el (mh-letter-mode):
* lisp/mh-e/mh-search.el (mh-search-mode):
* lisp/mh-e/mh-show.el (mh-show-mode):
* lisp/obsolete/otodo-mode.el (todo-mode):
* lisp/progmodes/antlr-mode.el (antlr-mode):
* lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode)
(java-mode, idl-mode, pike-mode):
* lisp/progmodes/sql.el (sql-mode, sql-interactive-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-update-mode-menu)
(vhdl-add-source-files-menu, vhdl-mode):
* lisp/textmodes/reftex-index.el (reftex-index-mode)
(reftex-index-phrases-mode):
* lisp/textmodes/reftex-toc.el (reftex-toc-mode):
* lisp/textmodes/reftex.el (reftex-mode): Only call above obsolete
aliases in XEmacs.
* lisp/progmodes/prolog.el (prolog-inferior-menu):
* lisp/erc/erc-menu.el (erc-menu-add, erc-menu-remove): Don't call
above obsolete aliases. Make obsolete.
* lisp/erc/erc-menu.el (menu, erc-menu-add, erc-menu-remove):
* lisp/progmodes/prolog.el (prolog-inferior-mode): Adjust callers.
* lisp/speedbar.el (speedbar-previous-menu): Make obsolete.
(Bug#44731)
2020-11-24 18:06:05 +01:00
Lars Ingebrigtsen
6dad1f25de
Add a user option to control how links are followed in eww
...
* doc/misc/eww.texi (Advanced): Document it (bug#44783).
* lisp/net/eww.el (eww-use-browse-url): New variable.
(eww-follow-link): Use it.
2020-11-24 08:22:26 +01:00
Glenn Morris
593c262124
Merge from origin/emacs-27
...
3ceee39819
Fix Bug#44481
2020-11-23 09:41:53 -08:00
Michael Albinus
9b6ad3107f
Replace /dev/null by remote null-device in Tramp.
...
* lisp/net/tramp-adb.el (tramp-adb-get-ls-command)
(tramp-adb-handle-set-file-times, tramp-adb-handle-process-file):
Use `tramp-get-remote-null-device'.
* lisp/net/tramp-compat.el (tramp-tramp-file-p): Declare.
(tramp-compat-null-device): New defalias.
* lisp/net/tramp-sh.el (tramp-methods) <telnet, nc>:
(tramp-perl-encode-with-module, tramp-perl-decode-with-module)
(tramp-perl-encode, tramp-perl-decode, tramp-awk-decode):
Use "%n" marker.
(tramp-do-directory-files-and-attributes-with-stat)
(tramp-sh-handle-file-name-all-completions)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-insert-directory, tramp-sh-handle-process-file)
(tramp-set-remote-path, tramp-open-connection-setup-interactive-shell)
(tramp-find-inline-encoding, tramp-send-command-and-check)
(tramp-get-remote-path, tramp-get-ls-command, tramp-get-ls-command-with)
(tramp-get-remote-awk, tramp-get-remote-hexdump, tramp-get-remote-od)
(tramp-get-env-with-u-option): Use `tramp-get-remote-null-device'.
(tramp-remote-coding-commands, tramp-call-local-coding-command):
Adapt docstring.
* lisp/net/tramp-smb.el (tramp-smb-conf): Use `null-device'.
(tramp-smb-handle-file-acl): Use `tramp-get-remote-null-device'.
* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-get-remote-null-device): New defun.
(tramp-interrupt-process): Use it.
2020-11-22 19:56:23 +01:00
Michael Albinus
3ceee39819
Fix Bug#44481
...
* lisp/net/tramp.el (tramp-system-name): New defconst.
(tramp-default-host, tramp-restricted-shell-hosts-alist)
(tramp-local-host-regexp):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it. (Bug#44481)
2020-11-21 16:00:17 +01:00
Michael Albinus
789ee3e1d5
Handle connection-local null-device and path-separator variables
...
* doc/lispref/os.texi (System Environment): Add `path-separator'
function and `null-device' variable and function.
* etc/NEWS: Mention 'null-device' and 'path-separator'. Fix typos.
* lisp/files-x.el (path-separator, null-device): New defuns. (Bug#3736)
* lisp/net/tramp-adb.el
(tramp-adb-connection-local-default-shell-variables): Rename from
`tramp-adb-connection-local-default-profile'.
* lisp/net/tramp-integration.el
(tramp-connection-local-default-system-variables): New defvar.
Add it to connection-local profiles.
(tramp-connection-local-default-shell-variables): Rename from
`tramp-connection-local-default-profile'.
* lisp/progmodes/grep.el (grep-hello-file): New defun.
(grep-compute-defaults): Use `null-device' function for remote
case. Handle remote `hello-file'. Use `process-file-shell-command'.
(grep,grep-expand-keywords, lgrep): Use `null-device' function for
remote case.
2020-11-21 15:28:52 +01:00
Stefan Kangas
ea218f424a
Don't set XEmacs only properties start-open and end-open
...
* lisp/epa.el (epa-sign-region, epa-encrypt-region):
* lisp/erc/erc.el (erc-display-prompt):
* lisp/gnus/message.el (message-forward-make-body-mime):
* lisp/net/eudc-bob.el (eudc-bob-display-jpeg)
(eudc-bob-display-audio, eudc-bob-display-generic-binary):
* lisp/url/url-http.el
(url-http-chunked-encoding-after-change-function): Don't set XEmacs
only properties start-open and end-open.
2020-11-20 16:43:57 +01:00
Torsten Hilbrich
d5a4da25b0
* lisp/net/dictionary.el: Remove remnants of package
...
Version and package depedencies are not useful when included into
Emacs.
2020-11-19 21:21:43 +01:00
Michael Albinus
4fa1de82a2
Use decoding implementation from `insert-directory' in Tramp
...
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
Use decoding implementation from `insert-directory', it is more robust.
2020-11-19 17:18:36 +01:00
Matthias Meulien
7ca331a4f9
Add history of search words to read-string
2020-11-19 08:33:42 +01:00
Matthias Meulien
28fe134971
Remove text property from empty line
2020-11-19 08:32:28 +01:00
Torsten Hilbrich
91ff1c8f7c
Move placement of dictionary-tooltip-mouse-event
...
* lisp/net/dictionary.el (dictionary-tooltip-mouse-event): Place
variable before dictionary-display-tooltip to avoid warning about use of
free variable when compiling dictionary-display-tooltip
2020-11-19 08:25:42 +01:00
Torsten Hilbrich
2f1e4fbc42
Support nil value for dictionary-server
...
* net/lisp/dictionary.el (dictionary-server): Support choice to select
the dictionary server to use
* net/lisp/dictionary.el (dictionary-check-connection): Support nil
value for dictionary-server
This nil value is the new default value of that variable. When
opening a new connection and dictionary-server is nil the code
behaves the following way:
- it will first try to connect to a dictd server running on localhost
- if that fails, it queries the user if the alternative
server (dict.org) should be consulted
- if the user agrees, the connection is made to dict.org
This allows the default value of dictionary-server not to connect
a remote server by default. The user is always able to select a
different server by customizing the variable dictionary-search.
2020-11-19 08:23:07 +01:00
Stefan Kangas
51b9acbecc
Assume font-lock is provided; it's preloaded since 22.1
...
* lisp/cedet/semantic/format.el (semantic--format-colorize-text):
* lisp/eshell/em-ls.el (eshell-ls--insert-directory):
* lisp/net/dig.el (dig-mode):
* lisp/progmodes/cperl-mode.el (cperl-pod-here-fontify):
* lisp/progmodes/idlw-help.el (idlwave-help-fontify):
* lisp/progmodes/idlwave.el (idlwave-completion-fontify-classes):
Don't check for feature 'font-lock; it has been preloaded since 22.1.
* lisp/cedet/semantic/format.el (font-lock):
* lisp/epa.el (font-lock):
* lisp/erc/erc.el (font-lock):
* lisp/generic-x.el (font-lock):
* lisp/net/sieve-mode.el (font-lock):
* lisp/progmodes/prolog.el (font-lock):
* lisp/textmodes/rst.el (font-lock): Remove unnecessary require.
2020-11-19 04:37:37 +01:00
Michael Albinus
827786cf75
Preserve `dired-filename' text properties in Tramp
...
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
Restore `dired-filename' text property, which has been destroyed
by `decode-coding-region'. (Bug#44682)
2020-11-18 11:32:38 +01:00
Stefan Kangas
9191c82f6d
Don't quote lambdas in net/*.el
...
* lisp/net/eudc-export.el (eudc-create-bbdb-record):
* lisp/net/eudc.el (eudc-print-attribute-value)
(eudc-display-records, eudc-process-form)
(eudc-filter-duplicate-attributes, eudc-filter-partial-records)
(eudc-add-field-to-records, eudc-query-with-words)
(eudc-query-form, eudc-menu):
* lisp/net/eudcb-bbdb.el (eudc-bbdb-extract-phones)
(eudc-bbdb-query-internal):
* lisp/net/mairix.el (mairix-widget-make-query-from-widgets)
(mairix-widget-build-editable-fields, mairix-widget-get-values):
Don't quote lambdas.
2020-11-16 18:52:42 +01:00